Merge lp:~jonobacon/ubuntu-accomplishments-daemon/publishonline into lp:ubuntu-accomplishments-daemon
Status: | Merged |
---|---|
Merged at revision: | 82 |
Proposed branch: | lp:~jonobacon/ubuntu-accomplishments-daemon/publishonline |
Merge into: | lp:ubuntu-accomplishments-daemon |
Diff against target: |
114 lines (+58/-1) 2 files modified
accomplishments/daemon/api.py (+39/-1) accomplishments/daemon/dbusapi.py (+19/-0) |
To merge this branch: | bzr merge lp:~jonobacon/ubuntu-accomplishments-daemon/publishonline |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Accomplishments Daemon Developers | Pending | ||
Review via email: mp+111788@code.launchpad.net |
Description of the change
This branch adds support to the desktop client for a user to publish their trophies to the web application that will be landing as part of the 0.3 release. Please note, you will also need to have lp:~jonobacon/ubuntu-accomplishments-viewer/publishonline to use this.
This is how it works:
* The user loads Edit -> Preferences and can click a Publish button to share their trophies online. If they are currently publishing they instead see a Stop Publishing button.
Publishing involves the following:
* We scan the list of shared directories for ones that are shared with the validation server.
* For the share that is active, we create a WEBVIEW file in the trophy dir (this is used by the web app to show publishing.
* We also generate a URL with the share name and share id for the user to set up their online trophy cabinet.
This feature should now be complete to land in trunk.