Commit graph

995 commits

Author SHA1 Message Date
Álvaro Brey
da60c7f6b2 FileContentProvider: secure projectionMap manually in the absence of projectionMap
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
Álvaro Brey
73ba1e2421 Export Room schemas
Needed to enable auto-upgrades later

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
Álvaro Brey
ebe35c9f49 DocumentsStorageProviderIT: suppress part of a test
See added comment for explanation

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
Álvaro Brey
fdab7afbfd Fix column types and implement migrations
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
Álvaro Brey
d0ab9ff67b Setup base Room configuration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
Dariusz Olszewski
8faf600057 Proposed fix for "jumping" file list
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-11-15 09:16:16 +00:00
Nextcloud bot
163e39827d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-15 03:27:37 +00:00
Nextcloud bot
cb000c3d7a
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-15 03:27:23 +00:00
Nextcloud bot
de16650b0a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-14 10:49:33 +00:00
Nextcloud bot
c596208e29
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-14 10:49:19 +00:00
dependabot[bot]
cffcb736ff
Bump leakcanary-android from 2.9.1 to 2.10
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.9.1 to 2.10.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.9.1...v2.10)

---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 02:02:41 +00:00
Nextcloud bot
f5618aed2e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-13 03:23:25 +00:00
Nextcloud bot
a4cebfb3a4
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-13 03:23:10 +00:00
Nextcloud bot
314550a02f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-12 03:26:35 +00:00
Nextcloud bot
0a43485476
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-12 03:26:20 +00:00
dependabot[bot]
387ac6a89e
Bump appcompat from 1.4.2 to 1.5.1
Bumps appcompat from 1.4.2 to 1.5.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 10:22:34 +00:00
Álvaro Brey
2aab02b1f6
Merge pull request #10674 from nextcloud/dependabot/gradle/androidx.webkit-webkit-1.5.0
Bump webkit from 1.4.0 to 1.5.0
2022-11-11 11:21:13 +01:00
dependabot[bot]
53103d2464
Bump webkit from 1.4.0 to 1.5.0
Bumps webkit from 1.4.0 to 1.5.0.

