Commit graph

1063 commits

Author SHA1 Message Date
Álvaro Brey
f490823e4e Extract interface from ArbitraryDataProvider for better decoupling and testing
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-18 10:39:41 +01:00
Álvaro Brey
5499441738 Use Room DAO for ArbitraryDataProvider instead of contentResolver
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-18 10:39:41 +01:00
Nextcloud bot
13071ed5ae
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-18 03:27:40 +00:00
Nextcloud bot
a7a9da4bc2
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-18 03:27:19 +00:00
Tobias Kaminsky
ffdf45afba daily dev 20221118
Update Nextcloud Android library
2022-11-18 02:39:51 +01:00
Tobias Kaminsky
b52cf18d8a Merge remote-tracking branch 'origin/master' into dev 2022-11-18 02:32:54 +01:00
Álvaro Brey
aa355e7efd
Merge pull request #11054 from nextcloud/bump-master-3.24
Bump app version on master to 3.24
2022-11-17 14:49:52 +01:00
Álvaro Brey
ab13b9873c
Merge pull request #11052 from nextcloud/doNotAllowSharedEncryptedFolder
prohibit share of an encrypted folder
2022-11-17 14:47:23 +01:00
Álvaro Brey
b31e3c1061
Bump app version on master to 3.24
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 13:48:43 +01:00
Tobias Kaminsky
1b0a2cce72
also check for shared with me
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-11-17 13:14:37 +01:00
tobiasKaminsky
66746a6b12
prohibit share of an encrypted folder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-11-17 12:50:59 +01:00
Álvaro Brey
b78c236a59
chore: Remove unused legacy migration code
This was leftover in the Room PR, where we removed support for DB version <24. As such, all the code supporting those older versions is unused now.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 10:24:47 +01:00
Álvaro Brey
c71ce3a3ee
Add screenshot test for FileActionsBottomSheet
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:59 +01:00
Álvaro Brey
a0ac194467
Fix lint
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:59 +01:00
Álvaro Brey
f8f0d46633
Fix FileMenuFilterIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:59 +01:00
Álvaro Brey
7cb85ec6a1
FileActionsBottomSheet: color loading animation with primary color
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:59 +01:00
Álvaro Brey
4523537587
File actions bottom sheet: show file thumbnail
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:59 +01:00
Álvaro Brey
829c10f9de
Fix FileMenuFilterIT for real
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:59 +01:00
Álvaro Brey
6b470f86bb
Fix mock order for FileMenuFilter
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:58 +01:00
Álvaro Brey
422c0a5011
Small spotbugs cleanup
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:58 +01:00
Álvaro Brey
a160ccd936
Clean up unused resources
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:58 +01:00
Álvaro Brey
b43df7c711
Minor cleanup
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:58 +01:00
Álvaro Brey
27e40440db
Fix bottom sheet background for PreviewImageFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:58 +01:00
Álvaro Brey
6d97bd5145
Remove obsolete TODOs
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:58 +01:00
Álvaro Brey
36f918da7e
Fix icon tinting for fake placeholder menu iteFix icon tinting for fake placeholder menu itemm
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:58 +01:00
Álvaro Brey
0cc2e6875d
FileActionsBottomSheet: parse arguments in ViewModel, handle errors
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:58 +01:00
Álvaro Brey
702a9cedf0
FileActionsBottomSheet: fix things that were parameters, but shouldn't
- Result listener should be done through the fragmentResultListener API
- ComponentsGetter is attached on onAttach

