Merge lp://qastaging/~verzegnassi-stefano/ubuntu-docviewer-app/document-hub2 into lp://qastaging/ubuntu-docviewer-app/trunk
Status: | Merged | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Stefano Verzegnassi | ||||||||||||||||||||
Approved revision: | 93 | ||||||||||||||||||||
Merged at revision: | 86 | ||||||||||||||||||||
Proposed branch: | lp://qastaging/~verzegnassi-stefano/ubuntu-docviewer-app/document-hub2 | ||||||||||||||||||||
Merge into: | lp://qastaging/ubuntu-docviewer-app/trunk | ||||||||||||||||||||
Diff against target: |
7414 lines (+4916/-1923) 75 files modified
CMakeLists.txt (+2/-2) com.ubuntu.docviewer.desktop.in.in (+3/-1) com.ubuntu.docviewer.url-dispatcher (+5/-0) debian/changelog (+12/-2) debian/control (+1/-1) docviewer-content.json (+4/-3) docviewer.apparmor (+7/-0) manifest.json.in (+3/-2) po/com.ubuntu.docviewer.pot (+155/-85) src/app/CMakeLists.txt (+22/-1) src/app/command-line-parser.cpp (+105/-0) src/app/command-line-parser.h (+56/-0) src/app/content-communicator.cpp (+188/-0) src/app/content-communicator.h (+69/-0) src/app/docviewer-application.cpp (+298/-0) src/app/docviewer-application.h (+92/-0) src/app/graphics/select-none.svg (+153/-0) src/app/graphics/select.svg (+158/-0) src/app/main.cpp (+10/-98) src/app/qml/ContentHubPicker.qml (+0/-71) src/app/qml/ContentHubProxy.qml (+0/-38) src/app/qml/DetailsPage.qml (+0/-58) src/app/qml/EmptyState.qml (+0/-59) src/app/qml/ErrorDialog.qml (+0/-32) src/app/qml/ImageView.qml (+0/-48) src/app/qml/ImageViewDefaultHeader.qml (+0/-74) src/app/qml/PageWithBottomEdge.qml (+0/-407) src/app/qml/PdfContentsPage.qml (+0/-60) src/app/qml/PdfView.qml (+0/-107) src/app/qml/PdfViewDefaultHeader.qml (+0/-96) src/app/qml/PdfViewDelegate.qml (+0/-95) src/app/qml/PdfViewGotoDialog.qml (+0/-60) src/app/qml/TextView.qml (+0/-70) src/app/qml/TextViewDefaultHeader.qml (+0/-82) src/app/qml/UnknownTypeDialog.qml (+0/-43) src/app/qml/WelcomePage.qml (+0/-42) src/app/qml/ZoomableImage.qml (+0/-155) src/app/qml/common/DetailsPage.qml (+58/-0) src/app/qml/common/ErrorDialog.qml (+32/-0) src/app/qml/common/UnknownTypeDialog.qml (+43/-0) src/app/qml/common/loadComponent.js (+38/-0) src/app/qml/common/utils.js (+34/-0) src/app/qml/documentPage/DeleteFileDialog.qml (+58/-0) src/app/qml/documentPage/DocumentEmptyState.qml (+34/-0) src/app/qml/documentPage/DocumentGridDelegate.qml (+178/-0) src/app/qml/documentPage/DocumentGridView.qml (+76/-0) src/app/qml/documentPage/DocumentListDelegate.qml (+108/-0) src/app/qml/documentPage/DocumentListView.qml (+156/-0) src/app/qml/documentPage/DocumentPage.qml (+76/-0) src/app/qml/documentPage/DocumentPageDefaultHeader.qml (+34/-0) src/app/qml/documentPage/DocumentPagePickModeHeader.qml (+63/-0) src/app/qml/documentPage/DocumentPageSelectionModeHeader.qml (+94/-0) src/app/qml/loadComponent.js (+0/-45) src/app/qml/pdfView/PdfContentsPage.qml (+60/-0) src/app/qml/pdfView/PdfView.qml (+109/-0) src/app/qml/pdfView/PdfViewDefaultHeader.qml (+96/-0) src/app/qml/pdfView/PdfViewDelegate.qml (+95/-0) src/app/qml/pdfView/PdfViewGotoDialog.qml (+60/-0) src/app/qml/textView/TextView.qml (+70/-0) src/app/qml/textView/TextViewDefaultHeader.qml (+82/-0) src/app/qml/ubuntu-docviewer-app.qml (+63/-37) src/app/qml/upstreamComponents/EmptyState.qml (+62/-0) src/app/qml/upstreamComponents/HeaderButton.qml (+65/-0) src/app/qml/upstreamComponents/ListItemWithActions.qml (+453/-0) src/app/qml/upstreamComponents/ListItemWithActionsCheckBox.qml (+25/-0) src/app/qml/upstreamComponents/MultipleSelectionGridView.qml (+199/-0) src/app/qml/upstreamComponents/MultipleSelectionListView.qml (+199/-0) src/app/qml/upstreamComponents/MultipleSelectionVisualModel.qml (+31/-0) src/app/qml/upstreamComponents/PageWithBottomEdge.qml (+407/-0) src/app/qml/utils.js (+0/-34) src/app/quick/documentmodel.cpp (+212/-0) src/app/quick/documentmodel.h (+89/-0) src/app/urlhandler.cpp (+70/-0) src/app/urlhandler.h (+43/-0) tests/autopilot/ubuntu_docviewer_app/tests/test_docviewer.py (+1/-15) |
||||||||||||||||||||
To merge this branch: | bzr merge lp://qastaging/~verzegnassi-stefano/ubuntu-docviewer-app/document-hub2 | ||||||||||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Pope 🍺🐧🐱 🦄 (community) | Approve | ||
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Riccardo Padovani (community) | code | Approve | |
Review via email:
|
Commit message
List of changes:
- Refactored project structure (too much QML files in the same folder)
- Added full content-hub support
- Uri handler support
- In-app browser
- Document Viewer has now rw permissions in HOME/Documents
- Dropped support for Image and Other file type
- Use new splash screen features
Description of the change
I'm sorry for the length of the diff: bzr move didn't recognise the folder changes.
In order to help with the review, here's some information:
* All the C++ classes in src/app and src/app/quick needs a review.
* Files in src/app/
* All the files in src/app/
* Other QML files had just minor changes.
CHANGES:
- Refactored project structure (too much QML files in the same folder)
- Added full content-hub support
- Uri handler support
- In-app browser
- Document Viewer has now rw permissions in [HOME]/Documents
- Dropped support for Image and Other file type
- Use new splash screen features
MANUAL TESTING:
New features are still not covered by Autopilot tests. Before approving the MP, we need to manually execute some tests:
- Check if all the documents in HOME/Documents are shown in DocumentPage (NOTE: Only PDFs and file with mimetype=text/* are supported)
- Import content to the Document Viewer (browser-app and filemanager-app surely work, Dekko should also work)
- Export content to 3rd party applications (e.g. PdfjsViewer)
- Remove a document from user's Documents folder (tap-and-hold the list item, so the view switches to the selection mode).
Two conditions should be satisfied: the document should be deleted from user's Documents folder and the view should not display "undefined" entries).
- Add some document in the user's Documents folder while the application is running.
Two conditions should be satisfied: new documents should be listed in the view, and no "undefined" entries are displayed.
- Importing/exporting tests should be done with both the application running and closed.
- Check if the DocumentPage correctly switches between the three states of the page: default, selectionMode, pickerMode.
- Empty state: When Documents folder is empty, an empty state should be shown on the screen.
FAILED: Continuous integration, rev:88 91.189. 93.70:8080/ job/ubuntu- docviewer- app-ci/ 173/ 91.189. 93.70:8080/ job/generic- mediumtests- utopic/ 2139 91.189. 93.70:8080/ job/generic- mediumtests- utopic/ 2139/artifact/ work/output/ *zip*/output. zip 91.189. 93.70:8080/ job/ubuntu- docviewer- app-utopic- amd64-ci/ 70 91.189. 93.70:8080/ job/ubuntu- docviewer- app-vivid- amd64-ci/ 76
http://
Executed test runs:
UNSTABLE: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- docviewer- app-ci/ 173/rebuild
http://