---
updated-dependencies:
- dependency-name: androidx.webkit:webkit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 08:50:20 +00:00
dependabot[bot]
7a2681cc7d
Bump material from 1.6.1 to 1.7.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 08:49:38 +00:00
Álvaro Brey
bb1d37fa56
Merge pull request #11015 from nextcloud/chore/compile-sdk-32
Bump compileSDK to 32
2022-11-11 09:45:37 +01:00
Nextcloud bot
2b2f45cbb9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-10 03:31:27 +00:00
Nextcloud bot
74f54309c7
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-10 03:31:11 +00:00
Álvaro Brey
a036aa7070
Bump compileSDK to 32
Once again it's blocking library updates.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-09 13:12:19 +01:00
dependabot[bot]
2ce3100bba Bump junit from 1.1.3 to 1.1.4
Bumps junit from 1.1.3 to 1.1.4.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 09:12:27 +01:00
Nextcloud bot
3dc91aa3b4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-09 03:21:19 +00:00
Nextcloud bot
8c4afb8047
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-09 03:21:04 +00:00
Álvaro Brey
fe3a6e6790
Give groupfolders priority when choosing icon for folder
In the server UI, a groupfolder that also has a link shows as a groupfolder.
In the app, it shows as a link. This fixes that.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-08 10:59:31 +01:00
Andy Scherzinger
ae802cd27d
Merge pull request #11001 from nextcloud/fix/sso-dialog-theming
Use material 3 style for SSO dialog
2022-11-08 10:25:40 +01:00
Álvaro Brey
92b62ec782
SSO dialog: also color dialog background
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-08 09:15:54 +01:00
Nextcloud bot
cfe05766ac
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-08 03:22:29 +00:00
Nextcloud bot
9dc4271da2
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-08 03:22:14 +00:00
Álvaro Brey
0907acff9e
Merge branch 'master' into folder-content-visibility-in-ReceiveExternalFilesActivity 2022-11-07 15:48:20 +01:00
Álvaro Brey
6810540a29
Color SSO dialog buttons with primary color instead of default m3 violet color
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-07 15:34:06 +01:00
Álvaro Brey
005cae2072
Supress lint warning on SSO dialog xml
Can't use a compound drawable here, we need to size the image

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-07 13:23:54 +01:00
Álvaro Brey
d0ffbe2479
Use material 3 style for SSO dialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-07 13:03:31 +01:00
Nextcloud bot
7ec3b4575b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-07 03:21:01 +00:00
Nextcloud bot
321abab4ed
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-07 03:20:47 +00:00
Nextcloud bot
ed105ddb3f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-06 03:23:03 +00:00
Nextcloud bot
abe1770e7c
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-06 03:22:49 +00:00
Nextcloud bot
070f2bec92
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-05 03:26:06 +00:00
Nextcloud bot
bc16d2409c
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-05 03:25:51 +00:00
Abdusalam Yabrak
aa92109ab1 Fixed folder content visibility
Signed-off-by: Abdusalam Yabrak <abdusalam.yabrak@axiell.com>
2022-11-04 19:22:21 +01:00
Nextcloud bot
f0cd994a7f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-04 03:21:33 +00:00
Nextcloud bot
a73c6eef58
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-04 03:21:18 +00:00
Álvaro Brey
8f3d3771df
Merge pull request #10974 from nextcloud/fix/refresh-empty-folder
List fragments: Add empty list as a child of SwipeRefreshLayout, not outside it.
2022-11-03 16:45:21 +01:00
Álvaro Brey
0c04e336a3
Merge pull request #10976 from nextcloud/fix/webauthn-crash
Fix webauthn crashes due to PendingIntent mutability
2022-11-03 16:43:49 +01:00
Álvaro Brey
9569dcfd97
Merge pull request #10966 from nextcloud/cancelMnemonic
Show cancel button when entering mnemonic
2022-11-03 16:43:13 +01:00
Álvaro Brey
9e4bd1935f
Use forked hwsecurity lib to avoid PendingIntent crashes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-03 11:58:08 +01:00
Nextcloud bot
086a779d40
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-03 03:20:34 +00:00
Nextcloud bot
2463ddc2db
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-03 03:20:16 +00:00
Álvaro Brey
ea1c43bd44
Merge pull request #10961 from nextcloud/encryptNotOnMainThread
use existing method via eventbus to encrypt folder
2022-11-02 17:23:46 +01:00
Álvaro Brey
7183a35ea7
Merge pull request #10967 from nextcloud/e2eNotYetSetup
Show warning when trying to access an encrypted folder, when not yet setup
2022-11-02 17:07:12 +01:00
tobiasKaminsky
1d6df6ad83 Show cancel button when entering mnemonic
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-11-02 17:03:40 +01:00
Álvaro Brey
9364da5077
List fragments: Add empty list as a child of SwipeRefreshLayout, not outside it.
This allows swiping to refresh on empty folders.

Fixes #10973

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-02 12:32:23 +01:00
Álvaro Brey
ec44d1e8a6
Persist AuthenticatorActivity through keyboard config changes
When plugging in a USB keyboard or something like that, the activity is reset.
This is a problem because YubiKey keys, which can be used as 2FA, act as a keyboard when connected through USB.

