Commit graph

748 commits

Author SHA1 Message Date
Á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
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
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
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