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 31c84d57e9 Merge pull request #10385 from nextcloud/account-culling
Migrate Account to User in some APIs
2022-06-14 21:32:49 +02:00
Álvaro Brey 84aa239c9a Merge pull request #10391 from nextcloud/updateSharIcon
Update share icon when sharing link directly
2022-06-14 21:24:11 +02:00
Álvaro Brey 64998aca10 Merge pull request #10386 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.8
Bump spotbugs-gradle-plugin from 5.0.7 to 5.0.8
2022-06-14 21:20:20 +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
Álvaro Brey 17ebc23621 Merge pull request #10377 from nextcloud/groupfolderCannotBeEncrypted
Groupfolders cannot be encrypted
2022-06-14 16:00:36 +02:00
tobiasKaminsky d971bc849c Update share icon when sharing link directly
Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-14 08:46:20 +02:00
Tobias Kaminsky 8db4536941 Merge pull request #10382 from nextcloud/changelog-master-stable-3.20.3
Add changelog for 3.20.3
2022-06-14 07:23:59 +02:00
Nextcloud bot 9a1158d5a0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-14 04:18:12 +00:00
dependabot[bot] 9de14a7fbd Bump spotbugs-gradle-plugin from 5.0.7 to 5.0.8
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.7 to 5.0.8.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.7...5.0.8)

---
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-14 01:09:42 +00:00
Chris Narkiewicz edc8149c1f Migrate Account to User in some APIs
Migrate remaining Account uses to User model when it was
possible without wider refactoring.

Signed-off-by: Chris Narkiewicz <[email protected]>
2022-06-13 23:37:16 +01: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
Álvaro Brey 24ab566d3b Add changelog for 3.20.3
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-13 16:18:02 +02:00
tobiasKaminsky 60757a1853 Groupfolders cannot be encrypted
added test showing folder types

Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-13 16:17:28 +02:00
Tobias Kaminsky 7854d48559 Merge pull request #10367 from nextcloud/moveMD5
move md5 function to tests, as md5 should never be used is production
2022-06-13 14:38:10 +02:00
Álvaro Brey 42e79cb176 Merge pull request #10313 from nextcloud/chore/detekt-cleanup-again
Fix last remaining unsuppressed detekt issues
2022-06-13 14:31:07 +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
Tobias Kaminsky fcbbd45ec7 Merge pull request #10379 from nextcloud/repo-sync/android-common/master
🔄 Synced file(s) with nextcloud/android-common
2022-06-13 13:40:44 +02:00
Álvaro Brey e2ea977288 Lower detekt maxIssues to 0
Finally no more issues!

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-13 10:51:38 +00:00
Álvaro Brey 43215a0833 FileDetailsSharingProcessFragment: clean up last detekt issues
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-13 10:51:38 +00:00
Álvaro Brey 29bf03a4e4 Merge pull request #10376 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2022-06-13 12:27:17 +02:00
Álvaro Brey 1917729598 Remove duplicated codeql analysis workflow
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-13 12:06:42 +02:00
nextcloud-android-bot aa40ba3d5c 🔄 Synced local '.github/workflows/' with remote 'config/workflows/' 2022-06-13 10:03:55 +00:00
Álvaro Brey e9c30584a7 runCombinedTest: remove leftover debug flags
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-13 12:00:44 +02:00
Nextcloud bot c56ccc8363 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-12 04:18:20 +00:00
Nextcloud bot 14ca116b86 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-11 15:15:00 +00: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
Álvaro Brey d432c8e46f Merge pull request #10359 from nextcloud/enterCreatedFolder
When copy/move a file and creating a new folder we now go directly into this freshly created folder
2022-06-10 15:58:52 +02:00
Álvaro Brey 0f8a5b1bf3 Merge pull request #10353 from nextcloud/fix/invalid-folder-no-mediascan
FileDataStorageManager: don't add files to media scan in android 11+
2022-06-10 15:56:40 +02:00
Álvaro Brey ede4790927 Merge pull request #10352 from nextcloud/fix/oob-gallery-scroll
GalleryFastScrollViewHelper: fix index out of bounds in getScrollOffset
2022-06-10 13:59:59 +02:00
tobiasKaminsky ffdb26b4be move md5 function to tests, as md5 should never be used is production
Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-10 07:57:44 +02:00
Tobias Kaminsky 8b79aa17f4 Merge pull request #10364 from nextcloud/changelog-master-stable-3.20.2
Add changelog for 3.20.2
2022-06-10 07:10:52 +02:00
Tobias Kaminsky c8e720a4d9 Merge pull request #9356 from nextcloud/tobiasKaminsky-patch-2
Create codeql-analysis.yml
2022-06-10 06:51:53 +02:00
tobiasKaminsky d536b9fea7 Add changelog for 3.20.2
Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-09 15:55:26 +02:00
Tobias KaminskyandÁlvaro Brey 451694d0fb Update .github/workflows/codeql-analysis.yml
Co-authored-by: Álvaro Brey <[email protected]>
2022-06-09 12:48:30 +02:00
Álvaro Brey e644b12aee Merge pull request #10355 from nextcloud/fix/synced-folders-adapter-performance
SyncedFoldersActivity: don't refresh entire adapter when toggling a folder from dialog
2022-06-09 11:44:07 +02:00
Álvaro Brey Vilas b94c776d6e CodeQL: format file and remove extra comments
[skip ci]

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-06-09 08:35:21 +00:00
Álvaro Brey Vilas 81d8cafa02 CodeQL: setup JDK for build
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-06-09 08:35:21 +00:00
Álvaro Brey Vilas 9bc615a287 CodeQL: do not use autobuild
Fails for android projects

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-06-09 08:35:21 +00:00
Tobias Kaminsky 51dc293fab Update codeql-analysis.yml 2022-06-09 08:35:21 +00:00
Tobias Kaminsky 9684b0172d Create codeql-analysis.yml 2022-06-09 08:35:21 +00:00
Tobias Kaminsky 266e45b098 Merge pull request #10343 from nextcloud/fix/community-report
Use different link for automated bugreport and manual report
2022-06-09 09:50:52 +02:00
tobiasKaminsky 67cb25a603 When copy/move a file and creating a new folder we now go directly into this freshly created folder
Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-09 09:12:32 +02:00
Nextcloud bot 5538a5e734 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-09 04:22:28 +00:00
github-actions bf0a884e54 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2022-06-08 15:35:45 +00:00
Álvaro Brey fb4eaf11ff SyncedFoldersActivity: don't refresh entire adapter when toggling a folder from dialog
It's enough to refresh its header, and it doesn't have to refresh all pictures

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-08 16:54:20 +02:00
Álvaro Brey affe52e49a Merge pull request #10315 from nextcloud/dependabot/gradle/com.google.android.material-material-1.6.1
Bump material from 1.6.0 to 1.6.1
2022-06-08 13:18:22 +02:00
Álvaro Brey 306bcb09ef Merge pull request #10348 from nextcloud/file-uploader-downloader-migration-to-user
Migrate some FileUploader and FileDownloader APIs to User
2022-06-08 09:38:50 +02:00
Nextcloud bot f6bb42141e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-08 04:24:38 +00:00
dependabot[bot] 4d0db55318 Bump material from 1.6.0 to 1.6.1
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.0...1.6.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-08 01:05:20 +00:00
Chris Narkiewicz 1d81a705bf Migrate some FileUploader and FileDownloader APIs to User
Signed-off-by: Chris Narkiewicz <[email protected]>
2022-06-07 20:56:43 +01:00
Álvaro Brey c9933d558e FileDataStorageManager: don't add files to media scan in android 11+
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-07 10:20:17 +02:00
Álvaro Brey 301d9ae9a9 GalleryFastScrollViewHelper: fix index out of bounds in getScrollOffset
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-07 10:03:12 +02:00
Álvaro Brey 5944bfabdd Merge pull request #10209 from nextcloud/migrate-remote-operation-execute-to-user
Migrate RemoteOperation.execute calls to User
2022-06-06 13:10:37 +02:00
Álvaro Brey 6f6bed084c Use different link for automated bugreport and manual report
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-06 10:02:55 +02:00
Nextcloud bot 721f63971a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-06 04:25:53 +00:00
Chris Narkiewicz 35e164fa2d Migrate RemoteOperation.execute calls to User
Signed-off-by: Chris Narkiewicz <[email protected]>
2022-06-04 23:59:50 +01:00
Nextcloud bot bd5a99a10e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-04 04:22:45 +00:00
Álvaro Brey 5a3ad05b0e Merge pull request #10328 from nextcloud/dependabot/gradle/mockitoVersion-4.6.1
Bump mockitoVersion from 4.6.0 to 4.6.1
2022-06-03 13:55:00 +02:00
Álvaro Brey 03964f4342 Merge pull request #10319 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.4.2
Bump appcompat from 1.4.1 to 1.4.2
2022-06-03 09:56:00 +02:00
Tobias Kaminsky 3fd8928327 Merge pull request #10307 from nextcloud/fix/choosetemplate-button-nullpointer
Fix NPE in ChooseTemplateDialogFragment
2022-06-03 07:29:32 +02:00
Álvaro Brey 4011fa7b7d Exclude all activities except AuthenticatorActivity from security key listener (#10311)
Signed-off-by: Álvaro Brey <[email protected]>
2022-06-03 07:28:27 +02:00
dependabot[bot] cfc34942b0 Bump mockitoVersion from 4.6.0 to 4.6.1
Bumps `mockitoVersion` from 4.6.0 to 4.6.1.

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

Updates `mockito-android` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.0...v4.6.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-06-03 04:44:13 +00:00
dependabot[bot] bddbc4ff9d Bump appcompat from 1.4.1 to 1.4.2
Bumps appcompat from 1.4.1 to 1.4.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-02 01:06:48 +00:00
Álvaro Brey f6f8b91d25 Merge pull request #10317 from nextcloud/chore/remove-powermock
build: Remove powermock
2022-06-01 12:56:32 +02:00
Álvaro Brey 5b85fb95d6 build: Remove powermock
Unused, bad practice, and incompatible with mockito 4 anyway.

Signed-off-by: Álvaro Brey <[email protected]>
2022-06-01 11:15:01 +02:00
Álvaro Brey 15f6cea189 Merge pull request #10253 from nextcloud/thumbnailFolderBug
Harden thumbnail generation
2022-06-01 10:49:38 +02:00
Álvaro Brey c707e19797 Merge pull request #10298 from nextcloud/dependabot/gradle/mockitoVersion-4.6.0
Bump mockitoVersion from 4.5.1 to 4.6.0
2022-06-01 10:48:21 +02:00
Álvaro Brey 313a9da7df Merge pull request #10268 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.5
Bump firebase-messaging from 23.0.4 to 23.0.5
2022-06-01 10:47:10 +02:00
Álvaro Brey 0767e4fe43 GalleryAdapter: cleanup index out of bounds 2022-06-01 07:28:17 +00:00
nextcloud-android-bot 89c712d39c Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-06-01 07:28:17 +00:00
tobiasKaminsky 0748ba19af Harden thumbnail generation
Signed-off-by: tobiasKaminsky <[email protected]>
2022-06-01 07:28:17 +00:00
dependabot[bot] 4141a52617 Bump mockitoVersion from 4.5.1 to 4.6.0
Bumps `mockitoVersion` from 4.5.1 to 4.6.0.

Updates `mockito-core` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.0)

Updates `mockito-android` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.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-06-01 07:27:02 +00:00
dependabot[bot] ef642a2f0d Bump firebase-messaging from 23.0.4 to 23.0.5
Bumps firebase-messaging from 23.0.4 to 23.0.5.

