Compare commits

...
Author SHA1 Message Date
tobiasKaminsky 3a1a58df24 Only allow creation of encrypted folder in root
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-13 14:53:24 +01:00
tobiasKaminsky efddccf1e3 allow to create encrypted folder directly via bottom sheet dialog
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-13 14:43:36 +01:00
Nextcloud bot 3c945f6fb2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-13 03:44:38 +00:00
Nextcloud bot 1d026aae34 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-13 03:44:22 +00:00
Álvaro Brey 66c617828a Merge pull request #11124 from nextcloud/fix/upload-worker-infinite-loop
Fix infinite loop in upload worker
2022-12-12 13:14:20 +01:00
Álvaro Brey 396b920d4f Merge pull request #11119 from nextcloud/fix/fullscreen-dialog-insets-android9
PreviewVideoFullscreenDialog: fix immersive mode logic
2022-12-12 12:46:27 +01:00
Nextcloud bot 84754790bd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-12 03:31:14 +00:00
Nextcloud bot 022b076ec0 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-12 03:30:56 +00:00
Nextcloud bot 45d1183749 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-11 03:42:48 +00:00
Nextcloud bot 700d9806c8 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-11 03:42:33 +00:00
Nextcloud bot cfcf6036ab [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-10 03:38:56 +00:00
Nextcloud bot 35e4dec024 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-10 03:38:39 +00:00
Nextcloud bot 6dd923a69d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-09 03:47:31 +00:00
Nextcloud bot 1a3e4d4b7a [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-09 03:47:17 +00:00
Nextcloud bot 2d2d01e472 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-08 03:32:24 +00:00
Nextcloud bot 31736039d9 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-08 03:32:07 +00:00
Tobias Kaminsky bb721e2e75 Merge pull request #11148 from nextcloud/devVersionWithoutScanner
For our daily build on F-Droid we cannot add our document scanning
2022-12-07 15:30:41 +01:00
tobiasKaminsky 7235a8dcf6 For our daily build on F-Droid we cannot add our document scanning
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-07 14:56:14 +01:00
Nextcloud bot a6cdde372a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-07 03:32:43 +00:00
Nextcloud bot 041568d0ce [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-07 03:32:27 +00:00
Tobias Kaminsky 0e50595345 Merge pull request #11093 from nextcloud/bottomsheet-style-improvement
"Add to nextcloud" bottom sheet: add drag handle and style title
2022-12-06 08:21:16 +01:00
Tobias Kaminsky b40f7f6e0b Merge pull request #11122 from nextcloud/fixTemplateId
Template id must be long, as it is fileID, which can be very big
2022-12-06 08:15:19 +01:00
Álvaro Brey 006c5b49d5 "Add to nextcloud" bottom sheet: add drag handle and style title
This brings the title in line with the other bottom sheet, and looks better IMO.

The DragHandleView is recommended for accesibility.

Signed-off-by: Álvaro Brey <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-06 07:56:18 +01:00
Nextcloud bot ff9b37c795 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-06 03:40:09 +00:00
Nextcloud bot b28a33c142 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-06 03:39:52 +00:00
Nextcloud bot dea0b2e782 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-05 03:28:16 +00:00
Nextcloud bot 57ef92fc4e [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-05 03:27:59 +00:00
Nextcloud bot e6785d4d91 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-04 03:27:41 +00:00
Nextcloud bot f81ae6db1c [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-04 03:27:24 +00:00
Nextcloud bot 13f6d36c40 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-03 03:27:55 +00:00
Nextcloud bot 2449b8dfff [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-03 03:27:35 +00:00
Álvaro Brey 49bd3b1efc Merge pull request #11128 from nextcloud/fix/davx5-error-message
SettingsActivity: Better error message when davX5 login fails
2022-12-02 17:33:33 +01:00
Álvaro Brey f403b25599 SettingsActivity: Better error message when davdroid login fails
Server URI is not the only problem that can happen here.

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-02 12:36:14 +00:00
Álvaro Brey aa938747ff Merge pull request #11106 from nextcloud/throttleSetup
show only one setup dialog, prevents strange situation on double tapping
2022-12-02 11:31:56 +01:00
Nextcloud bot 401086cc71 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-02 03:29:14 +00:00
Nextcloud bot cc695a2a47 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-02 03:28:57 +00:00
Álvaro Brey cf2f86a96a Merge pull request #11123 from nextcloud/changelog-master-stable-3.23.0
Add changelog for 3.23.0
2022-12-01 17:07:56 +01:00
Álvaro Brey 84044905d1 UploadsStorageManager: remove in-memory limit for queries
Only added for FilesUploadWorker workaround that is no longer used

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 17:00:02 +01:00
Álvaro Brey f425045a31 FilesUploadWorker: fix infinite loop when uploads failed
With the previous approach (uploadsStorageManager.gtCurrentAndPendingUploadsForAccount),
an upload that is, for example, waiting for wifi, would always be returned in the call,
thus the list would never be empty.

To avoid this but still process the uploads in pages to avoid OOM, we'll request them page-wise
from the StorageManager, with the pages ordered by ascending ID. This way we will only process each upload once,
but newly added uploads after we start will not be missed.

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 16:52:43 +01:00
Álvaro Brey a3e21d719b UploadsStorageManager: extract getUploadsPage from getUploads
First step for making it accessible from outside

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 16:17:22 +01:00
Álvaro Brey 5b8561e3dc Add changelog for 3.23.0
Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 15:02:43 +01:00
Tobias Kaminsky 3f6832eaf1 Merge pull request #11118 from nextcloud/revert-sdk-32
Revert "Bump targetSdk to 32"
2022-12-01 12:27:15 +01:00
tobiasKaminsky 52497bb3e3 Template id must be long, as it is fileID, which can be very big
Signed-off-by: tobiasKaminsky <[email protected]>
2022-12-01 12:13:50 +01:00
Álvaro Brey 4a14602f0e PreviewVideoFullscreenDialog: fix insets
This was breaking the window in Android 9 when going back twice from a fullscreen video.

Testing steps:
1. Open a video
2. Go to fullscreen
3. Close fullscreen
4. Press Back

This caused a white screen in Android 9 before this PR

Signed-off-by: Álvaro Brey <[email protected]>
2022-12-01 11:04:24 +01:00
Nextcloud bot 7698b4b088 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-01 03:33:15 +00:00
Nextcloud bot c3b1957ef8 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-12-01 03:32:57 +00:00
Álvaro Brey 13f37c04f8 Revert "Bump targetSdk to 32"
This reverts commit 8c8723c7c5.

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-30 12:21:37 +01:00
Álvaro Brey 5d4b7a6d04 Merge pull request #11113 from nextcloud/fix-crash-when-disabling-airplane-mode
Fix crash when disabling airplane mode
2022-11-30 09:33:56 +01:00
Andy Scherzinger d196a48931 Merge pull request #11114 from nextcloud/dependabot/gradle/mockkVersion-1.13.3
Bump mockkVersion from 1.13.2 to 1.13.3
2022-11-30 08:58:54 +01:00
Nextcloud bot cf148a0558 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-30 06:35:10 +00:00
Tobias Kaminsky 013f6dc7d2 Merge pull request #11075 from nextcloud/chore/sdk-32
Bump targetSdk to 32
2022-11-30 07:24:33 +01:00
dependabot[bot] 320c893428 Bump mockkVersion from 1.13.2 to 1.13.3
Bumps `mockkVersion` from 1.13.2 to 1.13.3.

Updates `mockk` from 1.13.2 to 1.13.3
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.13.2...1.13.3)

Updates `mockk-android` from 1.13.2 to 1.13.3
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.13.2...1.13.3)

---
updated-dependencies:
- dependency-name: io.mockk:mockk
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.mockk:mockk-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-30 02:01:10 +00:00
Chris Narkiewicz 45567fb6d4 Fix crash when disabling airplane mode
Fixes #11096

Signed-off-by: Chris Narkiewicz <[email protected]>
2022-11-29 20:17:38 +00:00
Álvaro Brey 4a0182ac38 Merge pull request #11109 from nextcloud/dependabot/gradle/kotlin_version-1.7.22
Bump kotlin_version from 1.7.21 to 1.7.22
2022-11-29 16:31:01 +01:00
Álvaro Brey f74f59220c Merge pull request #11089 from nextcloud/fix/video-fullscreen-buffer
Video preview: use fullscreen dialog for video instead of new activity
2022-11-29 13:33:10 +01:00
Álvaro Brey bbaf8d369d Merge pull request #11073 from nextcloud/chore/strictmode-optional
Disable StrictMode by default
2022-11-29 13:23:52 +01:00
Nextcloud bot d584c8416b [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-29 03:32:20 +00:00
dependabot[bot] 7947bb1918 Bump kotlin_version from 1.7.21 to 1.7.22
Bumps `kotlin_version` from 1.7.21 to 1.7.22.

Updates `kotlin-gradle-plugin` from 1.7.21 to 1.7.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22)

Updates `kotlin-stdlib` from 1.7.21 to 1.7.22
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-29 02:04:10 +00:00
Álvaro Brey 3f990c3f21 PreviewVideoFullscreenDialog: workaround for rotated videos on sdk < 29
See comments in added code for explanation

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Álvaro Brey bdc0fc71e5 PreviewVideoFullscreenDialog: use listeners to control transfer, and pause the video while transfer is happening
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Álvaro Brey efa7d9e317 Remove unused theme
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Álvaro Brey b55d5768de Fix lint and spotbugs
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Álvaro Brey bbb85513e1 Video preview: use fullscreen dialog for video instead of new activity
This allows transfering the playback directly between Player views, thus avoiding creating
a new ExoPlayer, re-starting the stream, having to pass playing status/current position, etc.

Additionally:
- Always enable buffering animation so it's clear when a video is loading
- Add padding to fullscreen duration numbers so they don't get cut off on rounded screens

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 19:22:49 +00:00
Tobias KaminskyandÁlvaro Brey 397ba74274 use getParentFragmentManager
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-11-28 14:18:09 +00:00
tobiasKaminsky 831bffe571 show only one setup dialog, prevents strange situation on double tapping
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-28 14:18:09 +00:00
Álvaro Brey a2198d3b8f CONTRIBUTING.md: add performance section
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 15:09:04 +01:00
Álvaro Brey e85737f41d Disable StrictMode by default
StrictMode is not a good fit for the state of our app, since we are way too far from async operations or correct threading.
As a result, we find ourselves disabling the strict mode manually every time we actually want to work on something, as otherwise the
logspam drowns everything else.

With this PR I propose to disable StrictMode unless a prop is set in the Gradle build, which will also control LeakCanary.
Running `./gradlew installGplayDebug -P perfAnalysis` will install the app with both LeakCanary and StrictMode enabled.
This allows us to analyze performance problems on demand, without making our daily work harder.

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-28 15:09:04 +01:00
Álvaro Brey f9e500ba40 Merge pull request #11105 from nextcloud/chore/noid/updateScreenshots
Update screenshot test results for E2E strings
2022-11-28 14:42:18 +01:00
Andy Scherzinger c66491a02f update screenshot test results
Signed-off-by: Andy Scherzinger <[email protected]>
2022-11-28 13:03:10 +01:00
Álvaro Brey 725348a8d4 Merge pull request #11097 from nextcloud/Valdnet-patch-1
i18n: Change name of encryption
2022-11-28 12:53:50 +01:00
Valdnet d184aa6690 i18n: Correct spelling
Signed-off-by: Valdnet <[email protected]>
2022-11-28 09:55:32 +01:00
Valdnet 1433dec21b i18n: Change to lower case
Signed-off-by: Valdnet <[email protected]>
2022-11-28 09:55:32 +01:00
Valdnet e57bf0eb2a i18n: Correct spelling
Signed-off-by: Valdnet <[email protected]>
2022-11-28 09:55:31 +01:00
Valdnet a65b896ce6 i18n: Change name of encryption
Signed-off-by: Valdnet <[email protected]>
2022-11-28 09:55:19 +01:00
Álvaro Brey a489619db3 Merge pull request #11103 from nextcloud/dependabot/gradle/org.mockito.kotlin-mockito-kotlin-4.1.0
Bump mockito-kotlin from 4.0.0 to 4.1.0
2022-11-28 09:34:01 +01:00
Nextcloud bot 759b799e37 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-28 03:33:17 +00:00
Nextcloud bot adcfaf381b [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-28 03:33:00 +00:00
dependabot[bot] 693fe26e54 Bump mockito-kotlin from 4.0.0 to 4.1.0
Bumps [mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/mockito/mockito-kotlin/releases)
- [Commits](https://github.com/mockito/mockito-kotlin/compare/4.0.0...4.1.0)

---
updated-dependencies:
- dependency-name: org.mockito.kotlin:mockito-kotlin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-28 02:02:33 +00:00
Nextcloud bot b9e1bb3f81 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-27 03:30:59 +00:00
Nextcloud bot cf17a9fbfc [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-27 03:30:41 +00:00
Nextcloud bot 23d0b40d5b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-26 03:30:47 +00:00
Nextcloud bot 5d9e0e6e0a [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-26 03:30:27 +00:00
Álvaro Brey 16023016d7 Merge pull request #11091 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.12.0
Bump com.diffplug.spotless from 6.11.0 to 6.12.0
2022-11-25 14:01:12 +01:00
Tobias Kaminsky 161bc98bde Merge pull request #11031 from nextcloud/e2eUX
E2e ux
2022-11-25 11:30:43 +01:00
Nextcloud bot 02762bb2f0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-25 08:27:05 +00:00
Nextcloud bot f6c083ace7 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-25 08:26:49 +00:00
Nextcloud bot b9cdb01b16 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-25 03:36:17 +00:00
Nextcloud bot 209404f058 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-25 03:35:56 +00:00
dependabot[bot] 766ed4492c Bump com.diffplug.spotless from 6.11.0 to 6.12.0
Bumps com.diffplug.spotless from 6.11.0 to 6.12.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-25 02:01:32 +00:00
tobiasKaminsky 393e34d28c restart SettingsActivity after changing e2e settings
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
tobiasKaminsky 3f82d37415 revert to master library
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
tobiasKaminsky f49252c87e hide e2e options after removing local e2e setup
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey b110735dcc NextcloudDatabase: enable automigration for new db version
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 30d38dee23 Restore database v65 schema from master
Mistakenly changed!

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 0d098255d9 Pass through SetupEncryptionDF result to SettingsActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 6b4d6a6dfd SettingsActivity: fix conditional to show e2e encrypt option
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
tobiasKaminsky e3a7453846 properly handle stage 2: key exists, but e2e is not setup on this device
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 1b945b6131 SetupEncryptionDialogFragment: use builtin onCancel for setting cancel result
This captures back button as well

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey b1b05f740e SetupEncryptionActivity: give transparent background to make it more seamless
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 09aac00330 SetupEncryptionActivity: finish activity when error happens
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey 6568d1d272 Close SetupEncryptionActivity when dialog is dismissed
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Álvaro Brey fc446b1deb Update screenshots for SettingsActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-24 15:40:26 +01:00
Tobias KaminskyandÁlvaro Brey 9f1f21ee8c Update app/src/main/res/values/strings.xml
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-11-24 15:40:26 +01:00
tobiasKaminskyandÁlvaro Brey 5b4aba11f5 Better show different states of E2E
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-24 15:40:24 +01:00
Álvaro Brey 1c4a1063f1 Merge pull request #10928 from nextcloud/test/calendar-skip-empty
Fix issues with calendar exporting
2022-11-23 22:11:31 +01:00
Álvaro Brey c938a929c1 Merge pull request #11067 from nextcloud/fix/gallery-crash
GalleryFragment: fix crash when scrolling slowly until the end of the list
2022-11-23 22:10:20 +01:00
Álvaro Brey f797260f76 Merge pull request #11068 from nextcloud/fix/favorites-back-navigation
FileDisplayActivity: fix drawer menu item when browsing back from favorite folder
2022-11-23 22:08:51 +01:00
Álvaro Brey eaae4a0f9c Merge pull request #11069 from nextcloud/fix/video-fullscreen-stuck
Misc fixes for video player
2022-11-23 22:07:43 +01:00
Álvaro Brey 09319ac7c3 Merge pull request #11074 from nextcloud/fix/calendar-backup-wrong-account
CalendarBackupWork: upload to configured account, not current account
2022-11-23 22:06:54 +01:00
Álvaro Brey b0a3d6cc7e Merge pull request #11059 from nextcloud/feature/3175/shortcuts_bottombar
Allow Pin to Home with file actions bottom sheet
2022-11-23 18:56:38 +01:00
Álvaro Brey 8c8723c7c5 Bump targetSdk to 32
32 is just a feature release of android 13 and no important changes are documented.

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 11:46:14 +01:00
Álvaro Brey 38e83cd03c Keep screen on while video is playing
Fixes #9059

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 10:31:49 +00:00
Álvaro Brey 625ada4c17 Add default error and completion handler to Exoplayer in preview fragment/activity
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 10:31:49 +00:00
Álvaro Brey 250e8129dd CalendarBackupWork: upload to configured account, not current account
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 11:13:03 +01:00
Álvaro Brey 7d8e37a8a0 FileDisplayActivity: also update sort group after browsing up
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 10:26:16 +01:00
Álvaro Brey 850e9e7ec3 CalendarBackupWork: log amount of calendars
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 08:12:10 +00:00
Álvaro Brey b3eab117db calendar export: port some changes from upstream
Ignore deleted events, and fix alarm triggers

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 08:12:10 +00:00
Álvaro Brey 008ee4e0cd SaveCalendar: don't try to export empty calendars
Causes crashes

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-23 08:12:10 +00:00
Nextcloud bot 39f094af95 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-23 03:35:13 +00:00
Nextcloud bot 958a0e30eb [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-23 03:34:56 +00:00
Álvaro Brey 7bf90d364b FileDisplayActivity: fix drawer menu item when browsing back from favorite folder
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 16:50:42 +01:00
Felix Nüsse ea2a1a9163 extract string resource
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-22 16:31:15 +01:00
Álvaro Brey c1ce254692 GalleryFragment: fix crash when scrolling slowly until the end of the list
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 13:52:54 +01:00
Álvaro Brey 8f1369cba2 ShortcutUtil: use system utilities to get pixel size for dimens instead of manually calculating them
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 11:00:12 +01:00
Álvaro Brey 52e1e8cef5 ShortcutUtil: use ShortcutManagerCompat to avoid min SDK requirement
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 10:53:09 +01:00
Álvaro Brey 2e3ef2eace strings.xml: Remove unused string to appease Lint
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 10:16:07 +01:00
Álvaro Brey 280a92be51 Fix style and static analysis issues
- Rename ShortcutUtils.kt to ShortcutUtil.kt to match contained class
- Remove unused const
- Fix formatting with spotless

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 10:14:27 +01:00
Álvaro Brey 8a24ea03a0 Inject ShortcutUtil instead of manually creating it
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-22 10:11:02 +01:00
Nextcloud bot bf328c9430 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-22 03:37:03 +00:00
Nextcloud bot ca2d593d67 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-22 03:36:46 +00:00
Álvaro Brey 619563b34a Merge pull request #11061 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.22.0
Bump detekt-gradle-plugin from 1.21.0 to 1.22.0
2022-11-21 17:26:27 +01:00
Álvaro Brey 5fe237033f Merge pull request #10968 from nextcloud/e2eDocumentNotSetup
Check if e2e is available in DocumentsStorageProvider
2022-11-21 17:20:21 +01:00
Felix Nüsse d555847fea extract and explain constant integer values for icon size
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix Nüsse c19a256a97 Update shortcututils to use existing FolderIcon-function
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix Nüsse 758bfe1e17 Implement errorchecking and remove deprecations as suggested by @AlvaroBrey
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix Nüsse f81340f63d Add check for version in FileMenuFilter and ActionChoosen()
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix Nüsse a25069eff3 Remove checks from shortcutUtils and move the same
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix NüsseandÁlvaro Brey e4d51be54c Update app/src/main/res/values/strings.xml
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix NüsseandÁlvaro Brey 3e5ac3068c Update app/src/main/java/com/owncloud/android/files/FileMenuFilter.java
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
Felix NüsseandÁlvaro Brey e6c014d832 Update app/src/main/java/com/nextcloud/ui/fileactions/FileAction.kt
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-21 16:47:30 +01:00
tobiasKaminsky 64ca4b1858 Check if e2e is available in DocumentsStorageProvider
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-21 11:20:38 +01:00
Nextcloud bot ee78494df5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-21 03:27:43 +00:00
Nextcloud bot f1be37c61a [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-21 03:27:27 +00:00
dependabot[bot] df3cd0c685 Bump detekt-gradle-plugin from 1.21.0 to 1.22.0
Bumps [detekt-gradle-plugin](https://github.com/detekt/detekt) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/commits)

---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-21 02:11:42 +00:00
Nextcloud bot f661483e1d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-20 03:29:17 +00:00
Nextcloud bot 5cc64748f1 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-20 03:28:59 +00:00
Felix Nüsse 5b2cc6f2c5 Allow Pin to Home with BottomBarDialog
Signed-off-by: Felix Nüsse <[email protected]>
2022-11-19 14:36:01 +01:00
Álvaro Brey 05b53f2add Merge pull request #11050 from nextcloud/arbitrary-dao
Use Room DAO instead of ContentProvider for arbitrary data table access
2022-11-19 13:11:41 +01:00
Nextcloud bot 302ce683a7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-19 03:34:53 +00:00
Nextcloud bot 3871917926 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-19 03:34:35 +00:00
Álvaro Brey ec4067c199 ArbitraryDataProvider: distinguish between null value and nonexisting entities
Not the same thing!

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-18 10:39:41 +01:00
Álvaro Brey 9c218ed18a Fix nullability of types for ArbitraryDataProvider interface
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-18 10:39:41 +01:00
Álvaro Brey f490823e4e Extract interface from ArbitraryDataProvider for better decoupling and testing
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-18 10:39:41 +01:00
Álvaro Brey 5499441738 Use Room DAO for ArbitraryDataProvider instead of contentResolver
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-18 10:39:41 +01:00
Nextcloud bot 13071ed5ae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-18 03:27:40 +00:00
Nextcloud bot a7a9da4bc2 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-18 03:27:19 +00: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 <[email protected]>
2022-11-17 13:48:43 +01:00
Tobias KaminskyandÁlvaro Brey 1b0a2cce72 also check for shared with me
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-11-17 13:14:37 +01:00
tobiasKaminsky 66746a6b12 prohibit share of an encrypted folder
Signed-off-by: tobiasKaminsky <[email protected]>
2022-11-17 12:50:59 +01:00
Álvaro Brey 05200914d9 Merge pull request #11051 from nextcloud/chore/remove-unused-migration-code
chore: Remove unused legacy migration code
2022-11-17 12:26:16 +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 <[email protected]>
2022-11-17 10:24:47 +01:00
Álvaro Brey 75774ed2ce Merge pull request #11008 from nextcloud/feature/file-actions-bottom-sheet
Redesign file actions menu as a BottomSheet
2022-11-17 09:50:13 +01:00
Álvaro Brey c71ce3a3ee Add screenshot test for FileActionsBottomSheet
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:59 +01:00
Álvaro Brey a0ac194467 Fix lint
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:59 +01:00
Álvaro Brey f8f0d46633 Fix FileMenuFilterIT
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:59 +01:00
Álvaro Brey 7cb85ec6a1 FileActionsBottomSheet: color loading animation with primary color
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:59 +01:00
Álvaro Brey 4523537587 File actions bottom sheet: show file thumbnail
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:59 +01:00
Álvaro Brey 829c10f9de Fix FileMenuFilterIT for real
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:59 +01:00
Álvaro Brey 6b470f86bb Fix mock order for FileMenuFilter
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:58 +01:00
Álvaro Brey 422c0a5011 Small spotbugs cleanup
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:58 +01:00
Álvaro Brey a160ccd936 Clean up unused resources
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:58 +01:00
Álvaro Brey b43df7c711 Minor cleanup
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:58 +01:00
Álvaro Brey 27e40440db Fix bottom sheet background for PreviewImageFragment
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:58 +01:00
Álvaro Brey 6d97bd5145 Remove obsolete TODOs
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
2022-11-17 09:13:58 +01:00
Álvaro Brey 0cc2e6875d FileActionsBottomSheet: parse arguments in ViewModel, handle errors
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-11-17 09:13:57 +01:00
Álvaro Brey 7c53e77e57 FileActionsBottomSheet: additional filtering in FileDetailFragment
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
2022-11-17 09:13:57 +01:00
Álvaro Brey 0e0935bef6 FileActionsBottomSheet: add drag handle for accesibility
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:57 +01:00
Álvaro Brey 5ff16b9ba5 Show lock info in bottom sheet
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-11-17 09:13:57 +01:00
Álvaro Brey a1265bdae7 FileActionsBottomSheet: handle additional filtering for preview fragments
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
2022-11-17 09:13:56 +01:00
Álvaro Brey e41d474e89 FileActionsBottomSheet: use ViewModel
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:46 +01:00
Álvaro Brey 5b628f520c Set icons for file actions
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:09 +01:00
Álvaro Brey f2d0acdba3 Use bottom sheet for file actions
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-17 09:13:02 +01:00
Nextcloud bot 1cd0bbf75e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-17 03:29:03 +00:00
Nextcloud bot 937aa10fc8 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-17 03:28:49 +00: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 08e2006737 Merge pull request #10996 from nextcloud/cache-walled-check
Cache walled check for 10 minutes
2022-11-16 21:00:58 +01:00
Álvaro Brey b32ea65774 WalledCheckCache: use current epoch instead of millis since boot to avoid problems on reboot
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-16 14:17:56 +01:00
Álvaro Brey f3a810600d WalledCheckCache: rename field and parameter for clarity
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
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 13bcd6bfdd Merge pull request #11037 from nextcloud/e2eEncryptedOption
Only show "set encrypted" if folder is empty and has no empty files/folder in it
2022-11-16 12:34:34 +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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-11-16 07:54:36 +00:00
Nextcloud bot 17f6e3beb8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-16 03:27:16 +00:00
Nextcloud bot b1dbfeaa3a [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-16 03:27:01 +00: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 <[email protected]>
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 <[email protected]>
2022-11-15 15:55:02 +01:00
Álvaro Brey 47bf01f052 Merge pull request #11033 from nextcloud/fix/noid/jumping-file-list
File list "jumps" after scrolling when an asynchronous operation finishes
2022-11-15 11:51:21 +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 <[email protected]>
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 <[email protected]>
2022-11-15 10:02:46 +00:00
Álvaro Brey b84639672b spotbugs: ignore Room autogenerated classes
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-15 10:02:46 +00:00
github-actions 07bc1e8fd0 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-11-15 10:02:46 +00:00
Álvaro Brey fdab7afbfd Fix column types and implement migrations
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-15 10:02:46 +00:00
Álvaro Brey d0ab9ff67b Setup base Room configuration
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-15 10:02:46 +00:00
Álvaro Brey e96390524a Merge pull request #11034 from nextcloud/dependabot/gradle/daggerVersion-2.44.2
Bump daggerVersion from 2.44.1 to 2.44.2
2022-11-15 10:22:13 +01:00
Álvaro Brey 0e485ee694 Merge pull request #11035 from nextcloud/dependabot/gradle/mockitoVersion-4.9.0
Bump mockitoVersion from 4.8.1 to 4.9.0
2022-11-15 10:21:57 +01:00
Dariusz Olszewski 8faf600057 Proposed fix for "jumping" file list
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-11-15 09:16:16 +00:00
Nextcloud bot 163e39827d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-15 03:27:37 +00:00
Nextcloud bot cb000c3d7a [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-15 03:27:23 +00:00
dependabot[bot] b972b5dfe8 Bump mockitoVersion from 4.8.1 to 4.9.0
Bumps `mockitoVersion` from 4.8.1 to 4.9.0.

Updates `mockito-core` from 4.8.1 to 4.9.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.1...v4.9.0)

Updates `mockito-android` from 4.8.1 to 4.9.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.1...v4.9.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-15 02:01:51 +00:00
dependabot[bot] c383bc02a9 Bump daggerVersion from 2.44.1 to 2.44.2
Bumps `daggerVersion` from 2.44.1 to 2.44.2.

Updates `dagger` from 2.44.1 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.1...dagger-2.44.2)

Updates `dagger-android` from 2.44.1 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.1...dagger-2.44.2)

Updates `dagger-android-support` from 2.44.1 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.1...dagger-2.44.2)

Updates `dagger-compiler` from 2.44.1 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.1...dagger-2.44.2)

Updates `dagger-android-processor` from 2.44.1 to 2.44.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44.1...dagger-2.44.2)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-15 02:01:27 +00:00
Nextcloud bot de16650b0a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-14 10:49:33 +00:00
Nextcloud bot c596208e29 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-14 10:49:19 +00:00
Álvaro Brey 720618473c Merge pull request #11028 from nextcloud/dependabot/gradle/daggerVersion-2.44.1
Bump daggerVersion from 2.44 to 2.44.1
2022-11-14 10:32:50 +01:00
Álvaro Brey 2d5ccddad5 Merge pull request #11029 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.10
Bump leakcanary-android from 2.9.1 to 2.10
2022-11-14 09:49:33 +01:00
Nextcloud bot b2a08a0716 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-14 03:25:01 +00:00
Nextcloud bot 41549ab344 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-14 03:24:47 +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] <[email protected]>
2022-11-14 02:02:41 +00:00
dependabot[bot] 39d070f3e1 Bump daggerVersion from 2.44 to 2.44.1
Bumps `daggerVersion` from 2.44 to 2.44.1.

Updates `dagger` from 2.44 to 2.44.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.1)

Updates `dagger-android` from 2.44 to 2.44.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.1)

Updates `dagger-android-support` from 2.44 to 2.44.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.1)

Updates `dagger-compiler` from 2.44 to 2.44.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.1)

Updates `dagger-android-processor` from 2.44 to 2.44.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-14 02:02:19 +00:00
Nextcloud bot f5618aed2e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-13 03:23:25 +00:00
Nextcloud bot a4cebfb3a4 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-13 03:23:10 +00:00
Nextcloud bot 314550a02f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-12 03:26:35 +00:00
Nextcloud bot 0a43485476 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-12 03:26:20 +00:00
Álvaro Brey e62805412c Merge pull request #10721 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.5.1
Bump appcompat from 1.4.2 to 1.5.1
2022-11-11 13:01:35 +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] <[email protected]>
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
Álvaro Brey 6d7d7246b2 Merge pull request #10841 from nextcloud/dependabot/gradle/com.google.android.material-material-1.7.0
Bump material from 1.6.1 to 1.7.0
2022-11-11 11:19:51 +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] <[email protected]>
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] <[email protected]>
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 <[email protected]>
2022-11-10 03:31:27 +00:00
Nextcloud bot 74f54309c7 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
2022-11-09 13:12:19 +01:00
Álvaro Brey 9030664262 Merge pull request #11012 from nextcloud/dependabot/gradle/androidx.test.ext-junit-1.1.4
Bump junit from 1.1.3 to 1.1.4
2022-11-09 09:59:02 +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] <[email protected]>
2022-11-09 09:12:27 +01:00
Álvaro Brey 7de0288ccd Merge pull request #11010 from nextcloud/dependabot/gradle/kotlin_version-1.7.21
Bump kotlin_version from 1.7.20 to 1.7.21
2022-11-09 09:11:24 +01:00
Álvaro Brey 32240bc521 Merge pull request #11011 from nextcloud/dependabot/gradle/espressoVersion-3.5.0
Bump espressoVersion from 3.4.0 to 3.5.0
2022-11-09 09:10:49 +01:00
Nextcloud bot 3dc91aa3b4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-09 03:21:19 +00:00
Nextcloud bot 8c4afb8047 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-09 03:21:04 +00:00
dependabot[bot] 884d4e3c30 Bump espressoVersion from 3.4.0 to 3.5.0
Bumps `espressoVersion` from 3.4.0 to 3.5.0.

