Commit graph

151 commits

Author SHA1 Message Date
Á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
tobiasKaminsky
e58ce5e568
support for Chromebook
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-05-29 12:19:48 +02:00
Chris Narkiewicz
f0554ab59b
Add AppInfo and WhatsNewService
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-05-09 14:43:40 +02:00
Tobias Kaminsky
0432279ef7
Enhance pass protection system (#3966)
Enhance pass protection system
2019-05-08 21:40:26 +02:00
tobiasKaminsky
c1ff580ea5
enhance pass protection system
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-05-07 11:27:20 +02:00
tobiasKaminsky
e32331dc5e
limit access to thumbnails
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-05-07 11:19:15 +02:00
tobiasKaminsky
533debfca0
- removed useNextcloudUserAgent -> we now use this everytime
- removed any oAuth and saml stuff, as we rely on weblogin flow

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-04-15 15:07:59 +02:00
tobiasKaminsky
816a10735a
- unify icons
- add svg, convert to android xml, removed png

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

fix after rebase

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

renamed user -> ic_user (icon)
make favorite mutable

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

replace further png resources with xml drawables

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

fixes after rebase

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

allow for vector compat

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

add missing icon

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

add yet another missing icon

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

lint: When using VectorDrawableCompat, you need to use app:srcCompat

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

lint: When using VectorDrawableCompat, you need to use app:srcCompat

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

fix lint

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>

Drone: update Lint results to reflect reduced error/warning count [skip ci]

Signed-off-by: nextcloud-android-bot <android@nextcloud.com>

improve findbugs score

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

use correct icon for user account settings within drawer menu

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

icons needs to be grey600 by default, don't tint grey600 to not tint avatars

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

codacy: organize imports

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

programmatically set in-View drawables, in-view drawables can't be set via XML when supporting pre-lollipop

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

codacy: Useless parentheses & organize imports

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

organize imports

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

codacy: useless paranthesis

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>

revert programmatically set
do not use vectorDrawables.useSupportLibrary

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>

use 128dp for talk

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>

Revert "lint: When using VectorDrawableCompat, you need to use app:srcCompat"

This reverts commit 80068e7d37f3a8c6b7096c51543bda68443e4341.

Revert "lint: When using VectorDrawableCompat, you need to use app:srcCompat"

This reverts commit 0130e9a96d2602ad4b5d33aae67f34a458366d70.

revert srcCompat

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-28 10:14:01 +01:00
tobiasKaminsky
eb727d4f12
change Preferences to SettingsActivity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-05 11:34:50 +01:00
tobiasKaminsky
03c33a9207
allow to remove notifications, will also be deleted on server
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-02-14 08:25:56 +01:00