PFS2: Difference between revisions
Jump to navigation
Jump to search
(Adding more info) |
(Adding background information) |
||
| Line 87: | Line 87: | ||
* stage - https://www.authstage.mozilla.com/ | * stage - https://www.authstage.mozilla.com/ | ||
* prod - http://www.mozilla.com/ | * prod - http://www.mozilla.com/ | ||
= Related Information = | |||
* https://wiki.mozilla.org/Plugins:PluginCheck | |||
* https://wiki.mozilla.org/Firefox/Projects/Plugin_Update_Referrals | |||
* https://wiki.mozilla.org/Website/Sprints/PluginProblem | |||
* https://wiki.mozilla.org/Security:ThePluginProblem | |||
* https://bugzilla.mozilla.org/show_bug.cgi?id=465898 - | |||
* http://theunfocused.net/2009/08/22/status-update-2/ | |||
Revision as of 21:58, 1 September 2009
Server
Codebase
http://svn.mozilla.org/projects/pfs2/trunk/
Schema
- Checked in here
- plugins
- mimes
- plugins_mimes
Environments
Dev - local
Request
Current PFS parameters
mimetype=application/x-java-appletapp
ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
appVersion=1.5.0.4
clientOS=Win
chromeLocale=en-US
Current VersionCheck parameters:
reqVersion=1
id={49f3fc85-dcfe-4e42-9301-226ebe658509}
version=0.6.1
maxAppVersion=2.0.0.*
status=userEnabled,incompatible
appID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
appVersion=3.0b3pre
appOS=Darwin
appABI=x86-gcc3
locale=en-US
PFS 2 Example call - GET to:
http://pfs2.mozilla.org/?appID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&mimetype=application/x-shockwave-flash&appVersion=2008052906&appRelease=3.0&clientOS=Windows%20NT%205.1&chromeLocale=en-US&callback=later
- callback - optional, makes the output JSONP instead of JSON
Response
Is the following data a sample of the JSON output of PFS2?
[ {
"name" : "Plugin",
"version" : "1.0",
"filename" : "plugin.dll",
"vendor" : "Mozilla",
"url" : "http://mozilla.com/",
"icon_url" : "http://mozilla.com/favicon.ico",
"latest_version" : "1.0",
"installer_location" : "http://mozilla.com/installer.exe",
"installer_hash" : "sha256:592eca7e6f2731c65e344c4514bd7efa0a7ec8a203d97b4f5aadb14c44379178",
"installer_shows_ui" : "false",
"license_url" : "http://mozilla.com/license.html",
"needs_restart" : "true",
"description" : "This is a Mozilla plugin that does things.",
"platforms" : [
{ "name" : "Mac OSX" },
{ "name" : "Windows NT 6.0" }
],
"xpcomabi" : "x86",
"mime_types" : [ {
"mime" : "text/plain",
"description" : "HTML",
"suffixes" : ".html, .xhtml, .htm"
} ]
} ]
Client
Codebases
Perfidies is the PFS2 client. It will be usable for plugin page, web badges, etc.
PFS2 inputs
- App ID is hardcoded in the JS. We'll update this script when a new appId is available. Firefox always uses the same app id and it won't change any time soon.
- appID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
- mimetype - navigator.plugins[x].type roughly
- appVersion = navigator.buildid roughly
- appRelease = navigator.appVersion roughly
- clientOS = navigator.oscpu roughly
- chromeLocale = navigator.language
Environments
- dev - I have a dev instance up
- trunk - https://www-trunk.stage.mozilla.com/
- stage - https://www.authstage.mozilla.com/
- prod - http://www.mozilla.com/
Related Information
- https://wiki.mozilla.org/Plugins:PluginCheck
- https://wiki.mozilla.org/Firefox/Projects/Plugin_Update_Referrals
- https://wiki.mozilla.org/Website/Sprints/PluginProblem
- https://wiki.mozilla.org/Security:ThePluginProblem
- https://bugzilla.mozilla.org/show_bug.cgi?id=465898 -
- http://theunfocused.net/2009/08/22/status-update-2/