* Basic PDF preview
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Preview pdf: add dividers between pages
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Prefer third-party pdf viewers over fallback viewer
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Zoomable view for pdf pages
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
pdf preview: Show tip to indicate that zooming on images is possible
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Pdf preview: screenshot test
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Fix spotbugs and lint
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* PreviewPdfFragment: fix screenshot test
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* PreviewPdfFragment: fix toolbar when resuming
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* PreviewBitmapActivity: add screenshot test
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* PreviewPdfFragment: fix crash in screenshot tests
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Pdf preview: rename tests
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* pdf preview: Update copyright headers
Oops
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Pdf preview: use grey for background instead of black
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Pdf preview: add scrollbar
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Pdf preview: show zoom tip 3 times instead of only once
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Pdf preview: fix lint and improve styling
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Although scoped storage is in effect and WRITE_EXTERNAL_STORAGE does not do anything,
we still need READ_EXTERNAL_STORAGE to read files from folders we don't own.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* FilesSyncJob.java converted to FilesSyncWork.kt
* FilesSyncJob removed from code
* Extended ETM screen to allow scheduling immediate
TestJob (for development experimentation)
* OfflineSyncJob.java conveted to OfflineSyncWork.kt
* OfflineSyncJob removed from code
* Fixed re-scheduling of content observer work
* MediaFoldersDetectionJob.java converted to
MediaFoldersDetectionWork.kt
* MediaFolderDetectionJob removed from code
Fixes#5881
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
* added log search in logs browser
* added logs browser view model test
* added universal async filtering utility
* refactored async runner and added manual runner
* migrated logs browser to Android DataBinding and Kotlin
* disabled imports ordering Ktlint rule as IDE does not
support ktlint ordering
* added some missing tests around logger
Closes#4311
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
* move exception handler to MainApp
* avoid recursive call to exception handler
* launch exception handler in separate process
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>