In summary, this commit prevents the activity from resetting when connecting a Yubikey.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-02 11:06:18 +01:00
Nextcloud bot
ce041757ea
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-02 03:22:29 +00:00
Nextcloud bot
4ed40afb82
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-02 03:22:13 +00:00
tobiasKaminsky
6f826bbd8d
Show warning when trying to access an encrypted folder, when not yet setup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-11-01 10:41:08 +01:00
Nextcloud bot
12f04c8335
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-01 03:21:34 +00:00
Nextcloud bot
516409c572
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-01 03:21:19 +00:00
Álvaro Brey
96b12d6165
Fix keyboard opening on dialogs causing squished dialogs in Material3
Use the proper InputMethodManager service to allow dialogs to correctly detect keyboard opening, and adjust margins properly

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-31 15:55:35 +01:00
tobiasKaminsky
32fab01c91
use existing method via eventbus to encrypt folder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-31 15:22:50 +01:00
Nextcloud bot
ef716f4f8f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-31 03:20:22 +00:00
Nextcloud bot
bad391978a
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-31 03:20:07 +00:00
Nextcloud bot
35e8bdecad
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-30 03:24:29 +00:00
Nextcloud bot
94f9b61870
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-30 03:24:15 +00:00
Nextcloud bot
1d3593f2e9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-29 03:33:02 +00:00
Nextcloud bot
983837c604
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-29 03:32:40 +00:00
Álvaro Brey
26a43ed2ca
FileUploader: bump down min sdk for upload worker for 3.23
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-28 15:08:59 +02:00
Álvaro Brey
40f5f58b18 UploadListActivity: throttle list updates to 1 every second to avoid frying the database when files are being rapidly uploaded
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-28 10:37:42 +02:00
Álvaro Brey
ebeff0c496 UploadFileOperation: ensure channel is closed
Triggers strict mode warnings

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-28 10:37:42 +02:00
Álvaro Brey
e4a922b913 FilesUploadWorker: process uploads in batches of 100 to prevent reading a large amount of rows in every loop
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-28 10:37:42 +02:00
Álvaro Brey
079eb6e5c1 FilesSyncWork: dont do a database call for every single upload
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-28 10:37:42 +02:00
Álvaro Brey
f83c3aebdc UploadFileOperation: don't read entire list of uploads every time we want to update the size of just one
Wtf

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-28 10:37:42 +02:00
Álvaro Brey
044a321678 FilesUploadHelper: insert all uploads in single transaction to avoid too many listener calls
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-28 10:37:42 +02:00
Nextcloud bot
81ec72416f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-28 03:21:23 +00:00
Nextcloud bot
e122711a44
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-28 03:21:04 +00:00
Álvaro Brey
3469ebfbe5
FileUploadWorkerIT: ensure to reset fileuploader testing property after test
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-27 15:59:47 +02:00
Álvaro Brey
a4adf83efe
FilesUploadWorker: add some more logging
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-27 15:59:47 +02:00
Álvaro Brey
bbb55b7f28
FilesUploadWorker: ensure only one worker can be running from the same user
Should fix problems with auto-conflicts, OOM, etc caused by several workers trying to upload the same file

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-27 15:59:47 +02:00
Valdnet
c875d391e1 i18n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-10-27 10:54:39 +02:00
Nextcloud bot
9b5a214df0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-27 03:20:39 +00:00
Nextcloud bot
eb856a8b56
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-27 03:20:25 +00:00
Álvaro Brey
190f5dbbd3
Merge pull request #10925 from nextcloud/fix/nc25-colors
Fix login colors in NC25
2022-10-26 11:31:04 +02:00
Álvaro Brey
9ef102edc0
Merge pull request #10923 from nextcloud/fix/dashboard-widget-user-crash
DashboardWidgetService: Prevent crash when user is not present
2022-10-26 11:10:39 +02:00
Álvaro Brey
aab8fcfe2d
Merge pull request #10924 from nextcloud/fix/storage-permission-background
PermissionUtil: ensure fragment result is listened to on activity thread
2022-10-26 11:08:08 +02:00
Álvaro Brey
d8ce9d4ce4
Merge pull request #10913 from nextcloud/fix/npe-gallery-search
Prevent NPE if gallery search is triggered without a container activity
2022-10-26 11:07:37 +02:00
Álvaro Brey
6fa791e90d
Merge pull request #10914 from nextcloud/fix/upload-local-behavior
Preserve local file behaviour when uploading files with new upload worker
2022-10-26 11:07:12 +02:00
Álvaro Brey
1f7b33b8ac
Merge pull request #10930 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.10
Bump gson from 2.9.1 to 2.10
2022-10-26 09:19:05 +02:00
Nextcloud bot
50f3aee8f3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-26 03:22:20 +00:00
Nextcloud bot
f38d33b325
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-26 03:22:05 +00:00
dependabot[bot]
c00c67499d
Bump gson from 2.9.1 to 2.10
Bumps [gson](https://github.com/google/gson) from 2.9.1 to 2.10.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.9.1...gson-parent-2.10)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 01:11:13 +00:00
Álvaro Brey
763cc8ba44
AuthenticatorActivity: on NC25, don't tint status/navigation bars
In NC25, the background color can change during the login process, thus making the colored bars wrong.
The only workaround I can see for now is to just not color them

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-25 15:13:00 +02:00
Álvaro Brey
c3a9e71235
AuthenticatorActivity: fetch user capability after account creation
In NC25 the server capability and user capability may contain different colors,
leading to an inconsistent theming color.

Fixes #10915

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-25 14:57:32 +02:00
Álvaro Brey
998078bbbc
PermissionUtil: ensure fragment result is listened to on activity thread
Prevents a crash if called from background

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-25 12:31:38 +02:00
Álvaro Brey
4365be4ca2
Merge pull request #10794 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.1.0
Bump firebase-messaging from 23.0.7 to 23.1.0
2022-10-25 09:10:16 +02:00
Álvaro Brey
37c22ab16a
DashboardWidgetService: Prevent crash when user is not present
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-25 08:56:26 +02:00
Álvaro Brey
93e6f5cb3b
Merge pull request #10920 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.4
Bump fragment-ktx from 1.5.3 to 1.5.4
2022-10-25 08:51:17 +02:00
Álvaro Brey
fc23111724
Merge pull request #10919 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.5
Bump exifinterface from 1.3.4 to 1.3.5
2022-10-25 08:29:30 +02:00
Nextcloud bot
56c0f9538b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-25 03:25:50 +00:00
Nextcloud bot
cedc7dd4ac
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-25 03:25:36 +00:00
dependabot[bot]
b4b658402a
Bump fragment-ktx from 1.5.3 to 1.5.4
Bumps fragment-ktx from 1.5.3 to 1.5.4.

---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 01:10:38 +00:00
dependabot[bot]
c5d5659988
Bump exifinterface from 1.3.4 to 1.3.5
Bumps exifinterface from 1.3.4 to 1.3.5.

---
updated-dependencies:
- dependency-name: androidx.exifinterface:exifinterface
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 01:09:55 +00:00
Álvaro Brey
1c33fadb1f
Preserve local file behaviour when uploading files with new upload worker
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-24 17:30:52 +02:00
Álvaro Brey
554d831388
Prevent NPE if gallery search is triggered without a container activity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-24 17:12:14 +02:00
dependabot[bot]
fda93aacf4
Bump firebase-messaging from 23.0.7 to 23.1.0
Bumps firebase-messaging from 23.0.7 to 23.1.0.

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-messaging
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 10:44:35 +00:00
Álvaro Brey
606e3d7ce5 Add screenshot test for storage permission dialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-24 09:10:50 +02:00
Álvaro Brey
6ed412d470 Fix creation and result logic for StoragePermissionDialogFragment
This prevents a crash on dialog recreation due to it not having default constructor, seen in Google Play crash records

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-24 09:10:50 +02:00
Nextcloud bot
5cfc68c931
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-24 03:21:09 +00:00
Nextcloud bot
020fd3c415
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-24 03:20:56 +00:00
Nextcloud bot
7859320616
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-23 03:21:12 +00:00
Nextcloud bot
911f9fce7b
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-23 03:20:57 +00:00
Nextcloud bot
a57580762d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-22 03:22:08 +00:00
Nextcloud bot
7ed654a238
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-22 03:21:53 +00:00
Álvaro Brey
f88c4330c8
SslUntrustedCertDialog: fix inflation to avoid NPE and add test to ensure it doesn't happen again
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-21 10:24:58 +02:00
Nextcloud bot
45163e377d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-21 03:29:34 +00:00
Nextcloud bot
756966750b
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-20 17:05:32 +00:00
Álvaro Brey
401812db81 Bump android-common:ui to 0.3.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-20 15:48:01 +02:00
Álvaro Brey
207c0ae9f0
Remove unused string again
Re-synced by transifex while transifex was not working properly

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-20 09:50:16 +02:00
Álvaro Brey
14de239e73
Merge pull request #10831 from nextcloud/fix/intents-mutability
Fix pending intent mutability for widget
2022-10-20 09:12:39 +02:00
Álvaro Brey
60fadebd11
Merge pull request #10832 from nextcloud/fix/ssl-dialog-injector
Add missing injector for SslUntrustedCertDialog
2022-10-20 09:12:22 +02:00
Álvaro Brey
f86ddb1d52
Merge pull request #10834 from nextcloud/fix/gallery-bottomsheet-crash
Fix crash in GalleryFragment when menu button is double-tapped
2022-10-20 09:04:16 +02:00
Álvaro Brey
b4f8773d7b
Fix crash in GalleryFragment when menu button is double-tapped
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 16:25:24 +02:00
Álvaro Brey
e151eb7bdf
Add missing injector for SslUntrustedCertDialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 16:11:59 +02:00
Álvaro Brey
0bbf90cc02
Fix pending intent mutability for widget
Mutability flag is compulsory from SDK 31 upwards, `FLAG_IMMUTABLE` is available in all our targeted APIs, and our app will always be able to update the same intent, as `FLAG_UPDATE_CURRENT` is set.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 16:08:41 +02:00
Álvaro Brey
dea4c2f530
Restore OCFileListGridImageViewHolder
Changed in #10079. Not sure why it was changed this way but it causes crashes.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 15:51:56 +02:00
Nextcloud bot
9b3c8510a1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-19 09:34:07 +00:00
Nextcloud bot
496e916534
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-19 09:33:47 +00:00
Álvaro Brey
e8933b402e
Merge pull request #10814 from nextcloud/bump-master-after-3.22
Bumps on master after 3.22 branched out
2022-10-19 11:12:12 +02:00
Álvaro Brey
b4f3ffb64d Bump app to 3.23.x on master
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 10:02:02 +02:00
dependabot[bot]
fa9f4ac6e2
Bump spotbugs-gradle-plugin from 5.0.12 to 5.0.13
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.12...5.0.13)

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 01:06:16 +00:00
Álvaro Brey
787804d20b
ThumbnailsCacheManager: null out cache when clearing it
Cache is closed when clearing, so it becomes unusable. This way ThumbnailsCacheManager will work as expected

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-18 16:32:50 +02:00
tobiasKaminsky
3985421c9d Bump to SDK31
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-17 18:24:17 +02:00
Álvaro Brey
ef0537c52c
FilesUploadWorker: correctly handle account for uploads
Previous logic would only use the current account, disregarding and/or removing uploads started by other accounts

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 17:22:57 +02:00
Álvaro Brey
c96fa54bdd
FilesUploadHelper: do not start a job for every uploaded file
The job itself iterates over all pending files, only need to start one.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 17:22:57 +02:00
Álvaro Brey
cc0a9e9807
Adapt to m3 after rebase
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 17:22:57 +02:00
tobiasKaminsky
54c6d519ff
Upload in background with WorkManager
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 17:22:52 +02:00
Álvaro Brey
9bb018e634
Merge pull request #10079 from nextcloud/tileView
Tile view
2022-10-17 17:17:54 +02:00
Álvaro Brey
a8750d3946
GalleryFragment: disable fast scroll
Not working with tile view

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-17 15:49:16 +02:00
Álvaro Brey
43ab28161c
OCFileListDelegate: don't pass instance fields to instance methods
redundant

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 21:04:51 +02:00
Álvaro Brey
53e091fc68
Fix for m3 after rebase
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 21:02:15 +02:00
Tobias Kaminsky
2513d07821
Update app/src/main/java/com/owncloud/android/utils/BitmapUtils.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:13 +02:00
Tobias Kaminsky
c8498895e3
Update app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:13 +02:00
Tobias Kaminsky
5cc611085c
Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
9c4fe0a22c
Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
2d36f7b872
Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
645f2c6e35
Update app/src/main/java/com/owncloud/android/MainApp.java
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
140c6a43dc
Update app/src/androidTest/java/com/owncloud/android/ui/fragment/GalleryFragmentIT.kt
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
Tobias Kaminsky
051fef89e4
Update app/src/androidTest/java/com/owncloud/android/ui/fragment/GalleryFragmentIT.kt
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-10-14 20:59:12 +02:00
tobiasKaminsky
17d67a2078
wip after CR
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 20:59:11 +02:00
tobiasKaminsky
66d8756bec
Add tile view to media view
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 20:58:34 +02:00
Álvaro Brey
67eda84f99
Remove unused string
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 20:42:37 +02:00
tobiasKaminsky
7030712c59
random fixes
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 20:37:41 +02:00
Álvaro Brey
816e30e6e1
Update screenshots after latest changes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 17:18:13 +02:00
Álvaro Brey
5643d3e095
build: use tag for common lib
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 16:05:29 +02:00
Álvaro Brey
e9ae7dccce
File actions bottom sheet: fix misplaced creators block
This caused the creators to be invisible

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 15:27:51 +02:00
Álvaro Brey
7245e2a7b7
Use new theme utils for classes from master rebase
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:36:20 +02:00
Álvaro Brey
12dc5eb461
SettingsActivity: fix background color when system dark mode doesn't match app dark mode
Probably a quirk of the severely deprecated PreferenceActivity

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
b78249004b
SettingsActivity: disable list dividers
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
c6929815d6
Remove unneeded TODO
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Andy Scherzinger
aaba0d04b9
add disabled state to FAB
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:30:09 +02:00
Álvaro Brey
2bf3cbe473
AuthenticatorActivity: after login, immediately cache color in OCCapability
Needed to draw the next screen correctly

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
cb6a832afb
DialogFragmentIT: expand bottomsheet before taking screenshot, and update screenshot
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
4648890fab
Update screenshots for m3: PreviewBitmapActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
f9439c7d52
Update screenshots for m3: FirstRunActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
baea074f17
Fix screenshot tests for m3: NotificationsActivityIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
4574667e16
Fix screenshot test for FolderPickerActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
b7e487cbda
ReceiveExternalFilesActivity: fix disabled button coloring and update screenshot
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
95cee41a1f
Update screenshots for m3: DialogFragmentIT (most)
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
5390a1d5dc
Update screenshots for m3: AccountChooserDialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
4d0bf30d56
Update screenshots for m3: SetupEncryptionDialogFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
ea083cb1ec
Update screenshots for m3: ConflictsResolveActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
3e2d950b36
Update screenshots for m3: SyncedFoldersActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:08 +02:00
Álvaro Brey
604b5c6591
Update screenshots for m3: SendFilesDialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
9118af22ba
Update screenshots for m3: TrashbinActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
c6beedcf92
Update screenshots for m3: OCFileListFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
8ff30fce42
Update screenshots for m3: FileDetailSharingFragmentIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
aa71b6a961
Update screenshots for FileDetailFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
db758f0823
Update screenshots for m3: BackupListFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
3f2bf3ce2b
Update screenshots for m3: SendShareDialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
c0c99d2a06
Update screenshots for m3: UserInfoActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:07 +02:00
Álvaro Brey
de4d71feb5
Update screenshots for m3: UploadFilesActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
d5067988ed
Update screenshots for m3: PassCodeActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
92748d2bed
Update screenshots for m3: ManageAccountsActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
322f25568a
Update screenshots for m3: ContactsPreferenceActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
f8030ca4f6
Update screenshots for m3: EtmActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
451403a6c1
Update screenshots for m3: UploadListActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
a33ece4a2e
Update screenshots for m3: SettingsActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
964eb5d785
Update screenshots for m3: FileDisplayActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
397533cfbf
Update screenshots for m3: CommunityActivityIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:06 +02:00
Álvaro Brey
f78d0a9944
Update screenshots for m3: AuthenticatorActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
64eb90a170
Update screenshots for m3: ActivitiesActivityIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
0c3fdc1a2e
Fix toolbar colors for PreviewImageActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
61f237177b
Remove unused resources
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
7456354774
Remove obsolete TODOs
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
8ad0263f23
Move theme utils back to the theme package
No need for an extra package anymore

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
be87acd735
Clear almost all remainders of old theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
2a2c01f094
Use Material3 colors for loading dialogs
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
f189000edf
ExtendedListFragment: prevent NPE when activity doesn't have the buttons
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
c1cb7e9430
ThemeableSwitchPreference: use m3 utilities
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00