Updates `espresso-core` from 3.4.0 to 3.5.0

Updates `espresso-contrib` from 3.4.0 to 3.5.0

Updates `espresso-web` from 3.4.0 to 3.5.0

Updates `espresso-accessibility` from 3.4.0 to 3.5.0

Updates `espresso-intents` from 3.4.0 to 3.5.0

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.test.espresso:espresso-contrib
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.test.espresso:espresso-web
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.test.espresso:espresso-accessibility
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.test.espresso:espresso-intents
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-09 02:04:06 +00:00
dependabot[bot] c15a6ce9d6 Bump kotlin_version from 1.7.20 to 1.7.21
Bumps `kotlin_version` from 1.7.20 to 1.7.21.

Updates `kotlin-gradle-plugin` from 1.7.20 to 1.7.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib` from 1.7.20 to 1.7.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-11-09 02:03:53 +00:00
Álvaro Brey cedd8962d0 Merge pull request #11006 from nextcloud/fix/groupfolder-icon-priority
Give groupfolders priority when choosing icon for folder
2022-11-08 13:55:27 +01: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 <[email protected]>
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 <[email protected]>
2022-11-08 09:15:54 +01:00
Nextcloud bot cfe05766ac [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-08 03:22:29 +00:00
Nextcloud bot 9dc4271da2 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-08 03:22:14 +00:00
Álvaro Brey f6119a5bbb Merge pull request #10989 from abdusalamApps/folder-content-visibility-in-ReceiveExternalFilesActivity
Fixed folder content visibility
2022-11-07 20:29:10 +01: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 <[email protected]>
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 <[email protected]>
2022-11-07 13:23:54 +01:00
Álvaro Brey d0ffbe2479 Use material 3 style for SSO dialog
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-07 13:03:31 +01:00
Álvaro Brey fb52b3f2ce Merge pull request #10985 from nextcloud/fastlane-skip-apk
fastlane: add skip_upload_apk to play store config
2022-11-07 11:37:53 +01:00
Nextcloud bot 7ec3b4575b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-07 03:21:01 +00:00
Nextcloud bot 321abab4ed [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-07 03:20:47 +00:00
Nextcloud bot ed105ddb3f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-06 03:23:03 +00:00
Nextcloud bot abe1770e7c [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-06 03:22:49 +00:00
Nextcloud bot 070f2bec92 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-05 03:26:06 +00:00
Nextcloud bot bc16d2409c [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-05 03:25:51 +00:00
Abdusalam Yabrak aa92109ab1 Fixed folder content visibility
Signed-off-by: Abdusalam Yabrak <[email protected]>
2022-11-04 19:22:21 +01:00
Álvaro Brey d45735776a Merge pull request #10984 from nextcloud/changelog-master-stable-3.22.3
Add changelog for 3.22.3
2022-11-04 11:58:39 +01:00
Nextcloud bot f0cd994a7f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-04 03:21:33 +00:00
Nextcloud bot a73c6eef58 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-04 03:21:18 +00:00
Álvaro Brey e924e10be2 fastlane: add skip_upload_apk to play store config
If there is any .apk file in the root dir of the project (like one used for testing prior to release),
the upload_to_play_store lane will pick it up and throw an error because it has both an APK and an AAB.

To fix this, tell it to ignore any APKs and only use the provided AAB.

Signed-off-by: Álvaro Brey <[email protected]>
2022-11-03 20:59:07 +01:00
Álvaro Brey cc482f9059 Add changelog for 3.22.3
Signed-off-by: Álvaro Brey <[email protected]>
2022-11-03 20:50:51 +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 <[email protected]>
2022-11-03 11:58:08 +01:00
Nextcloud bot 086a779d40 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-03 03:20:34 +00:00
Nextcloud bot 2463ddc2db [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-11-02 11:06:18 +01:00
Nextcloud bot ce041757ea [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-02 03:22:29 +00:00
Nextcloud bot 4ed40afb82 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
2022-11-01 10:41:08 +01:00
Nextcloud bot 12f04c8335 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-11-01 03:21:34 +00:00
Nextcloud bot 516409c572 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
2022-10-31 15:55:35 +01:00
tobiasKaminsky 32fab01c91 use existing method via eventbus to encrypt folder
Signed-off-by: tobiasKaminsky <[email protected]>
2022-10-31 15:22:50 +01:00
Nextcloud bot ef716f4f8f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-31 03:20:22 +00:00
Nextcloud bot bad391978a [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-31 03:20:07 +00:00
Nextcloud bot 35e8bdecad [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-30 03:24:29 +00:00
Nextcloud bot 94f9b61870 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-30 03:24:15 +00:00
Nextcloud bot 1d3593f2e9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-29 03:33:02 +00:00
Nextcloud bot 983837c604 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-10-28 10:37:42 +02:00
Nextcloud bot 81ec72416f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-28 03:21:23 +00:00
Nextcloud bot e122711a44 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
2022-10-27 15:59:47 +02:00
Álvaro Brey a4adf83efe FilesUploadWorker: add some more logging
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-10-27 10:54:39 +02:00
Nextcloud bot 9b5a214df0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-27 03:20:39 +00:00
Nextcloud bot eb856a8b56 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
2022-10-26 03:22:20 +00:00
Nextcloud bot f38d33b325 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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] <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-10-25 03:25:50 +00:00
Nextcloud bot cedc7dd4ac [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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] <[email protected]>
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] <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-10-24 17:12:14 +02:00
Álvaro Brey 9e55bad4ec Merge pull request #10901 from nextcloud/dependabot/gradle/mockitoVersion-4.8.1
Bump mockitoVersion from 4.8.0 to 4.8.1
2022-10-24 16:59:45 +02:00
dependabot[bot] 40c15d22be Bump mockitoVersion from 4.8.0 to 4.8.1
Bumps `mockitoVersion` from 4.8.0 to 4.8.1.

Updates `mockito-core` from 4.8.0 to 4.8.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.0...v4.8.1)

Updates `mockito-android` from 4.8.0 to 4.8.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.0...v4.8.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-10-24 16:07:55 +02:00
Álvaro Brey 9ee70f4d72 Merge pull request #10911 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-3.1.0
Bump hmarr/auto-approve-action from 3.0.0 to 3.1.0
2022-10-24 16:07:17 +02:00
Álvaro Brey adaa460056 Merge pull request #10910 from nextcloud/dependabot/github_actions/actions/upload-artifact-3.1.1
Bump actions/upload-artifact from 3.1.0 to 3.1.1
2022-10-24 16:06:55 +02:00
Álvaro Brey 64b4260a59 Merge pull request #10909 from nextcloud/changelog-master-stable-3.22.2
Add changelog for 3.22.2
2022-10-24 13:19:19 +02:00
dependabot[bot] 2b9b65791f Bump hmarr/auto-approve-action from 3.0.0 to 3.1.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-10-24 11:14:47 +00:00
dependabot[bot] fe0b6ef04e Bump actions/upload-artifact from 3.1.0 to 3.1.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/3cea5372237819ed00197afe530f5a7ea3e805c8...83fd05a356d7e2593de66fc9913b3002723633cb)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-10-24 11:14:45 +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] <[email protected]>
2022-10-24 10:44:35 +00:00
Álvaro Brey 3eb452ffde Add changelog for 3.22.2
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-24 11:32:06 +02:00
Álvaro Brey 185a0b9902 Merge pull request #10883 from nextcloud/fix/permission-dialog-crash
Fix creation and result logic for StoragePermissionDialogFragment
2022-10-24 09:41:49 +02:00
Álvaro Brey 606e3d7ce5 Add screenshot test for storage permission dialog
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
2022-10-24 09:10:50 +02:00
Nextcloud bot 5cfc68c931 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-24 03:21:09 +00:00
Nextcloud bot 020fd3c415 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-24 03:20:56 +00:00
Nextcloud bot 7859320616 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-23 03:21:12 +00:00
Nextcloud bot 911f9fce7b [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-23 03:20:57 +00:00
Andy Scherzinger 355fc99f5e Merge pull request #10890 from Kerbalnut/master
Minor updates to README for Windows syntax for logcat instructions.
2022-10-22 10:59:21 +02:00
Kerbalnut a1384419f7 Minor updates to README for Windows syntax for logcat instructions.
Modified 3 lines in README.md

Line 58 had:
`adb shell pidof -s 'com.nextcloud.client` (just one single-quote). Added a second single-quote to close the string and make it: `adb shell pidof -s 'com.nextcloud.client'`, otherwise the terminal will give you new lines waiting for the closing quote.

Line 59 & 60 use %HOMEPATH% environment var instead of %USERPROFILE%

- %HOMEPATH% will return `\Users\username`
- %USERPROFILE% will return `C:\Users\username`

Also added double-quotes around the entire path string in case username contains spaces, e.g. `C:\Users\user name`

For a PowerShell.exe terminal (what MS is starting to recommend over cmd.exe), the same lines can be used with a var reference of `$env:USERPROFILE` instead of `%USERPROFILE%`. I added in an extra hint line in the instructions to remind people of this.