---
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-01 07:27:01 +00:00
Álvaro Brey 749a7e7f04 Merge pull request #10225 from nextcloud/sectionedRecyclerview
Use our own version of sectioned-recyclerview
2022-06-01 09:21:03 +02:00
Álvaro Brey 86ea4d55a9 Merge pull request #10300 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.15.0
Bump emoji-google from 0.12.0 to 0.15.0
2022-06-01 08:53:48 +02:00
Nextcloud bot d971d0a619 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-06-01 04:24:28 +00:00
dependabot[bot] 0830799292 Bump emoji-google from 0.12.0 to 0.15.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.12.0 to 0.15.0.
- [Release notes](https://github.com/vanniktech/Emoji/releases)
- [Changelog](https://github.com/vanniktech/Emoji/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vanniktech/Emoji/compare/0.12.0...0.15.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-05-31 15:34:32 +00:00
Álvaro Brey 51aa8cbd35 ChooseTemplateDialogFragment: convert to Kotlin
Since I'm here...

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-31 09:34:18 +00:00
Álvaro Brey 3ce883466b Fix NPE in ChooseTemplateDialogFragment.checkEnablingCreateButton
This method can be called before positiveButton is initialized

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-31 09:34:18 +00:00
Álvaro Brey 82daff8797 Merge pull request #10310 from nextcloud/lintUnusedQuantity
Since newest Transifex update we have many translations with not need…
2022-05-31 11:31:31 +02:00
Álvaro Brey 713350f8d0 Merge pull request #10280 from nextcloud/dependabot/github_actions/actions/upload-artifact-3.1.0
Bump actions/upload-artifact from 3 to 3.1.0
2022-05-31 11:28:07 +02:00
tobiasKaminsky ee57fa0732 Since newest Transifex update we have many translations with not needed translations, e.g. "many" in spanish.
To not have lint warnings all the time, and as it does not harm Android, we can ignore it.

Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-31 10:17:15 +02:00
dependabot[bot] da98a8a980 Bump actions/upload-artifact from 3 to 3.1.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 3.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...3cea5372237819ed00197afe530f5a7ea3e805c8)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-05-31 08:07:54 +00:00
Álvaro Brey f54d234626 Merge pull request #10279 from nextcloud/chore/analysis-github-token
workflows/analysis: Use GITHUB_TOKEN instead of GIT_TOKEN, and some cleanup
2022-05-31 10:07:03 +02:00
Nextcloud bot d51a9426d4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-27 04:16:05 +00:00
Nextcloud bot a13c4c1906 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-26 04:16:47 +00:00
Tobias Kaminsky c1cf416872 Merge pull request #10148 from nextcloud/proseMirror
Test proseMirror with custom user agent
2022-05-25 15:40:54 +02:00
Nextcloud bot 78e689b2f1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-25 04:51:04 +00:00
Nextcloud bot 2a3bc3b0dc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-24 04:30:55 +00:00
Álvaro Brey fa3d92009d Update workflows/qa
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-23 10:15:29 +02:00
Álvaro Brey e74e12c293 Update some workflows
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-23 10:11:36 +02:00
Nextcloud bot ea16420d37 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-23 04:15:15 +00:00
Nextcloud bot 748f2ac903 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-22 04:17:24 +00:00
tobiasKaminsky 8bd3243238 Do not set custom user agent for Text/ProseMirror
Use EditorUtils

Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-20 11:39:38 +02:00
Álvaro Brey b1c747b333 Merge pull request #10267 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.4
Bump constraintlayout from 2.1.3 to 2.1.4
2022-05-20 09:27:04 +02:00
dependabot[bot] 94d2e1998e Bump constraintlayout from 2.1.3 to 2.1.4
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-05-20 01:05:41 +00:00
Tobias Kaminsky 5f465c0d2d Merge pull request #10241 from nextcloud/projectId
Project_id is needed
2022-05-19 12:12:41 +02:00
tobiasKaminsky 6a4c4c0b28 Project_id is needed
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-19 09:54:03 +02:00
Álvaro Brey 0b0b49b266 Merge pull request #10251 from nextcloud/dependabot/gradle/com.karumi-shot-5.14.1
Bump shot from 5.14.0 to 5.14.1
2022-05-19 09:34:18 +02:00
dependabot[bot] 1cce3be464 Bump shot from 5.14.0 to 5.14.1
Bumps [shot](https://github.com/pedrovgs/shot) from 5.14.0 to 5.14.1.
- [Release notes](https://github.com/pedrovgs/shot/releases)
- [Commits](https://github.com/pedrovgs/shot/compare/5.14.0...5.14.1)

---
updated-dependencies:
- dependency-name: com.karumi:shot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-05-18 09:40:46 +00:00
Álvaro Brey 54b68b049c Merge pull request #10256 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.12.0
Bump emoji-google from 0.11.0 to 0.12.0
2022-05-18 11:24:16 +02:00
dependabot[bot] 8f46bd6275 Bump emoji-google from 0.11.0 to 0.12.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/vanniktech/Emoji/releases)
- [Changelog](https://github.com/vanniktech/Emoji/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vanniktech/Emoji/compare/0.11.0...0.12.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-05-17 01:04:56 +00:00
Álvaro Brey f0aa754b32 Merge pull request #10252 from nextcloud/dependabot/github_actions/cirrus-actions/rebase-1.7
Bump cirrus-actions/rebase from 1.6 to 1.7
2022-05-16 17:39:07 +02:00
dependabot[bot] 2cac6f916a Bump cirrus-actions/rebase from 1.6 to 1.7
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.6 to 1.7.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.6...1.7)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-05-16 11:16:25 +00:00
Nextcloud bot 294db08117 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-16 04:11:57 +00:00
Nextcloud bot f3b80053f6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-15 04:11:12 +00:00
Álvaro Brey f56b926f25 Merge pull request #10239 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.7
Bump spotbugs-gradle-plugin from 5.0.6 to 5.0.7
2022-05-13 10:33:33 +02:00
dependabot[bot] f589c7b949 Bump spotbugs-gradle-plugin from 5.0.6 to 5.0.7
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.6 to 5.0.7.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.6...5.0.7)

---
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-05-13 01:04:27 +00:00
Tobias Kaminsky bd4b35d41b Merge pull request #10228 from nextcloud/fix/getpopuptext-crash
OCFileListAdapter: skip popup text generation if no sortOrder is present
2022-05-12 12:22:27 +02:00
Álvaro Brey f5849f6af7 Merge pull request #10231 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.11.0
Bump emoji-google from 0.9.0 to 0.11.0
2022-05-12 09:56:46 +02:00
Álvaro Brey 573b5085fe Merge pull request #10230 from nextcloud/dependabot/gradle/mockkVersion-1.12.4
Bump mockkVersion from 1.12.3 to 1.12.4
2022-05-12 09:38:17 +02:00
Álvaro Brey b2630f532a SetStatusDialogFragment: fix EmojiPopup after API changes
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-12 09:29:12 +02:00
tobiasKaminsky 6704bb0427 Fix Notification -> on device navigation path
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-12 09:26:14 +02:00
Álvaro Brey bad754b74d Merge pull request #10229 from nextcloud/qrCodeScanner
Moved repo for qrcodescanner
2022-05-12 09:10:24 +02:00
dependabot[bot] 1c0a189511 Bump emoji-google from 0.9.0 to 0.11.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/vanniktech/Emoji/releases)
- [Changelog](https://github.com/vanniktech/Emoji/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vanniktech/Emoji/compare/0.9.0...0.11.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-05-12 01:07:12 +00:00
dependabot[bot] 95f1e1066f Bump mockkVersion from 1.12.3 to 1.12.4
Bumps `mockkVersion` from 1.12.3 to 1.12.4.

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

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

---
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-05-12 01:07:11 +00:00
Álvaro Brey 0a1736dc75 OCFileListAdapter: skip popup text generation if no sortOrder is present
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-11 15:28:29 +02:00
tobiasKaminsky 7e3bfffd67 Moved repo for qrcodescanner
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-11 15:24:27 +02:00
tobiasKaminsky d496001a01 Use our own version of sectioned-recyclerview
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-11 15:23:03 +02:00
Álvaro Brey 258af3c465 Merge pull request #10222 from nextcloud/dependabot/gradle/daggerVersion-2.42
Bump daggerVersion from 2.41 to 2.42
2022-05-10 11:21:18 +02:00
Nextcloud bot 4cab92f48e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-10 04:24:14 +00:00
dependabot[bot] d9897ec1a6 Bump daggerVersion from 2.41 to 2.42
Bumps `daggerVersion` from 2.41 to 2.42.

Updates `dagger` from 2.41 to 2.42
- [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.41...dagger-2.42)

Updates `dagger-android` from 2.41 to 2.42
- [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.41...dagger-2.42)

Updates `dagger-android-support` from 2.41 to 2.42
- [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.41...dagger-2.42)

Updates `dagger-compiler` from 2.41 to 2.42
- [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.41...dagger-2.42)

Updates `dagger-android-processor` from 2.41 to 2.42
- [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.41...dagger-2.42)

---
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-05-10 01:06:46 +00:00
Álvaro Brey e7ea566bb6 Merge pull request #10217 from nextcloud/fix/on-device-crash
Fix crash when navigating from Gallery to On device
2022-05-09 15:03:34 +02:00
Álvaro Brey 54e57dc146 Merge pull request #10135 from nextcloud/fix/fda-screenshot
Fix and enable FDAScreenshotIT.showMediaThenAllFiles
2022-05-09 14:05:30 +02:00
Álvaro Brey Vilas 62d58d0a36 Fix and enable FDAScreenshotIT.showMediaThenAllFiles
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-09 13:24:33 +02:00
Álvaro Brey 1955e46a10 Fix crash when navigating from Gallery to On device
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-09 13:15:36 +02:00
Álvaro Brey 03453c787a Merge pull request #10188 from nextcloud/changelog-master-stable-3.20.1
Add changelog for 3.20.1
2022-05-09 10:08:09 +02:00
Álvaro Brey 91efa194c1 Merge pull request #10191 from nextcloud/fix/some-detekt
Fix a bunch of Detekt issues
2022-05-09 10:04:47 +02:00
Álvaro Brey 454f7c6b96 Merge pull request #10168 from pelzvieh/patch-1
Make SAF root IDs stable through server version updates
2022-05-09 10:03:27 +02:00
Álvaro Brey b2b80c031b Merge pull request #10211 from nextcloud/videoInGallery
Play video in gallery
2022-05-09 09:44:41 +02:00
Álvaro Brey d5d64b6f38 Merge pull request #10210 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.4
Bump firebase-messaging from 23.0.3 to 23.0.4
2022-05-09 09:43:51 +02:00
tobiasKaminsky c0c094c30e Play video in gallery
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-09 08:17:12 +02:00
Nextcloud bot 0649f787b8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-09 04:12:54 +00:00
dependabot[bot] 6cf85b290d Bump firebase-messaging from 23.0.3 to 23.0.4
Bumps firebase-messaging from 23.0.3 to 23.0.4.

---
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-05-09 02:03:17 +00:00
Nextcloud bot 55cffc80d1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-08 04:11:49 +00:00
Nextcloud bot 51eb6e8620 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-07 04:09:35 +00:00
Álvaro Brey 8ef80aa105 Fix DocumentsStorageProviderIT for new root ID
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 18:16:11 +02:00
Álvaro Brey 06820a21fd Lower detekt maxIssues to remaining 3
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 18:07:13 +02:00
Álvaro Brey fb1469aeea UriUtils: refactor to keep detekt happy
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 18:06:51 +02:00
Álvaro Brey 6297742f01 SyncedFoldersActivity: suppress detekt warning
This entire class is legacy and should be refactored

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 18:00:01 +02:00
Álvaro Brey a6dc89a8e5 ShareeListAdapterTest: refactor to fix detekt issues
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 17:57:56 +02:00
Álvaro Brey 7adadbb53c SetStatusDialogFragment: some easy & safe cleanups
Make detekt happy

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 17:57:43 +02:00
Álvaro Brey 9cff9725fc HttpStreamFetcher: reduce nesting in loadData
Make detekt happy

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 17:22:18 +02:00
Álvaro Brey a753f4ef03 Merge pull request #10142 from nextcloud/dependabot/github_actions/codecov/codecov-action-3
Bump codecov/codecov-action from 2 to 3
2022-05-06 17:13:40 +02:00
Álvaro Brey 02f23f326d DocumentsStorageProvider: hash the accountName for rootId map
This should handle the fact that accountNames are of arbitrary length

MD5 is fine for this, as it should be quicker than SHA and the chance of collisions here is very low

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 17:05:53 +02:00
Álvaro Brey 3b3d23ff0a DocumentsStorageProvider: fix build error due to missing import
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 17:05:34 +02:00
pelzviehandÁlvaro Brey 43c4876ef3 Update app/src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.java
Co-authored-by: Álvaro Brey <[email protected]>
2022-05-06 16:11:50 +02:00
Álvaro Brey cd488d38f1 Add changelog for 3.20.1
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 15:44:23 +02:00
Tobias Kaminsky 8d4ed0a862 Merge pull request #10181 from nextcloud/videoFullscreenPause
Correctly obey play/pause state
2022-05-06 14:43:43 +02:00
Álvaro Brey b950be1f7d Merge pull request #10178 from nextcloud/galleryLongRunning
Media search improvement
2022-05-06 13:47:09 +02:00
Álvaro Brey ac208945e8 DocumentsStorageProvider: key can't be parsed into Int, since it's String now
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 13:13:50 +02:00
Álvaro Brey 8a9a9ec66d GallerySearchTask: remove leftover testing code
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 13:04:50 +02:00
Álvaro Brey 27be297146 Merge pull request #10179 from nextcloud/throttleShareOverflowMenu
Throttle click on share icon
2022-05-06 12:55:50 +02:00
Álvaro Brey db85ebba94 Merge pull request #10174 from nextcloud/new-fastscroll-lib
Fast scrolling fixes
2022-05-06 12:08:06 +02:00
Álvaro Brey 84d1ffa546 Merge pull request #10180 from nextcloud/fix/spotbugs-not-failing
Fix spotbugs not failing builds when count increases
2022-05-06 11:22:24 +02:00
Andreas Feldner 04a0ce1e71 Update DocumentsStorageProvider.java
Change root id for an nextcloud account to urlencoded user@uri. This is to avoid issues with unstable hashCodes.
2022-05-06 10:24:45 +02:00
Álvaro Brey 96ee2ee661 Fix spotbugs not failing builds when count increases
spotbugs-up now needs base branch, not target branch

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-06 09:32:15 +02:00
Andreas Feldner 805ec3e61a Revert "Make Server's hashCode stable vs. version changes"
This reverts commit 5627e92619.
2022-05-06 09:17:32 +02:00
tobiasKaminsky d33d5a20fd Throttle click on share icon
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-06 09:11:10 +02:00
tobiasKaminsky f34fff62a8 Fix #10176
Signed-off-by: tobiasKaminsky <[email protected]>
2022-05-06 07:55:29 +02:00
Nextcloud bot 73a18fbf6e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-06 04:11:46 +00:00
Álvaro Brey be79e3cf37 Merge pull request #10152 from nextcloud/chore/update_fastlane
Update fastlane and fix huawei upload
2022-05-05 16:08:15 +02:00
Álvaro Brey b897f09683 Merge pull request #10156 from nextcloud/bump-master-3.21
Bump master to 3.21.0
2022-05-05 15:57:12 +02:00
Álvaro Brey ea4222a1ae FileDisplayActivity: fix appbar for fast scroll
Adds padding at the bottom if appbar is not collapsed

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-05 15:51:58 +02:00
Álvaro Brey 09b95951c5 Fix fast scroll in gallery
Gallery has a grid layout + variable row height (due to section titles)

This is a no-no in all fastscroll libraries. However, the new one supports writing custom logic
to handle this, which is what this commit is.

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-05 15:51:58 +02:00
Tobias Kaminsky d374d87c24 Merge pull request #10163 from nextcloud/fix/previewmedia-exoplayer-null
PreviewMediaFragment: prevent crash due to onStop called before exoplayer initialization
2022-05-05 15:28:03 +02:00
Tobias Kaminsky 4b0adb1bae Merge pull request #10157 from nextcloud/drone-stable-24
Drone: test on stable 24
2022-05-05 13:42:22 +02:00
Álvaro Brey 12312393b2 Replace fastscroll library
Smoother scrolling

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-05 11:03:00 +02:00
Álvaro Brey 20ec696c99 Merge pull request #10171 from nextcloud/dependabot/gradle/com.google.android.material-material-1.6.0
Bump material from 1.5.0 to 1.6.0
2022-05-05 10:04:20 +02:00
Nextcloud bot d6f6f36d52 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-05 04:12:34 +00:00
dependabot[bot] 362a8286a6 Bump material from 1.5.0 to 1.6.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.5.0...1.6.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-05-05 01:07:03 +00:00
pelzvieh 5627e92619 Make Server's hashCode stable vs. version changes
Bug #9906 seems to be triggered by a version change of the nextcloud server the client is connected to. It appears the most logical solution to make nextcloud object IDs stable against server version changes. These object IDs are derived from the User object using account/anonymous, and the referenced Server object. Providing a hashCode function in Server that ignores the server's version therefore provides stability of object IDs. This seems safe to do, as an URI is already designed to be an identificator.
2022-05-04 17:40:32 +02:00
Álvaro Brey aac4a0cd67 PreviewMediaFragment: prevent crash due to onStop called before exoplayer initialization
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-04 11:23:54 +02:00
Álvaro Brey 323fd34680 Merge pull request #10160 from nextcloud/dependabot/gradle/org.jlleitschuh.gradle-ktlint-gradle-10.3.0
Bump ktlint-gradle from 10.2.1 to 10.3.0
2022-05-04 11:17:59 +02:00
Nextcloud bot 1924041e4b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-04 04:19:43 +00:00
dependabot[bot] bac992254c Bump ktlint-gradle from 10.2.1 to 10.3.0
Bumps ktlint-gradle from 10.2.1 to 10.3.0.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle:ktlint-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-05-04 01:04:41 +00:00
Álvaro Brey 0ae42c892c Drone: test on stable 24
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-03 15:59:44 +02:00
Álvaro Brey 520d17bb8b Bump master to 3.21.0
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-03 15:58:59 +02:00
Álvaro Brey 4be4974c7e Merge pull request #10151 from nextcloud/changelog-master-stable-3.20.0
Add changelog for 3.20.0
2022-05-03 15:04:18 +02:00
Álvaro Brey 1b021a9eb9 fastlane: huawei: Add delay before review
Otherwise we get an error, see https://github.com/shr3jn/fastlane-plugin-huawei_appgallery_connect/issues/34

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-03 12:48:11 +02:00
Álvaro Brey ad5769c98c Update fastlane and plugins
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-03 12:47:45 +02:00
Álvaro Brey 36062f7502 Add changelog for 3.20.0
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-03 12:42:55 +02:00
Nextcloud bot 76ab52499d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-03 04:11:34 +00:00
Álvaro Brey 3c97b4b619 Merge pull request #10133 from nextcloud/fix/more-scrolling-bugs
Fix contents cut off when scrolling is locked
2022-05-02 18:10:53 +02:00
Álvaro Brey f0b77e5751 Merge pull request #10052 from nextcloud/file_locking
File locking
2022-05-02 17:19:49 +02:00
Álvaro Brey 26aef8e462 Merge pull request #10134 from nextcloud/fix/dagger-mediacontrolview
Fix theme utils injection in custom views
2022-05-02 17:19:30 +02:00
Álvaro Brey d34d3b419a Fix mocking in FileMenuFilterIT
Not sure why this wasn't a compilation error

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-02 15:43:12 +02:00
Álvaro Brey ba7a2192f3 Merge pull request #10140 from nextcloud/fix/directory-does-not-exist
FileDisplayActivity: wait until OCFileListFragment is initialized to trigger browseToRoot()
2022-05-02 14:56:57 +02:00
dependabot[bot] 0cd5f1b9f4 Bump codecov/codecov-action from 2 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-05-02 11:18:13 +00:00
Álvaro Brey 49ad952544 Restore library version, since library changes are merged
Signed-off-by: Álvaro Brey <[email protected]>
2022-05-02 12:49:44 +02:00
Álvaro Brey Vilas 81ce812d86 Fix some licenses
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas 3eb3079757 Fix spotbugs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas f079f030cf Remove unused resources
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas f50d9f8451 Add test for FileMenuFilter that verifies file locking menu items
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas 6d40f25f29 Add unit tests for FileLockingHelper
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas 2cd2e29b86 FileMenuFilter: don't show lock options if there's no locking capability
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas db30142ad3 Fix lock info in actionMode menu when selecting a single, locked, file
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas f8ad9ae413 FileMenuFilter: don't show move, remove or rename options when file is locked
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas d90083fc07 Show file lock info in actions menu instead of separate dialog
Requested by design team

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:43 +02:00
Álvaro Brey Vilas 46ccddcef4 Combine lock indicator with overflow icon
Requested by design

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas a902fb6f84 FileMenuFilter: properly filter lock/unlock depending on lock status
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas a88b03a0c8 Show lock details when tapping on lock indicator
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas 68b2535481 Retrieve and persist more locking attributes from remote files
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas 356db04aa8 Add ability to toggle file lock from file context menu
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas fd2435379a FileDataStorageManager: small cleanup
- Remove two unused methods
- Make some fields final

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas f5ecaf91d1 Show file locking status on list
Also includes a refactor of how ContentValues are created in FileDataStorageManager.

The code for that was triplicated. now it's not.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas 353afb119c build.gradle: temporary library version
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:42 +02:00
Álvaro Brey Vilas b8cf8dade8 Store file locking capability
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 12:49:36 +02:00
Álvaro Brey 123cf4ad65 Merge pull request #10138 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.10
Bump byteBuddyVersion from 1.12.9 to 1.12.10
2022-05-02 12:10:55 +02:00
Álvaro Brey 9a2cbcbba4 FileDisplayActivity: wait until OCFileListFragment is initialized to trigger browseToRoot()
This solves a bug which caused a "Directory does not exist" popup when coming back from Gallery,
as it tried to call browseToRoot on GalleryFragment due it being executed before the fragment transaction.

Signed-off-by: Álvaro Brey <[email protected]>
2022-05-02 11:02:46 +02:00
Álvaro Brey Vilas 13e061e7d7 PreviewMediaFragment: Remove margin from top bar
Not needed since previous commit fixing scroll bugs, creates unwanted space

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 07:55:34 +00:00
Álvaro Brey Vilas 7a2c735795 Fix contents cut off when scrolling is locked
Don't need to touch the coordinator params, just set scroll flags properly

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-05-02 07:55:34 +00:00
Álvaro Brey 2bb8c91965 Merge pull request #10132 from nextcloud/chore/cleanup-repositories
build: Clean up repository configuration
2022-05-02 09:45:42 +02:00
dependabot[bot] f4546d1ceb Bump byteBuddyVersion from 1.12.9 to 1.12.10
Bumps `byteBuddyVersion` from 1.12.9 to 1.12.10.

Updates `byte-buddy` from 1.12.9 to 1.12.10
- [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.9...byte-buddy-1.12.10)

Updates `byte-buddy-android` from 1.12.9 to 1.12.10
- [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.9...byte-buddy-1.12.10)

---
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-05-02 01:26:20 +00:00
Nextcloud bot ddb96e7b17 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-05-01 04:10:03 +00:00
Álvaro Brey e33e801bd8 Merge pull request #10128 from nextcloud/fix/calendar-picker-rotation
Fix expiration date picker layout when rotating screen
2022-04-29 17:42:31 +02:00
nextcloud-android-bot 1ea61c6fe6 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-04-29 15:07:40 +00:00
Álvaro Brey Vilas 2560d1be3c Inject ThemeColorUtils into ThemeableSwitchPreference too
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 16:56:56 +02:00
Álvaro Brey Vilas b58749d459 Fix ThemeUtils injection for MediaControlView
Inflation of this view was failing as there was no proper constructor

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 16:50:35 +02:00
Álvaro Brey Vilas 2bd8fb4240 build: Update last 2 libraries that used JCenter
Both of these are present in mavenCentral with a different groupId.

For both of them, the version bump is only for the groupId change, there are no breaking changes otherwise.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 16:13:04 +02:00
Álvaro Brey Vilas 9463d2e668 build: Clean up repository configuration
- Put jitpack.io at the bottom, so that it is the last one checked. For libraries that are both in jitpack and elsewhere,
this should prevent a lot of errors especially in CI due to jitpack unreliability.
- Don't use gradle plugin portal as a mirror for JCenter. JCenter is still up as read-only, and using the gradle plugin portal
hides the fact that we have stop using jcenter libraries.
- For buildscripts, use gradlePluginPortal() instead of manual maven config
- Don't have repository configuration in both app/build.gradle and project build.gradle. Use project gradle instead

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 16:07:55 +02:00
Álvaro Brey Vilas 7e31a71ba0 FileDetailsSharing: Preserve selected date when recreating expiration date dialog
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 11:12:07 +00:00
Álvaro Brey Vilas 85dcbe542e FileDetailsSharingProcess: force recreation of date picked on config changes
See added comment for details

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 11:12:07 +00:00
Álvaro Brey Vilas 8c2fc3ee87 ExpirationDatePickerDF: customize buttons on onStart instead of showing dialog on onCreate
That is how DialogFragment is supposed to work

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 11:12:07 +00:00
Álvaro Brey 3148d94262 Merge pull request #10129 from nextcloud/chore/leakcanary-disabled-default
build: Disable LeakCanary unless manually activated with a property
2022-04-29 12:14:34 +02:00
Álvaro Brey Vilas 21ed337184 build: Disable LeakCanary unless manually activated with a property
Use `./gradlew installGplayDebug -P "leakCanary"`, for example, to activate it.

LeakCanary dramatically slows down normal development work due to app freezes for memory dumps.

This way we can avoid that, but still use it when we want to check for leaks. I don't think leaks should be a primary focus right now,
since we have other stuff to work on first.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 11:43:11 +02:00
Álvaro Brey caf89f7908 Merge pull request #9876 from nextcloud/ThemeColorUtilsToDI
Move all Theme classes to DI
2022-04-29 11:22:27 +02:00
Álvaro Brey Vilas 4ff54bb48b Fix and update testBottomSheet screenshot test
We can't edit the capability in FDA directly

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas bdd1daa10e SyncFileNotEnoughSpaceDialogFragment needs injector
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas e023cedd7f Fix GalleryAdapterTest
GalleryAdapter needs theme stuff now

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas 3ff35d46e6 Fix some spotbugs stuff
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas 56584c06e6 Fix detekt
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas 42c28dce70 ThemeModule: convert to Kotlin and fix copyright
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 06:38:14 +00:00
nextcloud-android-bot e2c3091fc0 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-04-29 06:38:14 +00:00
tobiasKaminsky 17828cb3b4 remove some spotbugs warnings
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas f627f3d976 Fix injection ofr RenameFileDialogFragment
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 06:38:14 +00:00
Álvaro Brey Vilas 6bd7d808f4 Put OCFileListBottomSheetDialog into a DialogFragment
Can't inject things into a Dialog

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 06:38:13 +00:00
tobiasKaminsky 74e17ee7c6 Fixes after rebase
Signed-off-by: tobiasKaminsky <[email protected]>

Fixes after rebase

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

Fixes after rebase

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

Fix after rebase

Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-29 06:38:13 +00:00
Álvaro Brey Vilas 75cb8a767c Remove SyncedFoldersActivity.java
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-29 06:38:13 +00:00
tobiasKaminsky 349a045b46 Move all Theme classes to DI
Signed-off-by: tobiasKaminsky <[email protected]>

Move all Theme classes to DI

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

Move all Theme classes to DI

Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-29 06:38:13 +00:00
Nextcloud bot 0a802b51da [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-29 04:11:37 +00:00
Álvaro Brey c81c1c83aa Merge pull request #10117 from nextcloud/chore/screenshot-test-reliability
Screenshot tests reliability improvements
2022-04-28 14:05:23 +02:00
Álvaro Brey 87ed56f4d9 Merge pull request #10080 from nextcloud/thumbnailFetch
Parallel thumbnail fetching
2022-04-28 11:11:08 +02:00
Álvaro Brey Vilas bc44b2c524 PasscodeActivityIT: add short sleep after closing keyboard
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-28 11:09:19 +02:00
tobiasKaminsky 73bb12f78a Parallel thumbnail fetching
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-28 08:10:54 +00:00
Álvaro Brey Vilas 011d6c3ceb ActivitiesActivityIT.error: more sleep
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-28 09:03:35 +02:00
Álvaro Brey Vilas 236925de99 Screenshot tests reliability improvements
Add more sleeps to SetupEncryptionDialogFragment.error and TrashBinActivity.empty, which fail frequently

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-28 09:03:29 +02:00
Tobias Kaminsky a2d2c1a3c7 Merge pull request #10122 from nextcloud/fix/activity-constructor
Fixes for tests due changes in Activity constructor in library
2022-04-28 08:03:57 +02:00
Álvaro Brey Vilas d79b20dbc5 ActivitiesPresenterTest: Activity no longer has empty constructor
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 19:02:43 +02:00
Álvaro Brey Vilas 98177e3eb3 Fix crash in screenshot test due to changes in library
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 19:02:26 +02:00
Álvaro Brey c20c3e4066 Merge pull request #10014 from nextcloud/spotbugs-improvements
Spotbugs improvements
2022-04-27 11:34:35 +02:00
Álvaro Brey 23dd1f30f1 Merge pull request #10113 from nextcloud/chore/unit-tests-gh-actions
Run unit tests in GH actions
2022-04-27 11:21:49 +02:00
Álvaro Brey 176fb24d5b Merge pull request #10084 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.3
Bump firebase-messaging from 23.0.2 to 23.0.3
2022-04-27 11:12:02 +02:00
Álvaro Brey Vilas 7073746309 Use defusedxml for xml parsing instead of etree
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 11:03:59 +02:00
Álvaro Brey Vilas 6eff01d735 Fix some codacy warnings
- Quote some strings in analysis-wrapper
 - Cleanup unneeded checks in spotbugs-up

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 10:53:30 +02:00
Álvaro Brey Vilas 79fc8c61d9 codecov: add flag to integration test coverage so the UI is clearer
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 10:19:23 +02:00
dependabot[bot] f93e65872a Bump firebase-messaging from 23.0.2 to 23.0.3
Bumps firebase-messaging from 23.0.2 to 23.0.3.

---
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-04-27 08:09:10 +00:00
Álvaro Brey Vilas 3879d90eec Ditch findbugs-results.txt: use the stable branch XML as single source of truth
Poor man's baseline

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 08:07:32 +00:00
Álvaro Brey Vilas 21a432dc9e Generate spotbugs summary from xml
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 08:07:32 +00:00
Álvaro Brey Vilas c850d14fc0 spotbugs: Use fancy stylesheet
MUCH more readable and easier to find stuff

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 08:07:32 +00:00
Álvaro Brey Vilas 7f00cd6e46 Upload unit test results properly if they fail
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 08:43:51 +02:00
Álvaro Brey Vilas 3b80d4dc1f build: Remove combinedTestReport task
It's not working properly (complains about no classes, empty report), AND codecov should merge unit and integration coverages for us anyway

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 06:13:49 +00:00
Álvaro Brey Vilas 323fdda409 Drone: optimize assemble while waiting for server/emulator
- Don't assemble Gplay separately from gplayDebug. We already have some GH actions to verify that all flavors assemble.
- Assemble the AndroidTest task, so that there's less work to do when installGplayDebug is called

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 06:13:49 +00:00
Álvaro Brey Vilas f572176e4c Drone: don't run unit tests
Done in GH actions now

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 06:13:49 +00:00
Álvaro Brey Vilas 68b2665b09 Run unit tests in GH actions
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-27 06:13:49 +00:00
Tobias Kaminsky d61a8f3444 Merge pull request #10112 from nextcloud/fix/loginIT-master
Fix LoginIT for server master
2022-04-27 07:52:30 +02:00
Álvaro Brey b3b3376c5b Merge pull request #10069 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.9.0
Bump emoji-google from 0.8.0 to 0.9.0
2022-04-26 18:21:06 +02:00
Álvaro Brey Vilas dd4a69d58c LoginIT: convert to Kotlin
While we're at it

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-26 09:51:39 +02:00
Álvaro Brey Vilas 85b5bf6875 Fix LoginIT submit click
In latest Nextcloud version the "submit" button does not have an ID, but we can use the type for selection

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-26 09:45:32 +02:00
Nextcloud bot bd139f1afb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-26 04:11:10 +00:00
Álvaro Brey d45e12c2b8 Merge pull request #10089 from nextcloud/remove-account-usage-from-manage-acconuts-activity
Remove account use from ManageAccountsActivity
2022-04-25 16:47:34 +02:00
Álvaro Brey 828bef6af7 Merge pull request #10102 from nextcloud/dependabot/gradle/kotlin_version-1.6.21
Bump kotlin_version from 1.6.20 to 1.6.21
2022-04-25 11:59:15 +02:00
Álvaro Brey 1095fd540d Merge pull request #10065 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.9
Bump byteBuddyVersion from 1.12.8 to 1.12.9
2022-04-25 10:52:09 +02:00
Álvaro Brey cae58daa4c Merge pull request #10111 from nextcloud/dependabot/gradle/com.karumi-shot-5.14.0
Bump shot from 5.13.0 to 5.14.0
2022-04-25 10:42:47 +02:00
dependabot[bot] 93b236ff7c Bump kotlin_version from 1.6.20 to 1.6.21
Bumps `kotlin_version` from 1.6.20 to 1.6.21.

Updates `kotlin-gradle-plugin` from 1.6.20 to 1.6.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.6.20 to 1.6.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-04-25 07:59:15 +00:00
dependabot[bot] de0bcbb279 Bump shot from 5.13.0 to 5.14.0
Bumps [shot](https://github.com/pedrovgs/shot) from 5.13.0 to 5.14.0.
- [Release notes](https://github.com/pedrovgs/shot/releases)
- [Commits](https://github.com/pedrovgs/shot/compare/5.13.0...5.14.0)

---
updated-dependencies:
- dependency-name: com.karumi:shot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-04-25 02:12:53 +00:00
Nextcloud bot 98075eba14 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-24 04:13:03 +00:00
Chris Narkiewicz 042c3758ac Remove account use from ManageAccountsActivity
Signed-off-by: Chris Narkiewicz <[email protected]>
2022-04-23 16:49:13 +01:00
Nextcloud bot 14aac48b90 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-23 04:00:20 +00:00
Álvaro Brey 0ad80b89cc Merge pull request #10106 from nextcloud/dependabot/gradle/mockitoVersion-4.5.1
Bump mockitoVersion from 4.4.0 to 4.5.1
2022-04-22 13:01:42 +02:00
Nextcloud bot 7759475728 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-22 04:03:25 +00:00
dependabot[bot] 4086ad36b3 Bump mockitoVersion from 4.4.0 to 4.5.1
Bumps `mockitoVersion` from 4.4.0 to 4.5.1.

Updates `mockito-core` from 4.4.0 to 4.5.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.4.0...v4.5.1)

Updates `mockito-android` from 4.4.0 to 4.5.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.4.0...v4.5.1)

---
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-04-22 01:06:11 +00:00
Álvaro Brey 0c189a77b4 Merge pull request #10104 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.9.1
Bump leakcanary-android from 2.9 to 2.9.1
2022-04-21 09:29:36 +02:00
Nextcloud bot 7cc0d53cff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-21 04:01:23 +00:00
dependabot[bot] 0b08f95361 Bump leakcanary-android from 2.9 to 2.9.1
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.9 to 2.9.1.
- [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...v2.9.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-04-21 01:05:49 +00:00
Álvaro Brey 4da8fc27e4 Merge pull request #10100 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.9
Bump leakcanary-android from 2.8.1 to 2.9
2022-04-20 14:44:07 +02:00
dependabot[bot] f17cb72f99 Bump leakcanary-android from 2.8.1 to 2.9
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.8.1 to 2.9.
- [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.8.1...v2.9)

---
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-04-20 01:05:33 +00:00
Álvaro Brey c944203d93 Merge pull request #10050 from nextcloud/mediaTimeline
Group photos as timeline by month
2022-04-19 15:28:31 +02:00
nextcloud-android-bot d1a3b415d8 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-04-19 12:40:36 +00:00
Álvaro Brey Vilas 9e29b5cbc4 Remove FilesFilter, as it is unused
Only created in OCFileListAdapter, and then unused

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-19 14:19:38 +02:00
Álvaro Brey Vilas ca72520d54 MainApp: remove unused variable
Leftover

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-19 11:34:18 +02:00
dependabot[bot] 8610bc7ba3 Bump emoji-google from 0.8.0 to 0.9.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/vanniktech/Emoji/releases)
- [Changelog](https://github.com/vanniktech/Emoji/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vanniktech/Emoji/compare/0.8.0...0.9.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-04-19 09:26:42 +00:00
Álvaro Brey Vilas fb12a65949 Fix unit test for GalleryAdapter
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-19 10:59:14 +02:00
nextcloud-android-bot 997e4c736c Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-04-18 17:22:02 +00:00
nextcloud-android-bot eddbe5ef28 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-04-18 17:20:49 +00:00
Álvaro Brey Vilas a785135b1b GalleryAdapterTest: fix wrong parameter list for GalleryAdapter constructor
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-18 19:14:22 +02:00
Álvaro Brey Vilas ff3833c62f OCFileListDelegate: fix detekt
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-18 18:40:25 +02:00
Álvaro Brey Vilas 0def0a8af8 Format with ktlint
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-18 18:21:35 +02:00
tobiasKaminsky 97d71d0383 Group media by month 2022-04-18 18:18:19 +02:00
Álvaro Brey bb82017448 Merge pull request #10093 from nextcloud/dependabot/github_actions/cirrus-actions/rebase-1.6
Bump cirrus-actions/rebase from 1.5 to 1.6
2022-04-18 17:38:57 +02:00
Álvaro Brey e4a20d1f48 Merge pull request #10094 from nextcloud/dependabot/github_actions/trilom/file-changes-action-1.2.4
Bump trilom/file-changes-action from 1.2.3 to 1.2.4
2022-04-18 13:38:41 +02:00
dependabot[bot] 3ab5f6ea0a Bump trilom/file-changes-action from 1.2.3 to 1.2.4
Bumps [trilom/file-changes-action](https://github.com/trilom/file-changes-action) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/trilom/file-changes-action/releases)
- [Changelog](https://github.com/trilom/file-changes-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trilom/file-changes-action/compare/v1.2.3...v1.2.4)

---
updated-dependencies:
- dependency-name: trilom/file-changes-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-04-18 11:18:10 +00:00
dependabot[bot] 75e828cf54 Bump cirrus-actions/rebase from 1.5 to 1.6
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.5 to 1.6.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.5...1.6)

---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-04-18 11:18:06 +00:00
Álvaro Brey 0e03400486 Merge pull request #10074 from nextcloud/equals
Replace equals with == on enums
2022-04-18 12:49:14 +02:00
Álvaro Brey 9a899ce3dc Merge pull request #10070 from nextcloud/trashbinNav
Fix trashbin navigation
2022-04-18 12:30:48 +02:00
Álvaro Brey 68b4b6fe56 Merge pull request #10073 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.2.1
Bump hmarr/auto-approve-action from 2.2.0 to 2.2.1
2022-04-18 12:24:06 +02:00
Álvaro Brey 914319c940 Merge pull request #10072 from nextcloud/dependabot/github_actions/actions/setup-java-3
Bump actions/setup-java from 2 to 3
2022-04-18 12:23:41 +02:00
Álvaro Brey 66b500b9dc Merge pull request #10085 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.20.0
Bump detekt-gradle-plugin from 1.19.0 to 1.20.0
2022-04-18 11:42:15 +02:00
Álvaro Brey Vilas 3930633272 Fix detekt.yml for new detekt version
Remove formatting (that is handled by ktlint), update some other properties

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-18 11:14:17 +02:00
Nextcloud bot 58b34c3ee4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-16 03:59:30 +00:00
Nextcloud bot df887ce4f2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-15 04:04:35 +00:00
dependabot[bot] 7ed1b84375 Bump detekt-gradle-plugin from 1.19.0 to 1.20.0
Bumps detekt-gradle-plugin from 1.19.0 to 1.20.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-04-15 01:09:47 +00:00
nextcloud-android-bot e47f97b07e Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-04-13 10:20:07 +02:00
tobiasKaminsky a9608108ac Replace equals with == on enums
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-13 10:19:30 +02:00
Tobias Kaminsky bce8866961 Merge pull request #10075 from nextcloud/fixDroneCheck
Fix drone check due to app subfolder
2022-04-13 10:18:51 +02:00
tobiasKaminsky a9473d6158 Fix drone check due to app subfolder
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-13 10:18:21 +02:00
Tobias Kaminsky 31dda2e0fb Merge pull request #9985 from nextcloud/fastscrollWithLib
Fastscroll for all lists
2022-04-13 08:30:03 +02:00
tobiasKaminsky ce6bb70415 Merge remote-tracking branch 'origin/fastscrollWithLib' into fastscrollWithLib 2022-04-12 14:30:49 +02:00
tobiasKaminsky b4dc084d65 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-12 14:30:43 +02:00
nextcloud-android-bot c8cf7bbfe7 Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-04-12 07:23:20 +00:00
tobiasKaminsky 075e91d9ba Replace equals with == on enums
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-12 09:15:33 +02:00
tobiasKaminsky f57aa2037b wip
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-12 08:45:10 +02:00
Tobias Kaminsky 2154e4d3ea Merge pull request #10060 from nextcloud/failOnNewJavaFiles
Let us no longer create java files
2022-04-12 08:08:21 +02:00
tobiasKaminsky 3c69ae92bb wip
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-12 08:05:17 +02:00
tobiasKaminsky e67fc70451 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-12 08:04:23 +02:00
tobiasKaminsky 930d3e61fd wip
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-12 08:04:23 +02:00
tobiasKaminsky cf932e69e7 Fastscroll for all lists
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-12 08:04:23 +02:00
dependabot[bot] 7fb9b97e8d Bump hmarr/auto-approve-action from 2.2.0 to 2.2.1
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.2.0...v2.2.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-04-11 11:20:04 +00:00
dependabot[bot] 5e924a5c4f 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-04-11 11:20:00 +00:00
tobiasKaminsky abc9f14555 Fix trashbin navigation
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-11 08:33:00 +02:00
tobiasKaminskyandÁlvaro Brey 7817a3b8d5 Let us no longer create java files
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: Álvaro Brey <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-08 10:17:44 +02:00
Álvaro Brey 86ee9dff69 Merge pull request #10064 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.3
Bump gradle from 7.1.2 to 7.1.3
2022-04-08 09:06:31 +02:00
Nextcloud bot 7c6bce5617 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-08 04:05:40 +00:00
dependabot[bot] f2ff5482e9 Bump byteBuddyVersion from 1.12.8 to 1.12.9
Bumps `byteBuddyVersion` from 1.12.8 to 1.12.9.

Updates `byte-buddy` from 1.12.8 to 1.12.9
- [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.8...byte-buddy-1.12.9)

Updates `byte-buddy-android` from 1.12.8 to 1.12.9
- [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.8...byte-buddy-1.12.9)

---
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-04-08 01:32:43 +00:00
dependabot[bot] f8f46e62b9 Bump gradle from 7.1.2 to 7.1.3
Bumps gradle from 7.1.2 to 7.1.3.

---
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-04-08 01:32:06 +00:00
Álvaro Brey d97edf023d Merge pull request #10051 from nextcloud/fdroid-no-scan
Don't include document scanner in FDroid version
2022-04-07 12:46:08 +02:00
Álvaro Brey ace6b49786 Merge pull request #10059 from nextcloud/exceptionHandling
Do not use ExceptionHandler on debug builds
2022-04-07 12:18:50 +02:00
tobiasKaminsky df7e70a3f1 Do not use ExceptionHandler on debug builds
Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-07 11:47:42 +02:00
Tobias Kaminsky b84149ac7c Merge pull request #10034 from nextcloud/fix/details-title-again
Better approach for avoiding state loss in FileDetailFragment
2022-04-07 11:07:11 +02:00
Tobias Kaminsky 69234dec5f Merge pull request #10049 from nextcloud/fix/camera2_not_required
AndroidManifest: set camera2 feature to not required
2022-04-07 10:44:34 +02:00
Álvaro Brey 9d68af7caf Merge pull request #10047 from nextcloud/dependabot/gradle/jacoco_version-0.8.8
Bump jacoco_version from 0.8.7 to 0.8.8
2022-04-07 10:37:27 +02:00
Álvaro Brey d781583c6c Merge pull request #10007 from nextcloud/fixVideoStreaming
Use remoteId to properly fetch streaming video url
2022-04-07 10:36:07 +02:00
Álvaro Brey 568988d891 Merge pull request #10054 from nextcloud/dependabot/gradle/com.h3xstream.findsecbugs-findsecbugs-plugin-1.12.0
Bump findsecbugs-plugin from 1.11.0 to 1.12.0
2022-04-07 10:26:57 +02:00
dependabot[bot] d33a3ce9e4 Bump findsecbugs-plugin from 1.11.0 to 1.12.0
Bumps [findsecbugs-plugin](https://github.com/find-sec-bugs/find-sec-bugs) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/find-sec-bugs/find-sec-bugs/releases)
- [Changelog](https://github.com/find-sec-bugs/find-sec-bugs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/find-sec-bugs/find-sec-bugs/commits)

---
updated-dependencies:
- dependency-name: com.h3xstream.findsecbugs:findsecbugs-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-04-07 01:13:27 +00:00
Álvaro Brey Vilas 9827612010 Don't include document scanner in FDroid version
Not allowed due to binary OpenCV

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-06 14:43:05 +02:00
Álvaro Brey Vilas ba369f22ab AndroidManifest: set camera2 feature to not required
Brought by document scanner lib, but not actually required. If set to required,
devices without this feature will not see the app in Play Store.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-06 09:26:39 +02:00
dependabot[bot] bf1657facb Bump jacoco_version from 0.8.7 to 0.8.8
Bumps `jacoco_version` from 0.8.7 to 0.8.8.

Updates `org.jacoco.core` from 0.8.7 to 0.8.8
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.7...v0.8.8)

Updates `org.jacoco.report` from 0.8.7 to 0.8.8
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.7...v0.8.8)

Updates `org.jacoco.agent` from 0.8.7 to 0.8.8
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.7...v0.8.8)

---
updated-dependencies:
- dependency-name: org.jacoco:org.jacoco.core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jacoco:org.jacoco.report
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jacoco:org.jacoco.agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-04-06 01:06:17 +00:00
Álvaro Brey 5b8d11f738 Optimize loading time for Shared view (#10015)
* Don't load entire OCFiles in the Shared view, as it takes too long

Instead, build partially-filled OCFiles from the OCShares we get

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

* Load metadata of shared files only when attempting to interact with them

This was quite a big undertaking and required a whole new fragment

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

* Fix wrong usages of deprecaed OCShare shareType setter

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-04-04 18:52:21 +02:00
Álvaro Brey 0736d01f01 Merge pull request #10044 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.2.0
Bump hmarr/auto-approve-action from 2.1.0 to 2.2.0
2022-04-04 17:06:58 +02:00
dependabot[bot] dc15edb6f6 Bump hmarr/auto-approve-action from 2.1.0 to 2.2.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.1.0...v2.2.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-04-04 11:17:51 +00:00
Tobias Kaminsky b324f0d784 - no camera permission (#10042)
- scan document
- approve permission
- see scan document activity, previously it was wrong upload image activity

Signed-off-by: tobiasKaminsky <[email protected]>
2022-04-04 09:13:21 +00:00
Álvaro Brey c84d09f006 Merge pull request #10041 from nextcloud/dependabot/gradle/kotlin_version-1.6.20
Bump kotlin_version from 1.6.10 to 1.6.20
2022-04-04 10:57:43 +02:00
dependabot[bot] 84d7aa5406 Bump kotlin_version from 1.6.10 to 1.6.20
Bumps `kotlin_version` from 1.6.10 to 1.6.20.

Updates `kotlin-gradle-plugin` from 1.6.10 to 1.6.20
- [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.10 to 1.6.20
- [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-04-04 01:26:08 +00:00
Nextcloud bot 77507f9c9b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-04-03 04:01:33 +00:00
Álvaro Brey Vilas cd895ad2cf Better approach for avoiding state loss in FileDetailFragment
Do not overwrite file when updating share information, instead of holding the file in FDA

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-31 15:04:19 +02:00
Nextcloud bot 7285ddc4cb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-31 04:08:34 +00:00
Álvaro Brey d9811e1f34 Merge pull request #10013 from nextcloud/fix/login-after-logout
Fix bugs when removing accounts
2022-03-30 18:29:24 +02:00
Álvaro Brey 1666224219 Merge pull request #10025 from nextcloud/fix/fastlane-artifact-number
fastlane: Increase number of expected artifacts to 4
2022-03-30 18:06:18 +02:00
Nextcloud bot 9a94cb1e12 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-30 04:03:28 +00:00
Álvaro Brey Vilas 2dc9ec212a fastlane: Increase number of expected artifacts to 4
3 APKs + 1 AAB

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-28 17:19:35 +02:00
Álvaro Brey 70c605fd78 Merge pull request #10022 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-2
Bump peter-evans/create-or-update-comment from 1 to 2
2022-03-28 13:42:41 +02:00
dependabot[bot] d931d37e91 Bump peter-evans/create-or-update-comment from 1 to 2
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 1 to 2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-28 11:14:54 +00:00
Nextcloud bot 4b8bb8a707 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-28 04:02:23 +00:00
Nextcloud bot ca751d0f71 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-27 04:01:42 +00:00
Nextcloud bot 3753ef361c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-25 05:41:13 +00:00
Álvaro Brey Vilas a1901ca3e8 ManageAccountsActivity: go back to AuthenticatorActivity after removing last account
Instead of waiting for FileDisplayActivity to make a network request and fail

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 18:23:57 +01:00
Álvaro Brey Vilas 95046c4b5d AccountRemovalWork: remove cached owncloudClient after removing account
Otherwise, the account (which is identified by account name only) will reuse old token, if login is done right after account removal.

Three hours of debugging for one line of code

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 18:22:11 +01:00
Álvaro Brey 23a72722d3 Merge pull request #10009 from nextcloud/fix/dark-mode-scroll
Fix several scrolling bugs
2022-03-23 11:11:09 +01:00
Álvaro Brey Vilas 2e593a034b Fix FileDisplayActivity screenshot tests
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:38:08 +01:00
Álvaro Brey Vilas 154755af9b Fix scrolling behaviour when changing dark mode
Also fixes "scrolling on top bar" for empty folders

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:38:07 +01:00
Álvaro Brey Vilas b8bb261234 PreviewMediaFragment: fix crash when changing theme with audio fragment
Exoplayer is null when recreating

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:38:07 +01:00
Álvaro Brey Vilas 6a527a6e87 FileDisplayActivity: properly lock scrollbar for media preview
This locks the scrolling of the CoordinatorLayout AND removes the scroll flags from the AppbarLayout

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:38:07 +01:00
Álvaro Brey Vilas 17b695728e build.gradle: Fix spacing for library version
It's triggering false CI positives

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:37:41 +01:00
Álvaro Brey Vilas fb5de078f7 qa: fix head ref
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:29:31 +01:00
Álvaro Brey d013464320 Merge pull request #9959 from nextcloud/shareFromMediaView
Fix sharing from media view
2022-03-23 09:30:26 +01:00
Tobias Kaminsky 3aad1fc376 Merge pull request #9999 from nextcloud/chore/qa_pr_target
qa: run on pull_request_target, to enable running on fork PRs
2022-03-23 07:50:48 +01:00
Tobias Kaminsky 8f641e8aa2 Merge pull request #10006 from nextcloud/local-library-composite-build
SETUP: update local library linking instructions with composite builds
2022-03-23 07:48:31 +01:00
tobiasKaminsky f522446d13 Correctly show edit share link
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-23 06:50:51 +01:00
Nextcloud bot 0c5a9fd155 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-23 03:59:59 +00:00
tobiasKaminsky e481382c28 Use remoteId to properly fetch streaming video url
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-22 16:36:11 +01:00
Álvaro Brey Vilas f65b99a265 SETUP: update local library linking instructions with composite builds
Reference: https://docs.gradle.org/current/userguide/composite_builds.html

Not only is this the "official" way to do this, but also:
 - It's much simpler (changes only one file)
 - No need for symlinks
 - Android Studio support seems to finally be perfect (understands lombok, knows that there are two Git roots...)

[skip ci][ci skip]

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-22 14:31:59 +01:00
Álvaro Brey Vilas ea27e54d26 build.gradle: Restore library version
Wrongly committed

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-22 14:30:54 +01:00
Álvaro Brey Vilas f6298f7904 FileDetialsSharing...: add minHeight to content instead of scrollview
This still keeps the minimum height, but doesn't center the content vertically which looked odd

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-22 10:10:55 +01:00
Tobias Kaminsky 6c858840cb Merge pull request #10001 from nextcloud/chore/android-app-bundles
Use app bundles for Google Play upload
2022-03-22 08:33:50 +01:00
Tobias Kaminsky 646f857890 daily dev 20220322
Update Nextcloud Android library
2022-03-22 08:03:02 +01:00
Tobias Kaminsky 4cf9b68fab Merge pull request #10004 from nextcloud/fixDevScript
correct location of different build.gradle files
2022-03-22 07:59:13 +01:00
tobiasKaminsky c18bf9983e correct location of different build.gradle files
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-22 07:58:39 +01:00
Álvaro Brey Vilas 5cfa23c14b Update fastlane
command ran: bundle update fastlane

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 16:30:23 +01:00
Álvaro Brey Vilas 042b6aa38a fastlane: Sign the app bundle, and use it for google play upload
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 16:14:19 +01:00
Álvaro Brey Vilas ae0840e5aa fastlane: Build AAB for gplayRelease in addition to APK
APK is generated from AAB using bundletool, for speed and to ensure contents are the same

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 15:25:36 +01:00
tobiasKaminsky d91d2996ab Fix sharing from media view
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-21 15:06:06 +01:00
Álvaro Brey bfccee5d15 Merge pull request #9995 from nextcloud/gradle-clean
build.gradle: Add clean task to root project
2022-03-21 14:30:37 +01:00
Álvaro Brey Vilas eeee70f472 qa: run on pull_request_target, to enable running on fork PRs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 13:24:10 +01:00
Álvaro Brey 380585ea52 Merge pull request #9998 from nextcloud/dependabot/github_actions/actions/cache-3
Bump actions/cache from 2 to 3
2022-03-21 13:14:40 +01:00
dependabot[bot] efd6d88124 Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-21 11:48:58 +00:00
Álvaro Brey a9bc999574 Merge pull request #9991 from nextcloud/dependabot/gradle/org.json-json-20220320
Bump json from 20211205 to 20220320
2022-03-21 10:48:01 +01:00
Álvaro Brey edac6e2870 Merge pull request #9983 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.2
Bump firebase-messaging from 20.1.3 to 23.0.2
2022-03-21 10:47:04 +01:00
Álvaro Brey Vilas d63d22d066 GooglePlayUtils: convert to Kotlin, fix spotbugs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 09:40:18 +01:00
dependabot[bot] abf14b52cf Bump firebase-messaging from 20.1.3 to 23.0.2
Bumps firebase-messaging from 20.1.3 to 23.0.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-21 09:40:09 +01:00
Álvaro Brey Vilas 354047fdce build.gradle: Add clean task to root project
Missed this when restructuring

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 09:19:15 +01:00
Nextcloud bot 321a97acf7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-21 03:59:20 +00:00
dependabot[bot] 5cadf81c43 Bump json from 20211205 to 20220320
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20211205 to 20220320.
- [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-03-21 02:06:05 +00:00
Nextcloud bot 98575bc8ca [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-20 04:00:57 +00:00
Nextcloud bot d7dbef4085 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-19 04:01:55 +00:00
Nextcloud bot 6d1b14785c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-18 04:00:34 +00:00
Álvaro Brey 138d3a03a9 Merge pull request #9972 from nextcloud/fix/search-loading
Fix search loading animation and display
2022-03-17 13:04:10 +01:00
Álvaro Brey e7e2ab8a96 Merge pull request #9976 from nextcloud/fix/receive-crash-no-account
ReceiveExternalFilesActivity: don't crash if no user present
2022-03-17 10:44:45 +01:00
Álvaro Brey Vilas 769816978a OCFileListFragment: extract seach async task and convert it to kotlin
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-17 10:38:30 +01:00
Nextcloud bot 886400b5e0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-17 04:04:03 +00:00
Álvaro Brey b70eeaae3a Merge pull request #9977 from nextcloud/chore/ktlint-gradle
Use ktlint plugin instead of manual ktlint tasks
2022-03-16 13:05:23 +01:00
Álvaro Brey ad13f544ee Merge pull request #9974 from nextcloud/chore/espresso-intents-version
build.gradle: Don't hardcode espresso-intents version, use the same as other espresso libs
2022-03-16 13:00:49 +01:00
nextcloud-android-bot a64986e2e3 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas 3e2eba34a5 Update FolderPickerActivity screenshot
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas 0af297735c ExtendedListFragment: Remove ViewTreeObserver on search frame
This was incorrectly setting empty message when switching search types. And it makes no sense: search is only executed when submitted.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas e8e18609e5 OCFileListFragment: make search async task static, fix loading animation usage
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey e8acc254b8 Merge pull request #9969 from nextcloud/chore/ndk-version
build: Specify NDK version (optional install)
2022-03-16 11:38:15 +01:00
Álvaro Brey Vilas 3597fb0a53 Use ktlint plugin instead of manual ktlint tasks
- Recommended by ktlint
 - Analyzes sources for all sourcesets without extra config
 - Less gradle code to maintain

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:30:39 +01:00
Tobias Kaminsky eccd9205bd Merge pull request #9970 from nextcloud/fix/share-screen-update
FileDisplayActivity: set file when opening FileDetailsFragment
2022-03-16 11:03:28 +01:00
Álvaro Brey 76d9bbfba3 Merge pull request #9432 from nextcloud/showCorrectNoShared
if no shared files are on server, show correct empty message
2022-03-16 10:45:08 +01:00
Álvaro Brey Vilas 3975839d53 ReceiveExternalFilesActivity: don't crash if no user present
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 10:38:37 +01:00
Álvaro Brey Vilas d6f32eb5ce build.gradle: Don't hardcode espresso-intents version, use the same as other espresso libs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 10:01:04 +01:00
tobiasKaminsky d9b8b3baf8 Add NDK to buildDev
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-16 07:56:39 +01:00
Nextcloud bot e82fb2c6da [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-16 04:01:13 +00:00
tobiasKaminsky 080736af30 if no shared files are on server, show correct empty message
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-15 17:36:20 +01:00
Álvaro Brey Vilas 934953506f FileDisplayActivity: set file when opening FileDetailsFragment
Solves issues when creating or removing shares, at which point the file would be re-set to the root folder

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-15 17:26:35 +01:00
Tobias Kaminsky 91520971cd Merge pull request #9873 from nextcloud/optional-files-permission
Make external storage permission optional
2022-03-15 16:49:54 +01:00
Álvaro Brey Vilas ec98c5db52 Centralize NDK and CMAKE versions
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-15 14:43:05 +01:00
Álvaro Brey Vilas 3b5d9ddabf qa: Ensure NDK and cmake are present
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-15 13:14:57 +01:00
Álvaro Brey Vilas 12ce7c2837 build: Specify NDK version (optional install)
If this + CMake is installed, native libraries are correctly stripped, and then APK size is reduced.
If not installed, everything still works as we don't actually need to compile any native stuff.

If `ndkVersion` is not specified, then the default version for Android Gradle Plugin is expected,
and stripping will not work even if other NDK version is installed. So it's better to use a
specific version, to prevent it from stopping working in the future.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-15 10:29:20 +01:00
Álvaro Brey Vilas 1a9014ee3b FileDisplayActivity: always try to reload folder on onResume
This makes it so that the folder loads even without granting storage permission, which is the expected behaviour now

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:39:21 +01:00
Álvaro Brey Vilas 2a4316a298 PermissionUtil: ensure permission choice dialog doesn't overlap itself
(ensure only one instance of it is ever shown at the same time)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:22:17 +01:00
Álvaro Brey Vilas d8811c97a1 StoragePermissionDialogFragment: fix theming of buttons
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:18:07 +01:00
Álvaro Brey Vilas db196c68a4 Design updates for storage permission dialog
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:04:18 +01:00
Álvaro Brey Vilas ad5b443489 Choice between All Files and read-only external storage in SDK >=30
- Allow users to choose between MANAGE_EXTERNAL_STORAGE (full access) and READ_EXTERNAL_STORAGE (media read-only) in sdk >=30, with a dialog
- If All Files is not available (activity to manage not present, or permission not in manifest), request READ_EXTERNAL_STORAGE instead
- Misc improvements to permission request in UploadFilesActivity and SyncedFoldersActivity

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:04:17 +01:00
Álvaro Brey Vilas 7d2f0fa017 Make external storage permission optional
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:04:12 +01:00
Álvaro Brey 55c9811db6 Merge pull request #9865 from nextcloud/centralizeThemeUtils
Cache capabilities
2022-03-14 16:32:07 +01:00
Álvaro Brey Vilas 91c46090e8 Increase findbugs-results.txt
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 14:09:57 +01:00
tobiasKaminsky 05bd775171 only have one place for capability
update cache entry

Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-14 13:23:14 +01:00
Nextcloud bot d2f670369f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-14 11:15:03 +00:00
Álvaro Brey d4d18307b7 Merge pull request #9920 from nextcloud/fix/autoupload-select-folder
Fix folder selection in custom autoupload folders
2022-03-11 15:11:24 +01:00
Álvaro Brey Vilas a860761144 Increase lint and spotbugs
Lint is expected, spotbugs is false positive

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 13:22:52 +01:00
Álvaro Brey Vilas 785767ae70 Screenshot tests for UploadFilesActivity
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 13:22:50 +01:00
Álvaro Brey Vilas 900145da05 Fix folder selection in custom autoupload folders
Hide checkboxes and keep choose button enabled. The flow to select folders is to navigate into them and tap "Choose", as is typical in file browsers.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 13:21:31 +01:00
Álvaro Brey fbfa7fa746 Merge pull request #9960 from nextcloud/chore/modern-gradle-structure
Move app source to subproject, as per current gradle standards
2022-03-11 13:20:18 +01:00
Álvaro Brey Vilas 817bbe6d69 SETUP.md: update instructions to link library locally
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 12:19:45 +01:00
Álvaro Brey Vilas d23d20f31b Fix git hooks for new source location
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:42:11 +01:00
Álvaro Brey Vilas 797316b75a Fix screenshot screens for new source location
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:38:56 +01:00
Álvaro Brey Vilas b7c0e94b3d Fix scripts/buildDev for new source location
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:30:59 +01:00
Álvaro Brey Vilas 4c28ac03ff Fix scripts/androidScreenshotTest for new source location
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:28:21 +01:00
Álvaro Brey Vilas d8e5691366 Fix detekt and ktlint for new source path
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:23:31 +01:00
Álvaro Brey Vilas d2aa5520c6 Fix .codecov.yml after src path change
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:17:23 +01:00
Álvaro Brey Vilas 0282a98528 Fix generate_metadata.py
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:16:42 +01:00
Álvaro Brey Vilas f356311485 Update fastlane for new structurUpdate fastlane for new structure
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:15:24 +01:00
Álvaro Brey Vilas 4c4fb3cd1c Update transifex config
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:15:19 +01:00
Álvaro Brey Vilas b55c452f5f Fix uploadReport.sh for new structure
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:15:06 +01:00
Álvaro Brey Vilas 516544115c Fix screenshot tests after subproject change
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:14:46 +01:00
Álvaro Brey Vilas dd4085cf96 Fix analysis script for new project structure
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:12:47 +01:00
tobiasKaminsky 65fbc351e8 update drone
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-11 11:12:40 +01:00
tobiasKaminsky e32de23933 fix qa
fix lint
fix uploadArtifact.sh

Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-11 11:11:43 +01:00
Álvaro Brey Vilas e57176f009 Move app source to subproject
Android Studio has started to fail for some stuff with that old structure (for example connected tests don't work).
It's about time to do this.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:10:51 +01:00
Álvaro Brey 1324529d36 Merge pull request #9957 from nextcloud/dependabot/gradle/exoplayerVersion-2.17.1
Bump exoplayerVersion from 2.17.0 to 2.17.1
2022-03-11 09:27:30 +01:00
dependabot[bot] d2b884e9fe Bump exoplayerVersion from 2.17.0 to 2.17.1
Bumps `exoplayerVersion` from 2.17.0 to 2.17.1.

Updates `exoplayer` from 2.17.0 to 2.17.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.17.0...r2.17.1)

Updates `extension-okhttp` from 2.17.0 to 2.17.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.17.0...r2.17.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-03-11 02:04:51 +00:00
Álvaro Brey e0c8d337c7 Merge pull request #9954 from nextcloud/changelog-master-stable-3.19.1
Add changelog for 3.19.1
2022-03-10 15:58:57 +01:00
Álvaro Brey Vilas e69bda3431 Add changelog for 3.19.1
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-10 13:36:47 +01:00
Álvaro Brey e5cf4dd231 Merge pull request #9951 from nextcloud/stableServer
Test against latest stable
2022-03-10 13:05:41 +01:00
tobiasKaminsky 6dbee33546 Test against latest stable
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-10 11:14:26 +01:00
Álvaro Brey 8dc0bbe14f Merge pull request #9933 from nextcloud/chore/drone-no-skip-ci
Fix CI on analysis commits
2022-03-10 10:58:45 +01:00
Tobias Kaminsky 8a2c587aea Merge pull request #9945 from nextcloud/fix/exoplayer-http
Exoplayer: use NextcloudClient's OkHttp client for connections
2022-03-10 10:54:21 +01:00
Álvaro Brey Vilas b4c241cef9 Update analysis.yml
Analysis: don't add "skip ci" to drone commit messages

Messes up Github Actions and doesn't work on Drone anyway

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

analysis: Fix commiter name and email

Not drone anymore

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 15:02:44 +01:00
Álvaro Brey c383abbc37 Merge pull request #9940 from nextcloud/fix/chardet-android7
build.gradle: Restore juniversalchardet to 2.0.3
2022-03-09 14:58:33 +01:00
Álvaro Brey 55bdccc807 Merge pull request #9930 from nextcloud/fix/share-title-bar
FileActivity: don't try to get file from FileDetailSharingFragment
2022-03-09 14:56:13 +01:00
Álvaro Brey Vilas 738c058b7a Exoplayer: use NextcloudClient's OkHttp client for connections
This fixes some issues with SSL in Android 7, and allows using custom certificates for streaming,
fixes IPv6 fallback, etc etc.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 14:28:05 +01:00
nextcloud-android-bot 3f61f6767f Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-09 09:34:24 +00:00
Álvaro Brey Vilas 3c5907816a FileActivity: don't try to get file from FileDetailSharingFragment
This solves some bugs with toolbar title.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 10:25:46 +01:00
Álvaro Brey 5affe302c9 Merge pull request #9936 from nextcloud/fix/extra-user-type
FileDownloader: EXTRA_USER should be User, not Account
2022-03-09 10:20:35 +01:00
Álvaro Brey Vilas 837a42b83e build.gradle: Restore juniversalchardet to 2.0.3
Newer versions cause crashes in android < 7. This was mistakenly bumped in dependabot

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 10:16:30 +01:00
Álvaro Brey 4a621176a4 Merge pull request #9922 from nextcloud/syncedfolders-async
SyncedFoldersActivity: asynchronous loading
2022-03-09 10:01:20 +01:00
Álvaro Brey 69a103543f Merge pull request #9938 from nextcloud/dependabot/gradle/mockitoVersion-4.4.0
Bump mockitoVersion from 4.3.1 to 4.4.0
2022-03-09 09:49:05 +01:00
Tobias Kaminsky 530dfbc51d Merge pull request #9916 from nextcloud/chore/update_project_codestyles
Chore: Update codeStyles/Project.xml
2022-03-09 09:34:42 +01:00
Álvaro Brey Vilas e7dbbb45b4 Analysis: use proper token for clone
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 09:01:50 +01:00
dependabot[bot] bbd4718a14 Bump mockitoVersion from 4.3.1 to 4.4.0
Bumps `mockitoVersion` from 4.3.1 to 4.4.0.

Updates `mockito-core` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.0)

Updates `mockito-android` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.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-03-09 02:06:22 +00:00
Álvaro Brey Vilas 781fe1912c FileDownloader: EXTRA_USER should be User, not Account
Fixes #9935

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 16:30:51 +01:00
Álvaro Brey Vilas bee3403b21 analysis: Checkout branch, but use repo too
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 13:50:04 +01:00
Álvaro Brey Vilas 2a8123210a Analysis scripts: fix push
I am TIRED of fighting with this scripts and Github actions

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 13:16:53 +01:00
Álvaro Brey 59751c2fda Merge pull request #9921 from akallabeth/download_async_task
Fix #9842: Run network operations in async task
2022-03-08 13:04:41 +01:00
Álvaro Brey c480d91b4c Merge pull request #9910 from nextcloud/chore/retry-rule-no-sed
RetryTestRule: don't modify in scripts, use buildConfigField instead
2022-03-08 12:02:03 +01:00
Álvaro Brey Vilas bfffad6bf4 DocumentsStorageProvider: clean up download threading
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 11:33:24 +01:00
akallabeth a8c85a376d Fix #9842: Run DocumentProvider.openDocument network operations in async task
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 11:33:19 +01:00
Álvaro Brey Vilas b5f727f945 RetryTestRule: don't modify in scripts, use buildConfigField instead
Modifying code in scripts is bad

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 09:43:38 +00:00
Álvaro Brey Vilas 421a672e1d workflows: analysis: another attempt to fix checkout
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 10:27:24 +01:00
Álvaro Brey Vilas d2cb7e33b5 Revert "workflows: analysis: default checkout"
This reverts commit 55f02b550b.

Signed-off-by: Álvaro Brey <[email protected]>
2022-03-08 10:25:38 +01:00
Álvaro Brey fb6d8f8263 Merge pull request #9898 from nextcloud/chore/no-more-second-fragment
FileDisplayActivity: finally get rid of secondFragment
2022-03-08 10:23:26 +01:00
Álvaro Brey Vilas 55f02b550b workflows: analysis: default checkout
Should work in checkout@v3

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 10:04:15 +01:00
Nextcloud bot 4a9338d4fe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-08 03:58:09 +00:00
Álvaro Brey Vilas 6b3742a131 SyncedFoldersActivity: cancel loading when activity stops
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-07 14:47:18 +01:00
Álvaro Brey 2494967829 Merge pull request #9928 from nextcloud/dependabot/github_actions/actions/stale-5
Bump actions/stale from 4.1.0 to 5
2022-03-07 12:46:32 +01:00
Álvaro Brey 8a34bf220b Merge pull request #9926 from nextcloud/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-07 10:14:57 +01:00
Álvaro Brey 79452d3539 Merge pull request #9927 from nextcloud/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-03-07 09:47:30 +01:00
dependabot[bot] c8b1e0e43d Bump actions/stale from 4.1.0 to 5
Bumps [actions/stale](https://github.com/actions/stale) from 4.1.0 to 5.
- [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/v4.1.0...v5)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-07 08:20:44 +00:00
dependabot[bot] 7e7a1f4f97 Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...6673cd052c4cd6fcf4b4e6e60ea986c889389535)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-07 08:20:41 +00:00
dependabot[bot] 5e0c59cd6d Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-07 08:20:38 +00:00
Álvaro Brey 7d6d7e564e Merge pull request #9923 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2022-03-07 09:19:54 +01:00
Nextcloud bot 2b5d46eec6 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-05 08:17:06 +00:00
Nextcloud bot 02dbe46d78 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-05 03:54:31 +00:00
nextcloud-android-bot 0a97b9b797 Drone: update FindBugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-04 17:50:11 +01:00
nextcloud-android-bot 0ad73f845d Drone: update Lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-04 17:49:54 +01:00
Álvaro Brey Vilas dc4f4bc512 SyncedFolderAdapter: load thumbnails in parallel instead of sequentially
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 17:29:51 +01:00
Álvaro Brey Vilas c488b0b330 SyncedFoldersActivity: load content asynchronously
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 17:21:32 +01:00
Álvaro Brey Vilas 6b67362b7b SyncedFoldersActivity: convert to Kotlin (step 2)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 17:09:50 +01:00
Álvaro Brey Vilas aad327de21 SyncedFoldersActivity: conver to Kotlin (step 1)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 16:23:45 +01:00
Álvaro Brey Vilas 5891959a21 Update codeStyles/Project.xml
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-03 11:54:50 +01:00
Nextcloud bot c08cfd9c8f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-03 03:55:42 +00:00
Álvaro Brey 3383a6781a Merge pull request #9884 from nextcloud/creationTime
Correct handling of creation timestamp
2022-03-02 12:52:16 +01:00
Álvaro Brey Vilas 34ff8cff55 Restore library version
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-02 11:13:59 +01:00
Álvaro Brey 263413d53f Merge pull request #9881 from nextcloud/customCertInEditorWebView
Allow accessing URLs with custom cert in editor
2022-03-02 10:32:09 +01:00
Álvaro Brey d9c605e425 Merge pull request #9896 from nextcloud/fix/preview-shared
PreviewImageActivity: don't try to use virtual folder is type is NONE
2022-03-01 16:56:15 +01:00
Álvaro Brey 4dfd837257 Merge pull request #9897 from nextcloud/fix/selection-clear-titlebar
OCFileListFragment: don't reset title after clearing action mode (multiselect)
2022-03-01 16:55:27 +01:00
Unpublished 3c002fa0c3 Allow EditorWebView accessing URLs with custom certificate
Signed-off-by: Unpublished <[email protected]>

Drone: update Lint results to reflect reduced error/warning count

Signed-off-by: nextcloud-android-bot <[email protected]>

Drone: update FindBugs results to reflect reduced error/warning count

Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-01 16:26:37 +01:00
Álvaro Brey 436c782ebe Merge pull request #9904 from nextcloud/fix/media-title-restoring
GalleryFragment: restore title and fab on resume
2022-03-01 13:36:13 +01:00
Álvaro Brey 0e7587f73d Merge pull request #9901 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.17.0
Bump exoplayer from 2.16.1 to 2.17.0
2022-03-01 12:24:11 +01:00
Álvaro Brey 2b24e51eb4 Merge pull request #9907 from nextcloud/dependabot/gradle/mockkVersion-1.12.3
Bump mockkVersion from 1.12.2 to 1.12.3
2022-03-01 11:28:49 +01:00
Álvaro Brey Vilas 93f7c99d81 Force checkerframework version to fix error due to exoplayer upgrade
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-01 10:50:23 +01:00
dependabot[bot] 7bcea82061 Bump mockkVersion from 1.12.2 to 1.12.3
Bumps `mockkVersion` from 1.12.2 to 1.12.3.

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

Updates `mockk-android` from 1.12.2 to 1.12.3
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.2...1.12.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-03-01 02:06:21 +00:00
Álvaro Brey Vilas 39094c0ef7 UploadFileOperation: fix creationTimestamp type
Thanks, spotbugs

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 17:48:34 +01:00
Álvaro Brey Vilas 7ff1d0d7d3 GalleryFragment: restore title and fab on resume
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 17:33:08 +01:00
Álvaro Brey Vilas eeee11e427 PreviewImageActivity: don't try to use virtual folder is type is NONE
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 14:11:09 +00:00
Álvaro Brey Vilas 967327e321 OCFileListFragment: don't reset title after clearing action mode (multiselect)
This breaks the title when in a virtual folder. There's no need for this, as the title is preserved anyway

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 14:10:57 +00:00
tobiasKaminsky 6d6339ebf6 Correct handling of creation timestamp
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-28 14:10:39 +00:00
nextcloud-android-bot abfcec5adc Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-28 14:10:19 +00:00
Álvaro Brey Vilas dd4770669f FileDisplayActivity: finally get rid of secondFragment
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 14:10:19 +00:00
Álvaro Brey 1954584741 Merge pull request #9902 from nextcloud/fix/localid-nullpointer
OCFile: fix NPE in getLocalId when remoteID is null
2022-02-28 15:09:17 +01:00
Álvaro Brey Vilas ba21b3a43f OCFile: fix NPE in getLocalId when remoteID is null
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 12:51:05 +01:00
Nextcloud bot b8aa447056 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-28 04:13:54 +00:00
dependabot[bot] ebe28efc46 Bump exoplayer from 2.16.1 to 2.17.0
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.16.1 to 2.17.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.16.1...r2.17.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-28 02:09:41 +00:00
Nextcloud bot 76c5dded8f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-26 03:53:55 +00:00
Álvaro Brey 663cc8ed4f Merge pull request #9894 from nextcloud/unneededToString
Remove not needed toString() call
2022-02-25 15:29:28 +01:00
nextcloud-android-bot a990e6c2c8 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-25 13:54:05 +00:00
tobiasKaminsky 8401427d96 Remove not needed toString() call
Signed-off-by: tobiasKaminsky <[email protected]>

Update src/main/java/com/owncloud/android/db/OCUpload.java

Signed-off-by: Álvaro Brey <[email protected]>
2022-02-25 14:46:27 +01:00
Álvaro Brey 310d980313 Merge pull request #9893 from nextcloud/remoteIdNull
remoteId not needed when deleting a file
2022-02-25 14:45:17 +01:00
nextcloud-android-bot 99854accf6 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-25 12:49:47 +00:00
tobiasKaminsky 7c7e7e845d remoteId not needed when deleting a file
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-25 12:49:47 +00:00
Álvaro Brey cd94dc997b Merge pull request #9895 from nextcloud/fix/revert-exoplayer
Revert "Bump exoplayer from 2.16.1 to 2.17.0"
2022-02-25 13:47:51 +01:00
Álvaro Brey Vilas 3433312268 Revert "Bump exoplayer from 2.16.1 to 2.17.0"
Breaks instrumented test dependencies for some reason

This reverts commit b089ca76a4.
2022-02-25 13:45:27 +01:00
Álvaro Brey 2bd1b95fe9 Merge pull request #9889 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.17.0
Bump exoplayer from 2.16.1 to 2.17.0
2022-02-25 13:10:51 +01:00
Álvaro Brey 113c4a2a7b Merge pull request #9888 from nextcloud/chore/remove-third-party
Remove third party licenses for libs we don't use (anymore)
2022-02-25 09:51:26 +01:00
Álvaro Brey a4a5cc0396 Merge pull request #9890 from nextcloud/removeMail
remove mail notification on failure during CI, as this is shown in GitHub anyways
2022-02-25 09:48:07 +01:00
dependabot[bot] b089ca76a4 Bump exoplayer from 2.16.1 to 2.17.0
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.16.1 to 2.17.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.16.1...r2.17.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-25 08:47:19 +00:00
tobiasKaminsky 60aaf00fc2 remove mail notification on failure during CI, as this is shown in GitHub anyways
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-25 07:07:04 +01:00
Nextcloud bot 5d943ad24b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-25 03:53:59 +00:00
Álvaro Brey Vilas 812cd943db Remove third party licenses for libs we don't use (anymore)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 16:53:29 +01:00
Álvaro Brey 5b964994d1 Merge pull request #8805 from nextcloud/stacktrace
Add stacktrace directly to github issue
2022-02-24 13:38:04 +01:00
Álvaro Brey Vilas 1a0d3ed65b Cleanup
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 11:49:20 +01:00
Álvaro Brey Vilas 5d07c4c6e4 Better exception report template
With markdown now

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 11:42:55 +01:00
Álvaro Brey Vilas 4cc4418bec ExceptionHandler: format entire stack trace recursively
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 11:03:32 +01:00
tobiasKaminsky 53a04af735 Add stacktrace directly to github issue
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-24 11:03:26 +01:00
Álvaro Brey 06ad493ed2 Merge pull request #9846 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.44.0
Bump ktlint from 0.43.2 to 0.44.0
2022-02-24 10:25:18 +01:00
Álvaro Brey 9b3c08efcd Merge pull request #9880 from nextcloud/fixLoggerImpl
Fix LoggerImpl to also log throwable
2022-02-24 10:15:58 +01:00
Álvaro Brey 316a2579c4 Merge pull request #9882 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.2
Bump gradle from 7.1.1 to 7.1.2
2022-02-24 10:12:12 +01:00
Nextcloud bot b124793817 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-24 03:56:56 +00:00
dependabot[bot] 9ee6e7185c Bump gradle from 7.1.1 to 7.1.2
Bumps gradle from 7.1.1 to 7.1.2.

---
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-02-24 02:05:16 +00:00
Unpublished f50def5e0d Fix LoggerImpl to also log throwable
Signed-off-by: Unpublished <[email protected]>
2022-02-23 22:02:59 +01:00
Álvaro Brey 3b1dbe2301 Merge pull request #9866 from nextcloud/migrateParcelerToKotlinParcelize
Migrate from Parceler to kotlin-parcelize
2022-02-23 17:43:58 +01:00
Unpublished fcd1ab88b5 Migrate from Parceler to kotlin-parcelize
Signed-off-by: Unpublished <[email protected]>
2022-02-23 17:08:32 +01:00
Tobias Kaminsky 1250f27d59 Merge pull request #9877 from nextcloud/chore/espresso-intents-androidx
Use androidx for espresso-intents
2022-02-23 14:57:53 +01:00
Álvaro Brey Vilas ffe0b0c961 Use androidx for espresso-intents
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-23 13:35:35 +01:00
Álvaro Brey 00009680a3 Merge pull request #9859 from nextcloud/fix/video-stacking
Misc fixes for video player
2022-02-22 12:09:26 +01:00
Nextcloud bot 8f6e8f4927 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-22 03:56:19 +00:00
nextcloud-android-bot 2854b72f77 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-21 16:47:54 +00:00
nextcloud-android-bot 28e8c0d1ad Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-21 16:46:46 +00:00
Álvaro Brey Vilas 71c0f657e2 PreviewVideoActivity: improve button UX
- Add ripple on button click
 - Only show play OR pause button depending on playback state

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:43 +01:00
Álvaro Brey Vilas 87e508d2b1 Restore fast forward/rewind buttons in fullscreen video
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 7d89d68df6 PreviewVideoActivity: convert to Kotlin
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 329dea57a3 PreviewMediaFragment: fix restoring seek position when returning from fullscreen stream
The stream asynctask was just ignoring the saved time

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 11e472b18b PreviewVideoActivity: fix control buttons
For some reason only previous/next were working.

Manually bind play and pause, and remove the rest

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 22555a901a PreviewVideoActivity: pause player when activity stops
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas e419144456 PreviewVideoActivity: ensure player is stopped when closing fullscreen
This already worked for onBackPressed

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 686748dda2 PreviewMediaFragment: stop video when stopping activity, and don't recreate existing player
This avoids multiple instances of the player opening when minimizing the app, for example.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey c9018f8ba6 Merge pull request #9862 from nextcloud/fixLeakedCloseableViolation
Fix LeakedCloseableViolations in getScaledBitmap
2022-02-21 11:36:38 +01:00
Álvaro Brey cb9d9ff1a2 Merge pull request #9858 from nextcloud/fix/preview-share
Fix UX issues with toolbar in preview media fragment when using the "share" option
2022-02-21 09:46:28 +01:00
Nextcloud bot e4da58cfd2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-21 03:55:57 +00:00
Unpublished 2bd0bf0f14 Update findbugs-results.txt
Signed-off-by: Unpublished <[email protected]>
2022-02-20 13:22:48 +01:00
Unpublished 67397a4d7b Fix LeakedCloseableViolations in getScaledBitmap
Signed-off-by: Unpublished <[email protected]>
2022-02-20 12:56:28 +01:00
Nextcloud bot 5250b7380c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-20 03:55:24 +00:00
Nextcloud bot c704f59b37 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-19 03:55:54 +00:00
Álvaro Brey Vilas 7625275b07 Fix toolbar in PreviewMediaFragment after coming back from sharing fragment
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-18 13:48:17 +01:00
Álvaro Brey Vilas 66125d6a27 FileDisplayActivity: fix coordinator scrolling when opening share details from media preview
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-18 13:31:15 +01:00
Álvaro Brey 2b639f288b Merge pull request #9852 from nextcloud/dependabot/gradle/daggerVersion-2.41
Bump daggerVersion from 2.40.5 to 2.41
2022-02-17 18:12:26 +01:00
Álvaro Brey 735cbfc7ab Merge pull request #9851 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.6
Bump spotbugs-gradle-plugin from 5.0.5 to 5.0.6
2022-02-17 17:45:08 +01:00
Tobias Kaminsky 41d1698ea3 Merge pull request #9717 from nextcloud/scan_doc
Scan doc
2022-02-17 14:31:02 +01:00
thelittlefireman 9e7a9b410f Add scan document feature
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: thelittlefireman <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-17 10:10:36 +01:00
Nextcloud bot ee000f7b4e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-17 03:55:25 +00:00
dependabot[bot] c3939e881c Bump daggerVersion from 2.40.5 to 2.41
Bumps `daggerVersion` from 2.40.5 to 2.41.

Updates `dagger` from 2.40.5 to 2.41
- [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.40.5...dagger-2.41)

Updates `dagger-android` from 2.40.5 to 2.41
- [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.40.5...dagger-2.41)

Updates `dagger-android-support` from 2.40.5 to 2.41
- [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.40.5...dagger-2.41)

Updates `dagger-compiler` from 2.40.5 to 2.41
- [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.40.5...dagger-2.41)

Updates `dagger-android-processor` from 2.40.5 to 2.41
- [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.40.5...dagger-2.41)

---
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-02-17 02:05:47 +00:00
dependabot[bot] 70904ce924 Bump spotbugs-gradle-plugin from 5.0.5 to 5.0.6
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.5...5.0.6)

---
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-02-17 02:05:25 +00:00
Tobias Kaminsky 1e33020f80 Merge pull request #9783 from nextcloud/mediaEnhancement
Enhance media tab
2022-02-16 10:42:33 +01:00
dependabot[bot] 2d99d8a546 Bump ktlint from 0.43.2 to 0.44.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.43.2 to 0.44.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.43.2...0.44.0)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-16 02:05:51 +00:00
Álvaro Brey f9febe24ad Fallback pdf viewer (#9806)
* Basic PDF preview

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

* Preview pdf: add dividers between pages

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

* Prefer third-party pdf viewers over fallback viewer

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

* Zoomable view for pdf pages

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

pdf preview: Show tip to indicate that zooming on images is possible

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

* Pdf preview: screenshot test

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

* Fix spotbugs and lint

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

* PreviewPdfFragment: fix screenshot test

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

* PreviewPdfFragment: fix toolbar when resuming

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

* PreviewBitmapActivity: add screenshot test

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

* PreviewPdfFragment: fix crash in screenshot tests

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

* Pdf preview: rename tests

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

* pdf preview: Update copyright headers

Oops

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

* Pdf preview: use grey for background instead of black

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

* Pdf preview: add scrollbar

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

* Pdf preview: show zoom tip 3 times instead of only once

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

* Pdf preview: fix lint and improve styling

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-15 15:04:16 +01:00
Tobias Kaminsky 9723c0458e Merge pull request #9816 from nextcloud/pin
Improve PIN lockout handling
2022-02-15 14:54:08 +01:00
tobiasKaminsky ea863cd04c Fix test, satisfy spotbugs
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 14:52:55 +01:00
Tobias Kaminsky e5131c59ca Merge pull request #9736 from nextcloud/uploadCreationTimestamp
Make use of upload and creation timestamp
2022-02-15 14:22:08 +01:00
Álvaro Brey Vilas df3c98a0c4 PassCodeManager: use abstracted Clock implementation rather than system clock directly
Improves testability

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-15 11:23:36 +01:00
Álvaro Brey Vilas aafa7780f6 PassCodeActivity: update lock timestamp when lock has just been set
Prevents asking for pass immediately after setting it

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-15 10:27:11 +01:00
tobiasKaminsky 607d008a75 Make use of upload and creation timestamp
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 09:43:32 +01:00
tobiasKaminsky 3584b90bc6 Show empty message if no results
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 09:36:52 +01:00
tobiasKaminsky b2bfd985da Remove not needed check
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 09:23:50 +01:00
tobiasKaminsky 0624e7eef3 Satisfy CI
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 08:37:25 +01:00
tobiasKaminsky cdd73d7d3d Use master library again
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 08:11:24 +01:00
Nextcloud bot ac68a9269e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-15 05:33:30 +00:00
Álvaro Brey Vilas 8b03556f71 PassCodeManager: convert to Kotlin, clean up, use injection
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-14 18:28:56 +01:00
Álvaro Brey Vilas 579af4ab30 PassCodeManager: don't count passcode/credentials activity towards activity counter
This prevents repetition attacks

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-14 17:28:46 +01:00
Álvaro Brey 42b254dae6 Merge pull request #9829 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.9.0
Bump gson from 2.8.9 to 2.9.0
2022-02-14 13:49:31 +01:00
dependabot[bot] b2652633d2 Bump gson from 2.8.9 to 2.9.0
Bumps [gson](https://github.com/google/gson) from 2.8.9 to 2.9.0.
- [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.8.9...gson-parent-2.9.0)

---
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-02-14 12:15:06 +00:00
Álvaro Brey 6d6183b3b0 Merge pull request #9208 from nextcloud/flaky-tests-again
Add RetryTestRule to DrawerActivityIT
2022-02-14 11:16:18 +01:00
Álvaro Brey 69033e25e9 Merge pull request #9823 from nextcloud/chore/mockitokotlin2
Chore: replace `com.nhaarman.mockitokotlin2` with `org.mockito.kotlin`
2022-02-14 11:09:47 +01:00
Tobias Kaminsky b81027d057 Merge pull request #9791 from nextcloud/fix/shares-downloading-crash
FileActivity: fix crash on share operations when FileDetailFragment is second fragment
2022-02-14 09:06:22 +01:00
Tobias Kaminsky c41f87d281 Merge pull request #9822 from nextcloud/chore/conflicts-dialog-logs
ConflictsResolveActivity: Add log messages when dialog can't be created
2022-02-14 09:00:28 +01:00
Tobias Kaminsky 1d4bc98de7 Merge pull request #9812 from nextcloud/avatarSize
Use 512px for avatar
2022-02-14 08:47:33 +01:00
Tobias Kaminsky 8b0674e29f Merge pull request #9808 from nextcloud/resumeText
resuming TextEditor after splitting screens works now again
2022-02-14 08:40:09 +01:00
Tobias Kaminsky 541e55ff1c Merge pull request #9821 from nextcloud/fix/db-upgrade-crash
FileContentProvider: fix crash on certain upgrades
2022-02-14 08:30:47 +01:00
tobiasKaminsky fa73725815 Pin: use activity paused also, as stopped is sometimes too slow
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:30:00 +00:00
tobiasKaminsky 556f856ac3 Update adapter after finish search (success/failure)
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky e17beb00ad Do not show meta info (favorite, download status) in media view
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 256656af5d correctly return result
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 307a407631 fix reloading bug
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 07885c3a18 refactor/ clean up
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
nextcloud-android-bot 905b21e04a Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 5140d8d99f sql typo
fix not showing images

Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 3bfc373e50 Enhance media tab
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:50 +01:00
Nextcloud bot 6b8ce02a2e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-14 03:55:09 +00:00
Nextcloud bot bbf1032845 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-12 03:55:56 +00:00
Álvaro Brey Vilas 2a6398adda Chore: replace com.nhaarman.mockitokotlin2 with org.mockito.kotlin
It has been integrated into the main mockito org, and the old ID no longer receives updates

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 18:32:15 +01:00
tobiasKaminsky e20555f5d0 resuming TextEditor after splitting screens works now again
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 16:59:13 +00:00
Álvaro Brey ad24340f90 Merge pull request #9083 from nextcloud/gplayImpl
remove gplay.gradle, use gplayImplementation instead
2022-02-11 17:53:59 +01:00
Álvaro Brey Vilas c506cda8a6 FileDisplayActivity: ditch secondFragment for FileDetailsFragment, use leftFragment instead
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 16:49:57 +00:00
Álvaro Brey Vilas d82a989378 FileActivity: fix crash on share operations when FileDetailFragment is second fragment
When a file is downloaded, FileDetailFragment is opened as SECOND_FRAGMENT instead of LIST_OF_FILES, which breaks this logic.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 16:49:57 +00:00
Álvaro Brey Vilas 9cf0f1d6fa ConflictsResolveActivity: Add log messages when dialog can't be created
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 17:33:58 +01:00
Álvaro Brey Vilas b5d338fb8d FileContentProvider: fix crash on certain upgrades
checkIfColumnExists should not use getColumnIndexOrThrow, as it's supposed to check if the index doesn't exist

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 13:57:03 +01:00
Tobias Kaminsky 5c649785f1 Merge pull request #9819 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.8
Bump byteBuddyVersion from 1.12.7 to 1.12.8
2022-02-11 13:31:31 +01:00
Tobias Kaminsky b36da4a699 Merge pull request #9805 from nextcloud/highresThumbnails
High-res thumbnails
2022-02-11 13:16:31 +01:00
Tobias Kaminsky a3add82062 Merge pull request #9799 from nextcloud/dependabot/gradle/com.facebook.testing.screenshot-core-0.15.0
Bump core from 0.13.0 to 0.15.0
2022-02-11 13:08:35 +01:00
dependabot[bot] e37cd03378 Bump core from 0.13.0 to 0.15.0
Bumps [core](https://github.com/facebook/screenshot-tests-for-android) from 0.13.0 to 0.15.0.
- [Release notes](https://github.com/facebook/screenshot-tests-for-android/releases)
- [Changelog](https://github.com/facebook/screenshot-tests-for-android/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/screenshot-tests-for-android/compare/0.13.0...0.15.0)

---
updated-dependencies:
- dependency-name: com.facebook.testing.screenshot:core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-11 11:09:39 +00:00
tobiasKaminsky 7ddbb65ca2 Use 512px for avatar
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 11:09:23 +00:00
tobiasKaminsky 1c9a3e0208 For display with >= 600dp use higher file icon resolution
use this resolution also default thumbnails

Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 11:09:20 +00:00
dependabot[bot] 4f3de11179 Bump byteBuddyVersion from 1.12.7 to 1.12.8
Bumps `byteBuddyVersion` from 1.12.7 to 1.12.8.

Updates `byte-buddy` from 1.12.7 to 1.12.8
- [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.7...byte-buddy-1.12.8)

Updates `byte-buddy-android` from 1.12.7 to 1.12.8
- [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.7...byte-buddy-1.12.8)

---
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-02-11 11:08:50 +00:00
Tobias Kaminsky db71d3748e Merge pull request #9820 from nextcloud/newDroneServer
Update drone server image
2022-02-11 11:58:17 +01:00
tobiasKaminsky 11524528bf Update drone server image
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 10:16:52 +01:00
Álvaro Brey 8fd7a050c7 Merge pull request #9814 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.4.1
Bump lifecycle-viewmodel-ktx from 2.4.0 to 2.4.1
2022-02-10 12:54:42 +01:00
dependabot[bot] 452195342e Bump lifecycle-viewmodel-ktx from 2.4.0 to 2.4.1
Bumps lifecycle-viewmodel-ktx from 2.4.0 to 2.4.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-02-10 02:14:16 +00:00
Álvaro Brey e88a4d97d6 Merge pull request #9802 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.1
Bump gradle from 7.1.0 to 7.1.1
2022-02-07 09:43:57 +01:00
Álvaro Brey 4d9c878d4f Merge pull request #9801 from nextcloud/chore/test-sort-order
Update sorting tests
2022-02-07 09:21:24 +01:00
Nextcloud bot 73c01d1ef4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-07 03:54:38 +00:00
dependabot[bot] 0200142476 Bump gradle from 7.1.0 to 7.1.1
Bumps gradle from 7.1.0 to 7.1.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-02-07 02:07:01 +00:00
Nextcloud bot 559c41d880 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-05 03:54:13 +00:00
Álvaro Brey Vilas 08e7a761dc NaturalSortTest: shuffle instead of duplicating parameters
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:55:07 +01:00
Álvaro Brey Vilas 64d386786c Rename TestSorting to OCFileSortTest, conver to Kotlin, parameterize
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:55:07 +01:00
Álvaro Brey Vilas bed01a2f0c TestSorting: refactor and simplify since it's now only for OCFiles
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:12:52 +01:00
Álvaro Brey Vilas e7e603f4d8 Move string sort tests from TestSorting to NaturalSortTest
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:02:42 +01:00
Álvaro Brey Vilas d40fc88754 Move TestSorting to unit tests
No reason for it to be an instrumented test

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 12:54:45 +01:00
Álvaro Brey Vilas 91297b7ce0 Test AlphanumComparator
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 10:49:08 +01:00
Nextcloud bot 927babb3bf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-04 03:55:25 +00:00
Álvaro Brey b0848c23e7 Merge pull request #9796 from nextcloud/changelog-master-stable-3.19.0
Add changelog for 3.19.0
2022-02-03 13:19:53 +01:00
Álvaro Brey Vilas 1a7f81a47b Add changelog for 3.19.0
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-03 13:17:13 +01:00
Nextcloud bot c437db409e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-03 03:55:06 +00:00
Nextcloud bot dba8da00f0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-02 03:55:45 +00:00
Nextcloud bot 190332ceaa [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-01 03:55:35 +00:00
Álvaro Brey 1ecbf61cc7 Merge pull request #9776 from nextcloud/fix/activity-title
OCFileListFragment: set title when attached to activity
2022-01-31 15:42:16 +01:00
Álvaro Brey 0c5afce10e Merge pull request #9770 from nextcloud/Valdnet-patch-1
i18n: Change to a capital letter
2022-01-31 13:43:46 +01:00
Álvaro Brey Vilas d1d3a49a6b OCFileListFragment: set title when attached to activity
This prevents wrong title while search isn't started yet (such as when returning to a search fragment from a preview fragment)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-28 16:32:46 +01:00
Nextcloud bot 204cd5a2c5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-28 03:54:54 +00:00
Valdnet f28bc6f9f9 i18n: Change to a capital letter
Signed-off-by: Valdnet <[email protected]>
2022-01-27 17:12:02 +01:00
tobiasKaminsky ebf59510fc remove gplay.gradle, use gplayImplementation instead
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-27 12:15:37 +00:00
Álvaro Brey 88605985a0 Merge pull request #9743 from nextcloud/fix/media-dark-duplicated
Fix crashes and double loading in GalleryFragment when changing dark theme
2022-01-27 12:35:35 +01:00
Álvaro Brey 3e97e1e212 Merge pull request #9761 from nextcloud/fix/local-files-freeze
Improve freezes in local files screens when folder contains many files
2022-01-27 12:34:35 +01:00
Álvaro Brey 6ccd2f91de Merge pull request #9760 from nextcloud/fix/passcode-cancel
PassCodeActivity: enable cancel button when re-created in confirmation step
2022-01-27 12:33:57 +01:00
Álvaro Brey c2bdea7f74 Merge pull request #9762 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.4.1
Bump fragment-ktx from 1.4.0 to 1.4.1
2022-01-27 10:23:14 +01:00
Álvaro Brey Vilas f3de5f9862 LocalFileListAdapter: fix case where directory==null
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:49:07 +01:00
Álvaro Brey Vilas 96c55a6d9f FileSortOrder*: convert to Kotlin
Need more kotlin in the codebase and these were simple enough

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:49:07 +01:00
dependabot[bot] dc7f3f88e1 Bump fragment-ktx from 1.4.0 to 1.4.1
Bumps fragment-ktx from 1.4.0 to 1.4.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-01-27 08:38:05 +00:00
Álvaro Brey Vilas 7baa0f8da4 LocalFileListAdapter: Also change sort order asynchronously
Changing sort  order is also slow.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:33:50 +01:00
Álvaro Brey Vilas 2baf63d809 AlphaNumComparator: optimize usage and resolve signature problems
- Methods had ambiguous signatures (parameterized compare<T> overlapped the various typed compare()). This made the compiler very confused.
 - In several places throughout the app, AlphaNumComparator was getting repeatedly instantiated just to manually call a typed compare(). This was very wasteful

To solve both problems, the typed compare() methods have been been made static.

The performance gains of not instantiating the comparator repeatedly are very noticeable. In a test loading a local folder for upload with 1000 files in it,
time of load is reduced from 28 seconds to 17 seconds.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:33:50 +01:00
Álvaro Brey Vilas 462da35fdb LocalFileList: load local files asynchronously
Loading a large list of files (especially the sorting part) is S L O W.
This ensures it doesn't block the UI while loading.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:33:50 +01:00
Álvaro Brey Vilas c5ebc05964 PassCodeActivity: enable cancel button when re-created in confirmation step
Prevents a bug where the cancel button would stop working if the device was rotated

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:20:00 +01:00
Álvaro Brey 618a770349 Merge pull request #9751 from nextcloud/fix/clear-data
Fix some crashes and weird behaviours when clearing data
2022-01-27 09:18:21 +01:00
Álvaro Brey 4a29c2e4c4 Merge pull request #9726 from nextcloud/fix/immutable-intents
Make PendingIntents immutable
2022-01-27 09:16:03 +01:00
nextcloud-android-bot d51268d7b8 Drone: update FindBugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-01-26 14:09:47 +01:00
nextcloud-android-bot af2059660f Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-01-26 12:08:19 +00:00
Álvaro Brey Vilas c01fa0b170 Make more PendingIntents immutable
This should be all of them. Picked up by lint.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 12:56:05 +01:00
Álvaro Brey Vilas 27559efb79 Make PendingIntents immutable
Good practice for security

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 12:56:05 +01:00
Álvaro Brey 38c60b7618 Merge pull request #9758 from nextcloud/fix/analysis-again
Analysis: fix checkout and commit generation
2022-01-26 12:55:23 +01:00
Álvaro Brey Vilas 494cceab8e Analysis: fix checkout and commit generation
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 12:54:24 +01:00
Álvaro Brey 7eaed66ebc Merge pull request #9755 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.0
Bump gradle from 7.0.4 to 7.1.0
2022-01-26 12:06:04 +01:00
Álvaro Brey Vilas 45fc831989 gplay/AndroidManifest: set exported value for service
picked up by lint

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 9d5395c8fd ezvcard/ContactOperations: suppress locale lint in third_party class
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 043d839d70 build.gradle: Disable some translation errors in lint
Translations are handled in Transifex

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas a9ec1de015 manifest: Remove unneeded labels
Trips up lint

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 00586a5bde BackgroundJobFactory: fix lint due to unchecked build version for ContentObserverJob
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas b6115a5fc1 lint: Fix getLayoutInflater calls
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas b07716c0e5 screenshotTest: uninstall app before running
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 9f2bdd5916 Analysis: use pull_request_target
Can't post reports otherwise as github token is readonly in pull_request

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas e35b6211f0 build.gradle: Run migrations for AGP 7.1.0
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:52 +01:00
dependabot[bot] ae8752a4f7 Bump gradle from 7.0.4 to 7.1.0
Bumps gradle from 7.0.4 to 7.1.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-01-26 11:33:47 +01:00
Álvaro Brey e6d64e5ed5 Merge pull request #9754 from nextcloud/dependabot/gradle/mockitoVersion-4.3.1
Bump mockitoVersion from 4.3.0 to 4.3.1
2022-01-26 10:45:40 +01:00
Álvaro Brey 41b3921643 Merge pull request #9744 from nextcloud/dependabot/gradle/com.karumi-shot-5.13.0
Bump shot from 5.11.2 to 5.13.0
2022-01-26 10:44:25 +01:00
Álvaro Brey Vilas e1b41b5d77 ManageSpaceActivity: convert to Kotlin while we're here
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 08:32:49 +00:00
Álvaro Brey Vilas db74d67168 ManageSpaceActivity: kill the app after finishing cleanup
This will prevent the file list still being on the Recents view and other stuff like that.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 08:32:49 +00:00
Álvaro Brey Vilas 83e56643f4 ManageSpaceActivity: remove user accounts when clearing data
This fixes crashes and unexpected states when restarting the app afterwards

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 08:32:49 +00:00
Nextcloud bot 750864d951 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-26 03:55:40 +00:00
dependabot[bot] 8e67653a38 Bump mockitoVersion from 4.3.0 to 4.3.1
Bumps `mockitoVersion` from 4.3.0 to 4.3.1.

Updates `mockito-core` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1)

Updates `mockito-android` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.0...v4.3.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-01-26 02:05:19 +00:00
Álvaro Brey Vilas 5a65c65e76 uploadReport: update shot path
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-25 10:41:06 +01:00
Álvaro Brey Vilas 80928a2799 GalleryFragment: force refresh on create, prevent unneeded refresh animations
This fixes bugs with double-loading and weird animations

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-25 08:50:29 +00:00
Álvaro Brey Vilas 7181249667 GalleryFragment: prevent NPE when recreating fragment
getStorageManager() is not available in onCreate

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-25 08:50:29 +00:00
Álvaro Brey d057d48a89 Merge pull request #9745 from nextcloud/dependabot/gradle/mockitoVersion-4.3.0
Bump mockitoVersion from 4.2.0 to 4.3.0
2022-01-25 09:44:30 +01:00
Álvaro Brey a8feb7bb66 Merge pull request #9718 from nextcloud/fix/recent-files
Fix minor issues with recently modified view
2022-01-25 09:13:58 +01:00
Álvaro Brey b7f1ebd74b Merge pull request #9742 from nextcloud/fix/analysis-on-push
Run analysis workflow on push too
2022-01-25 09:07:25 +01:00
dependabot[bot] 4c44d469e0 Bump mockitoVersion from 4.2.0 to 4.3.0
Bumps `mockitoVersion` from 4.2.0 to 4.3.0.

Updates `mockito-core` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.0)

Updates `mockito-android` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.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-01-25 02:04:50 +00:00
dependabot[bot] d328d89c2d Bump shot from 5.11.2 to 5.13.0
Bumps [shot](https://github.com/karumi/shot) from 5.11.2 to 5.13.0.
- [Release notes](https://github.com/karumi/shot/releases)
- [Commits](https://github.com/karumi/shot/compare/5.11.2...5.13.0)

---
updated-dependencies:
- dependency-name: com.karumi:shot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-25 02:04:25 +00:00
Álvaro Brey Vilas 22367838ab Run analysis workflow on push too
Otherwise baseline results aren't generated

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 16:25:33 +01:00
Tobias Kaminsky 2476be69ba Merge pull request #9737 from nextcloud/chore/bump-fastlane
Bump versions for fastlane and plugins
2022-01-24 14:51:09 +01:00
Álvaro Brey Vilas 1a735f1840 Fix default visibility of recently modified
Should be visible unless setup.xml disables is (which it does by default)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:01 +01:00
Álvaro Brey Vilas c45dd9f5ff Remove recently added search
Was never fully implemented. Discarding in favor of recently modified.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:01 +01:00
Álvaro Brey Vilas 63c780999d OCFileListFragment: restore search event on view restored
Partially reverts https://github.com/nextcloud/android/pull/9427, which deleted too much stuff

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:00 +01:00
Álvaro Brey Vilas 6a45a90019 OCFileListFragment: add recently modified to the list of valid search events
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:00 +01:00
Álvaro Brey Vilas 93f973cdc2 Bump versions for fastlane and plugins
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 12:09:29 +01:00
Álvaro Brey dd94e20045 Merge pull request #9734 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.5
Bump spotbugs-gradle-plugin from 5.0.4 to 5.0.5
2022-01-24 09:53:05 +01:00
dependabot[bot] f0ea41a56b Bump spotbugs-gradle-plugin from 5.0.4 to 5.0.5
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.4...5.0.5)

---
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-01-24 08:13:52 +00:00
Álvaro Brey Vilas 62218fbb16 Add RetryTestRule to DrawerActivityIT
Flaky test

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 13:28:49 +01:00
2271 changed files with 36451 additions and 19907 deletions

No files matched your search

+1 -1
View File
@@ -20,5 +20,5 @@ github_checks:
annotations: false
ignore:
- "src/main/res/values*/*"
- "app/src/main/res/values*/*"
+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
+19 -70
View File
@@ -14,54 +14,27 @@ steps:
from_secret: LOG_PASSWORD
GIT_USERNAME:
from_secret: GIT_USERNAME
GIT_TOKEN:
GITHUB_TOKEN:
from_secret: GIT_TOKEN
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- scripts/checkIfRunDrone.sh $DRONE_PULL_REQUEST || exit 0
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
- sed -i s"#server#server#" gradle.properties
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
- ./gradlew assembleGplay
- ./gradlew assembleGplayDebug
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- ./gradlew assembleGplayDebugAndroidTest
- scripts/wait_for_emulator.sh
- scripts/deleteOldComments.sh "stable" "Unit" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew jacocoTestGplayDebugUnitTestReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "Unit" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew installGplayDebugAndroidTest
- scripts/wait_for_server.sh "server"
- scripts/deleteOldComments.sh "stable" "IT" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew createGplayDebugCoverageReport -Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew combinedTestReport
- name: notify
image: drillster/drone-email
settings:
port: 587
from: [email protected]
recipients_only: true
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
recipients:
from_secret: EMAIL_RECIPIENTS
host:
from_secret: EMAIL_HOST
when:
event:
- push
status:
- failure
branch:
- master
- stable-*
- scripts/deleteOldComments.sh "stable" "IT" $DRONE_PULL_REQUEST
- ./gradlew createGplayDebugCoverageReport -Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST
services:
- name: server
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
SERVER_VERSION: 'stable25'
commands:
- BRANCH='stable22' /usr/local/bin/initnc.sh
- BRANCH="$SERVER_VERSION" /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
@@ -70,11 +43,11 @@ services:
- su www-data -c "php /var/www/html/occ group:add users"
- su www-data -c "php /var/www/html/occ group:adduser users user1"
- su www-data -c "php /var/www/html/occ group:adduser users user2"
- su www-data -c "git clone -b stable22 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "php /var/www/html/occ app:enable activity"
- su www-data -c "git clone -b stable22 https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "php /var/www/html/occ app:enable text"
- su www-data -c "git clone -b stable22 https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/"
- su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/"
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
- /usr/local/bin/run.sh
@@ -101,41 +74,17 @@ steps:
from_secret: LOG_PASSWORD
GIT_USERNAME:
from_secret: GIT_USERNAME
GIT_TOKEN:
GITHUB_TOKEN:
from_secret: GIT_TOKEN
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- scripts/checkIfRunDrone.sh $DRONE_PULL_REQUEST || exit 0
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
- scripts/runCombinedTest.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER
- name: notify
image: drillster/drone-email
settings:
port: 587
from: [email protected]
recipients_only: true
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
recipients:
from_secret: EMAIL_RECIPIENTS
host:
from_secret: EMAIL_HOST
when:
event:
- push
status:
- failure
branch:
- master
- stable-*
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- scripts/runCombinedTest.sh $DRONE_PULL_REQUEST $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER
services:
- name: server
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
@@ -176,7 +125,7 @@ steps:
environment:
GIT_USERNAME:
from_secret: GIT_USERNAME
GIT_TOKEN:
GITHUB_TOKEN:
from_secret: GIT_TOKEN
LOG_USERNAME:
from_secret: LOG_USERNAME
@@ -184,7 +133,7 @@ steps:
from_secret: LOG_PASSWORD
commands:
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- sed -i s'#showOnlyFailingTestsInReports = ciBuild#showOnlyFailingTestsInReports = false#' build.gradle
- scripts/wait_for_emulator.sh
- scripts/runAllScreenshotCombinations noCI false
-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
+31 -3
View File
@@ -3,19 +3,47 @@ name: "Analysis"
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]
permissions:
pull-requests: write
contents: write
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup variables
id: get-vars
run: |
if [ -z "$GITHUB_HEAD_REF" ]; then
# 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:
repository: ${{ steps.get-vars.outputs.repo }}
ref: ${{ steps.get-vars.outputs.branch }}
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 11
- name: Install dependencies
run: |
python3 -m pip install defusedxml
- name: Run analysis wrapper
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
scripts/analysis/analysis-wrapper.sh ${{ secrets.GIT_USERNAME }} ${{ secrets.GIT_TOKEN }} ${{ github.head_ref }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ github.event.pull_request.number }}
scripts/analysis/analysis-wrapper.sh ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ steps.get-vars.outputs.pr }}
+5 -2
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
@@ -12,9 +15,9 @@ jobs:
matrix:
flavor: [ Generic, Gplay, Huawei ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 11
+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.1.0
- uses: hmarr/auto-approve-action@v3.1.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
+6 -3
View File
@@ -4,17 +4,20 @@ 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, ktlint ]
task: [ detekt, spotlessKotlinCheck ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 11
+44
View File
@@ -0,0 +1,44 @@
name: "CodeQL"
on:
push:
branches: [ "master", "main", "stable-*" ]
pull_request:
branches: [ "master", "main" ]
schedule:
- cron: '24 18 * * 3'
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Set up JDK
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"
./gradlew assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
+36 -31
View File
@@ -6,41 +6,46 @@
name: Rebase command
on:
issue_comment:
types: created
issue_comment:
types: created
permissions:
contents: read
jobs:
rebase:
runs-on: ubuntu-latest
rebase:
runs-on: ubuntu-latest
permissions:
contents: none
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Checkout the latest code
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.5
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.7
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v2
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
+32
View File
@@ -0,0 +1,32 @@
name: "Detect new java files"
on:
pull_request:
branches: [ master, main, stable-* ]
permissions: read-all
jobs:
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
+4 -1
View File
@@ -4,11 +4,14 @@ on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
jobs:
detectSnapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Detect SNAPSHOT
run: scripts/analysis/detectSNAPSHOT.sh
@@ -4,10 +4,13 @@ on:
pull_request:
branches: [ master, stable-* ]
# Declare default permissions as read only.
permissions: read-all
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
+16 -6
View File
@@ -4,6 +4,10 @@ on:
pull_request:
branches: [ master, stable-* ]
permissions:
pull-requests: write
contents: read
jobs:
qa:
runs-on: ubuntu-latest
@@ -11,14 +15,19 @@ jobs:
- name: Check if secrets are available
run: echo "::set-output name=ok::${{ secrets.KS_PASS != '' }}"
id: check-secrets
- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
- name: set up JDK 11
uses: actions/setup-java@v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 11
- name: Install NDK and cmake
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
run: |
source ndk.env
/usr/local/lib/android/sdk/tools/bin/sdkmanager "ndk;${NDK_VERSION}" "cmake;${CMAKE_VERSION}"
- name: Build QA
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
env:
@@ -26,11 +35,12 @@ jobs:
KEY_PASS: ${{ secrets.KEY_PASS }}
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" build.gradle
sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" build.gradle
sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" app/build.gradle
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 build/outputs/apk/qa/debug/qa-debug-*.apk
sudo scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
$(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
scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}}
+2 -2
View File
@@ -22,7 +22,7 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
uses: actions/checkout@v3 # v2.4.0
with:
persist-credentials: false
@@ -42,7 +42,7 @@ jobs:
# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2.3.1
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v2.3.1
with:
name: SARIF file
path: results.sarif
+17 -9
View File
@@ -4,6 +4,10 @@ on:
pull_request:
branches: [ master, stable-* ]
permissions:
contents: read
pull-requests: write
jobs:
screenshot:
runs-on: macOS-latest
@@ -14,17 +18,17 @@ jobs:
color: [ blue ]
api-level: [ 27 ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Gradle cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: AVD cache
uses: actions/cache@v2
uses: actions/cache@v3
id: avd-cache
with:
path: |
@@ -32,7 +36,7 @@ jobs:
~/.android/adb*
key: avd-${{ matrix.api-level }}
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 11
@@ -59,8 +63,10 @@ jobs:
run: ./gradlew assembleGplayDebug
- name: Delete old comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ always() }}
run: scripts/deleteOldComments.sh "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
run: scripts/deleteOldComments.sh "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
- name: Run screenshot tests
uses: reactivecircus/android-emulator-runner@v2
@@ -71,15 +77,17 @@ jobs:
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: ./gradlew gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
script: ./gradlew uninstallAll gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
- name: upload failing results
if: ${{ failure() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
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@v2
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
path: build/reports
path: app/build/reports
retention-days: 4
+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/[email protected]
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
+49
View File
@@ -0,0 +1,49 @@
name: Unit tests
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]
permissions:
contents: read
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 11
- name: Delete old comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ always() }}
run: scripts/deleteOldComments.sh "test" "Unit" ${{github.event.number}}
- name: Run unit tests with coverage
uses: gradle/gradle-build-action@v2
with:
arguments: jacocoTestGplayDebugUnitTest
- name: Upload failing results
if: ${{ failure() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "test" "Unit" ${{github.event.number}}
- name: Upload coverage to codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit
fail_ci_if_error: true
- name: Upload jacoco artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb
with:
name: test-results
path: app/build/reports/tests/testGplayDebugUnitTest/
+5 -1
View File
@@ -1,6 +1,7 @@
# built application files
*.apk
*.ap_
*.aab
# files for the dex VM
*.dex
@@ -49,4 +50,7 @@ fastlane/Fastfile
**/fastlane/test_output
/fastlane/vendor/
/.bundle/
/fastlane/.bundle/
/fastlane/.bundle
# python
**/__pycache__/
-3
View File
@@ -65,9 +65,6 @@
<MarkdownNavigatorCodeStyleSettings>
<option name="RIGHT_MARGIN" value="120" />
</MarkdownNavigatorCodeStyleSettings>
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="JAVA">
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
+6 -5
View File
@@ -1,9 +1,10 @@
[main]
host = https://www.transifex.com
[nextcloud.android]
file_filter = src/main/res/values-<lang>/strings.xml
source_file = src/main/res/values/strings.xml
type = 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
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
+124
View File
@@ -1,3 +1,127 @@
## 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
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/69
## 3.20.2 (June 9th, 2022)
- Several minor bugfixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/68
## 3.20.1 (May 6th, 2022)
- Several minor bugfixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/67
## 3.20.0 (May 3rd, 2022)
- Built-in PDF viewer
- Built-in document scanner
- Better choices for storage permissions
- File locking support
- Better UI for media gallery
- Many bugfixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/64
## 3.19.1 (March 10, 2022)
- Minor fixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/65
## 3.19.0 (February 3, 2022)
- Support external storage in Media page
- Connection fallback to IPv4 when IPv6 fails
- Many other fixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/62
## 3.18.1 (December 22, 2021)
- Fix connection bug for usernames with spaces
+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:
+45 -41
View File
@@ -8,23 +8,23 @@ GEM
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.541.0)
aws-sdk-core (3.124.0)
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.52.0)
aws-sdk-core (~> 3, >= 3.122.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.109.0)
aws-sdk-core (~> 3, >= 3.122.0)
aws-sdk-s3 (1.114.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.4.0)
aws-sigv4 (1.5.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.0.3)
claide (1.1.0)
colored (1.2)
colored2 (3.1.2)
commander (4.6.0)
@@ -36,17 +36,18 @@ GEM
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
emoji_regex (3.2.3)
excon (0.89.0)
faraday (1.8.0)
excon (0.92.3)
faraday (1.10.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
@@ -55,14 +56,17 @@ GEM
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
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)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.2.5)
fastlane (2.199.0)
fastimage (2.2.6)
fastlane (2.207.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
@@ -101,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.17)
fastlane-plugin-huawei_appgallery_connect (1.0.23)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.14.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-core (0.4.1)
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)
@@ -114,19 +118,19 @@ GEM
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.9.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-playcustomapp_v1 (0.6.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-storage_v1 (0.10.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.5.0)
faraday (>= 0.17.3, < 2.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.2.0)
google-cloud-storage (1.35.0)
google-cloud-storage (1.37.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
@@ -134,20 +138,20 @@ GEM
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
googleauth (1.1.0)
faraday (>= 0.17.3, < 2.0)
googleauth (1.2.0)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
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.4.0)
json (2.6.1)
jwt (2.3.0)
jmespath (1.6.1)
json (2.6.2)
jwt (2.4.1)
memoist (0.16.2)
mini_magick (4.11.0)
mini_mime (1.1.2)
@@ -158,9 +162,9 @@ GEM
optparse (0.1.1)
os (1.1.4)
plist (3.6.0)
public_suffix (4.0.6)
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)
@@ -170,9 +174,9 @@ GEM
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.3)
signet (0.16.0)
signet (0.17.0)
addressable (~> 2.8)
faraday (>= 0.17.3, < 2.0)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.8)
@@ -189,11 +193,11 @@ GEM
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8)
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!
+9 -13
View File
@@ -89,20 +89,16 @@ The app is currently equipped to be built with three flavours:
#### 1. Direct usage of library project
This is handy if one wants to make changes both to files app and library:
- in files app root: ln -s $pathToLibraryProject nextcloud-android-library
- uncomment in build.gradle:
- `// implementation project('nextcloud-android-library')`
- comment in build.gradle:
```
implementation ("com.github.nextcloud:android-library:$androidLibraryVersion") {
exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
- Add the following to `settings.gradle`:
```groovy
includeBuild('[path to library clone]') {
dependencySubstitution {
substitute module('com.github.nextcloud:android-library') using project(':library')
}
```
- comment in settings.gradle:
- `include ':'`
- add in settings.gradle:
- `include 'nextcloud-android-library'`
- sync project with gradle files
}
```
- Sync project with gradle files
Now every change in library can be directly used in files app.
-12
View File
@@ -43,18 +43,6 @@ The third party software included and used by this project is:
The library is included in the Nextcloud client APK.
See http://jackrabbit.apache.org/
* TouchImageView, 1.2.0. commit 6dbeac4f11936185ba374c73144ac431c23c9aab
Copyright (c) 2014 Michael Ortiz
Licensed under MIT License
This library is in the source code.
See https://github.com/MikeOrtiz/TouchImageView
* floatingactionbutton 1.10.21.
Copyright (c) 2014 Jerzy Chalupski
Licensed under Apache License, Version 2.0.
The library is included in the Nextcloud client APK.
See https://github.com/futuresimple/android-floating-action-button
* AndroidSVG 1.2.1.
Copyright (c) 2014 Paul LeBeau
Licensed under Apache License, Version 2.0.
+1
View File
@@ -0,0 +1 @@
/build
+448
View File
@@ -0,0 +1,448 @@
import com.github.spotbugs.snom.SpotBugsTask
import org.gradle.internal.jvm.Jvm
buildscript {
dependencies {
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.13'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
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"
}
}
plugins {
id "com.diffplug.spotless" version "6.12.0"
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: 'checkstyle'
apply plugin: 'pmd'
apply plugin: 'com.hiya.jacoco-android'
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
println "Gradle uses Java ${Jvm.current()}"
configurations {
all {
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
// check for updates every build
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
}
}
}
configurations.configureEach {
resolutionStrategy.eachDependency {
if (requested.group == "org.checkerframework" && requested.name != "checker-compat-qual") {
useVersion(checkerVersion)
because("https://github.com/google/ExoPlayer/issues/10007")
}
}
}
// semantic versioning for version code
def versionMajor = 3
def versionMinor = 24
def versionPatch = 0
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
def ndkEnv = new HashMap<String, String>()
file("$project.rootDir/ndk.env").readLines().each() {
def (key, value) = it.tokenize('=')
ndkEnv.put(key, value)
}
def perfAnalysis = project.hasProperty('perfAnalysis')
android {
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 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"
testInstrumentationRunnerArgument "TEST_SERVER_URL", "${NC_TEST_SERVER_BASEURL}"
testInstrumentationRunnerArgument "TEST_SERVER_USERNAME", "${NC_TEST_SERVER_USERNAME}"
testInstrumentationRunnerArgument "TEST_SERVER_PASSWORD", "${NC_TEST_SERVER_PASSWORD}"
testInstrumentationRunnerArguments disableAnalytics: 'true'
multiDexEnabled true
versionCode versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
if (versionBuild > 89) {
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
} else if (versionBuild > 50) {
versionName "${versionMajor}.${versionMinor}.${versionPatch} RC" + (versionBuild - 50)
} else {
versionName "${versionMajor}.${versionMinor}.${versionPatch} Alpha" + (versionBuild + 1)
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
flavorDimensions "default"
buildTypes {
debug {
testCoverageEnabled(project.hasProperty('coverage'))
}
}
productFlavors {
// used for f-droid
generic {
applicationId 'com.nextcloud.client'
dimension "default"
}
gplay {
applicationId 'com.nextcloud.client'
dimension "default"
}
huawei {
applicationId 'com.nextcloud.client'
dimension "default"
}
versionDev {
applicationId "com.nextcloud.android.beta"
dimension "default"
versionCode 20220322
versionName "20220322"
}
qa {
applicationId "com.nextcloud.android.qa"
dimension "default"
versionCode 1
versionName "1"
}
}
testOptions {
unitTests.returnDefaultValues = true
animationsDisabled true
}
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
packagingOptions {
resources {
excludes += 'META-INF/LICENSE*'
pickFirst 'MANIFEST.MF' // workaround for duplicated manifest on some dependencies
}
}
tasks.register("checkstyle", Checkstyle) {
configFile = file("${rootProject.projectDir}/checkstyle.xml")
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
source 'src'
include '**/*.java'
exclude '**/gen/**'
classpath = files()
}
tasks.register("pmd", Pmd) {
ruleSetFiles = files("${project.rootDir}/ruleset.xml")
ignoreFailures = true // should continue checking
ruleSets = []
source 'src'
include '**/*.java'
exclude '**/gen/**'
reports {
xml.enabled = false
html.enabled = true
xml {
destination = file("$project.buildDir/reports/pmd/pmd.xml")
}
html {
destination = file("$project.buildDir/reports/pmd/pmd.html")
}
}
}
check.dependsOn 'checkstyle', 'spotbugsGplayDebug', 'pmd', 'lint', 'spotlessKotlinCheck', 'detekt'
buildFeatures {
dataBinding true
viewBinding true
}
kotlinOptions {
jvmTarget = "1.8"
}
lint {
abortOnError false
checkGeneratedSources true
disable 'MissingTranslation', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities', 'GoogleAppIndexingWarning', 'MissingDefaultResource', 'InvalidPeriodicWorkRequestInterval', 'StringFormatInvalid', 'MissingQuantity'
htmlOutput file("$project.buildDir/reports/lint/lint.html")
htmlReport true
}
}
dependencies {
// dependencies for app building
implementation 'androidx.multidex:multidex:2.0.1'
// implementation project('nextcloud-android-library')
implementation("com.github.nextcloud:android-library:$androidLibraryVersion") {
exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
}
compileOnly 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2' // remove after entire switch to lib v2
implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
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.7.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
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.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.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.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.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.5.0'
implementation 'com.vanniktech:emoji-google:0.9.0'
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"
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.12.0'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
implementation "com.google.dagger:dagger:$daggerVersion"
implementation "com.google.dagger:dagger-android:$daggerVersion"
implementation "com.google.dagger:dagger-android-support:$daggerVersion"
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
implementation 'org.conscrypt:conscrypt-android:2.5.2'
implementation "com.google.android.exoplayer:exoplayer:$exoplayerVersion"
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'
// dependencies for markdown rendering
implementation "io.noties.markwon:core:$markwonVersion"
implementation "io.noties.markwon:ext-strikethrough:$markwonVersion"
implementation "io.noties.markwon:ext-tables:$markwonVersion"
implementation "io.noties.markwon:ext-tasklist:$markwonVersion"
implementation "io.noties.markwon:html:$markwonVersion"
implementation "io.noties.markwon:syntax-highlight:$markwonVersion"
implementation "io.noties:prism4j:$prismVersion"
kapt "io.noties:prism4j-bundler:$prismVersion"
implementation('org.mnode.ical4j:ical4j:3.0.0') {
['org.apache.commons', 'commons-logging'].each {
exclude group: "$it"
}
}
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:20220924'
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
testImplementation 'androidx.arch.core:core-testing:2.1.0'
testImplementation "io.mockk:mockk:$mockkVersion"
testImplementation "io.mockk:mockk-android:$mockkVersion"
// dependencies for instrumented tests
// JUnit4 Rules
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
androidTestImplementation "androidx.test:rules:$androidxTestVersion"
// Android JUnit Runner
androidTestImplementation "androidx.test:runner:$androidxTestVersion"
androidTestUtil "androidx.test:orchestrator:$androidxTestVersion"
androidTestImplementation "androidx.test:core-ktx:$androidxTestVersion"
// Espresso
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-web:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-accessibility:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
// Mocking support
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")
androidTestImplementation "io.mockk:mockk-android:$mockkVersion"
androidTestImplementation 'androidx.arch.core:core-testing:2.0.1'
androidTestImplementation "com.facebook.testing.screenshot:core:0.15.0"
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
// androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
// fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
//androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "com.github.stateless4j:stateless4j:2.6.0"
// upon each update first test: new registration, receive push
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 {
cacheChangingModulesFor 0, 'seconds'
force 'org.objenesis:objenesis:2.6'
eachDependency { details ->
if ('org.jacoco' == details.requested.group) {
details.useVersion "$jacoco_version"
}
}
}
}
tasks.withType(Test) {
// increased logging for tests
testLogging {
events "passed", "skipped", "failed"
}
}
android.applicationVariants.all { variant ->
variant.outputs.all { output ->
outputFileName = "${output.baseName}-${variant.versionCode}.apk"
}
}
spotless {
kotlin {
target "**/*.kt"
ktlint()
}
}
detekt {
reports {
xml {
enabled = false
}
}
config = files("detekt.yml")
}
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
}
jacoco {
toolVersion = "$jacoco_version"
}
spotbugs {
ignoreFailures = true // should continue checking
effort = "max"
reportLevel = "medium"
}
tasks.withType(SpotBugsTask) { task ->
String variantNameCap = task.name.replace("spotbugs", "")
String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
dependsOn "compile${variantNameCap}Sources"
excludeFilter = file("${project.rootDir}/spotbugs-filter.xml")
classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/")
reports {
xml {
required = true
}
html {
required = true
outputLocation = file("$project.buildDir/reports/spotbugs/spotbugs.html")
stylesheet = 'fancy.xsl'
}
}
}
+14 -74
View File
@@ -1,5 +1,5 @@
build:
maxIssues: 10
maxIssues: 0
weights:
# complexity: 2
# LongParameterList: 1
@@ -69,7 +69,8 @@ complexity:
excludes: ['**/androidTest/**']
LongParameterList:
active: true
threshold: 6
functionThreshold: 6
constructorThreshold: 6
ignoreDefaultParameters: false
MethodOverloading:
active: false
@@ -174,72 +175,6 @@ exceptions:
- Throwable
- RuntimeException
formatting:
active: true
android: false
ChainWrapping:
active: true
CommentSpacing:
active: true
Filename:
active: true
FinalNewline:
active: true
ImportOrdering:
active: false
Indentation:
active: true
indentSize: 4
continuationIndentSize: 4
MaximumLineLength:
active: true
maxLineLength: 120
ModifierOrdering:
active: true
NoBlankLineBeforeRbrace:
active: true
NoConsecutiveBlankLines:
active: true
NoEmptyClassBody:
active: true
NoLineBreakAfterElse:
active: true
NoLineBreakBeforeAssignment:
active: true
NoMultipleSpaces:
active: true
NoSemicolons:
active: true
NoTrailingSpaces:
active: true
NoUnitReturn:
active: true
NoUnusedImports:
active: true
NoWildcardImports:
active: true
PackageName:
active: true
ParameterListWrapping:
active: true
indentSize: 4
SpacingAroundColon:
active: true
SpacingAroundComma:
active: true
SpacingAroundCurly:
active: true
SpacingAroundKeyword:
active: true
SpacingAroundOperators:
active: true
SpacingAroundParens:
active: true
SpacingAroundRangeOperator:
active: true
StringTemplate:
active: true
naming:
active: true
ClassNaming:
@@ -267,7 +202,9 @@ naming:
functionPattern: '^([a-z$][a-zA-Z$0-9]*)|(`.*`)$'
excludeClassPattern: '$^'
ignoreOverridden: true
excludes: "**/*Test.kt"
excludes:
- "**/*Test.kt"
- "**/*IT.kt"
FunctionParameterNaming:
active: true
parameterPattern: '[a-z][A-Za-z0-9]*'
@@ -333,7 +270,7 @@ potential-bugs:
active: false
LateinitUsage:
active: false
excludeAnnotatedProperties: ""
ignoreAnnotated: []
ignoreOnClassesPattern: ""
UnconditionalJumpStatementInLoop:
active: false
@@ -389,7 +326,9 @@ style:
ignoreAnnotation: false
ignoreNamedArgument: true
ignoreEnums: false
excludes: "**/*Test.kt"
excludes:
- "**/*Test.kt"
- "**/*IT.kt"
MandatoryBracesIfStatements:
active: false
MaxLineLength:
@@ -439,10 +378,11 @@ style:
active: false
UnderscoresInNumericLiterals:
active: false
acceptableDecimalLength: 5
acceptableLength: 5
UnnecessaryAbstractClass:
active: false
excludeAnnotatedClasses: "dagger.Module"
ignoreAnnotated:
- "dagger.Module"
UnnecessaryApply:
active: false
UnnecessaryInheritance:
@@ -462,7 +402,7 @@ style:
allowedNames: "(_|ignored|expected|serialVersionUID)"
UseDataClass:
active: false
excludeAnnotatedClasses: ""
ignoreAnnotated: []
UtilityClassWithPublicConstructor:
active: false
VarCouldBeVal:
+2 -3
View File
@@ -23,9 +23,7 @@
</issue>
<issue id="UnusedQuantity">
<ignore path="**/values-sk-rSK/strings.xml"/>
<ignore path="**/values-cs-rCZ/strings.xml"/>
<ignore path="**/values-lt-rLT/strings.xml"/>
<ignore path="**/values-**/strings.xml" />
</issue>
<issue id="ExtraTranslation">
@@ -35,6 +33,7 @@
<issue id="UnusedResources">
<ignore path="**/values-**/strings.xml" />
<ignore path="**/values/setup.xml" />
</issue>
<issue id="TypographyEllipsis">
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

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