Merge lp:~verzegnassi-stefano/ubuntu-docviewer-app/content-hub-support into lp:ubuntu-docviewer-app/trunk
Proposed by
Stefano Verzegnassi
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Stefano Verzegnassi | ||||||||
Approved revision: | 45 | ||||||||
Merged at revision: | 39 | ||||||||
Proposed branch: | lp:~verzegnassi-stefano/ubuntu-docviewer-app/content-hub-support | ||||||||
Merge into: | lp:ubuntu-docviewer-app/trunk | ||||||||
Prerequisite: | lp:~verzegnassi-stefano/ubuntu-docviewer-app/fix-1387651-1387023 | ||||||||
Diff against target: |
431 lines (+216/-35) 14 files modified
CMakeLists.txt (+2/-2) docviewer-content.json (+7/-0) docviewer.apparmor (+4/-2) manifest.json.in (+4/-3) src/app/main.cpp (+3/-0) src/app/qml/ContentHubProxy.qml (+38/-0) src/app/qml/DetailsPage.qml (+3/-2) src/app/qml/ErrorDialog.qml (+16/-0) src/app/qml/ImageView.qml (+16/-0) src/app/qml/PdfView.qml (+13/-1) src/app/qml/TextView.qml (+16/-0) src/app/qml/WelcomePage.qml (+51/-0) src/app/qml/ubuntu-docviewer-app.qml (+35/-22) tests/autopilot/ubuntu_docviewer_app/tests/test_docviewer.py (+8/-3) |
||||||||
To merge this branch: | bzr merge lp:~verzegnassi-stefano/ubuntu-docviewer-app/content-hub-support | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Arthur Mello (community) | Approve | ||
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Ubuntu Document Viewer Developers | Pending | ||
Review via email: mp+240331@code.launchpad.net |
Commit message
Added ContentHub support
Description of the change
Now we support ContentHub to load documents through other apps.
There are two ways to load a document on the device:
1) From the Application scope: a "welcome" page is shown and user can choose a peer from the list.
2) From an external app: e.g. ubuntu-
KNOWN ISSUES:
* On a device, 'Creation Date' always refers to the moment we import some content from the ContentHub. This is because ContentHub creates a new copy of the file in "$HOME/.cache".
To post a comment you must log in.
FAILED: Continuous integration, rev:41 91.189. 93.70:8080/ job/ubuntu- docviewer- app-ci/ 91/ 91.189. 93.70:8080/ job/generic- mediumtests- utopic- python3/ 1421/console 91.189. 93.70:8080/ job/ubuntu- docviewer- app-utopic- amd64-ci/ 63/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- docviewer- app-ci/ 91/rebuild
http://