Commit graph

19647 commits

Author SHA1 Message Date
Á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
27f3689ebb
Merge pull request #10962 from nextcloud/fix/squished-dialogs
Fix keyboard opening on dialogs causing squished dialogs in Material3
2022-10-31 16:58:48 +01: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
2c1ff8b84d
Merge pull request #10946 from nextcloud/optimize-uploads
Optimizations for uploads
2022-10-28 11:40:27 +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
25a054938d
Merge pull request #10926 from nextcloud/fix/multiple-upload-workers
FilesUploadWorker: ensure only one worker can be running for the same user
2022-10-27 17:22:48 +02: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
Tobias Kaminsky
f55644de6d
Merge pull request #10941 from nextcloud/Valdnet-patch-1
i18n: Change to a capital letter
2022-10-27 15:29:19 +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