Signed-off-by: Kerbalnut <[email protected]>
2022-10-21 22:24:38 -07:00
Nextcloud bot a57580762d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-22 03:22:08 +00:00
Nextcloud bot 7ed654a238 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-22 03:21:53 +00:00
Álvaro Brey 2e49782298 Merge pull request #10877 from nextcloud/fix/ssl-untrusted-nullpointer
SslUntrustedCertDialog: fix inflation to avoid NPE and add test to ensure it doesn't happen again
2022-10-21 16:13:23 +02:00
Álvaro Brey 1cc30945d0 Merge pull request #10860 from nextcloud/changelog-master-stable-3.22.1
Add changelog for 3.22.1
2022-10-21 13:37:58 +02: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 <[email protected]>
2022-10-21 10:24:58 +02:00
Álvaro Brey 947dab9729 Add changelog for 3.22.1
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-21 09:39:29 +02:00
Nextcloud bot 45163e377d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-21 03:29:34 +00:00
Nextcloud bot 756966750b [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-20 17:05:32 +00:00
Álvaro Brey adec7bd6ea Merge pull request #10851 from nextcloud/bump-common-ui-0.3
Bump android-common:ui to 0.3.0
2022-10-20 16:12:51 +02:00
Álvaro Brey 401812db81 Bump android-common:ui to 0.3.0
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-20 15:48:01 +02:00
Álvaro Brey 4eafbeabbd Merge pull request #10850 from nextcloud/fix/remove-unused-string
Remove unused string again
2022-10-20 15:41:03 +02:00
Álvaro Brey 207c0ae9f0 Remove unused string again
Re-synced by transifex while transifex was not working properly

Signed-off-by: Álvaro Brey <[email protected]>
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 99bf8aef15 Merge pull request #10829 from nextcloud/fix/grid-image-holder
Restore OCFileListGridImageViewHolder
2022-10-20 09:03:56 +02:00
Álvaro Brey 5b82ed3a9b Merge pull request #10810 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-3.0.0
Bump hmarr/auto-approve-action from 2.4.0 to 3.0.0
2022-10-20 09:02:41 +02:00
Álvaro Brey a2783775da Merge pull request #10824 from nextcloud/changelog-master-stable-3.22.0
Add changelog for 3.22.0
2022-10-19 16:57:47 +02:00
Álvaro Brey b4f8773d7b Fix crash in GalleryFragment when menu button is double-tapped
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-19 16:25:24 +02:00
Álvaro Brey e151eb7bdf Add missing injector for SslUntrustedCertDialog
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-10-19 15:51:56 +02:00
Álvaro Brey 20f6602f8a Add changelog for 3.22.0
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-19 12:53:36 +02:00
Nextcloud bot 9b3c8510a1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-10-19 09:34:07 +00:00
Nextcloud bot 496e916534 [tx-robot] Update transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
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 673e9fecc2 Merge pull request #10822 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.13
Bump spotbugs-gradle-plugin from 5.0.12 to 5.0.13
2022-10-19 10:19:10 +02:00
Álvaro Brey b85ec336aa Drone: test on Nextcloud 25
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-19 10:02:02 +02:00
Álvaro Brey b4f3ffb64d Bump app to 3.23.x on master
Signed-off-by: Álvaro Brey <[email protected]>
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] <[email protected]>
2022-10-19 01:06:16 +00:00
Álvaro Brey c3e4f394ab Merge pull request #10819 from nextcloud/fix/cache-crash-tests
ThumbnailsCacheManager: null out cache when clearing it
2022-10-18 17:07:33 +02: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 <[email protected]>
2022-10-18 16:32:50 +02:00
Álvaro Brey 06ddf3ec4d Merge pull request #10797 from nextcloud/bumpSDK31
Bump to SDK31
2022-10-17 19:36:47 +02:00
tobiasKaminsky 3985421c9d Bump to SDK31
Signed-off-by: tobiasKaminsky <[email protected]>
2022-10-17 18:24:17 +02:00
Álvaro Brey f1041cb257 Merge pull request #10737 from nextcloud/uploadInBackground
Upload in background
2022-10-17 18:23:36 +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 <[email protected]>
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 <[email protected]>
2022-10-17 17:22:57 +02:00
Álvaro Brey cc0a9e9807 Adapt to m3 after rebase
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-17 17:22:57 +02:00
tobiasKaminsky 54c6d519ff Upload in background with WorkManager
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
2022-10-17 15:49:16 +02:00
dependabot[bot] 4e78e1ffdc Bump hmarr/auto-approve-action from 2.4.0 to 3.0.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.4.0...v3.0.0)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-10-17 11:33:36 +00:00
Álvaro Brey 3a49970f7e Merge pull request #10792 from nextcloud/randomFixes
random fixes
2022-10-14 21:55:15 +02:00
github-actions 80f65865b1 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2022-10-14 19:11:35 +00:00
Álvaro Brey 6687bc0f17 Merge pull request #10790 from nextcloud/dependabot/github_actions/actions/setup-java-3
Bump actions/setup-java from 2 to 3
2022-10-14 21:08:52 +02:00
Álvaro Brey 43ab28161c OCFileListDelegate: don't pass instance fields to instance methods
redundant

Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 21:04:51 +02:00
Álvaro Brey 53e091fc68 Fix for m3 after rebase
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 21:02:15 +02:00
Tobias KaminskyandÁlvaro Brey 2513d07821 Update app/src/main/java/com/owncloud/android/utils/BitmapUtils.java
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-10-14 20:59:13 +02:00
Tobias KaminskyandÁlvaro Brey c8498895e3 Update app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-10-14 20:59:13 +02:00
Tobias KaminskyandÁlvaro Brey 5cc611085c Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-10-14 20:59:12 +02:00
Tobias KaminskyandÁlvaro Brey 9c4fe0a22c Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-10-14 20:59:12 +02:00
Tobias KaminskyandÁlvaro Brey 2d36f7b872 Update app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-10-14 20:59:12 +02:00
Tobias KaminskyandÁlvaro Brey 645f2c6e35 Update app/src/main/java/com/owncloud/android/MainApp.java
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-10-14 20:59:12 +02:00
Tobias KaminskyandÁlvaro Brey 140c6a43dc Update app/src/androidTest/java/com/owncloud/android/ui/fragment/GalleryFragmentIT.kt
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-10-14 20:59:12 +02:00
Tobias KaminskyandÁlvaro Brey 051fef89e4 Update app/src/androidTest/java/com/owncloud/android/ui/fragment/GalleryFragmentIT.kt
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-10-14 20:59:12 +02:00
tobiasKaminsky 17d67a2078 wip after CR
Signed-off-by: tobiasKaminsky <[email protected]>
2022-10-14 20:59:11 +02:00
tobiasKaminsky 66d8756bec Add tile view to media view
Signed-off-by: tobiasKaminsky <[email protected]>
2022-10-14 20:58:34 +02:00
Álvaro Brey 67eda84f99 Remove unused string
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 20:42:37 +02:00
tobiasKaminsky 7030712c59 random fixes
Signed-off-by: tobiasKaminsky <[email protected]>
2022-10-14 20:37:41 +02:00
Álvaro Brey ac20b55d90 Merge pull request #10717 from nextcloud/feature/material3
🎨 Material 3️⃣
2022-10-14 20:32:45 +02:00
Álvaro Brey 816e30e6e1 Update screenshots after latest changes
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 17:18:13 +02:00
Álvaro Brey a529b02ace Undo changes in gradle.properties
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 16:30:03 +02:00
Álvaro Brey 5643d3e095 build: use tag for common lib
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-10-14 11:30:09 +02:00
Álvaro Brey b78249004b SettingsActivity: disable list dividers
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:09 +02:00
Álvaro Brey c6929815d6 Remove unneeded TODO
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:09 +02:00
Andy Scherzinger aaba0d04b9 add disabled state to FAB
Signed-off-by: Andy Scherzinger <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-10-14 11:30:09 +02:00
Álvaro Brey 4648890fab Update screenshots for m3: PreviewBitmapActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:09 +02:00
Álvaro Brey f9439c7d52 Update screenshots for m3: FirstRunActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:09 +02:00
Álvaro Brey baea074f17 Fix screenshot tests for m3: NotificationsActivityIT
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:08 +02:00
Álvaro Brey 4574667e16 Fix screenshot test for FolderPickerActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:08 +02:00
Álvaro Brey b7e487cbda ReceiveExternalFilesActivity: fix disabled button coloring and update screenshot
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:08 +02:00
Álvaro Brey 95cee41a1f Update screenshots for m3: DialogFragmentIT (most)
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:08 +02:00
Álvaro Brey 5390a1d5dc Update screenshots for m3: AccountChooserDialog
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:08 +02:00
Álvaro Brey 4d0bf30d56 Update screenshots for m3: SetupEncryptionDialogFragment
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:08 +02:00
Álvaro Brey ea083cb1ec Update screenshots for m3: ConflictsResolveActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:08 +02:00
Álvaro Brey 3e2d950b36 Update screenshots for m3: SyncedFoldersActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:08 +02:00
Álvaro Brey 604b5c6591 Update screenshots for m3: SendFilesDialog
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:07 +02:00
Álvaro Brey 9118af22ba Update screenshots for m3: TrashbinActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:07 +02:00
Álvaro Brey c6beedcf92 Update screenshots for m3: OCFileListFragment
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:07 +02:00
Álvaro Brey 8ff30fce42 Update screenshots for m3: FileDetailSharingFragmentIT
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:07 +02:00
Álvaro Brey aa71b6a961 Update screenshots for FileDetailFragment
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:07 +02:00
Álvaro Brey db758f0823 Update screenshots for m3: BackupListFragment
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:07 +02:00
Álvaro Brey 3f2bf3ce2b Update screenshots for m3: SendShareDialog
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:07 +02:00
Álvaro Brey c0c99d2a06 Update screenshots for m3: UserInfoActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:07 +02:00
Álvaro Brey de4d71feb5 Update screenshots for m3: UploadFilesActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:06 +02:00
Álvaro Brey d5067988ed Update screenshots for m3: PassCodeActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:06 +02:00
Álvaro Brey 92748d2bed Update screenshots for m3: ManageAccountsActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:06 +02:00
Álvaro Brey 322f25568a Update screenshots for m3: ContactsPreferenceActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:06 +02:00
Álvaro Brey f8030ca4f6 Update screenshots for m3: EtmActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:06 +02:00
Álvaro Brey 451403a6c1 Update screenshots for m3: UploadListActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:06 +02:00
Álvaro Brey a33ece4a2e Update screenshots for m3: SettingsActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:06 +02:00
Álvaro Brey 964eb5d785 Update screenshots for m3: FileDisplayActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:06 +02:00
Álvaro Brey 397533cfbf Update screenshots for m3: CommunityActivityIT
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:06 +02:00
Álvaro Brey f78d0a9944 Update screenshots for m3: AuthenticatorActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:05 +02:00
Álvaro Brey 64eb90a170 Update screenshots for m3: ActivitiesActivityIT
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:05 +02:00
Álvaro Brey 0c3fdc1a2e Fix toolbar colors for PreviewImageActivity
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:05 +02:00
Álvaro Brey 61f237177b Remove unused resources
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:05 +02:00
Álvaro Brey 7456354774 Remove obsolete TODOs
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
2022-10-14 11:30:05 +02:00
Álvaro Brey be87acd735 Clear almost all remainders of old theme utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:05 +02:00
Álvaro Brey 2a2c01f094 Use Material3 colors for loading dialogs
Signed-off-by: Álvaro Brey <[email protected]>
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 <[email protected]>
2022-10-14 11:30:04 +02:00
Álvaro Brey c1cb7e9430 ThemeableSwitchPreference: use m3 utilities
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:04 +02:00
Álvaro Brey 898d655886 Clear some uses of old color utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:04 +02:00
Álvaro Brey f943722b7c Fix action mode colors
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:04 +02:00
Álvaro Brey f0f18b548f Fix background colors for popup menus and bottom sheets
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:04 +02:00
Álvaro Brey 62f7877fc7 Theme icons in gallery bottom sheet
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:30:04 +02:00
Álvaro Brey 538102b3e7 Clean up some theme utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:29:35 +02:00
Álvaro Brey 616222572b FirstRunActivity: move to viewBinding in preparation for theming
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:29:35 +02:00
Andy Scherzinger e902396aa3 Make status card views themed like tonal buttons
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:35 +02:00
Andy Scherzinger 5eff338d45 remove unnecessary semicolon
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:35 +02:00
Andy Scherzinger a1fb1c08d5 correct lint score
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:35 +02:00
Andy Scherzinger d49f725e5e improve status card views for m3
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:34 +02:00
Andy Scherzinger e10a28b893 unify bottom sheet items to 56dp m3 item heights
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:34 +02:00
Andy Scherzinger f4a2f734e4 move magic number to a constant
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:34 +02:00
Andy Scherzinger 379c9d016f adapt bottom sheet items to m3
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:34 +02:00
Andy Scherzinger 74ba90943e make quota bar rounded on the edges and remove containers background to remove the overpainting
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:34 +02:00
Andy Scherzinger bdcfbbb377 move community activity hyperlink theming to m3
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:34 +02:00
Andy Scherzinger 3c5268201a remove legacy color method
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:34 +02:00
Andy Scherzinger 2a90cc316a move quota theming to drawer
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:34 +02:00
Andy Scherzinger d57ea5a010 theme share buttons in m3
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:33 +02:00
Andy Scherzinger 6d1d03caf1 Add template card theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:33 +02:00
Andy Scherzinger da6b136bcb improve secondary button m3 theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:33 +02:00
Andy Scherzinger 7495eeca71 update to spotless fixed common version
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:33 +02:00
Andy Scherzinger 1657850ccb m3 theming for backup fragnment
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:33 +02:00
Andy Scherzinger 224e470ede remove legacy color utils from OCFileList
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:33 +02:00
Andy Scherzinger afc7219440 remove unused variables due to new m3 theming methods in place
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:33 +02:00
github-actions 3da226c3e8 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2022-10-14 11:29:33 +02:00
Andy Scherzinger 0a8e505ef5 remove legacy color util references from notification activity and adapter
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:32 +02:00
Andy Scherzinger 6792118b7a move ssl validator to view binding
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:32 +02:00
Andy Scherzinger 671fe3dc3a Move notification list buttons to m3 with updated outlinedf button handling from commons
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:29:32 +02:00
Andy Scherzinger 7e8002b254 Move upload list to view binding and buttons' m3 theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:45 +02:00
github-actions 4102d45a83 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2022-10-14 11:28:45 +02:00
Andy Scherzinger 1bfb91d3cc properly theme input layout for m3
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:45 +02:00
Andy Scherzinger 5d7d3d6641 m3 theming of e2ee dialog
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:45 +02:00
Andy Scherzinger bdeb51d50a m3 theming for unified search results
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:45 +02:00
Andy Scherzinger a103c19439 properly theme upload header texts
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:45 +02:00
Andy Scherzinger 97ab9cf0b8 improve picker theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:44 +02:00
Andy Scherzinger 6dbd434d0c theme sharing fragment
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:44 +02:00
Andy Scherzinger 4cc2048330 ignore further dagger generated classes
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:44 +02:00
Andy Scherzinger 39ae774593 exclude further dagger generated classes
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:44 +02:00
Andy Scherzinger e0d4d84f16 remove unused colors
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:44 +02:00
Andy Scherzinger 0f1d86b1a5 preserver exception history
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:44 +02:00
Andy Scherzinger 53fefc855c ignore constant array index due to legacy API on platform
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:44 +02:00
Andy Scherzinger cdcdeb4ef9 remove unused parameter
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:44 +02:00
Andy Scherzinger 5a3f3da3b4 Remove unexpected blank line
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:44 +02:00
Andy Scherzinger 5db87bf328 Apply m3 colors to markwon based markdown rendering
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:43 +02:00
Andy Scherzinger ece61e46b6 theme user info activity
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:28:00 +02:00
Andy Scherzinger ae4251177f add search toolbar theming and general overflow menu theming for toolbar activities
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:27:59 +02:00
Álvaro Brey 29c2e8758f Remove a bunch of unused injections and parameters for old theme utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:27:59 +02:00
Álvaro Brey 6ae4ac22e7 OCFileListDelegate: remove unused theme utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:27:59 +02:00
Álvaro Brey efaad0a6da Tint a bunch of drawables and toolbars with new utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:27:59 +02:00
Andy Scherzinger 146d846405 remove unused theming legacy helpers
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:27:59 +02:00
Andy Scherzinger 550924e19d theme ripple effect on toolbar MaterialButtons
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:27:59 +02:00
Andy Scherzinger 5571574309 tint sharing bottom sheet icons
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:27:59 +02:00
Andy Scherzinger 1c7af1a08e Theme permissions subline for link shares
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:27:59 +02:00
Andy Scherzinger c657461e6f theme quick sharing bottom sheet icons
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:27:58 +02:00
Álvaro Brey b181336c6d SettingsActivity: completely relaunch activity when dark mode is changed
recreate() is not enough and leaves the activity in a broken state

Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:27:58 +02:00
Álvaro Brey 131bd9e62c ProfileBottomSheetDialog: fix icon colors and detekt issues
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:27:58 +02:00
Álvaro Brey d0a9fa2c72 Fix tints in user lists
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:27:58 +02:00
Álvaro Brey 5cf85fd2c8 Theme fast scrollbars
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:24:07 +02:00
Andy Scherzinger ea4de13d9f Update background for all bottomsheets
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:44 +02:00
Andy Scherzinger ff9086bc87 fix tab layout theming on non-surface areas
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:44 +02:00
Álvaro Brey e39ad8867c Material3 theming for snackbars
Lots of Dagger and static code workarounds unfortunately

Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:23:44 +02:00
Álvaro Brey 63aed99c93 Fix crash in LocalFileListAdapter due to uninitialized theme utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:23:44 +02:00
Álvaro Brey 0ab4743419 Fix ktlint
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:23:44 +02:00
Álvaro Brey 51332a6fea Port some status bar theming to new utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:23:28 +02:00
Andy Scherzinger 6bf79d5a5f Migrate primate drawable tinting
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:28 +02:00
Andy Scherzinger 35fb67f0a6 background for settings screen
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:27 +02:00
Andy Scherzinger 7d7b3e3e0f update status bar theming for toolbar activities
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:08 +02:00
Andy Scherzinger 4ea5242acc title and back/drawer icon theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:08 +02:00
Andy Scherzinger d3eb0d09cf legacy action bar theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:08 +02:00
Andy Scherzinger 980c74a172 theme search card view
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:08 +02:00
Andy Scherzinger 117b07a3e9 Migrate navigation view to m3 theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:08 +02:00
Andy Scherzinger a92bc8529a Migrate SyncedFolder dialog to MaterialAlertDialog
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:08 +02:00
Andy Scherzinger 2062692e2f Migrate SSLUntrusterCert and StoragePermission to MaterAlertDialog
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:08 +02:00
Andy Scherzinger 4058896f3f organize imports
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:07 +02:00
Álvaro Brey b3a4a5f29f Replace ThemeAvatarUtils with common material3 utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:23:07 +02:00
Álvaro Brey e969024a11 Replace ThemeTextUtils with new FilesSpecificViewThemeUtils class using material3 schemes
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:23:07 +02:00
Andy Scherzinger 50ae0581e4 Update further dialogs to m3 theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:23:07 +02:00
Andy Scherzinger a131656d8f convert conflicts and create folder dialogs to MaterialAlterDialogs
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:22:52 +02:00
Andy Scherzinger ee170a4e4c move template chooser to MaterialAlterDialog
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:22:52 +02:00
Andy Scherzinger 5d84bfc2e4 enhance m3 theming for confirmation dialogs and template chooser
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:22:52 +02:00
Andy Scherzinger dd9bdaa886 enhance account removal confirmation dialog m3 theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:22:52 +02:00
Andy Scherzinger 25bbbea282 enhance set status dialog m3 themeing
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:22:52 +02:00
Andy Scherzinger 50a6937ca4 improve m3 account chooser theming
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:22:52 +02:00
Andy Scherzinger d1621d74d1 Polish m3 for account chooser and rename background
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:22:52 +02:00
Andy Scherzinger 90f060e944 Update theming on rename dialog
Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:22:51 +02:00
Álvaro Brey 8a31f9b8f7 Replace ThemeMenuUtils with common library utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:22:51 +02:00
Álvaro Brey 413df44a3c Replace ThemeTextInputUtils with common lib utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:22:51 +02:00
Álvaro Brey 8854fd40c4 Update common lib version
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:22:51 +02:00
Álvaro Brey 8078fe0ee0 Generate MaterialSchemes from colorPrimary when there's no logged in user
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:22:06 +02:00
Álvaro Brey 46fef5c883 Replace ThemeCheckableUtils with common lib utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:22:06 +02:00
Álvaro Brey ba05bf7c5a Fix simple detekt issue
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:22:06 +02:00
Álvaro Brey 22dc29ce43 Replace ThemeFabUtils and ThemeLayoutUtils with common library utils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:22:05 +02:00
Álvaro Brey 2755c78bbd Replace ThemeButtonUtils with utils from common lib
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:22:04 +02:00
Álvaro Brey f16f9400ed Replace ThemeBarUtils with common themeutils
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:21:27 +02:00
Álvaro Brey 7fedeeb797 Initial setup for material 3 utils from library
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-14 11:21:24 +02:00
Andy Scherzinger 0308ace17f PoC for Matzerial3 theming
Resolves #10641

Signed-off-by: Andy Scherzinger <[email protected]>
2022-10-14 11:21:08 +02:00
Álvaro Brey 2cbd6d9659 Merge pull request #10719 from nextcloud/dashboard
Dashboard
2022-10-14 11:06:43 +02:00
Álvaro Brey 2fa4b8ce1e Merge pull request #10801 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.3.1
Bump gradle from 7.3.0 to 7.3.1
2022-10-14 11:03:30 +02:00
tobiasKaminsky efa886b455 Add dashboard widgets
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: Álvaro Brey <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2022-10-14 10:25:35 +02:00
dependabot[bot] 5746587d7a Bump gradle from 7.3.0 to 7.3.1
Bumps gradle from 7.3.0 to 7.3.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-10-14 01:04:34 +00:00
Andy Scherzinger 423944137c Merge pull request #10795 from nextcloud/closeFOS
Close FOS
2022-10-13 11:11:44 +02:00
tobiasKaminsky 029b290a31 Close FOS
Signed-off-by: tobiasKaminsky <[email protected]>
2022-10-13 08:46:26 +02:00
Álvaro Brey 64d8b0e667 Merge pull request #10784 from nextcloud/chore/spotless
Use Spotless for ktlint
2022-10-10 14:11:16 +02:00
dependabot[bot] 67a0f06365 Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-10-10 11:17:05 +00:00
Álvaro Brey 89ddbd467c Merge pull request #10718 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.12
Bump spotbugs-gradle-plugin from 5.0.11 to 5.0.12
2022-10-07 17:55:56 +02:00
Álvaro Brey b463c04d36 Suppress detekt issue brought up by reformatting:
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-07 17:50:33 +02:00
Álvaro Brey 41a3a06a53 Fix previously undetected ktlint issues
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-07 17:49:23 +02:00
Álvaro Brey 11d665d972 build: Fix ktlint call in check task
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-07 17:49:05 +02:00
Álvaro Brey 6504f9ba69 Update check workflow to use spotless for kotlin
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-07 17:45:45 +02:00
Álvaro Brey 13d4aed502 Move installGitHooks task to root project and fix target dir
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-07 17:44:52 +02:00
Álvaro Brey b201b3a090 Update pre-commit hook to use spotless for kotlin
Signed-off-by: Álvaro Brey <[email protected]>
2022-10-07 17:43:48 +02:00
Álvaro Brey 0d646233b0 Replace ktlint plugin with Spotless
The original plugin did not check all sourcesets :(

Signed-off-by: Álvaro Brey <[email protected]>
2022-10-07 17:42:29 +02:00
Álvaro Brey 0cd828b7a8 Merge pull request #10780 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.4
Bump exifinterface from 1.3.3 to 1.3.4
2022-10-06 11:10:24 +02:00
dependabot[bot] 5a9d4fca05 Bump exifinterface from 1.3.3 to 1.3.4
Bumps exifinterface from 1.3.3 to 1.3.4.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-10-06 01:09:04 +00:00
Álvaro Brey 9514b33e24 Merge pull request #10768 from nextcloud/dependabot/gradle/org.bouncycastle-bcpkix-jdk15to18-1.72
Bump bcpkix-jdk15to18 from 1.70 to 1.72
2022-09-30 11:33:15 +02:00
Álvaro Brey e9c1013298 Merge pull request #10767 from nextcloud/dependabot/gradle/mockkVersion-1.13.2
Bump mockkVersion from 1.12.5 to 1.13.2
2022-09-30 10:42:27 +02:00
Álvaro Brey 934d7ae20f Merge pull request #10765 from nextcloud/dependabot/gradle/org.json-json-20220924
Bump json from 20220320 to 20220924
2022-09-30 10:33:55 +02:00
Álvaro Brey 7de0e5b129 Merge pull request #10771 from nextcloud/dependabot/gradle/kotlin_version-1.7.20
Bump kotlin_version from 1.7.10 to 1.7.20
2022-09-30 10:24:46 +02:00
Álvaro Brey 6c217cffa6 Update packagingOptions
Signed-off-by: Álvaro Brey <[email protected]>
2022-09-30 10:00:24 +02:00
Nextcloud bot 6033c19df4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-30 05:46:13 +00:00
dependabot[bot] 0d8527ea5b Bump kotlin_version from 1.7.10 to 1.7.20
Bumps `kotlin_version` from 1.7.10 to 1.7.20.

Updates `kotlin-gradle-plugin` from 1.7.10 to 1.7.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20)

