Merge lp://staging/~ken-vandine/content-hub/url-dispatcher into lp://staging/content-hub
Status: | Merged |
---|---|
Approved by: | Michael Sheldon |
Approved revision: | 209 |
Merged at revision: | 209 |
Proposed branch: | lp://staging/~ken-vandine/content-hub/url-dispatcher |
Merge into: | lp://staging/content-hub |
Diff against target: |
401 lines (+343/-0) 9 files modified
CMakeLists.txt (+1/-0) debian/content-hub.install (+3/-0) tools/CMakeLists.txt (+17/-0) tools/send/CMakeLists.txt (+59/-0) tools/send/autoexporter.cpp (+79/-0) tools/send/autoexporter.h (+50/-0) tools/send/content-hub-send.desktop (+9/-0) tools/send/content-hub-send.url-dispatcher (+5/-0) tools/send/exporter.cpp (+120/-0) |
To merge this branch: | bzr merge lp://staging/~ken-vandine/content-hub/url-dispatcher |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Sheldon (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+259039@code.staging.launchpad.net |
Commit message
Added url-dispatcher integration. This allows export and share requests to be initiated by opening a url.
Description of the change
Added url-dispatcher integration. This allows export and share requests to be initiated by opening a url. For example, to create a share request to facebook you could open a url like:
"content:
Parameters:
* pkg - click package name (required)
* app - click app name, ubuntu-app-launch will attempt to guess if not provided
* ver - version of the click package, defaults to "current-
* handler - export or share, defaults to defaults to "export"
A simple way to test this would be to run this from a shell:
url-dispatcher "content:
This will open the messaging-app and insert the link
File transfers are prohibited, for security reasons. So this only works for remote links and text shares.
PASSED: Continuous integration, rev:206 jenkins. qa.ubuntu. com/job/ content- hub-ci/ 254/ jenkins. qa.ubuntu. com/job/ content- hub-vivid- amd64-ci/ 50 jenkins. qa.ubuntu. com/job/ content- hub-vivid- armhf-ci/ 50 jenkins. qa.ubuntu. com/job/ content- hub-vivid- armhf-ci/ 50/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ content- hub-vivid- i386-ci/ 50
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/content- hub-ci/ 254/rebuild
http://