Commit graph

160 commits

Author SHA1 Message Date
Álvaro Brey
f9febe24ad
Fallback pdf viewer (#9806)
* 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>
2022-02-15 15:04:16 +01:00
tobiasKaminsky
e20555f5d0 resuming TextEditor after splitting screens works now again
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-02-11 16:59:13 +00:00
Álvaro Brey Vilas
a9ec1de015
manifest: Remove unneeded labels
Trips up lint

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas
8a445be869
Manifest: update code to disable WorkManagerInitializer
See: https://developer.android.com/jetpack/androidx/releases/work#version_260_3

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-12-15 19:01:36 +01:00
tobiasKaminsky
15674167fb
Remember selected files in upload files activity upon screen rotation
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-01 15:25:31 +01:00
Álvaro Brey Vilas
cac884f6c2
AndroidManifest: allow querying for davdroid app.
Fixes #9339

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-22 16:16:04 +01:00
Álvaro Brey Vilas
18c6baaff0
manifest: Even more intent queries
Fixes #9270

These are hard to find, man

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 13:37:39 +01:00
Álvaro Brey Vilas
fa432834e7
Expand intent query declarations in AndroidManifest
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 13:37:29 +01:00
Álvaro Brey Vilas
80f3f09bd1
Manifest: allow app to query for apps that can resolve VIEW or SEND intents
This is otherwise limited by default in sdk 30 and above

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-09 16:28:12 +01:00
Álvaro Brey Vilas
a0b85cac71
Ditch scoped storage, try MANAGE_EXTERNAL_STORAGE
We _are_ a file-managing app, after all.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:13:02 +01:00
Álvaro Brey Vilas
c1316da717
Request READ_EXTERNAL_STORAGE in API >= 30
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>
2021-11-02 08:29:42 +01:00
tobiasKaminsky
3823eccfe6
AccountManagerService needs to be exported
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-27 08:49:05 +02:00
Álvaro Brey Vilas
0984213b62
AndroidManifest: remove resources with maxSDK=22
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:44:36 +02:00
tobiasKaminsky
042c413569
Calendar backup/import
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 13:02:12 +02:00
tobiasKaminsky
b6ecf515b3
Fix GHSL-2021-1008 by using permission instead of readPermission
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-20 09:56:18 +02:00
tobiasKaminsky
6e1dbaad33
Explicitly specify exported="true/false" for all
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-18 11:48:39 +02:00
Álvaro Brey Vilas
e579dabe7d
Revert "AndroidManifest: don't request WRITE_EXTERNAL_STORAGE above api 29"
Wrong branch!

This reverts commit 91cf4ef271.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-08 15:43:27 +02:00
Álvaro Brey Vilas
91cf4ef271
AndroidManifest: don't request WRITE_EXTERNAL_STORAGE above api 29
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-08 15:29:53 +02:00
Tobias Kaminsky
51b82fcdd4
Merge pull request #8405 from nextcloud/grant-apps-access-to-trashbin
Allow 3rd party apps to open the trashbin for a specific account
2021-06-02 12:34:50 +02:00
Chris Narkiewicz
ebf63f064b
New upload manager
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2021-05-29 21:34:58 +02:00
Stefan Niedermann
0472fb0759 Allow 3rd party apps to open the trashbin for a specific account 2021-05-14 15:52:10 +02:00
tobiasKaminsky
db3d238523
SDK30: Add queries to get info about deck app
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-24 16:13:58 +01:00
tobiasKaminsky
e187af77f0
override lib is not needed anylonger
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-07 09:10:17 +02:00
Andy Scherzinger
d6a02ce765
drop Android 4.3, new min version is Android 4.4
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-10-01 12:06:14 +02:00
tobiasKaminsky
15dcad229c
no sticky broadcast:
- use local broadcast system instead
- no need to remove sticky broadcasts then

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-08-28 12:34:20 +02:00
Chris Narkiewicz
75b9fa8551
New download manager
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-07-20 12:28:47 +02:00
szaimen
214689bc0d
allow 3 times deep nextcloud nesting
Signed-off-by: szaimen <szaimen@e.mail.de>
2020-06-30 07:51:20 +02:00
szaimen
815e30166e
allow pretty urls
Signed-off-by: szaimen <szaimen@e.mail.de>
2020-06-30 07:51:20 +02:00
tobiasKaminsky
b18ff7404e
Use same search hint as on server
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-24 10:58:24 +02:00
Chris Narkiewicz
57ac50788e
Migrate NotificationJob to WorkManager API
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-28 21:31:08 +01:00
Chris Narkiewicz
77c4a3e6a5
Migrate file sync related jobs to WorkManager API
* 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>
2020-04-23 10:45:01 +01:00
Evans Jahja
0467cc37ca Allows deep linking to open files
Signed-off-by: Evans Jahja <evansjahja13@gmail.com>
2020-02-26 21:26:48 +07:00
tobiasKaminsky
d1611f6334
Direct editing support
- abstract EditorWebView
- support direct editing endpoint

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:38 +01:00
Alice Gaudon
1919a6647a Opt-out of scoped storage
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2019-12-16 11:54:51 +01:00
Andy Scherzinger
95e14df1d7
Add markdown rendering to TextPreview
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-17 19:57:51 +02:00
tobiasKaminsky
ab904e336b
We do not use UploadPathActivity anymore(?)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-17 08:23:15 +02:00
Chris Narkiewicz
808c9098ea
Migrate NContentObserverJob to WorkManager
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-10-02 21:38:44 +01:00
Chris Narkiewicz
2dab887782 New media player service
Fixes #3061
Fixes #4412

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-09-27 20:13:51 +01:00
tobiasKaminsky
7fae76294a
rename participate -> community
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-09-04 09:24:25 +02:00
tobiasKaminsky
e884625240
Centralize theming of search bar
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-15 12:58:36 +02:00
Chris Narkiewicz
c35873f5dc
Log search functionality and log browser refactoring
* 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>
2019-08-14 20:21:24 +01:00
Chris Narkiewicz
79e8d59aa1
New logger implementation
Fixes #4228

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-08-06 21:48:37 +01:00
Chris Narkiewicz
9d5566f384
Move exception handler to MainApp
* 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>
2019-07-30 22:34:59 +01:00
Andy Scherzinger
dbc92cd326
Move to proper folder structure
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-07-29 22:36:12 +02:00
Andy Scherzinger
f9196927c4
reafactor error handler (renamings), improve issue report url
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-07-29 21:18:00 +02:00
Andy Scherzinger
88bdf4cbf7
Add proper toolbar and title
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-07-29 17:40:23 +02:00
Chris Narkiewicz
7d3d2c9f73
Engineering Test Mode
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-07-25 19:47:06 +01:00
tobiasKaminsky
b56b615a96
Allow "save as" and "print" to be downloaded from Collabora
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-06-14 11:19:16 +02:00
Tobias Kaminsky
c9f11d4c2d
Merge pull request #4042 from nextcloud/ezaquarii/move-whatsnew-and-firstrun-to-onboarding
Move first run and whats new to onboarding package
2019-06-05 13:57:39 +02:00
Chris Narkiewicz
b6fc62fb87
Move first run and whats new to onboarding package
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-05-31 15:45:14 +01:00