Updates `kotlin-stdlib` from 1.7.10 to 1.7.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-30 01:08:30 +00:00
Nextcloud bot e2c149cbe6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-29 04:36:51 +00:00
dependabot[bot] 4d700100c2 Bump bcpkix-jdk15to18 from 1.70 to 1.72
Bumps [bcpkix-jdk15to18](https://github.com/bcgit/bc-java) from 1.70 to 1.72.
- [Release notes](https://github.com/bcgit/bc-java/releases)
- [Changelog](https://github.com/bcgit/bc-java/blob/master/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcpkix-jdk15to18
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-29 01:05:19 +00:00
dependabot[bot] ca63eff035 Bump mockkVersion from 1.12.5 to 1.13.2
Bumps `mockkVersion` from 1.12.5 to 1.13.2.

Updates `mockk` from 1.12.5 to 1.13.2
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.5...1.13.2)

Updates `mockk-android` from 1.12.5 to 1.13.2
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.5...1.13.2)

---
updated-dependencies:
- dependency-name: io.mockk:mockk
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.mockk:mockk-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-29 01:05:09 +00:00
Álvaro Brey 4bc0e24efd Merge pull request #10760 from nextcloud/fix/9887
TextDrawable: handle spaces at start/end of displayNames
2022-09-28 10:50:38 +02:00
Andy Scherzinger 74916e72ff Merge pull request #10766 from nextcloud/dependabot/github_actions/actions/stale-6
Bump actions/stale from 5 to 6
2022-09-26 17:29:42 +02:00
dependabot[bot] 3a7463a6ce Bump actions/stale from 5 to 6
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-26 11:21:30 +00:00
dependabot[bot] 72cc925a51 Bump json from 20220320 to 20220924
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220320 to 20220924.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-26 01:33:40 +00:00
Nextcloud bot 89a0ff5b5a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-24 04:33:26 +00:00
Álvaro Brey 43bf5b982a TextDrawable: handle spaces at start/end of displayNames
Signed-off-by: Álvaro Brey <[email protected]>
2022-09-23 17:13:15 +02:00
Álvaro Brey d515d34811 Merge pull request #10759 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.3
Bump fragment-ktx from 1.5.2 to 1.5.3
2022-09-23 12:33:35 +02:00
dependabot[bot] 0d65e83353 Bump spotbugs-gradle-plugin from 5.0.11 to 5.0.12
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.11...5.0.12)

---
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] <[email protected]>
2022-09-23 09:36:05 +00:00
Álvaro Brey 222f9758d5 Merge pull request #10752 from nextcloud/dependabot/gradle/daggerVersion-2.44
Bump daggerVersion from 2.43.2 to 2.44
2022-09-23 11:34:50 +02:00
Álvaro Brey 825ebd0bc6 Merge pull request #10753 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.5.0
Bump annotation from 1.4.0 to 1.5.0
2022-09-23 11:31:57 +02:00
dependabot[bot] 92c07102f7 Bump fragment-ktx from 1.5.2 to 1.5.3
Bumps fragment-ktx from 1.5.2 to 1.5.3.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-23 09:26:33 +00:00
Álvaro Brey 152190803e Merge pull request #10493 from nextcloud/dependabot/gradle/kotlin_version-1.7.10
Bump kotlin_version from 1.6.21 to 1.7.10
2022-09-23 10:30:51 +02:00
Álvaro Brey 45bcd5e33a PassCodeManager: fix compilation error with kotlin 1.7.10
Signed-off-by: Álvaro Brey <[email protected]>
2022-09-23 09:21:40 +02:00
dependabot[bot] 4119124940 Bump kotlin_version from 1.6.21 to 1.7.10
Bumps `kotlin_version` from 1.6.21 to 1.7.10.