This avoids crashes on config changes, etc

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
263d139fe2
FileMenuFilter: simplify and remove unneeded stuff for new approach
We're always starting from the full list and removing stuff now, so toShow makes no sense

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
7c53e77e57
FileActionsBottomSheet: additional filtering in FileDetailFragment
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
dd94167733
FileActionsBottomSheet: show loading animation, load items in background
Since we're going to load the files in background too, it's a good idea to start doing this already

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
0e0935bef6
FileActionsBottomSheet: add drag handle for accesibility
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
5ff16b9ba5
Show lock info in bottom sheet
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
1aa248d1bf
FileActionsBottomSheet: Display file name or file count as bottom sheet title
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
e7ff6df581
FileActionsBottomSheet: make scrollable in case full list doesn't fit in screen
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
a1265bdae7
FileActionsBottomSheet: handle additional filtering for preview fragments
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:57 +01:00
Álvaro Brey
689a4bda6a
Extract responsibilities from FileMenuFilter static methods to utility classes.
God class count -= 1

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:56 +01:00
Álvaro Brey
e41d474e89
FileActionsBottomSheet: use ViewModel
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:46 +01:00
Álvaro Brey
5b628f520c
Set icons for file actions
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:09 +01:00
Álvaro Brey
f2d0acdba3
Use bottom sheet for file actions
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 09:13:02 +01:00
Nextcloud bot
1cd0bbf75e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-17 03:29:03 +00:00
Nextcloud bot
937aa10fc8
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-17 03:28:49 +00:00
Tobias Kaminsky
aacd4865ad daily dev 20221117
Update Nextcloud Android library
2022-11-17 02:39:51 +01:00
Tobias Kaminsky
5c10198f68 Merge remote-tracking branch 'origin/master' into dev 2022-11-17 02:32:35 +01:00
Álvaro Brey
2651dcee0a
Merge pull request #11041 from nextcloud/fix/storage-permission-loop
Fix storage permission loop when permission denied, and remember permission asked
2022-11-16 21:01:55 +01:00
Álvaro Brey
b32ea65774 WalledCheckCache: use current epoch instead of millis since boot to avoid problems on reboot
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-16 14:17:56 +01:00
Álvaro Brey
f3a810600d WalledCheckCache: rename field and parameter for clarity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-16 14:17:56 +01:00
Álvaro Brey
4118cd69c1 Cache walled check for 10 minutes
Tentative cache time, accepting other proposals. My rationale for 10 minutes was that 6 checks an hour seems like not too much,
while not locking the app for too long in case there's an error and the cache is not cleared on network change.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-16 14:17:56 +01:00
Álvaro Brey
2ad11ad7f5
Merge pull request #11040 from nextcloud/fix/home-icon
Fix toolbar home icon being arrow in places where it should be hamburger menu
2022-11-16 12:38:25 +01:00
Álvaro Brey
e0ef3bf0b5
Merge pull request #10953 from nextcloud/chore/bump-uploader
FileUploader: bump down min sdk for upload worker for 3.23
2022-11-16 12:37:45 +01:00
Álvaro Brey
9e1d3e0b08
Merge pull request #11039 from nextcloud/fix/newest-files-nav
FileDisplayActivity: fix restoring selected menu item when resuming
2022-11-16 12:36:45 +01:00
Álvaro Brey
d71773dbbb
Merge pull request #11046 from nextcloud/fix/remove-favorites-gone
OCFileListFragment: also reset search type when resetting search event
2022-11-16 12:35:01 +01:00
Álvaro Brey
2654e88a52
OCFileListFragment: also reset search type when resetting search event
Fixes an issue where it was persisted after coming back from Favorites, and
the fragment was incorrectly deleting favorite files from the list when unfavoriting.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-16 10:49:16 +01:00
tobiasKaminsky
e7ce821465 Only show "set encrypted" if folder is empty and has no empty files/folder in it
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-11-16 09:34:04 +00:00
Álvaro Brey
38a5283f98 PermissionUtil: remember permission requested when requesting media storage permissions
For devices under SDK 30, permission was asked on every startup, which is not desired, and is different from the
behaviour above SDK 30. This fixes that.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-16 07:54:36 +00:00
Álvaro Brey
fc5f0ff836 UploadFilesActivity: request permission on onStart instead of onResume
onResume is always called after permission dialog is closed, so it causes a loop

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-16 07:54:36 +00:00
Nextcloud bot
17f6e3beb8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-16 03:27:16 +00:00
Nextcloud bot
b1dbfeaa3a
[tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-16 03:27:01 +00:00
Tobias Kaminsky
18588e9cc1 daily dev 20221116
Bump mockitoVersion from 4.8.1 to 4.9.0
Bump daggerVersion from 2.44.1 to 2.44.2
Bump leakcanary-android from 2.9.1 to 2.10
Bump daggerVersion from 2.44 to 2.44.1
Update Nextcloud Android library
Update 3rd-party dependencies
2022-11-16 02:40:56 +01:00
Tobias Kaminsky
3ecad40356 Merge remote-tracking branch 'origin/master' into dev 2022-11-16 02:33:51 +01:00
Álvaro Brey
ea4a8a35a7
Merge pull request #10977 from nextcloud/enter-the-room
Setup Room database
2022-11-15 16:24:23 +01:00
Álvaro Brey
2581764c3d
Fix toolbar back icon being arrow in places where it should be hamburger menu
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 15:59:27 +01:00
Álvaro Brey
18f4209971
FileDisplayActivity: fix restoring selected menu item when resuming
Not needed as it will be correctly selected elsewhere, and was causing wrong caching

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 15:55:02 +01:00
Álvaro Brey
f049603f35 Delete database migration code under database v24 (app v2.0.0)
Migration from such old app versions is broken anyway, not only in the database, but also in sharedprefs

Additionally, configure destructive migration for unsupported versions in Room

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
Álvaro Brey
ec07d26334 Add migrations for capabilities and files tables as well
They both have unused columns that were not removed in previous migrations, and this makes Room unhappy

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
Álvaro Brey
cc9b38b972 Clean up creation, injection and migrations for room database
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
Á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
Tobias Kaminsky
5822746010 daily dev 20221112
Bump appcompat from 1.4.2 to 1.5.1
Bump webkit from 1.4.0 to 1.5.0
Bump material from 1.6.1 to 1.7.0
Bump junit from 1.1.3 to 1.1.4
Bump espressoVersion from 3.4.0 to 3.5.0
Bump kotlin_version from 1.7.20 to 1.7.21
Update Nextcloud Android library
Update 3rd-party dependencies
2022-11-12 03:43:22 +01:00
Tobias Kaminsky
a03c9d0ca9 Merge remote-tracking branch 'origin/master' into dev 2022-11-12 03:37:09 +01: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
Tobias Kaminsky
f9758863f2 daily dev 20221105 2022-11-05 02:39:56 +01:00
Tobias Kaminsky
cdb7935313 Merge remote-tracking branch 'origin/master' into dev 2022-11-05 02:32:13 +01: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
Tobias Kaminsky
822cb9efa1 daily dev 20221104 2022-11-04 02:38:22 +01:00
Tobias Kaminsky
16e4b0a490 Merge remote-tracking branch 'origin/master' into dev 2022-11-04 02:31:56 +01: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
Tobias Kaminsky
ae15e6e0c1 daily dev 20221103
Update Nextcloud Android library
2022-11-03 02:38:22 +01:00
Tobias Kaminsky
4ef126b3d6 Merge remote-tracking branch 'origin/master' into dev 2022-11-03 02:32:12 +01: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
Tobias Kaminsky
b4ca718bcb daily dev 20221029 2022-10-29 02:38:06 +02:00
Tobias Kaminsky
81e14c596a Merge remote-tracking branch 'origin/master' into dev 2022-10-29 02:31:46 +02: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