Updates `kotlin-gradle-plugin` from 1.6.21 to 1.7.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib` from 1.6.21 to 1.7.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-23 09:21:40 +02:00
Nextcloud bot ac332e96ce [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-23 04:29:28 +00:00
Nextcloud bot 969f3471d4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-22 04:32:53 +00:00
dependabot[bot] a9e2037983 Bump annotation from 1.4.0 to 1.5.0
Bumps annotation from 1.4.0 to 1.5.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-22 01:15:43 +00:00
dependabot[bot] 35fbbb035b Bump daggerVersion from 2.43.2 to 2.44
Bumps `daggerVersion` from 2.43.2 to 2.44.

Updates `dagger` from 2.43.2 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43.2...dagger-2.44)

Updates `dagger-android` from 2.43.2 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43.2...dagger-2.44)

Updates `dagger-android-support` from 2.43.2 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43.2...dagger-2.44)

Updates `dagger-compiler` from 2.43.2 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43.2...dagger-2.44)

Updates `dagger-android-processor` from 2.43.2 to 2.44
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43.2...dagger-2.44)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-22 01:15:13 +00:00
Tobias Kaminsky 3490fb66a6 Merge pull request #10745 from Sandelinos/themed-icons
Add monochrome icon
2022-09-20 11:56:06 +02:00
Nextcloud bot 4cb1d94a7e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-20 04:31:51 +00:00
Tobias Kaminsky 7f621159ee Merge pull request #10705 from nextcloud/test/disable-backup
AndroidManifest: disable backup&restore
2022-09-19 07:24:16 +02:00
Sandelinos 1da8117902 Add monochrome icon
Signed-off-by: Sandelinos <[email protected]>
2022-09-18 20:07:54 +03:00
Álvaro Brey 9379ab6de3 Merge pull request #10741 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.3.0
Bump gradle from 7.1.3 to 7.3.0
2022-09-17 23:25:06 +02:00
Álvaro Brey 25234fdb85 Rollback emoji-google to 0.9.0
New version is not compatible with Jacoco for some reason

Signed-off-by: Álvaro Brey <[email protected]>
2022-09-16 16:36:52 +02:00
Álvaro Brey 2203dd089c Use gradle 7.4.2
Signed-off-by: Álvaro Brey <[email protected]>
2022-09-16 13:50:06 +02:00
Álvaro Brey f8d53218da AndroidManifest: disable backup&restore
Currently broken

Signed-off-by: Álvaro Brey <[email protected]>
2022-09-16 12:21:13 +02:00
Álvaro Brey 9a0848e486 Move package declarations to build.gradle
Requested by AGP upgrade and also is crashing test builds

Signed-off-by: Álvaro Brey <[email protected]>
2022-09-16 11:52:22 +02:00
Álvaro Brey 07aedfd888 Solve new lint warnings with AGP 7.3.0
Signed-off-by: Álvaro Brey <[email protected]>
2022-09-16 11:52:22 +02:00
Álvaro Brey eb7d10fb50 Update Gradle distribution to 7.4
Required by AGP 7.3.0

Signed-off-by: Álvaro Brey <[email protected]>
2022-09-16 11:52:21 +02:00
dependabot[bot] b448e08985 Bump gradle from 7.1.3 to 7.3.0
Bumps gradle from 7.1.3 to 7.3.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-16 11:52:21 +02:00
Nextcloud bot 5c538146d6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-16 04:23:25 +00:00
Nextcloud bot ddd87c5168 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-15 04:30:55 +00:00
Nextcloud bot fe291eb973 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-14 04:22:50 +00:00
Nextcloud bot 2bc22fd76c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-13 04:26:49 +00:00
Nextcloud bot 56cf6bc531 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-11 04:29:41 +00:00
Nextcloud bot 515f2c3b72 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-10 04:32:40 +00:00
Álvaro Brey cf3dcc4691 Merge pull request #10720 from nextcloud/dependabot/gradle/mockitoVersion-4.8.0
Bump mockitoVersion from 4.7.0 to 4.8.0
2022-09-08 10:29:46 +02:00
dependabot[bot] 565c2824a7 Bump mockitoVersion from 4.7.0 to 4.8.0
Bumps `mockitoVersion` from 4.7.0 to 4.8.0.

Updates `mockito-core` from 4.7.0 to 4.8.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v4.8.0)

Updates `mockito-android` from 4.7.0 to 4.8.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v4.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-09-08 01:06:54 +00:00
Nextcloud bot 297da371d7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-07 04:28:25 +00:00
Álvaro Brey 35878574df Merge pull request #10706 from nextcloud/fix/delete-image-crash
PreviewImageFragment: prevent crash when redrawing menu after file deletion
2022-09-06 09:03:21 +02:00
Álvaro Brey 5ceffab31b Merge pull request #10714 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.11
Bump spotbugs-gradle-plugin from 5.0.10 to 5.0.11
2022-09-05 17:23:44 +02:00
dependabot[bot] 9ac17e7c17 Bump spotbugs-gradle-plugin from 5.0.10 to 5.0.11
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.10 to 5.0.11.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.10...5.0.11)

---
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] <[email protected]>
2022-09-05 12:35:51 +00:00
Nextcloud bot ba0b7af6ce [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-03 04:27:10 +00:00
Álvaro Brey 37a9c438cd PreviewImageFragment: prevent crash when redrawing menu after file deletion
For some reason this is called again after deleting the file (probably a fragment-ktx update or something).
However at this point getFileById will return null and crash the rest of the method.

This adds some checks to prevent that.

Signed-off-by: Álvaro Brey <[email protected]>
2022-09-02 16:25:15 +02:00
Álvaro Brey c962476d90 Merge pull request #10703 from nextcloud/addAccount
Restart account creation with AuthenticatorActivity, which helps to add account in restricted profiles, e.g. MDM or Samsung second users
2022-09-02 12:21:21 +02:00
tobiasKaminsky a6dcf263aa Restart account creation with AuthenticatorActivity, which helps to add account in restricted profiles, e.g. MDM or Samsung second users
Signed-off-by: tobiasKaminsky <[email protected]>
2022-09-02 11:10:45 +02:00
Álvaro Brey e9366e6130 Merge pull request #10688 from nextcloud/fix/noid/no_full_refresh_on_browse_up
Avoid full folder refresh during onBrowseUp
2022-09-02 09:39:06 +02:00
Nextcloud bot f0ffed6878 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-09-02 04:21:29 +00:00
Andy Scherzinger acd3bbe37c Merge pull request #10698 from nextcloud/changelog-master-stable-3.21.2
Add changelog for 3.21.2
2022-09-01 23:14:01 +02:00
Álvaro Brey 5d840afb0d Add changelog for 3.21.2
Signed-off-by: Álvaro Brey <[email protected]>
2022-09-01 16:35:20 +02:00
Álvaro Brey c6060da8d2 Merge pull request #10693 from nextcloud/revert-10545-bumpSDK31
Revert "Bump targetSdkVersion to 31"
2022-09-01 14:58:13 +02:00
Álvaro Brey 74055b32fb Revert "Bump targetSdkVersion to 31"
Signed-off-by: Álvaro Brey <[email protected]>
2022-09-01 12:25:26 +02:00
Nextcloud bot 7a6162a6e5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-31 04:14:27 +00:00
Nextcloud bot 6677e0812d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-30 04:16:52 +00:00
Dariusz Olszewski e2a6957ac1 Avoid full folder refresh during onBrowseUp
Signed-off-by: Dariusz Olszewski <[email protected]>
2022-08-28 17:22:48 +02:00
Nextcloud bot 6e33b92c07 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-28 04:13:49 +00:00
Nextcloud bot d76c8ea4e6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-27 04:13:57 +00:00
Álvaro Brey 7bfaa628d7 Merge pull request #10681 from nextcloud/changelog-master-stable-3.21.1
Add changelog for 3.21.1
2022-08-26 11:56:08 +02:00
Álvaro Brey 71279af412 Add changelog for 3.21.1
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-26 11:18:48 +02:00
Nextcloud bot 9d287f9bfc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-26 04:14:47 +00:00
Álvaro Brey d6fb21c0bd Merge pull request #10657 from nextcloud/revert-10148-proseMirror
Revert "Test proseMirror with custom user agent"
2022-08-25 17:07:58 +02:00
Nextcloud bot 084fdafd7c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-25 04:15:36 +00:00
Álvaro Brey 61c2dbb3d6 Merge pull request #10584 from nextcloud/fix/syncedfolderutils-inconsistent-comparator
SyncedFolderUtils: solve inconsistent comparator crashes
2022-08-23 09:42:35 +02:00
Álvaro Brey ce7ef477bb SyncedFolderUtils: fix logic when numberOfFiles != actual file number
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-22 17:56:14 +02:00
Álvaro Brey ae03b03860 Merge pull request #10656 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.10
Bump spotbugs-gradle-plugin from 5.0.9 to 5.0.10
2022-08-22 16:54:18 +02:00
Tobias Kaminsky 69850b4397 Merge pull request #10608 from nextcloud/bump-master-3.22
Bump OUTDATED_SERVER_VERSION to Nextcloud 22
2022-08-22 16:41:21 +02:00
Álvaro Brey 7663b40231 Merge pull request #10649 from nextcloud/dependabot/gradle/pl.droidsonroids.gif-android-gif-drawable-1.2.25
Bump android-gif-drawable from 1.2.24 to 1.2.25
2022-08-22 16:09:03 +02:00
Álvaro Brey 00644d9384 SyncedFolderUtils: solve inconsistent comparator
Calling lastModified() inside the comparator can produce inconsistent results if last modification date changes while sorting

Signed-off-by: Álvaro Brey <[email protected]>
2022-08-22 16:07:48 +02:00
Álvaro Brey 7e3e760887 SyncedFolderUtils: convert to kotlin step 2 and deduplicate
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-22 16:07:48 +02:00
Álvaro Brey 3d7afa1b58 SyncedFolderUtils: convert to Kotlin step 1
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-22 16:07:48 +02:00
Álvaro Brey 09b7a76d5c Merge pull request #10660 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.4.0
Bump hmarr/auto-approve-action from 2.2.1 to 2.4.0
2022-08-22 16:07:37 +02:00
Álvaro Brey fbfec4a0d7 Merge pull request #10545 from nextcloud/bumpSDK31
Bump targetSdkVersion to 31
2022-08-22 16:07:12 +02:00
dependabot[bot] 48eab03c56 Bump hmarr/auto-approve-action from 2.2.1 to 2.4.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.2.1 to 2.4.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.2.1...v2.4.0)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-22 12:39:27 +00:00
Álvaro Brey abe583d7de Bump OUTDATED_SERVER_VERSION to Nextcloud 22
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-22 12:38:20 +00:00
Álvaro Brey a159568077 Merge pull request #10610 from nextcloud/fix/search-on-copy-screen
Disable search on folder picker activity
2022-08-22 14:33:24 +02:00
Tobias Kaminsky e58baada06 Merge pull request #10659 from nextcloud/retry-test-shares
Add RetryTestRule to FileDisplayActivityIT
2022-08-22 14:29:05 +02:00
Álvaro Brey 98bf8f26b8 Add RetryTestRule to FileDisplayActivityIT
showShares is flaky

Signed-off-by: Álvaro Brey <[email protected]>
2022-08-22 12:55:53 +02:00
tobiasKaminsky 57ca106788 add data-extraction-rules
Signed-off-by: tobiasKaminsky <[email protected]>
2022-08-22 10:16:56 +00:00
tobiasKaminsky adb53f1d5b Bump targetSdkVersion to 31
Signed-off-by: tobiasKaminsky <[email protected]>
2022-08-22 10:16:56 +00:00
Álvaro Brey 3836eeb088 Revert "Test proseMirror with custom user agent" 2022-08-22 11:41:08 +02:00
Nextcloud bot cf959ee14d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-22 04:13:30 +00:00
dependabot[bot] 38488abb09 Bump spotbugs-gradle-plugin from 5.0.9 to 5.0.10
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.9 to 5.0.10.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.9...5.0.10)

---
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] <[email protected]>
2022-08-22 01:29:33 +00:00
Nextcloud bot e6cd1cfce4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-21 04:12:29 +00:00
Tobias Kaminsky 2980f1fe7d Merge pull request #10650 from nextcloud/dependabot/gradle/org.mnode.ical4j-ical4j-3.2.5
Bump ical4j from 1.0.8 to 3.2.5
2022-08-19 16:57:25 +02:00
Álvaro Brey 9ab052d379 SaveCalendar: reuse property factory
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-19 15:38:50 +02:00
Álvaro Brey 8e751eedab Setup ical4j caching class
Needed since 3.0

Signed-off-by: Álvaro Brey <[email protected]>
2022-08-19 15:38:50 +02:00
tobiasKaminsky 1a6ec16af8 Use 3.0.0
Signed-off-by: tobiasKaminsky <[email protected]>
2022-08-19 15:38:50 +02:00
dependabot[bot] e1115c1dcf Bump ical4j from 1.0.8 to 3.2.5
Bumps [ical4j](https://github.com/ical4j/ical4j) from 1.0.8 to 3.2.5.
- [Release notes](https://github.com/ical4j/ical4j/releases)
- [Changelog](https://github.com/ical4j/ical4j/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ical4j/ical4j/compare/ical4j-1.0.8...ical4j-3.2.5)

---
updated-dependencies:
- dependency-name: org.mnode.ical4j:ical4j
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-19 15:38:50 +02:00
Álvaro Brey 1600d9ead2 Merge pull request #10636 from nextcloud/fix/contacts-backup-switch
Persist contacts/calendar backup preferences
2022-08-19 15:37:42 +02:00
Álvaro Brey 68c7eddf46 Use ArbitraryDataProvider to store backup preferences
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-19 13:00:14 +02:00
dependabot[bot] 18b1e04301 Bump android-gif-drawable from 1.2.24 to 1.2.25
Bumps [android-gif-drawable](https://github.com/koral--/android-gif-drawable) from 1.2.24 to 1.2.25.
- [Release notes](https://github.com/koral--/android-gif-drawable/releases)
- [Changelog](https://github.com/koral--/android-gif-drawable/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/koral--/android-gif-drawable/compare/v1.2.24...v1.2.25)

---
updated-dependencies:
- dependency-name: pl.droidsonroids.gif:android-gif-drawable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-19 01:05:56 +00:00
Álvaro Brey 7a1e8189da Actually persist backup preferences
Currently, the backup is always enabled if the permissions are granted, so the checkboxes make no sense.

This fixes that by actually persisting the checkbox status as a preference, and honoring that for schedulling/cancelling the backup jobs.

Signed-off-by: Álvaro Brey <[email protected]>
2022-08-18 16:26:20 +02:00
Álvaro Brey 71fb20b524 Merge pull request #10609 from nextcloud/fix/calendar-backup
BackupFragment: request write_calendar permission for backup
2022-08-18 16:25:51 +02:00
Álvaro Brey 7eb27d712d Merge pull request #10643 from dhruvpatidar359/master
Enable multiple lines for settings of automated upload: instant_upload_existing
2022-08-18 15:19:54 +02:00
dhruv 4f19252726 SingleLine attribute removed
Signed-off-by: dhruv <[email protected]>
2022-08-18 15:49:40 +05:30
Álvaro Brey 2d3982060c BackupFragment: request write_calendar permission for backup
Needed to ensure events have UIDs for ICS export

Signed-off-by: Álvaro Brey <[email protected]>
2022-08-17 17:02:46 +02:00
Álvaro Brey c1bda696f4 Merge pull request #10634 from nextcloud/depMove
Moved libraries from nextcloud to nextcloud-deps
2022-08-17 14:39:33 +02:00
Álvaro Brey 119130ef80 Merge pull request #10627 from nextcloud/dependabot/gradle/mockitoVersion-4.7.0
Bump mockitoVersion from 4.6.1 to 4.7.0
2022-08-17 14:11:43 +02:00
tobiasKaminsky 04b4f6b5d4 Moved libraries from nextcloud to nextcloud-deps
As links still work, this is not really needed, but still good to point to new location.
Thus no backport is needed.

Signed-off-by: tobiasKaminsky <[email protected]>
2022-08-17 14:06:50 +02:00
dependabot[bot] 6f9f17398e Bump mockitoVersion from 4.6.1 to 4.7.0
Bumps `mockitoVersion` from 4.6.1 to 4.7.0.

Updates `mockito-core` from 4.6.1 to 4.7.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.0)

Updates `mockito-android` from 4.6.1 to 4.7.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-17 10:51:13 +00:00
Nextcloud bot 5671394559 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-17 04:14:13 +00:00
Nextcloud bot 9a08c5b3ea [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-16 04:14:33 +00:00
Tobias Kaminsky 7555b2b26b Merge pull request #10602 from nextcloud/fix/showshares-random-crash
FDA IT.showShares: open shared section through menu
2022-08-15 15:48:02 +02:00
Nextcloud bot ce4980a268 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-14 04:12:41 +00:00
Nextcloud bot 7f2b4d9c74 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-13 04:14:24 +00:00
Nextcloud bot 038b143147 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-12 04:12:17 +00:00
Álvaro Brey 299d972b54 Merge pull request #10620 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.2
Bump fragment-ktx from 1.5.1 to 1.5.2
2022-08-11 11:22:55 +02:00
Álvaro Brey 6923ba396d FileDisplayActivityIT: convert to Kotlin, since we're here
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-11 11:19:07 +02:00
Álvaro Brey bdf075ac48 FileDisplayActivityIT.showShares: open share view through menu
This is more correct, and also seems to prevent random recyclerview crashes in CI

Signed-off-by: Álvaro Brey <[email protected]>
2022-08-11 11:19:07 +02:00
Nextcloud bot 69452d86e5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-11 04:11:27 +00:00
dependabot[bot] fd7c5c4d2a Bump fragment-ktx from 1.5.1 to 1.5.2
Bumps fragment-ktx from 1.5.1 to 1.5.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-11 01:38:45 +00:00
Nextcloud bot 7bf1d73c89 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-10 04:19:12 +00:00
Álvaro Brey bd60aade13 Merge pull request #10603 from nextcloud/changelog-master-stable-3.21.0
Add changelog for 3.21.0
2022-08-09 09:35:32 +02:00
Nextcloud bot e1cc046be2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-09 04:11:02 +00:00
Álvaro Brey 359d2ab356 Disable search on folder picker activity
Wasn't implemented and it's hard to get going

Signed-off-by: Álvaro Brey <[email protected]>
2022-08-08 17:28:25 +02:00
Álvaro Brey 556a6bb0d5 Merge pull request #10518 from nextcloud/unsetEncryptionOnlyIfFolderEmpty
Only allow "unset encryption" when folder is empty
2022-08-08 15:48:36 +02:00
Álvaro Brey 8c62cb1c0c FileMenuFilter: reorder conditionals for performance (Spotbugs)
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-08 13:57:57 +02:00
tobiasKaminsky 7c9941ac0c Only allow "unset encryption" when folder is empty
Signed-off-by: tobiasKaminsky <[email protected]>
2022-08-08 13:57:57 +02:00
Álvaro Brey 837ccc3489 Update CHANGELOG.md
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-08 13:52:29 +02:00
Álvaro Brey 799699e963 Add changelog for 3.21.0
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-08 12:46:32 +02:00
Nextcloud bot 17977f42f0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-08 07:07:25 +00:00
Álvaro Brey bdce5e0ac1 Merge pull request #10597 from nextcloud/Valdnet-patch-1
i18n: Spelling unification
2022-08-05 14:49:38 +02:00
Valdnet 2a6f4fe493 i18n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <[email protected]>
2022-08-05 13:25:16 +02:00
Álvaro Brey 54c404cf02 Merge pull request #10595 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.7
Bump firebase-messaging from 23.0.6 to 23.0.7
2022-08-05 13:00:03 +02:00
Álvaro Brey c99b5c1254 Merge pull request #10537 from nextcloud/followUpSameName
Check empty/same name on creating text files
2022-08-05 12:47:22 +02:00
Álvaro Brey 1194a5c866 Merge pull request #10544 from nextcloud/fix/upload-external-uri-internal-path
Prevent URI uploads from external apps that target private storage
2022-08-05 11:12:15 +02:00
Nextcloud bot acd800394d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-05 03:47:57 +00:00
dependabot[bot] a52f833f1c Bump firebase-messaging from 23.0.6 to 23.0.7
Bumps firebase-messaging from 23.0.6 to 23.0.7.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-05 01:14:23 +00:00
Álvaro Brey 654a349bd6 Merge pull request #10535 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.21.0
Bump detekt-gradle-plugin from 1.20.0 to 1.21.0
2022-08-04 17:13:42 +02:00
dependabot[bot] 37c4c30814 Bump detekt-gradle-plugin from 1.20.0 to 1.21.0
Bumps [detekt-gradle-plugin](https://github.com/detekt/detekt) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/compare/v1.20.0...v1.21.0)

---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-04 15:58:55 +02:00
tobiasKaminskyandÁlvaro Brey db490b245f also check if folder
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2022-08-04 15:58:25 +02:00
Álvaro Brey 8437987f9e Merge pull request #10567 from nextcloud/dependabot/gradle/mockkVersion-1.12.5
Bump mockkVersion from 1.12.4 to 1.12.5
2022-08-04 15:57:48 +02:00
Álvaro Brey 64ddaf4405 ReceiveExternalFilesActivity: fix type of empty list container
It's now a NestedScrollView

Signed-off-by: Álvaro Brey <[email protected]>
2022-08-04 15:57:07 +02:00
Álvaro Brey 8f8274cab2 Cleanup UriUploader a bit, and add tests for private paths
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-04 15:56:11 +02:00
Álvaro BreyandTobias Kaminsky cd3bd0845a Don't accept uris to upload from external apps if they contain this app's package name
Prevent leaks of files in this app's storage

Co-authored-by: Tobias Kaminsky <[email protected]>
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-04 15:56:11 +02:00
Álvaro Brey 61f891201b UriUploader: convert to Kotlin step 2
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-04 15:56:11 +02:00
Álvaro Brey bbfb58f644 UriUploader: convert to Kotlin step 1
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-04 15:56:06 +02:00
Álvaro Brey f0bde3d588 Merge pull request #10587 from nextcloud/fix/loginit-master
LoginIT: fix for new accessibility changes in server master
2022-08-04 14:44:05 +02:00
Álvaro Brey 060e151a07 Merge pull request #10578 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.9.1
Bump gson from 2.9.0 to 2.9.1
2022-08-04 11:33:58 +02:00
Álvaro Brey bf0db5fea5 LoginIT: fix for new accessibility changes in server master
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-04 11:33:17 +02:00
Álvaro Brey cad6992121 Merge pull request #10579 from nextcloud/exportAlsoFromVideoImage
Also handle export from video/image correctly
2022-08-04 11:28:37 +02:00
Álvaro Brey ca62e4d723 Merge pull request #10588 from nextcloud/dependabot/gradle/daggerVersion-2.43.2
Bump daggerVersion from 2.43 to 2.43.2
2022-08-04 11:12:02 +02:00
Nextcloud bot fa71911c8f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-08-04 03:47:27 +00:00
dependabot[bot] 074ad95cb0 Bump daggerVersion from 2.43 to 2.43.2
Bumps `daggerVersion` from 2.43 to 2.43.2.

Updates `dagger` from 2.43 to 2.43.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43...dagger-2.43.2)

Updates `dagger-android` from 2.43 to 2.43.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43...dagger-2.43.2)

Updates `dagger-android-support` from 2.43 to 2.43.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43...dagger-2.43.2)

Updates `dagger-compiler` from 2.43 to 2.43.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43...dagger-2.43.2)

Updates `dagger-android-processor` from 2.43 to 2.43.2
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.43...dagger-2.43.2)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-04 01:05:14 +00:00
Álvaro Brey ac948df165 Merge pull request #10430 from Tiam-Abderezai/bugfix/10405/check_context_in_PreviewImageFragment
Fix #10405 Context check for ImagePreviewFragment
2022-08-03 16:30:45 +02:00
tobiasKaminsky 135459cf6a Also handle export from video/image correctly
Signed-off-by: tobiasKaminsky <[email protected]>
2022-08-03 13:10:58 +00:00
dependabot[bot] 89a7845c1f Bump gson from 2.9.0 to 2.9.1
Bumps [gson](https://github.com/google/gson) from 2.9.0 to 2.9.1.
- [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.0...gson-parent-2.9.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-03 13:06:08 +00:00
Álvaro Brey 37b52479f3 Merge pull request #10566 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.5.1
Bump lifecycle-viewmodel-ktx from 2.5.0 to 2.5.1
2022-08-03 15:03:46 +02:00
dependabot[bot] fbc23e5e61 Bump mockkVersion from 1.12.4 to 1.12.5
Bumps `mockkVersion` from 1.12.4 to 1.12.5.

Updates `mockk` from 1.12.4 to 1.12.5
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.4...1.12.5)

Updates `mockk-android` from 1.12.4 to 1.12.5
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.4...1.12.5)

---
updated-dependencies:
- dependency-name: io.mockk:mockk
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.mockk:mockk-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-03 12:42:51 +00:00
Álvaro Brey f562038e65 Merge pull request #10565 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.1
Bump fragment-ktx from 1.5.0 to 1.5.1
2022-08-03 14:42:46 +02:00
Álvaro Brey 668535b5a8 Merge pull request #10573 from Emelie4/patch-1
Update README.md
2022-08-03 14:38:22 +02:00
dependabot[bot] d37ce2fd10 Bump lifecycle-viewmodel-ktx from 2.5.0 to 2.5.1
Bumps lifecycle-viewmodel-ktx from 2.5.0 to 2.5.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-08-03 11:41:53 +00:00
Álvaro Brey b8f5ffceb4 Merge pull request #10559 from nextcloud/showCreatedEncryptedFolder
Fix not entering folder upon creation
2022-08-03 13:30:49 +02:00
Álvaro Brey 7715763575 Merge pull request #10555 from nextcloud/dependabot/gradle/exoplayerVersion-2.18.1
Bump exoplayerVersion from 2.18.0 to 2.18.1
2022-08-03 11:29:04 +02:00
Tiam e38e70f3f1 Fix #10405
Show only error snackbar if context is available
Signed-off-by: Tiam Abderezai <[email protected]>

Signed-off-by: Tiam <[email protected]>
2022-07-31 05:51:56 -04:00
Nextcloud bot ee5b444378 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-29 03:44:58 +00:00
Emelie4 7c032d75d9 Update README.md
There was a simple grammar mistake.

Signed-off-by: Emelie4 <[email protected]>
2022-07-28 22:29:30 -05:00
Tobias Kaminsky 49b3b90459 Merge pull request #10563 from nextcloud/newVideoIcon
Change video icon
2022-07-28 11:23:26 +02:00
dependabot[bot] c64448012a Bump fragment-ktx from 1.5.0 to 1.5.1
Bumps fragment-ktx from 1.5.0 to 1.5.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-07-28 01:09:43 +00:00
tobiasKaminsky 0fffcda1af Change video icon
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-27 09:14:13 +02:00
tobiasKaminsky f70e830deb Fix not entering folder upon creation
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-26 09:02:31 +02:00
Nextcloud bot c1512ff580 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-26 04:10:58 +00:00
Tobias Kaminsky a36699d7df Merge pull request #10556 from nextcloud/fixReceiveFile
Fix receive file
2022-07-25 12:01:46 +02:00
tobiasKaminsky 35635f9039 Add test
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-25 11:22:47 +02:00
tobiasKaminsky 0af94d2b62 Fix npe by migrating to binding
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-25 07:59:01 +02:00
Nextcloud bot 69804ce0f1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-25 04:09:40 +00:00
dependabot[bot] cb1cad7ead Bump exoplayerVersion from 2.18.0 to 2.18.1
Bumps `exoplayerVersion` from 2.18.0 to 2.18.1.

Updates `exoplayer` from 2.18.0 to 2.18.1
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.0...r2.18.1)

Updates `extension-okhttp` from 2.18.0 to 2.18.1
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.0...r2.18.1)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-07-25 01:32:37 +00:00
Nextcloud bot b4b38050dc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-23 04:08:36 +00:00
Álvaro Brey cd78151b94 Merge pull request #10552 from nextcloud/dependabot/gradle/daggerVersion-2.43
Bump daggerVersion from 2.42 to 2.43
2022-07-22 09:27:07 +02:00
Álvaro Brey 9e3f064b9c Merge pull request #10550 from nextcloud/logOC
Log to Log_OC
2022-07-22 09:24:22 +02:00
tobiasKaminsky 6e02f6e2b8 Log to Log_OC
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-22 06:03:16 +00:00
dependabot[bot] 47ea9418ea Bump daggerVersion from 2.42 to 2.43
Bumps `daggerVersion` from 2.42 to 2.43.

Updates `dagger` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43)

Updates `dagger-android` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43)

Updates `dagger-android-support` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43)

Updates `dagger-compiler` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43)

Updates `dagger-android-processor` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.42...dagger-2.43)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-07-22 01:07:18 +00:00
Álvaro Brey 66f9467b12 Merge pull request #10549 from nextcloud/repo-sync/android-config/master
🔄 Synced file(s) with nextcloud/android-config
2022-07-21 21:08:53 +02:00
nextcloud-android-bot 99f8d0e563 🔄 Synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-07-21 11:57:11 +00:00
Tobias Kaminsky e86a829d06 Merge pull request #10548 from nextcloud/revertDev
Revert "daily dev 20220721"
2022-07-21 10:09:23 +02:00
tobiasKaminsky 278eae0fa8 Revert "daily dev 20220721"
This reverts commit d9bc4d0d88.
2022-07-21 10:08:01 +02:00
Tobias Kaminsky d9bc4d0d88 daily dev 20220721
Update translations
Update Nextcloud Android library
2022-07-21 10:03:01 +02:00
Nextcloud bot 2434e84819 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-21 04:13:20 +00:00
Nextcloud bot 7af86116e1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-20 04:08:53 +00:00
Álvaro Brey e7316f9828 Merge pull request #10542 from nextcloud/feature/openjdk-11-devcontainer
Use openjdk-11 in Devcontainer
2022-07-19 15:20:29 +02:00
Robin Windey 3a51b7505e Use openjdk-11 in Devcontainer
Signed-off-by: Robin Windey <[email protected]>
2022-07-19 14:41:31 +02:00
Tobias Kaminsky a53d4338e4 Merge pull request #10528 from nextcloud/chore/issue-template
Use issue form for bug reports
2022-07-19 13:58:13 +02:00
Álvaro Brey b533733a20 Bug form: Add 'I don't know' option to reverse proxy question
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-19 11:13:22 +02:00
Álvaro Brey 8c2571f7d4 Merge pull request #10536 from nextcloud/chore/more-ci-logcat
Ensure entire logcat is collected during CI connected tests
2022-07-18 13:32:37 +02:00
Álvaro Brey aa6bef6b54 RetryTestRule: reduce log level of "normal" log
Shouldn't be an error

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-18 12:02:36 +02:00
Álvaro Brey 509236deaa runCombinedTest: ensure entire logcat is recorded
Start streaming logcat before tests instead of dumping it after. This avoids buffer overflow.

Additionally use xz instead of gzip, for greater compression

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-18 12:01:40 +02:00
Nextcloud bot eaef5fc48a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-18 04:08:27 +00:00
Nextcloud bot 834894fe70 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-17 04:09:26 +00:00
Nextcloud bot 65dc435a93 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-16 04:09:38 +00:00
Álvaro Brey 204148b910 issue templates: Add config.yml to disable blank issues and add community forum link
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-15 10:21:08 +02:00
Álvaro Brey e865b312e7 Use issue form for bug reports
This enforces filling certain fields so that we don't end up with more empty issues

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-15 10:18:49 +02:00
Tobias Kaminsky c7b17ddaaa Merge pull request #10522 from nextcloud/fix/folderpicker_it_open_focus
Don't allow focus on empty view and restore mis-updated screenshot
2022-07-14 12:25:14 +02:00
Nextcloud bot 8ee58653a8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-14 04:09:54 +00:00
Álvaro Brey 5ba739d8df Don't allow focus on empty view and restore mis-updated screenshot
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-13 16:53:34 +02:00
Álvaro Brey a920ba3c27 Merge pull request #10497 from nextcloud/fix/empty-view-scrolling
Allow scrolling empty views
2022-07-13 15:54:35 +02:00
Álvaro Brey 73cc4aa4f3 Make empty list views scrollable
This will prevent them from being cut when vertical space is not enough, for example in landscape mode

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-13 11:11:07 +02:00
Tobias Kaminsky 190c4a1162 Merge pull request #10510 from nextcloud/chore/update-fastlane
Update fastlane and plugins
2022-07-13 06:47:05 +02:00
Nextcloud bot 48346a797a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-13 04:09:10 +00:00
Álvaro Brey 3b9ae12de3 analysis.yml: fix missing output
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-12 17:48:39 +02:00
Álvaro Brey ff86c5302a Update fastlane plugins
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-12 16:31:08 +02:00
Álvaro Brey e78a1019d1 Update fastlane
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-12 16:30:34 +02:00
Álvaro Brey 690c18506a Merge pull request #10508 from nextcloud/masterBump3.22
Bump master to 3.22 Alpha0
2022-07-12 15:41:53 +02:00
tobiasKaminsky c06412ab1b Bump master to 3.22 Alpha0
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-12 08:05:24 +02:00
Tobias Kaminsky 5d0d0039a8 Merge pull request #10418 from nextcloud/fixRenamingFolder
Fix missing update of storage path, so that files/folders were only locally changed, but update not reflected in UI
2022-07-12 06:59:03 +02:00
Nextcloud bot 94c1116b52 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-12 04:12:12 +00:00
tobiasKaminsky 82fcf2e3a0 Fix missing update of storage path, so that files/folders were only locally changed, but update not reflected in UI
add IT test

update search lists after renaming

extract string to variable

Remove local/storageManager files after each test run

Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-11 15:19:56 +02:00
Álvaro Brey 458ee43f17 Merge pull request #10390 from nextcloud/deletedEncryptedSubfolder
Deleted encrypted subfolder
2022-07-11 11:55:24 +02:00
Álvaro BreyandTobias Kaminsky c1f53e65de EndToEndRandomIT: create keys before all tests
Fixes inconsistencies due to keys created at wrong time

Co-authored-by: Tobias Kaminsky <[email protected]>

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-11 11:16:23 +02:00
tobiasKaminsky bcfa832309 find out why reInit fails
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-11 09:27:11 +02:00
tobiasKaminsky 6325d07800 Test for delete folder
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-11 09:27:11 +02:00
tobiasKaminsky 3cae976597 Allow to delete encrypted folders
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-11 09:27:11 +02:00
Tobias Kaminsky d31f3f7988 Merge pull request #10483 from nextcloud/fix/share-link-email-crash
FileDetailsSharingProcessFragment: avoid crashing when modifying existing shares
2022-07-11 07:54:19 +02:00
Nextcloud bot 9c60c2d636 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-11 04:09:57 +00:00
Nextcloud bot 603b3b1f83 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-10 04:12:07 +00:00
Nextcloud bot 56cabe6174 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-09 04:09:56 +00:00
Álvaro Brey 9445a6c3e3 OCFileListFragment: remove all the "resetHeaderScrollngState" calls
Now handled with a listener in FileDisplayActivity

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-08 16:41:17 +02:00
Tobias Kaminsky f6a99ef9ca Merge pull request #10357 from nextcloud/warnOnExistingFile
When during renaming the same name already exists in same folder: show an error, disable confirm button
2022-07-08 08:38:31 +02:00
Tobias Kaminsky 546f69cfe4 Merge pull request #10490 from nextcloud/endlessRefresh
add broadcastReceiver when switching from media -> on device
2022-07-08 08:34:26 +02:00
Nextcloud bot 94569b0e12 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-08 04:11:30 +00:00
Tobias Kaminsky 97e220a83f Merge pull request #10481 from nextcloud/fix/share-link-crash
FileActivity: fix crash when creating share link from FileDetailsFragment
2022-07-07 14:34:09 +02:00
Tobias Kaminsky f253876d57 Merge pull request #10487 from nextcloud/fix/folder-picker-activity-menu
FolderPickerActivity: call super.onCreateOptionsMenu inside overriding method
2022-07-07 14:32:49 +02:00
Tobias Kaminsky 4fc60c2ae1 Merge pull request #10489 from nextcloud/fix/crash-status-dialog-darkmode
SetStatusDialogFragment: fix nullability of itemSelected parameter
2022-07-07 14:32:10 +02:00
tobiasKaminsky c3fd318437 add broadcastReceiver when switching from media -> on device
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-07 14:20:41 +02:00
Tobias Kaminsky 5baa1c8f45 Merge pull request #10484 from nextcloud/media-view-options
Media view filter options
2022-07-07 12:14:15 +02:00
Álvaro Brey 1b968c2695 SetStatusDialogFragment: fix nullability of itemSelected parameter
Prevents crash when fragment is recreated (like when switching dark mode)

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-07 11:46:25 +02:00
tobiasKaminsky 389e33d524 correct formatting
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-07 10:17:54 +02:00
tobiasKaminsky bb69f8cb86 use sets instead of lists
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-07 10:06:26 +02:00
tobiasKaminsky 27f716109d When during renaming the same name already exists in same folder: show an error, disable confirm button
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-07 10:06:24 +02:00
Tobias Kaminsky 427b503b8a Merge pull request #10443 from nextcloud/export
File export / download
2022-07-07 10:02:40 +02:00
tobiasKaminsky 61b85ed52f fix lint warnings
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-07 09:57:36 +02:00
Álvaro Brey ffd49266ec FolderPickerActivity: call super.onCreateOptionsMenu inside overriding method
Fixes a bug where ExtendedListFragment.onCreateOptionsMenu is not called for the child fragment

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-07 09:15:53 +02:00
Nextcloud bot 0e0bfbbd12 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-07 04:09:05 +00:00
A117870935 a72932731f Media view filter options
Squashed commit of the following:

commit ddb107778d
Author: A117870935 <[email protected]>
Date:   Tue Jul 5 18:15:38 2022 +0530

    Delete FolderPickerActivity.java

commit f471cc2810
Merge: 0c5b2309bc 1341f1fbe6
Author: A117870935 <[email protected]>
Date:   Tue Jul 5 18:13:43 2022 +0530

    Merge branch 'media-view-options' of https://github.com/nextmcloud/android into media-view-options

commit 0c5b2309bc
Author: A117870935 <[email protected]>
Date:   Tue Jul 5 18:12:44 2022 +0530

    Rebasing with master

commit de4eeb5004
Author: A117870935 <[email protected]>
Date:   Fri Jun 24 10:45:22 2022 +0530

    Code optimisation.

commit eb8128df34
Author: Kumar <[email protected]>
Date:   Mon May 9 16:57:14 2022 +0530

    Removed unused code and code optimisation

commit ed00306ee7
Author: Kumar <[email protected]>
Date:   Fri May 6 12:23:47 2022 +0530

    Code formatting via KtLint

commit a7e925d692
Author: Kumar <[email protected]>
Date:   Thu May 5 17:28:51 2022 +0530

    Code optimisation, copyrights added and bug fixing.

commit ccb07fc73b
Author: Kumar <[email protected]>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 60e27ce765
Author: Kumar <[email protected]>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit e4e29d8cdc
Author: Kumar <[email protected]>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 3cd34b4bfb
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 391ef3a21e
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit b614cfa213
Author: Kumar <[email protected]>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit eb864fb22b
Author: A117870935 <[email protected]>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit fc4788e796
Author: Kumar <[email protected]>
Date:   Tue May 3 16:02:19 2022 +0530

    Rebased with master and conflicts resolved

commit ee0d13a438
Author: Kumar <[email protected]>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 6bf6fb210d
Author: Kumar <[email protected]>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 0964f77cdb
Author: Kumar <[email protected]>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 7eeea6219a
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 078a462149
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 579e42f64a
Author: Kumar <[email protected]>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit 093dfea09b
Author: A117870935 <[email protected]>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 0ddbf0475b
Author: A117870935 <[email protected]>
Date:   Fri Jun 24 10:45:22 2022 +0530

    Code optimisation.

commit 19a0b04663
Author: Kumar <[email protected]>
Date:   Mon May 9 16:57:14 2022 +0530

    Removed unused code and code optimisation

commit ab9e31e938
Author: Kumar <[email protected]>
Date:   Fri May 6 12:23:47 2022 +0530

    Code formatting via KtLint

commit 0a6504010a
Author: Kumar <[email protected]>
Date:   Thu May 5 17:28:51 2022 +0530

    Code optimisation, copyrights added and bug fixing.

commit c74d64685b
Author: Kumar <[email protected]>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 5b091f2307
Author: Kumar <[email protected]>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 1c13b07673
Author: Kumar <[email protected]>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 5f42a5b498
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit ac8a715992
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 4b8b1817a7
Author: Kumar <[email protected]>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit 74f8b2b36f
Author: A117870935 <[email protected]>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit eb442ac4a6
Author: Kumar <[email protected]>
Date:   Tue May 3 16:02:19 2022 +0530

    Rebased with master and conflicts resolved

commit 54694d452c
Author: Kumar <[email protected]>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 867ba2fb22
Author: Kumar <[email protected]>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 508f3a3c8a
Author: Kumar <[email protected]>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 0d6db1e230
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 6c3de6eecf
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 4bb9f91e8a
Author: Kumar <[email protected]>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit 999b8dfa6a
Author: A117870935 <[email protected]>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 1341f1fbe6
Merge: 414e0754bf 57b414e4c1
Author: A117870935 <[email protected]>
Date:   Fri Jun 24 11:49:40 2022 +0530

    Code optimisation.

commit 414e0754bf
Author: A117870935 <[email protected]>
Date:   Fri Jun 24 10:45:22 2022 +0530

    Code optimisation.

commit 757102a5f1
Author: Kumar <[email protected]>
Date:   Mon May 9 16:57:14 2022 +0530

    Removed unused code and code optimisation

commit 4512af4327
Author: Kumar <[email protected]>
Date:   Fri May 6 12:23:47 2022 +0530

    Code formatting via KtLint

commit 4d3d9297e9
Author: Kumar <[email protected]>
Date:   Thu May 5 17:28:51 2022 +0530

    Code optimisation, copyrights added and bug fixing.

commit fd7c0a95f1
Author: Kumar <[email protected]>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit f6dec19fd9
Author: Kumar <[email protected]>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 38ce2e55e0
Author: Kumar <[email protected]>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 5745cc9e67
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 42217c395f
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit c30388b4b6
Author: Kumar <[email protected]>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit d7fd0707e4
Author: A117870935 <[email protected]>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 33294957fb
Author: Kumar <[email protected]>
Date:   Tue May 3 16:02:19 2022 +0530

    Rebased with master and conflicts resolved

commit e50cca657a
Author: Kumar <[email protected]>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit d11c0478cc
Author: Kumar <[email protected]>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 2f258a0a25
Author: Kumar <[email protected]>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit dee21a4b45
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit d27f91ea3a
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 56f2e70f67
Author: Kumar <[email protected]>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit edccc6a78f
Author: A117870935 <[email protected]>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 57b414e4c1
Author: A117870935 <[email protected]>
Date:   Fri Jun 24 10:45:22 2022 +0530

    Code optimisation.

commit 9bde395980
Merge: 038663cdc9 03453c787a
Author: surinder-tsys <[email protected]>
Date:   Mon May 9 17:10:13 2022 +0530

    Merge branch 'master' into media-view-options

commit 038663cdc9
Author: Kumar <[email protected]>
Date:   Mon May 9 16:57:14 2022 +0530

    Removed unused code and code optimisation

commit 8f999f2eb0
Author: Kumar <[email protected]>
Date:   Fri May 6 12:23:47 2022 +0530

    Code formatting via KtLint

commit e842fa134a
Merge: 67763af48e 2d6b504284
Author: Kumar <[email protected]>
Date:   Thu May 5 17:29:23 2022 +0530

    Merge branch 'media-view-options' of https://github.com/nextmcloud/android into media-view-options

commit 67763af48e
Author: Kumar <[email protected]>
Date:   Thu May 5 17:28:51 2022 +0530

    Code optimisation, copyrights added and bug fixing.

commit 2d6b504284
Merge: 47b44babf9 1924041e4b
Author: surinder-tsys <[email protected]>
Date:   Wed May 4 10:16:30 2022 +0530

    Merge branch 'master' into media-view-options

commit 47b44babf9
Merge: f82b32fc74 184d13e8f2
Author: Kumar <[email protected]>
Date:   Tue May 3 16:13:03 2022 +0530

    Conflicts resolved

commit f82b32fc74
Author: Kumar <[email protected]>
Date:   Tue May 3 16:02:19 2022 +0530

    Rebased with master and conflicts resolved

commit 9c6080fcdd
Author: Kumar <[email protected]>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 60a29a7eec
Author: Kumar <[email protected]>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit 903bdfbce6
Author: Kumar <[email protected]>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit 0cd9354dc8
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 474341be78
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 8600486da7
Author: Kumar <[email protected]>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit d04b668764
Author: A117870935 <[email protected]>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

commit 184d13e8f2
Author: Kumar <[email protected]>
Date:   Tue May 3 15:25:50 2022 +0530

    Removed copyrights

commit 8d1018ba8f
Author: Kumar <[email protected]>
Date:   Tue May 3 15:22:15 2022 +0530

    Removed unused drawables

commit b44e3dbb8f
Author: Kumar <[email protected]>
Date:   Tue May 3 15:19:29 2022 +0530

    Updated design changes

commit e559d94cfa
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:07:46 2022 +0530

    Update gradle.properties

    Reverted gradle.properies.

commit 484a6b8f69
Author: Kumar <[email protected]>
Date:   Wed Apr 27 21:02:33 2022 +0530

    Copyrights added.

commit 4d607b6ae4
Author: Kumar <[email protected]>
Date:   Wed Apr 27 20:42:39 2022 +0530

    Update build.gradle

    Reverted gradle version.

commit 95fafabe8a
Author: A117870935 <[email protected]>
Date:   Wed Apr 27 19:02:17 2022 +0530

    Added 3 dot menu to filter Media data.

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-06 14:50:37 +02:00
Álvaro Brey 3c7e429465 FilesExport*: fix detekt issues
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-06 14:42:23 +02:00
Álvaro Brey e400d3c0b8 FilesExportWork: extract method to reduce complexity of doWork
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-06 14:41:53 +02:00
Tobias Kaminsky c4540e7310 Merge pull request #10478 from nextcloud/permissionDialog
recreate StoragePermissionDialogFragment when rotating
2022-07-06 14:06:55 +02:00
tobiasKaminsky 85a645d3a4 better i18n handling
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-06 14:06:20 +02:00
tobiasKaminsky c5302e943d Remove unused resource
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-06 14:06:20 +02:00
tobiasKaminsky 9fb607cc9a also allow export in FileDetailFragment
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-06 14:06:20 +02:00
tobiasKaminsky 72044454c1 rename last remaining FileDownload occurrences
early exit in FilesExportWork.kt

Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-06 14:06:20 +02:00
Álvaro Brey db4e9887b1 FilesExportWork: use getActivity for PendingIntent
With the broadcast, the notification drawer will not autoclose to show the file browser, which is not good UX.

With this approach the notification will not be autodismissed, but that's the lesser of two evils.

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-06 14:06:20 +02:00
tobiasKaminsky 1d69dcfcaa File export aka "download"
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-06 14:06:18 +02:00
tobiasKaminsky 3ec348d5f6 recreate StoragePermissionDialogFragment when rotating
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-06 12:18:52 +02:00
Tobias Kaminsky 6441e5d189 Merge pull request #10392 from nextcloud/encryptedFavorites
on favorite/recent search: update encrypted files
2022-07-06 12:13:17 +02:00
Tobias Kaminsky fa21cef158 Merge pull request #10322 from nextcloud/e2ePass
only encrypt folder if key is setup
2022-07-06 12:12:44 +02:00
tobiasKaminsky 9d80622d23 only encrypt folder if key is setup
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-06 10:59:08 +02:00
Álvaro Brey b8800a9906 FileDetailsSharingProcessFragment: avoid crashing when modifying existing shares
This can only happen on certain codepaths but should be avoided anyway.

Fixes #10480

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-06 09:56:14 +02:00
tobiasKaminsky 5e58fdae4c fix potential NPE
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-06 09:41:19 +02:00
Álvaro Brey 2e3ac1850b FileActivity: fix crash when creating share link from FileDetailsFragment
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-06 09:41:14 +02:00
Tobias Kaminsky d14ba71b10 Merge pull request #10388 from nextcloud/unsetEncryptedFolder
Only allow folder to unset if not in e2e subtree
2022-07-06 09:02:32 +02:00
Álvaro Brey 8cc3bd1d41 Merge pull request #10448 from nextcloud/fix/offline-sync-server-ping
Avoid checking for walled connection until necessary
2022-07-05 16:44:02 +02:00
Álvaro Brey f19e3b7f33 Merge pull request #10323 from nextcloud/disableSharingOnE2E
Disable sharing on e2e
2022-07-05 16:41:09 +02:00
Álvaro Brey c8aa577589 When retrying failing uploads, delay connectivity check until last possible moment
This avoids network calls if the uploads can't be done for other reason (such as missing files)

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-05 14:52:23 +02:00
Álvaro Brey a62373efb4 OfflineSyncWork: minor refactor to make more readable
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-05 14:52:23 +02:00
Álvaro Brey 8a0609044f OfflineSyncWork: remove unused wakelock
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-05 14:52:23 +02:00
Álvaro Breyandobel1x b7cf2a5d67 OfflineSyncWork: do not proactively ping server for connectivity unless sync fails
Co-authored-by: obel1x <[email protected]>
Signed-off-by: Álvaro Brey <[email protected]>
2022-07-05 14:52:23 +02:00
tobiasKaminsky 935b71ed86 rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-05 12:25:23 +00:00
tobiasKaminsky efa7875dcd explanation of tab count
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-05 12:25:23 +00:00
tobiasKaminsky 2c69d94162 fix uploadReport.sh
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-05 12:25:23 +00:00
tobiasKaminsky c6681407bf Do not show sharing option at all
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-05 12:25:23 +00:00
tobiasKaminsky c8e523b2c1 Do not show sharing tab when folder is encrypted
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-05 12:25:23 +00:00
Tobias Kaminsky 074b914b5f Merge pull request #10232 from nextcloud/offlineNavigation
Fix Notification -> on device navigation path
2022-07-05 14:21:29 +02:00
Tobias Kaminsky 00bf0f28fb Merge pull request #10473 from nextcloud/onDeviceWrongMessage
Shared -> OnDevice -> now correct message
2022-07-05 10:59:02 +02:00
tobiasKaminsky a4829d4567 on favorite/recent search: update encrypted files
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-05 10:57:12 +02:00
tobiasKaminsky d31ba4b3e6 Only allow folder to unset if not in e2e subtree
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-05 10:44:26 +02:00
Álvaro Brey e8d2989295 Prevent crash when selecting too many files to copy or move (#10476)
* Prevent crash when selecting too many files to copy or move

This is caused by too much data in intent extras as we're passing a fat arraylist of objects.
As we only need the paths for the copy operation, change it so that only the paths are passed.

Ideally this would instead be stored in FDA or whatever listener we have for the folder picker,
rather than passed back and forth between the folder picker.

Signed-off-by: Álvaro Brey <[email protected]>

* Convert FolderPickerActivity to Kotlin (step 1)

Signed-off-by: Álvaro Brey <[email protected]>

* FolderPickerActivity: convert to Kotlin step 2

Signed-off-by: Álvaro Brey <[email protected]>

* OCFileListFragment: deduplicate copy/move code

Signed-off-by: Álvaro Brey <[email protected]>
2022-07-05 07:47:18 +00:00
Tobias Kaminsky efb26fc43a Merge pull request #10479 from nextcloud/fixRebaseCommand
wrong indentation
2022-07-05 08:49:52 +02:00
tobiasKaminsky e656e06acd wrong indentation
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-05 08:49:01 +02:00
tobiasKaminsky 3e387c441a New screenshot for com.owncloud.android.ui.activity.FolderPickerActivityIT_open
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-04 15:49:55 +02:00
Tobias Kaminsky 5cdace49ca Merge pull request #10472 from nextcloud/thumbnailUpdateEnforced
When thumbnail update enforced, do not use any cached version
2022-07-04 14:36:43 +02:00
tobiasKaminsky 7ee18b735b Shared -> OnDevice -> now correct message
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-04 11:45:41 +02:00
tobiasKaminsky a981db2200 When thumbnail update enforced, do not use any cached version
Signed-off-by: tobiasKaminsky <[email protected]>
2022-07-04 10:00:28 +02:00
Álvaro Brey fb8c6f4f23 Merge pull request #10471 from nextcloud/fix-flaky-logger-test
Fix flaky Logger overflow test
2022-07-04 09:01:58 +02:00
Nextcloud bot d6cf7a97a3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-07-04 04:09:52 +00:00
Chris Narkiewicz 98230e1296 Fix flaky Logger overflow test
Load event is processed before overlow condition check can
result in warning log line being appended. This resulted
in a race condition.

We simply poll the log file until we either find interesting
log line or we give up after several seconds.

Fixes #10416

Signed-off-by: Chris Narkiewicz <[email protected]>
2022-07-04 00:30:30 +01:00
Tobias Kaminsky 29390e1fe0 Merge pull request #10464 from nextcloud/repo-sync/android-common/master
🔄 Synced file(s) with nextcloud/android-common
2022-07-01 09:38:30 +02:00
nextcloud-android-bot 81fae4d71b 🔄 Synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-07-01 07:06:35 +00:00
Álvaro Brey 5cb0056db3 Merge pull request #10457 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.0
Bump fragment-ktx from 1.4.1 to 1.5.0
2022-06-30 11:35:54 +02:00
Álvaro Brey 5b54f76edc Merge pull request #10458 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.5.0
Bump lifecycle-viewmodel-ktx from 2.4.1 to 2.5.0
2022-06-30 11:02:51 +02:00
Álvaro Brey 084abc1a5e Fix compilation error with new fragment ktx version
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-30 11:00:17 +02:00
Álvaro Brey 0aa8924edd Merge pull request #10459 from nextcloud/repo-sync/android-common/master
🔄 Synced file(s) with nextcloud/android-common
2022-06-30 10:01:37 +02:00
Álvaro Brey 7fb3c6f2ed Remove detectNewJavaFiles script
Now built into the workflow

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-30 09:44:36 +02:00
nextcloud-android-bot 0c258a2fc7 🔄 Synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-06-30 07:42:52 +00:00
Nextcloud bot a453cf7640 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-30 04:09:30 +00:00
dependabot[bot] 9ad5d53b64 Bump lifecycle-viewmodel-ktx from 2.4.1 to 2.5.0
Bumps lifecycle-viewmodel-ktx from 2.4.1 to 2.5.0.

---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-viewmodel-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-30 01:04:56 +00:00
dependabot[bot] 830feb91df Bump fragment-ktx from 1.4.1 to 1.5.0
Bumps fragment-ktx from 1.4.1 to 1.5.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-30 01:04:49 +00:00
Nextcloud bot 502a936686 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-29 04:14:29 +00:00
Tobias Kaminsky 37a5a79feb Merge pull request #10407 from nextcloud/repo-sync/android-common/master
🔄 Synced file(s) with nextcloud/android-common
2022-06-28 10:51:44 +02:00
nextcloud-android-bot 4b8db87141 🔄 Synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-06-28 08:19:29 +00:00
Álvaro Brey f2a399ed10 Merge pull request #10446 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.9
Bump spotbugs-gradle-plugin from 5.0.8 to 5.0.9
2022-06-28 10:02:27 +02:00
Tobias KaminskyandÁlvaro Brey d62e215cf9 Fix QA upload (#10447)
* secret is called GIT_TOKEN on GitHub

Signed-off-by: tobiasKaminsky <[email protected]>

* Remove "sudo" from qa build to preserve env variables

Signed-off-by: Álvaro Brey <[email protected]>

Co-authored-by: Álvaro Brey <[email protected]>
2022-06-28 07:43:32 +00:00
Nextcloud bot 0feb695d0d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-28 04:21:16 +00:00
dependabot[bot] ad0ae128b4 Bump spotbugs-gradle-plugin from 5.0.8 to 5.0.9
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.8 to 5.0.9.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.8...5.0.9)

---
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] <[email protected]>
2022-06-28 01:07:04 +00:00
Tobias Kaminsky b37f5cefbf Merge pull request #10441 from nextcloud/chore/remove-bytebuddy
Remove bytebuddy library dependency
2022-06-27 15:10:05 +02:00
Álvaro Brey 41639cf654 Remove bytebuddy library dependency
Only used to generate random strings for tests and creates too many Dependabot PRs.
Let's just use Kotlin for that.

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-27 11:47:00 +02:00
Álvaro Brey cbe2aede45 Merge pull request #10440 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.12
Bump byteBuddyVersion from 1.12.11 to 1.12.12
2022-06-27 11:02:35 +02:00
Álvaro Brey 0abdcc7ba2 Merge pull request #10433 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.6
Bump firebase-messaging from 23.0.5 to 23.0.6
2022-06-27 10:17:26 +02:00
dependabot[bot] 79fef5acf0 Bump byteBuddyVersion from 1.12.11 to 1.12.12
Bumps `byteBuddyVersion` from 1.12.11 to 1.12.12.

Updates `byte-buddy` from 1.12.11 to 1.12.12
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.11...byte-buddy-1.12.12)

Updates `byte-buddy-android` from 1.12.11 to 1.12.12
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.11...byte-buddy-1.12.12)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-27 02:01:54 +00:00
Tobias Kaminsky 813bfb38aa Merge pull request #10417 from nextcloud/chore/update-logcat-command
README: update logcat instructions with easier modern ADB commands
2022-06-24 12:01:23 +02:00
dependabot[bot] 64b3a02399 Bump firebase-messaging from 23.0.5 to 23.0.6
Bumps firebase-messaging from 23.0.5 to 23.0.6.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-24 01:07:53 +00:00
Álvaro Brey 573b976e63 Merge pull request #10368 from nextcloud/defaultPermission
Setting token permissions to read-only follows the principle of least privilege.
2022-06-23 12:23:56 +02:00
Álvaro Brey ce6014501e Merge pull request #10429 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.11
Bump byteBuddyVersion from 1.12.10 to 1.12.11
2022-06-23 12:17:35 +02:00
Álvaro Brey 54672c4d1c Merge pull request #10036 from nextcloud/fix/hide-sharing-favorites
Don't try to show share information in Favorites screen
2022-06-23 12:14:35 +02:00
Álvaro Brey Vilas d8b2a21823 Don't try to show share information in Favorites screen
We don't have that info from the server

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-06-23 11:01:08 +02:00
dependabot[bot] 5c08c563c8 Bump byteBuddyVersion from 1.12.10 to 1.12.11
Bumps `byteBuddyVersion` from 1.12.10 to 1.12.11.

Updates `byte-buddy` from 1.12.10 to 1.12.11
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.10...byte-buddy-1.12.11)

Updates `byte-buddy-android` from 1.12.10 to 1.12.11
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.10...byte-buddy-1.12.11)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-23 05:52:02 +00:00
Álvaro Brey 6d93aa2cbb Reformat README with remark-lint to appease Codacy
[skip ci]
[ci skip]

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-21 10:47:01 +00:00
Álvaro Brey a705c5e7b0 README: update logcat instructions with easier modern ADB commands
[skip ci]
[ci skip]

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-21 10:47:01 +00:00
Nextcloud bot fa3d0b453f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-21 04:12:30 +00:00
Álvaro Brey 531a234b0f Merge pull request #10413 from nextcloud/dependabot/gradle/exoplayerVersion-2.18.0
Bump exoplayerVersion from 2.17.1 to 2.18.0
2022-06-20 14:40:38 +02:00
Álvaro Brey 5386aa9229 Merge pull request #10384 from olebittner/master
Check account in onResume fixing #7887
2022-06-20 10:19:08 +02:00
Tobias Kaminsky 18ccf68e10 Merge pull request #10393 from nextcloud/fix/10383
PreviewMediaFragment: prevent NPE on onSaveInstanceState
2022-06-20 09:35:11 +02:00
Tobias Kaminsky 21458ce512 Merge pull request #10397 from nextcloud/fix/lock-screen-leak
Lock: ensure underlying activity isn't shown while waiting for lock screen to render
2022-06-20 08:54:23 +02:00
Tobias Kaminsky e3e9d73b6b Merge pull request #10401 from nextcloud/fix/prefill-filename-oob
ChooseRichDocumentsTemplate: avoid IOOBE if there is no dot in field
2022-06-20 08:53:06 +02:00
Tobias Kaminsky e11ba7fd9e Merge pull request #10358 from nextcloud/chore/logcat-for-failing-IT
Upload logcat on failing master-IT builds
2022-06-20 08:49:45 +02:00
Tobias Kaminsky c28a0779b5 Merge pull request #10403 from nextcloud/fix/upload_on_low_storage_move
UploadFilesActivity: fix upload not working when space is insufficient for copy
2022-06-20 08:49:18 +02:00
dependabot[bot] 3535e30280 Bump exoplayerVersion from 2.17.1 to 2.18.0
Bumps `exoplayerVersion` from 2.17.1 to 2.18.0.

Updates `exoplayer` from 2.17.1 to 2.18.0
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.17.1...r2.18.0)

Updates `extension-okhttp` from 2.17.1 to 2.18.0
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.17.1...r2.18.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-20 01:26:30 +00:00
Álvaro Brey f50ab2695f Merge pull request #10404 from nextcloud/fix/copy-move-search
FolderPickerActivity: fix search when copying/moving files
2022-06-17 13:07:46 +02:00
Ole Bittner 58cc417ea7 fix ktlint error
Signed-off-by: Ole Bittner <[email protected]>
2022-06-16 18:03:58 +02:00
Álvaro Brey 2c45cd04db FolderPickerActivity: fix search when copying/moving files
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-16 16:56:17 +02:00
Álvaro Brey 2130de152d UploadFilesActivity: fix upload not working when space is insufficient
LOCAL_BASE_PATH was missing

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-16 16:26:06 +02:00
Álvaro Brey 393f553e56 Merge pull request #10399 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.4.0
Bump annotation from 1.3.0 to 1.4.0
2022-06-16 12:27:43 +02:00
Álvaro Brey b7f7388802 ChooseRichDocumentsTemplate: avoid IOOBE if there is no dot in field
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-16 12:18:40 +02:00
dependabot[bot] 23bddc26b3 Bump annotation from 1.3.0 to 1.4.0
Bumps annotation from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-16 01:06:09 +00:00
Álvaro Brey f1f44c4d5d Lock: ensure underlying activity isn't shown while waiting for lock screen to render
As lock screen is shown with `startActivityForResult`, which is asynchronous, the activity
can continue rendering while waiting for the lock screen, which leaks details and potentially allows interaction.

To counteract this, immediately hide the root view of the activity while the lock screen is launched.

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-15 15:50:26 +02:00
Tobias Kaminsky 82d86b978b Merge pull request #10396 from nextcloud/fix/scrollbar-theming
Make fast scroll bar and popup use the theme color
2022-06-15 13:32:10 +02:00
Álvaro Brey a7877ceb41 Make fast scroll bar and popup use the theme color
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-15 12:33:27 +02:00
Álvaro Brey 528705a31d PreviewMediaFragment: prevent NPE on onSaveInstanceState
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-14 17:14:22 +02:00
Ole Bittner 53ce285aac test onResume account check in SessionMixin
Signed-off-by: Ole Bittner <[email protected]>
2022-06-13 23:28:35 +02:00
Ole Bittner 190cd24d3a check for account in onResume mixin
Signed-off-by: Ole Bittner <[email protected]>
2022-06-13 23:28:20 +02:00
tobiasKaminsky 92d3f08f6a Setting token permissions to read-only follows the principle of least privilege.
Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-13 14:23:55 +02:00
Álvaro Brey e9c30584a7 runCombinedTest: remove leftover debug flags
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-13 12:00:44 +02:00
Álvaro Brey 22deea9e4f Upload logcat on failing master-IT builds
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-10 16:29:57 +02:00
tobiasKaminsky 6704bb0427 Fix Notification -> on device navigation path
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-12 09:26:14 +02:00
623 changed files with 21249 additions and 14156 deletions

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ ARG DEBIAN_FRONTEND=noninteractive
ENV ANDROID_HOME=/usr/lib/android-sdk
RUN apt-get update -y
RUN apt-get install -y unzip wget openjdk-8-jdk vim
RUN apt-get install -y unzip wget openjdk-11-jdk vim
RUN wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -O /tmp/commandlinetools.zip
RUN cd /tmp && unzip commandlinetools.zip
+1 -1
View File
@@ -32,7 +32,7 @@ services:
image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
SERVER_VERSION: 'stable24'
SERVER_VERSION: 'stable25'
commands:
- BRANCH="$SERVER_VERSION" /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
-47
View File
@@ -1,47 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
labels: bug
---
### Steps to reproduce
1.
2.
3.
### Expected behaviour
- Tell us what should happen
### Actual behaviour
- Tell us what happens
### Can you reproduce this problem on https://try.nextcloud.com?
- Please create a test demo account and see if this still happens there.
- If yes, please open up a bug report
- If not, please verify server setup and ask for help on forum
### Environment data
Android version:
Device model:
Stock or customized system:
Nextcloud app version:
Nextcloud server version:
Reverse proxy:
### Logs
#### Web server error log
```
Insert your webserver log here
```
#### Nextcloud log (data/nextcloud.log)
```
Insert your Nextcloud log here
```
**NOTE:** Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate
+132
View File
@@ -0,0 +1,132 @@
name: Bug report
description: Create a report to help us improve
labels: [ "bug" ]
body:
- type: checkboxes
id: before-posting
attributes:
label: "⚠️ Before posting ⚠️"
description: All conditions are **required**. Your issue can be closed if these are checked incorrectly.
options:
- label: This is a **bug**, not a question or an enhancement.
required: true
- label: I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
required: true
- label: I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
required: true
- label: I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
required: true
- type: textarea
id: repro-steps
attributes:
label: Steps to reproduce
description: |
What are the steps to reproduce this issue? Please be as specific as possible.
If you can't reproduce it, please add an explanation.
placeholder: |
1.
2.
3.
validations:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected behaviour
description: Tell us what should happen.
validations:
required: true
- type: textarea
id: actual-behaviour
attributes:
label: Actual behaviour
description: Tell us what happens instead, as detailed as possible.
validations:
required: true
# disabled because try.nextcloud.com is not working
# - type: dropdown
# id: repro-on-try
# attributes:
# label: Can you reproduce this problem on try.nextcloud.com?
# description: |
# 1. Create a demo account in [try.nextcloud.com](https://try.nextcloud.com). You'll be logged in automatically.
# 2. Got to Settings -> Security and create a new app password
# 3. Log in to this account with this app password by choosing "Alternative login with app token" during the login process.
# options:
# - "Yes"
# - "No"
# - Not applicable (explain in "additional information")
# validations:
# required: true
- type: markdown
attributes:
value: "## Environment information"
- type: input
id: android-version
attributes:
label: Android version
validations:
required: true
- type: input
id: device-model
attributes:
label: Device brand and model
validations:
required: true
- type: dropdown
id: stock-or-custom
attributes:
label: Stock or custom OS?
options:
- Stock
- Custom (explain in "additional information")
validations:
required: true
- type: input
id: app-version
attributes:
label: Nextcloud android app version
description: Check the _About_ section in the Settings screen
validations:
required: true
- type: input
id: server-version
attributes:
label: Nextcloud server version
description: Check _About_ in the top web menu (top right corner)
validations:
required: true
- type: dropdown
id: reverse-proxy
attributes:
label: Using a reverse proxy?
options:
- "I don't know"
- "Yes"
- "No"
validations:
required: true
- type: markdown
attributes:
value: "## Logs"
- type: textarea
id: android-logs
attributes:
label: Android logs
description: |
Please **drop a log file** here.
Log file can be obtained:
- At `storage/emulated/0/data/nextcloud.log` on beta or dev versions
- By using [`logcat`](https://github.com/nextcloud/android#getting-debug-info-via-logcat-mag) otherwise
If you are unable to post logs, explain why in "Additional information"
- type: textarea
id: server-logs
attributes:
label: Server error logs
description: Paste your server error logs here if available. Will be automatically formatted.
render: bash
- type: textarea
id: additional-info
attributes:
label: Additional information
description: Enter any additional information here
+5
View File
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Community Support and Help
url: https://help.nextcloud.com/
about: For questions and general help
+6
View File
@@ -6,6 +6,10 @@ on:
push:
branches: [ master, stable-* ]
permissions:
pull-requests: write
contents: write
jobs:
analysis:
runs-on: ubuntu-latest
@@ -17,10 +21,12 @@ jobs:
# push
echo "::set-output name=branch::$GITHUB_REF_NAME"
echo "::set-output name=pr::$GITHUB_RUN_ID"
echo "::set-output name=repo::${{ github.repository }}"
else
# pull request
echo "::set-output name=branch::$GITHUB_HEAD_REF"
echo "::set-output name=pr::${{ github.event.pull_request.number }}"
echo "::set-output name=repo::${{ github.event.pull_request.head.repo.full_name }}"
fi
- uses: actions/checkout@v3
with:
+3
View File
@@ -4,6 +4,9 @@ on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
jobs:
flavor:
runs-on: ubuntu-latest
+4 -1
View File
@@ -3,11 +3,14 @@ on:
pull_request_target:
branches: [ master, stable-* ]
permissions:
pull-requests: write
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.2.1
- uses: hmarr/auto-approve-action@v3.1.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
+4 -1
View File
@@ -4,13 +4,16 @@ on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
task: [ detekt, ktlintCheck ]
task: [ detekt, spotlessKotlinCheck ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
+8 -5
View File
@@ -2,12 +2,15 @@ name: "CodeQL"
on:
push:
branches: [ "master", "stable-*" ]
branches: [ "master", "main", "stable-*" ]
pull_request:
branches: [ "master" ]
branches: [ "master", "main" ]
schedule:
- cron: '24 18 * * 3'
permissions:
contents: read
jobs:
analyze:
name: Analyze
@@ -28,14 +31,14 @@ jobs:
with:
languages: ${{ matrix.language }}
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 11
- name: Assemble
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
mkdir -p "$HOME/.gradle"
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
./gradlew assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
+26 -9
View File
@@ -1,15 +1,32 @@
name: "Detect new java files"
on:
pull_request:
branches: [ master, stable-* ]
pull_request:
branches: [ master, main, stable-* ]
permissions: read-all
jobs:
detectNewJavaFiles:
runs-on: ubuntu-latest
detectNewJavaFiles:
runs-on: ubuntu-latest
steps:
- id: file_changes
uses: trilom/[email protected]
with:
output: ','
- name: Detect new java files
run: |
if [ -z '${{ steps.file_changes.outputs.files_added }}' ]; then
echo "No new files added"
exit 0
fi
new_java=$(echo '${{ steps.file_changes.outputs.files_added }}' | tr ',' '\n' | grep '\.java$' | cat)
if [ -n "$new_java" ]; then
# shellcheck disable=SC2016
printf 'New java files detected:\n```\n%s\n```\n' "$new_java" | tee "$GITHUB_STEP_SUMMARY"
exit 1
else
echo "No new java files detected"
exit 0
fi
steps:
- uses: trilom/[email protected]
- uses: actions/checkout@v2
- name: Detect new java files
run: scripts/analysis/detectNewJavaFiles.sh
+3
View File
@@ -4,6 +4,9 @@ on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
jobs:
detectSnapshot:
runs-on: ubuntu-latest
@@ -4,6 +4,9 @@ on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
jobs:
validation:
name: "Validation"
+5 -1
View File
@@ -4,6 +4,10 @@ on:
pull_request:
branches: [ master, stable-* ]
permissions:
pull-requests: write
contents: read
jobs:
qa:
runs-on: ubuntu-latest
@@ -39,4 +43,4 @@ jobs:
sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" app/build.gradle
./gradlew assembleQaDebug
$(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks app/build/outputs/apk/qa/debug/qa-debug-*.apk
sudo scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}}
scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}}
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v2.3.1
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v2.3.1
with:
name: SARIF file
path: results.sarif
+5 -1
View File
@@ -4,6 +4,10 @@ on:
pull_request:
branches: [ master, stable-* ]
permissions:
contents: read
pull-requests: write
jobs:
screenshot:
runs-on: macOS-latest
@@ -81,7 +85,7 @@ jobs:
run:
scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
- name: Archive Espresso results
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
+24 -16
View File
@@ -1,20 +1,28 @@
---
name: 'Close stale issues'
on:
schedule:
- cron: '* */2 * * *'
schedule:
- cron: '0 0 * * *'
# Declare default permissions as read only.
permissions: read-all
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
days-before-stale: 28
days-before-close: 14
days-before-pr-close: -1
only-labels: 'bug,needs info/discussion'
exempt-issue-labels: 'no-stale'
stale-issue-message: 'This bug report did not receive an update in the last 4 weeks.
Please take a look again and update the issue with new details,
otherwise the issue will be automatically closed in 2 weeks. Thank you!'
exempt-all-pr-milestones: true
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v6
with:
days-before-stale: 28
days-before-close: 14
days-before-pr-close: -1
only-labels: 'bug,needs info'
exempt-issue-labels: 'no-stale'
stale-issue-message: >-
This bug report did not receive an update in the last 4 weeks.
Please take a look again and update the issue with new details,
otherwise the issue will be automatically closed in 2 weeks. Thank you!
exempt-all-pr-milestones: true
+5 -1
View File
@@ -6,6 +6,10 @@ on:
push:
branches: [ master, stable-* ]
permissions:
contents: read
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
@@ -39,7 +43,7 @@ jobs:
fail_ci_if_error: true
- name: Upload jacoco artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb
with:
name: test-results
path: app/build/reports/tests/testGplayDebugUnitTest/
+4 -3
View File
@@ -1,9 +1,10 @@
[main]
host = https://www.transifex.com
[nextcloud.android]
[o:nextcloud:p:nextcloud:r:android]
file_filter = app/src/main/res/values-<lang>/strings.xml
source_file = app/src/main/res/values/strings.xml
type = ANDROID
source_lang = en
lang_map = af_ZA: af-rZA, am_ET: am-rET, ar_AE: ar-rAE, ar_BH: ar-rBH, ar_DZ: ar-rDZ, ar_EG: ar-rEG, ar_IQ: ar-rIQ, ar_JO: ar-rJO, ar_KW: ar-rKW, ar_LB: ar-rLB, ar_LY: ar-rLY, ar_MA: ar-rMA, ar_OM: ar-rOM, ar_QA: ar-rQA, ar_SA: ar-rSA, ar_SY: ar-rSY, ar_TN: ar-rTN, ar_YE: ar-rYE, arn_CL: arn-rCL, as_IN: as-rIN, az_AZ: az-rAZ, ba_RU: ba-rRU, be_BY: be-rBY, bg_BG: bg-rBG, bn_BD: bn-rBD, bn_IN: bn-rIN, bo_CN: bo-rCN, br_FR: br-rFR, bs_BA: bs-rBA, ca_ES: ca-rES, co_FR: co-rFR, cs_CZ: cs-rCZ, cy_GB: cy-rGB, da_DK: da-rDK, de_AT: de-rAT, de_CH: de-rCH, de_DE: de-rDE, de_LI: de-rLI, de_LU: de-rLU, dsb_DE: dsb-rDE, dv_MV: dv-rMV, el_GR: el-rGR, en_AU: en-rAU, en_BZ: en-rBZ, en_CA: en-rCA, en_GB: b+en+001, en_IE: en-rIE, en_IN: en-rIN, en_JM: en-rJM, en_MY: en-rMY, en_NZ: en-rNZ, en_PH: en-rPH, en_SG: en-rSG, en_TT: en-rTT, en_US: en-rUS, en_ZA: en-rZA, en_ZW: en-rZW, en@pirate: en-rpirate, es_AR: es-rAR, es_BO: es-rBO, es_CL: es-rCL, es_CO: es-rCO, es_CR: es-rCR, es_DO: es-rDO, es_EC: es-rEC, es_ES: es-rES, es_GT: es-rGT, es_HN: es-rHN, es_MX: es-rMX, es_NI: es-rNI, es_PA: es-rPA, es_PE: es-rPE, es_PR: es-rPR, es_PY: es-rPY, es_SV: es-rSV, es_419: b+es+419, es_UY: es-rUY, es_VE: es-rVE, et_EE: et-rEE, eu_ES: eu-rES, fa_IR: fa-rIR, fi_FI: fi-rFI, fil_PH: fil-rPH, fo_FO: fo-rFO, fr_BE: fr-rBE, fr_CA: fr-rCA, fr_CH: fr-rCH, fr_FR: fr-rFR, fr_LU: fr-rLU, fr_MC: fr-rMC, fy_NL: fy-rNL, ga_IE: ga-rIE, gd_GB: gd-rGB, gl_ES: gl-rES, gsw_FR: gsw-rFR, gu_IN: gu-rIN, ha_NG: ha-rNG, he: iw, he_IL: he-rIL, hi_IN: hi-rIN, hr_BA: hr-rBA, hr_HR: hr-rHR, hsb_DE: hsb-rDE, hu_HU: hu-rHU, hy_AM: hy-rAM, id: in, id_ID: id-rID, ig_NG: ig-rNG, ii_CN: ii-rCN, is_IS: is-rIS, it_CH: it-rCH, it_IT: it-rIT, iu_CA: iu-rCA, ja_JP: ja-rJP, ka_GE: ka-rGE, kk_KZ: kk-rKZ, kl_GL: kl-rGL, km_KH: km-rKH, kn_IN: kn-rIN, ko_KR: ko-rKR, kok_IN: kok-rIN, ku_IQ: ku-rIQ, ky_KG: ky-rKG, lb_LU: lb-rLU, lo_LA: lo-rLA, lt_LT: lt-rLT, lv_LV: lv-rLV, mi_NZ: mi-rNZ, mk_MK: mk-rMK, ml_IN: ml-rIN, mn_CN: mn-rCN, mn_MN: mn-rMN, moh_CA: moh-rCA, mr_IN: mr-rIN, ms_BN: ms-rBN, ms_MY: ms-rMY, my_MM: my, mt_MT: mt-rMT, nb_NO: nb-rNO, ne_NP: ne-rNP, nl_BE: nl-rBE, nl_NL: nl-rNL, nn_NO: nn-rNO, nso_ZA: nso-rZA, oc_FR: oc-rFR, or_IN: or-rIN, pa_IN: pa-rIN, pl_PL: pl-rPL, prs_AF: prs-rAF, ps_AF: ps-rAF, pt_BR: pt-rBR, pt_PT: pt-rPT, qut_GT: qut-rGT, quz_BO: quz-rBO, quz_EC: quz-rEC, quz_PE: quz-rPE, rm_CH: rm-rCH, ro_RO: ro-rRO, ru_RU: ru-rRU, rw_RW: rw-rRW, sa_IN: sa-rIN, sah_RU: sah-rRU, se_FI: se-rFI, se_NO: se-rNO, se_SE: se-rSE, si_LK: si-rLK, sk_SK: sk-rSK, sl_SI: sl-rSI, sma_NO: sma-rNO, sma_SE: sma-rSE, smj_NO: smj-rNO, smj_SE: smj-rSE, smn_FI: smn-rFI, sms_FI: sms-rFI, sq_AL: sq-rAL, sr_BA: sr-rBA, sr_CS: sr-rCS, sr_ME: sr-rME, sr_RS: sr-rRS, sr@latin: sr-rSP, sv_FI: sv-rFI, sv_SE: sv-rSE, sw_KE: sw-rKE, syr_SY: syr-rSY, ta_IN: ta-rIN, ta_LK: ta-rLK, te_IN: te-rIN, tg_TJ: tg-rTJ, th_TH: th-rTH, tk_TM: tk-rTM, tn_ZA: tn-rZA, tr_TR: tr-rTR, tt_RU: tt-rRU, tzm_DZ: tzm-rDZ, ug_CN: ug-rCN, uk_UA: uk-rUA, ur_PK: ur-rPK, uz_UZ: uz-rUZ, vi_VN: vi-rVN, wo_SN: wo-rSN, xh_ZA: xh-rZA, yo_NG: yo-rNG, zh_CN: zh-rCN, zh_CN.GB2312:zh-rBG, zh_HK: zh-rHK, zh_MO: zh-rMO, zh_SG: zh-rSG, zh_TW: zh-rTW, zu_ZA: zu-rZA
type = ANDROID
lang_map = en_SG: en-rSG, es_PA: es-rPA, mr_IN: mr-rIN, cs_CZ: cs-rCZ, vi_VN: vi-rVN, fr_MC: fr-rMC, it_CH: it-rCH, ta_LK: ta-rLK, kk_KZ: kk-rKZ, mn_CN: mn-rCN, mt_MT: mt-rMT, sma_SE: sma-rSE, si_LK: si-rLK, pl_PL: pl-rPL, de_AT: de-rAT, ii_CN: ii-rCN, hi_IN: hi-rIN, ar_BH: ar-rBH, ar_JO: ar-rJO, es_NI: es-rNI, quz_BO: quz-rBO, sr_CS: sr-rCS, es_CO: es-rCO, es_GT: es-rGT, ml_IN: ml-rIN, rm_CH: rm-rCH, zh_CN.GB2312: zh-rBG, hr_BA: hr-rBA, se_FI: se-rFI, tn_ZA: tn-rZA, tzm_DZ: tzm-rDZ, en_ZA: en-rZA, es_419: b+es+419, en_IN: en-rIN, my_MM: my, se_NO: se-rNO, am_ET: am-rET, arn_CL: arn-rCL, en_MY: en-rMY, es_HN: es-rHN, es_UY: es-rUY, en_AU: en-rAU, id: in, ku_IQ: ku-rIQ, pt_BR: pt-rBR, xh_ZA: xh-rZA, co_FR: co-rFR, en_BZ: en-rBZ, ha_NG: ha-rNG, or_IN: or-rIN, dsb_DE: dsb-rDE, fo_FO: fo-rFO, fr_CA: fr-rCA, ky_KG: ky-rKG, ar_LB: ar-rLB, es_AR: es-rAR, is_IS: is-rIS, ar_KW: ar-rKW, en_GB: b+en+001, fy_NL: fy-rNL, ar_QA: ar-rQA, hy_AM: hy-rAM, mn_MN: mn-rMN, nl_BE: nl-rBE, ar_OM: ar-rOM, as_IN: as-rIN, cy_GB: cy-rGB, he: iw, it_IT: it-rIT, nso_ZA: nso-rZA, ba_RU: ba-rRU, wo_SN: wo-rSN, lb_LU: lb-rLU, quz_EC: quz-rEC, uz_UZ: uz-rUZ, zh_TW: zh-rTW, ar_MA: ar-rMA, es_CL: es-rCL, es_VE: es-rVE, da_DK: da-rDK, et_EE: et-rEE, af_ZA: af-rZA, en@pirate: en-rpirate, ga_IE: ga-rIE, kok_IN: kok-rIN, ur_PK: ur-rPK, tg_TJ: tg-rTJ, ne_NP: ne-rNP, es_CR: es-rCR, fil_PH: fil-rPH, fr_CH: fr-rCH, gl_ES: gl-rES, se_SE: se-rSE, sr_BA: sr-rBA, es_DO: es-rDO, ms_MY: ms-rMY, oc_FR: oc-rFR, syr_SY: syr-rSY, ug_CN: ug-rCN, en_CA: en-rCA, en_JM: en-rJM, ko_KR: ko-rKR, be_BY: be-rBY, zh_HK: zh-rHK, nb_NO: nb-rNO, fi_FI: fi-rFI, fr_FR: fr-rFR, ar_SA: ar-rSA, az_AZ: az-rAZ, he_IL: he-rIL, zh_CN: zh-rCN, bn_BD: bn-rBD, el_GR: el-rGR, en_PH: en-rPH, sr@latin: sr-rSP, br_FR: br-rFR, ta_IN: ta-rIN, hu_HU: hu-rHU, lt_LT: lt-rLT, ar_AE: ar-rAE, en_ZW: en-rZW, ar_TN: ar-rTN, ka_GE: ka-rGE, en_TT: en-rTT, mi_NZ: mi-rNZ, zu_ZA: zu-rZA, fa_IR: fa-rIR, fr_LU: fr-rLU, lo_LA: lo-rLA, ms_BN: ms-rBN, rw_RW: rw-rRW, sl_SI: sl-rSI, tt_RU: tt-rRU, de_LI: de-rLI, es_EC: es-rEC, ps_AF: ps-rAF, id_ID: id-rID, smn_FI: smn-rFI, bg_BG: bg-rBG, lv_LV: lv-rLV, te_IN: te-rIN, iu_CA: iu-rCA, sms_FI: sms-rFI, es_PE: es-rPE, gd_GB: gd-rGB, hr_HR: hr-rHR, moh_CA: moh-rCA, smj_SE: smj-rSE, ar_LY: ar-rLY, de_LU: de-rLU, es_BO: es-rBO, sq_AL: sq-rAL, ar_SY: ar-rSY, tr_TR: tr-rTR, sr_RS: sr-rRS, sv_SE: sv-rSE, kl_GL: kl-rGL, quz_PE: quz-rPE, de_DE: de-rDE, sv_FI: sv-rFI, tk_TM: tk-rTM, bo_CN: bo-rCN, gsw_FR: gsw-rFR, pt_PT: pt-rPT, dv_MV: dv-rMV, uk_UA: uk-rUA, ar_YE: ar-rYE, zh_SG: zh-rSG, sw_KE: sw-rKE, en_IE: en-rIE, en_US: en-rUS, es_SV: es-rSV, qut_GT: qut-rGT, th_TH: th-rTH, ar_DZ: ar-rDZ, gu_IN: gu-rIN, kn_IN: kn-rIN, mk_MK: mk-rMK, es_MX: es-rMX, ig_NG: ig-rNG, smj_NO: smj-rNO, bn_IN: bn-rIN, de_CH: de-rCH, sk_SK: sk-rSK, es_PR: es-rPR, yo_NG: yo-rNG, sma_NO: sma-rNO, sa_IN: sa-rIN, en_NZ: en-rNZ, ja_JP: ja-rJP, pa_IN: pa-rIN, es_PY: es-rPY, nn_NO: nn-rNO, ar_EG: ar-rEG, bs_BA: bs-rBA, eu_ES: eu-rES, fr_BE: fr-rBE, km_KH: km-rKH, ru_RU: ru-rRU, sah_RU: sah-rRU, ca_ES: ca-rES, sr_ME: sr-rME, ro_RO: ro-rRO, prs_AF: prs-rAF, zh_MO: zh-rMO, es_ES: es-rES, hsb_DE: hsb-rDE, nl_NL: nl-rNL, ar_IQ: ar-rIQ
+73
View File
@@ -1,3 +1,76 @@
## 3.23.0 (December 1, 2022)
- File actions menu redesign
- Allow adding shortcuts to Home screen (@newhinton)
- Many bugfixes and performance optimizations
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/74
## 3.22.3 (November 3, 2022)
- Bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/76
## 3.22.2 (October 24, 2022)
- Bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/75
## 3.22.1 (October 20, 2022)
- Bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/73
## 3.22.0 (October 19, 2022)
- Material 3 UI revamp
- Dashboard widgets for Android launcher
- New tiled design for media view
- Many bugfixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/70
## 3.21.2 (September 1, 2022)
- Bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
## 3.21.1 (August 26, 2022)
- Bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/72
## 3.21.0 (August 8, 2022)
- Fast scroll for all lists
- Media view
- Group photos as timeline by month
- Filter options
- File locking
- File export to sdcard
- Many bugfixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/66
## 3.20.3 (June 13th, 2022)
- Minor bug fixes
+16
View File
@@ -407,6 +407,22 @@ and thereof we'd ask contributors to be mindful of their code testability:
should at least not make future efforts more challenging
3. whenever possible, testability should be improved even if the code is not covered by tests
### Performance
If you're interested in improving the app's performance, please check the [official documentation](https://developer.android.com/topic/performance)
for ways you can inspect and improve performance.
For additional analysis, set the `perfAnalysis` property
in your Gradle build:
```shell
./gradlew installGplayDebug -P perfAnalysis
```
This will install the app with [LeakCanary](https://square.github.io/leakcanary/) and
[StrictMode](https://developer.android.com/reference/android/os/StrictMode) enabled and configured.
These tools can help find memory leaks, foreground operations that should be in background, and other performance
problems.
# Releases
At the moment we are releasing the app in two app stores:
+28 -28
View File
@@ -8,16 +8,16 @@ GEM
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.582.0)
aws-sdk-core (3.130.2)
aws-partitions (1.604.0)
aws-sdk-core (3.131.2)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.56.0)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.57.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.113.2)
aws-sdk-s3 (1.114.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
@@ -56,8 +56,8 @@ GEM
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.3)
multipart-post (>= 1.2, < 3)
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
@@ -66,7 +66,7 @@ GEM
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.2.6)
fastlane (2.205.2)
fastlane (2.207.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
@@ -105,11 +105,11 @@ GEM
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-huawei_appgallery_connect (1.0.19)
fastlane-plugin-huawei_appgallery_connect (1.0.23)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.19.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-core (0.4.2)
google-apis-androidpublisher_v3 (0.25.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-core (0.7.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
@@ -118,19 +118,19 @@ GEM
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.10.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-playcustomapp_v1 (0.7.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-storage_v1 (0.13.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-iamcredentials_v1 (0.13.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-playcustomapp_v1 (0.10.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-storage_v1 (0.18.0)
google-apis-core (>= 0.7, < 2.a)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.2.0)
google-cloud-storage (1.36.2)
google-cloud-storage (1.37.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
@@ -138,7 +138,7 @@ GEM
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
googleauth (1.1.3)
googleauth (1.2.0)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
@@ -146,12 +146,12 @@ GEM
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.4)
http-cookie (1.0.5)
domain_name (~> 0.5)
httpclient (2.8.3)
jmespath (1.6.1)
json (2.6.1)
jwt (2.3.0)
json (2.6.2)
jwt (2.4.1)
memoist (0.16.2)
mini_magick (4.11.0)
mini_mime (1.1.2)
@@ -164,7 +164,7 @@ GEM
plist (3.6.0)
public_suffix (4.0.7)
rake (13.0.6)
representable (3.1.1)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
@@ -174,9 +174,9 @@ GEM
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.3)
signet (0.16.1)
signet (0.17.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.0)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.8)
@@ -193,11 +193,11 @@ GEM
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.1)
unf_ext (0.0.8.2)
unicode-display_width (1.8.0)
webrick (1.7.0)
word_wrap (1.0.0)
xcodeproj (1.21.0)
xcodeproj (1.22.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
+37 -32
View File
@@ -1,24 +1,25 @@
# [Nextcloud](https://nextcloud.com) Android app :iphone:
[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=nextcloud/android&amp;utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com\&utm_medium=referral\&utm_content=nextcloud/android\&utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png"
alt="Download from Google Play"
height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client)
alt="Download from Google Play"
height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client)
[<img src="https://f-droid.org/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/com.nextcloud.client/)
alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/com.nextcloud.client/)
**The Android client for [Nextcloud](https://nextcloud.com). Easily work with your data on your Nextcloud.**
![App screenshots](/doc/Nextcloud_Android_Screenshots.png "App screenshots")
## How to contribute :rocket:
If you want to [contribute](https://nextcloud.com/contribute/) to Nextcloud, you are very welcome:
- our forum at https://help.nextcloud.com
- for translations of the app on [Transifex](https://www.transifex.com/nextcloud/nextcloud/android/)
- opening issues and PRs (including a corresponding issue)
If you want to [contribute](https://nextcloud.com/contribute/) to Nextcloud, you are very welcome:
* our forum at https://help.nextcloud.com
* for translations of the app on [Transifex](https://www.transifex.com/nextcloud/nextcloud/android/)
* opening issues and PRs (including a corresponding issue)
## Contribution Guidelines & License :scroll:
@@ -26,53 +27,57 @@ If you want to [contribute](https://nextcloud.com/contribute/) to Nextcloud, you
Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:
```
@copyright Copyright (c) <year>, <your name> (<your email address>)
```
@copyright Copyright (c) <year>, <your name> (<your email address>)
Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.
Please review the [guidelines for contributing](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md) to this repository.
More information how to contribute: [https://nextcloud.com/contribute/](https://nextcloud.com/contribute/)
More information on how to contribute: <https://nextcloud.com/contribute/>
## Start contributing :hammer\_and\_wrench:
## Start contributing :hammer_and_wrench:
Make sure you read [SETUP.md](https://github.com/nextcloud/android/blob/master/SETUP.md) and [CONTRIBUTING.md](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md) before you start working on this project. But basically: fork this repository and contribute back using pull requests to the master branch.
Easy starting points are also reviewing [pull requests](https://github.com/nextcloud/android/pulls) and working on [starter issues](https://github.com/nextcloud/android/issues?q=is%3Aopen+is%3Aissue+label%3A%22starter+issue%22).
### Getting debug info via logcat :mag:
#### With a linux computer:
- enable USB-Debugging in your smartphones developer settings and connect it via USB
- open command prompt/terminal
- enter `adb logcat | grep "$(adb shell ps | awk '/com.nextcloud.client/{print $2}')" > logcatOutput.txt` to save the output to this file
* enable USB-Debugging in your smartphones developer settings and connect it via USB
* open command prompt/terminal
* enter `adb logcat --pid=$(adb shell pidof -s 'com.nextcloud.client') > logcatOutput.txt` to save the output to this file
**Note:** You must have [adb](https://developer.android.com/studio/releases/platform-tools.html) installed first!
#### On Windows:
- download and install [Minimal ADB and fastboot](https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/#post-42407269)
- enable USB-Debugging in your smartphones developer settings and connect it via USB
- launch Minimal ADB and fastboot
- enter `adb shell ps | findstr com.nextcloud.client` and use the second place of this output (it is the first integer, e.g. `18841`) as processID in the following command:
- `adb logcat | findstr <processID> > %HOMEPATH%\Downloads\logcatOutput.txt` (This will produce a logcatOutput.txt file in your downloads)
- if the processID is 18841, an example command is: `adb logcat | findstr 18841 > %HOMEPATH%\Downloads\logcatOutput.txt` (You might cancel the process after a while manually: it will not be exited automatically.)
* download and install [Minimal ADB and fastboot](https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/#post-42407269)
* enable USB-Debugging in your smartphones developer settings and connect it via USB
* launch Minimal ADB and fastboot
* enter `adb shell pidof -s 'com.nextcloud.client'` and use the output as `<processID>` in the following command:
* `adb logcat --pid=<processID> > "%USERPROFILE%\Downloads\logcatOutput.txt"` (This will produce a `logcatOutput.txt` file in your downloads)
* if the processID is `18841`, an example command is: `adb logcat --pid=18841 > "%USERPROFILE%\Downloads\logcatOutput.txt"` (You might cancel the process after a while manually: it will not be exited automatically.)
* For a PowerShell terminal, replace `%USERPROFILE%` with `$env:USERPROFILE` in the commands above.
#### On a device (with root) :wrench:
- open terminal app *(can be enabled in developer options)*
- get root access via "su"
- enter `logcat -d -f /sdcard/logcatOutput.txt`
- you will have to filter the output manually, as above approach is not working on device
or
* open terminal app *(can be enabled in developer options)*
* get root access via "su"
* enter `logcat -d --pid $(pidof -s com.nextcloud.client) -f /sdcard/logcatOutput.txt`
- use [CatLog](https://play.google.com/store/apps/details?id=com.nolanlawson.logcat) or [aLogcat](https://play.google.com/store/apps/details?id=org.jtb.alogcat)
or
* use [CatLog](https://play.google.com/store/apps/details?id=com.nolanlawson.logcat) or [aLogcat](https://play.google.com/store/apps/details?id=org.jtb.alogcat)
**Note:** Your device needs to be rooted for this approach!
## Development version :hammer:
- [APK (direct download)](https://download.nextcloud.com/android/dev/latest.apk)
- [F-Droid](https://f-droid.org/en/packages/com.nextcloud.android.beta/)
## Support :rescue_worker_helmet:
* [APK (direct download)](https://download.nextcloud.com/android/dev/latest.apk)
* [F-Droid](https://f-droid.org/en/packages/com.nextcloud.android.beta/)
## Support :rescue\_worker\_helmet:
If you need assistance or want to ask a question about the Android app, you are welcome to [ask for support](https://help.nextcloud.com/c/clients/android) in our Forums. If you have found a bug, feel free to [open a new Issue on GitHub](https://github.com/nextcloud/android/issues). Keep in mind, that this repository only manages the Android app. If you find bugs or have problems with the server/backend, you should ask the [Nextcloud server team](https://github.com/nextcloud/server) for help!
+67 -50
View File
@@ -3,20 +3,23 @@ import org.gradle.internal.jvm.Jvm
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle:7.3.1'
classpath 'com.hiya:jacoco-android:0.2'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.8'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.13'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.20.0"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
classpath 'com.karumi:shot:5.14.1'
classpath "org.jacoco:org.jacoco.core:$jacoco_version"
classpath "org.jacoco:org.jacoco.report:$jacoco_version"
classpath "org.jacoco:org.jacoco.agent:$jacoco_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.3.0"
}
}
plugins {
id "com.diffplug.spotless" version "6.12.0"
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
@@ -28,7 +31,6 @@ apply plugin: 'com.hiya.jacoco-android'
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
apply plugin: "org.jlleitschuh.gradle.ktlint"
println "Gradle uses Java ${Jvm.current()}"
@@ -56,7 +58,7 @@ configurations.configureEach {
// semantic versioning for version code
def versionMajor = 3
def versionMinor = 21
def versionMinor = 24
def versionPatch = 0
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
@@ -67,17 +69,31 @@ file("$project.rootDir/ndk.env").readLines().each() {
ndkEnv.put(key, value)
}
def perfAnalysis = project.hasProperty('perfAnalysis')
android {
compileSdkVersion 31
compileSdkVersion 32
// install this NDK version and Cmake to produce smaller APKs. Build will still work if not installed
ndkVersion "${ndkEnv.get("NDK_VERSION")}"
namespace 'com.owncloud.android'
testNamespace "${namespace}.test"
defaultConfig {
minSdkVersion 23
targetSdkVersion 30
targetSdkVersion 31
buildConfigField 'boolean', 'CI', ciBuild.toString()
buildConfigField 'boolean', 'RUNTIME_PERF_ANALYSIS', perfAnalysis.toString()
javaCompileOptions {
annotationProcessorOptions {
arguments += ["room.schemaLocation": "$projectDir/schemas".toString()]
}
}
// arguments to be passed to functional tests
testInstrumentationRunner "com.nextcloud.client.ScreenshotTestRunner"
@@ -105,7 +121,7 @@ android {
buildTypes {
debug {
testCoverageEnabled (project.hasProperty('coverage'))
testCoverageEnabled(project.hasProperty('coverage'))
}
}
@@ -141,6 +157,7 @@ android {
}
}
testOptions {
unitTests.returnDefaultValues = true
animationsDisabled true
@@ -151,7 +168,8 @@ android {
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
packagingOptions {
resources {
excludes += ['META-INF/LICENSE.txt', 'META-INF/LICENSE']
excludes += 'META-INF/LICENSE*'
pickFirst 'MANIFEST.MF' // workaround for duplicated manifest on some dependencies
}
}
@@ -185,7 +203,7 @@ android {
}
}
check.dependsOn 'checkstyle', 'spotbugsGplayDebug', 'pmd', 'lint', 'ktlintCheck', 'detekt'
check.dependsOn 'checkstyle', 'spotbugsGplayDebug', 'pmd', 'lint', 'spotlessKotlinCheck', 'detekt'
buildFeatures {
dataBinding true
@@ -210,7 +228,7 @@ dependencies {
// dependencies for app building
implementation 'androidx.multidex:multidex:2.0.1'
// implementation project('nextcloud-android-library')
implementation ("com.github.nextcloud:android-library:$androidLibraryVersion") {
implementation("com.github.nextcloud:android-library:$androidLibraryVersion") {
exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
}
@@ -219,44 +237,43 @@ dependencies {
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5' // remove after entire switch to lib v2
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.6.1'
implementation 'com.google.android.material:material:1.7.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'androidx.webkit:webkit:1.4.0'
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'androidx.webkit:webkit:1.5.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.3.3'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1"
implementation 'androidx.exifinterface:exifinterface:1.3.5'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
implementation "androidx.work:work-runtime:$workRuntime"
implementation "androidx.work:work-runtime-ktx:$workRuntime"
implementation "androidx.fragment:fragment-ktx:1.4.1"
implementation "androidx.fragment:fragment-ktx:1.5.4"
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
compileOnly 'com.google.code.findbugs:annotations:3.0.1u2'
implementation 'commons-io:commons-io:2.11.0'
implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
implementation 'org.lukhnos:nnio:0.2'
implementation 'org.bouncycastle:bcpkix-jdk15to18:1.70'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.github.nextcloud:sectioned-recyclerview:0.6.1'
implementation 'org.bouncycastle:bcpkix-jdk15to18:1.72'
implementation 'com.google.code.gson:gson:2.10'
implementation 'com.github.nextcloud-deps:sectioned-recyclerview:0.6.1'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24'
implementation 'com.github.nextcloud:qrcodescanner:0.1.2.4' // 'com.github.blikoon:QRCodeScanner:0.1.2'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.25'
implementation 'com.github.nextcloud-deps:qrcodescanner:0.1.2.4' // 'com.github.blikoon:QRCodeScanner:0.1.2'
implementation 'com.google.android.flexbox:flexbox:3.0.0'
implementation('com.github.bumptech.glide:glide:3.8.0') {
exclude group: "com.android.support"
}
implementation 'com.caverock:androidsvg:1.4'
implementation 'androidx.annotation:annotation:1.3.0'
implementation 'com.vanniktech:emoji-google:0.15.0'
implementation 'androidx.annotation:annotation:1.5.0'
implementation 'com.vanniktech:emoji-google:0.9.0'
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido:$fidoVersion"
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido2:$fidoVersion"
implementation "com.github.nextcloud-deps.hwsecurity:hwsecurity-fido:$fidoVersion"
implementation "com.github.nextcloud-deps.hwsecurity:hwsecurity-fido2:$fidoVersion"
// document scanner not available on FDroid (generic) due to OpenCV binaries
gplayImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
huaweiImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
qaImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
versionDevImplementation "com.github.zynkware:Document-Scanning-Android-SDK:$documentScannerVersion"
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.12.0'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
@@ -273,7 +290,7 @@ dependencies {
implementation "com.google.android.exoplayer:extension-okhttp:$exoplayerVersion"
implementation 'me.zhanghai.android.fastscroll:library:1.1.8'
// Shimmer animation
implementation 'io.github.elye:loaderviewlibrary:3.0.0'
@@ -288,21 +305,21 @@ dependencies {
implementation "io.noties:prism4j:$prismVersion"
kapt "io.noties:prism4j-bundler:$prismVersion"
implementation ('org.mnode.ical4j:ical4j:1.0.8') {
['org.apache.commons','commons-logging'].each {
implementation('org.mnode.ical4j:ical4j:3.0.0') {
['org.apache.commons', 'commons-logging'].each {
exclude group: "$it"
}
}
if (project.hasProperty("leakCanary")) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1'
if (perfAnalysis) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
}
// dependencies for local unit tests
testImplementation 'junit:junit:4.13.2'
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "androidx.test:core:$androidxTestVersion"
testImplementation 'org.json:json:20220320'
testImplementation 'org.json:json:20220924'
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
testImplementation 'androidx.arch.core:core-testing:2.1.0'
testImplementation "io.mockk:mockk:$mockkVersion"
@@ -310,7 +327,7 @@ dependencies {
// dependencies for instrumented tests
// JUnit4 Rules
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
androidTestImplementation "androidx.test:rules:$androidxTestVersion"
// Android JUnit Runner
androidTestImplementation "androidx.test:runner:$androidxTestVersion"
@@ -328,11 +345,7 @@ dependencies {
androidTestImplementation 'com.github.tmurakami:dexopener:2.0.5' // required to allow mocking on API 27 and older
androidTestImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
androidTestImplementation "org.mockito:mockito-core:$mockitoVersion"
androidTestImplementation("org.mockito:mockito-android:$mockitoVersion") {
exclude group: "net.bytebuddy", module: "byte-buddy-android"
}
androidTestImplementation "net.bytebuddy:byte-buddy:$byteBuddyVersion"
androidTestImplementation "net.bytebuddy:byte-buddy-android:$byteBuddyVersion"
androidTestImplementation("org.mockito:mockito-android:$mockitoVersion")
androidTestImplementation "io.mockk:mockk-android:$mockkVersion"
androidTestImplementation 'androidx.arch.core:core-testing:2.0.1'
androidTestImplementation "com.facebook.testing.screenshot:core:0.15.0"
@@ -347,11 +360,17 @@ dependencies {
implementation "com.github.stateless4j:stateless4j:2.6.0"
// upon each update first test: new registration, receive push
gplayImplementation "com.google.firebase:firebase-messaging:23.0.5"
gplayImplementation "com.google.firebase:firebase-messaging:23.1.0"
implementation 'com.github.nextcloud.android-common:ui:0.3.0'
implementation "androidx.room:room-runtime:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
}
configurations.all {
resolutionStrategy{
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
force 'org.objenesis:objenesis:2.6'
eachDependency { details ->
@@ -360,7 +379,6 @@ configurations.all {
}
}
}
}
tasks.withType(Test) {
@@ -376,12 +394,11 @@ android.applicationVariants.all { variant ->
}
}
task installGitHooks(type: Copy, group: "development") {
description = "Install git hooks"
from("${project.rootDir}/scripts/hooks") {
include '*'
spotless {
kotlin {
target "**/*.kt"
ktlint()
}
into "${project.rootDir}/.git/hooks"
}
detekt {
@@ -397,7 +414,7 @@ shot {
showOnlyFailingTestsInReports = ciBuild
// CI environment renders some shadows slightly different from local VMs
// Add a 0.5% tolerance to account for that
tolerance = ciBuild ? 0.5: 0
tolerance = ciBuild ? 0.5 : 0
}
jacoco {
@@ -410,7 +427,7 @@ spotbugs {
reportLevel = "medium"
}
tasks.withType(SpotBugsTask){task ->
tasks.withType(SpotBugsTask) { task ->
String variantNameCap = task.name.replace("spotbugs", "")
String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Loaded 100 of 623 files, more files were not shown because too many files have changed in this diff. Show more