Compare commits

...
Author SHA1 Message Date
alperozturk 46d374a68d Reduce spotbugs
Signed-off-by: alperozturk <[email protected]>
2023-12-03 08:20:04 +00:00
alperozturk db7d5396da Reduce spotbugs
Signed-off-by: alperozturk <[email protected]>
2023-12-03 08:20:04 +00:00
alperozturk 95af136d38 Reduce warnings
Signed-off-by: alperozturk <[email protected]>
2023-12-03 08:20:04 +00:00
alperozturk c5f8974ea8 Revert onMessageEvent functions
Signed-off-by: alperozturk <[email protected]>
2023-12-03 08:20:04 +00:00
alperozturk 0f5f05e42b Fix warnings
Signed-off-by: alperozturk <[email protected]>
2023-12-03 08:20:04 +00:00
Nextcloud bot 37e0d2eda3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-12-03 02:40:37 +00:00
Nextcloud bot 08a7c416e0 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-12-03 02:40:10 +00:00
Nextcloud bot fa846c94a4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-12-02 02:52:37 +00:00
Nextcloud bot 8d8ff33557 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-12-02 02:52:07 +00:00
Nextcloud bot d4d86875f9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-12-01 17:10:37 +00:00
Nextcloud bot 5fd87fbaaf Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-12-01 17:10:09 +00:00
Tobias Kaminsky c48b20ea18 Merge pull request #12217 from nextcloud/metadata
metadata needs photos app
2023-12-01 10:47:55 +01:00
tobiasKaminsky f53ec5f995 metadata needs photos app
Signed-off-by: tobiasKaminsky <[email protected]>
2023-12-01 10:03:47 +01:00
Nextcloud bot 9c2269801c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-12-01 02:36:17 +00:00
Nextcloud bot 7bea198874 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-12-01 02:35:50 +00:00
Tobias Kaminsky 809bd82279 Merge pull request #12146 from nextcloud/bugfix/edited-new-deleted-image-only-appears-in-form-of-placeholder-even-after-refresh
Bugfix Refresh Gallery After Edit or Delete Image
2023-11-30 17:01:44 +01:00
Tobias Kaminsky bb9a403dff Merge pull request #12192 from nextcloud/bugfix/add-missing-foreground-service-type
Fix Crash on Android 14 When Start Foreground Service
2023-11-30 17:00:30 +01:00
Tobias Kaminsky 0dedcdae46 Merge pull request #12204 from nextcloud/refactor/fix-update-deprecated-api-edit-image-activity
Update deprecated api calls in EditImageActivity
2023-11-30 16:59:34 +01:00
Tobias Kaminsky ab92579d3d Merge pull request #12015 from nextcloud/wip/account-deletion-dialogue
Extend account deletion dialogue
2023-11-30 09:41:33 +01:00
Andy Scherzinger 41ef3d5a52 Merge pull request #12216 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-11-30 09:14:47 +01:00
nextcloud-android-bot 0065e576cf 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-11-30 06:36:06 +00:00
Nextcloud bot 5263f21916 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-30 02:37:08 +00:00
Nextcloud bot c429b79665 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-30 02:36:40 +00:00
Tobias Kaminsky 1a980c6ce0 Merge pull request #12194 from nextcloud/bugfix/make_cancel_work_with_new_upload_worker
Bugfix/Make cancelation work again for Android >= 11 via Worker
2023-11-29 09:08:39 +01:00
Nextcloud bot 246b8d0194 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-29 02:42:11 +00:00
Nextcloud bot 8ca1f7c6b4 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-29 02:41:44 +00:00
Nextcloud bot 7d639bbbc9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-28 02:46:01 +00:00
Nextcloud bot 0c4912c75b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-28 02:45:34 +00:00
Andy Scherzinger 78ae569884 Merge pull request #12208 from nextcloud/chore/noid/AndroidCommon0130
Bump android-common:ui 0.12.0 to 0.13.0
2023-11-27 20:45:42 +01:00
Andy Scherzinger b6d4a0fb1c Bump android-common:ui 0.12.0 to 0.13.0
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-27 18:38:36 +01:00
ZetaTom 144e1dc0ec Use MaterialButton theme
Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:37:03 +01:00
tobiasKaminsky 643f79e386 revert to master library branch
Signed-off-by: tobiasKaminsky <[email protected]>
2023-11-27 13:25:49 +01:00
tobiasKaminsky 7b2ace5168 add test for drop account
Signed-off-by: tobiasKaminsky <[email protected]>
2023-11-27 13:25:49 +01:00
ZetaTom dc0387658d Fix button theming
Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:49 +01:00
ZetaTom 94945af5af Replace Migration70to71.kt with AutoMigrationSpec
Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:49 +01:00
ZetaTom dc9cc6ade5 Fix database migration
Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:48 +01:00
ZetaTom c9f27b77a3 Remove legacy AccountRemovalConfirmationDialog.kt
Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:48 +01:00
ZetaTom 4ff1b3d7f6 Persist drop-account capability.
Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:48 +01:00
tobiasKaminsky 200e2db1f3 migrate to 74 and reset capabilities
Signed-off-by: tobiasKaminsky <[email protected]>
2023-11-27 13:25:48 +01:00
tobiasKaminsky 3a6854b209 temporarily move to feature branch
Signed-off-by: tobiasKaminsky <[email protected]>
2023-11-27 13:25:48 +01:00
ZetaTom de4dba2c1a Extended AccountRemovalDialog
- list item is now clickable as a whole
- commented out includeBuild in settings.gradle

Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:48 +01:00
ZetaTom dc73d6f491 Extended AccountRemovalDialog
- added required functionality and improved appearance
- added comments

Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:48 +01:00
ZetaTom bab344320c Extended AccountRemovalDialog
- add option to request deletion
- add android-library to settings.gradle

Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:48 +01:00
ZetaTom aac41da5bc Extended AccountRemovalDialog
- port account deletion dialogue to Kotlin
- rename dialogue to `AccountRemovalDialog`
- introduce custom view for dialogue content

Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:47 +01:00
ZetaTom be73b12e65 Extended AccountRemovalDialog
- list item is now clickable as a whole
- commented out includeBuild in settings.gradle

Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:47 +01:00
ZetaTom 315649309a Extended AccountRemovalDialog
- added required functionality and improved appearance
- added comments

Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:47 +01:00
ZetaTom 57d2bd6712 Extended AccountRemovalDialog
- add option to request deletion
- add android-library to settings.gradle

Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:47 +01:00
ZetaTom 90ec0dd2b2 Extended AccountRemovalDialog
- port account deletion dialogue to Kotlin
- rename dialogue to `AccountRemovalDialog`
- introduce custom view for dialogue content

Signed-off-by: ZetaTom <[email protected]>
2023-11-27 13:25:46 +01:00
Andy Scherzinger 5c94e8996e Merge pull request #12206 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.10.0
Build(deps): Bump gradle/gradle-build-action from 2.9.0 to 2.10.0
2023-11-27 13:15:37 +01:00
alperozturk 5c673e1636 Optimize imports
Signed-off-by: alperozturk <[email protected]>
2023-11-27 12:28:50 +01:00
alperozturk a87678a79e Fix foreground service on Android 14
Signed-off-by: alperozturk <[email protected]>
2023-11-27 12:28:50 +01:00
dependabot[bot] c28f001e1c Build(deps): Bump gradle/gradle-build-action from 2.9.0 to 2.10.0
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/842c587ad8aa4c68eeba24c396e15af4c2e9f30a...87a9a15658c426a54dd469d4fc7dc1a73ca9d4a6)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-11-27 11:26:02 +00:00
Andy Scherzinger 824772c247 Merge pull request #12202 from nextcloud/chore/AGP814-1
Build(deps): Bump com.android.tools.build:gradle from 8.1.1 to 8.1.4
2023-11-27 12:24:34 +01:00
ZetaTom bac5e978b2 Fix update
Signed-off-by: ZetaTom <[email protected]>
2023-11-27 11:20:42 +01:00
ZetaTom 1faf22aa1f Revert "Shift layout if nav bar exist"
This reverts commit 55d4496ef7.
2023-11-27 11:20:42 +01:00
ZetaTom 25452ddf91 Revert "Use extensions"
This reverts commit 411a133e41.
2023-11-27 11:20:42 +01:00
ZetaTom c0db2b91d6 Revert "Remove optional navbarcheck"
This reverts commit 677c80ee4b.
2023-11-27 11:20:42 +01:00
alperozturk 2eadbad887 Remove optional navbarcheck
Signed-off-by: alperozturk <[email protected]>
2023-11-27 11:20:42 +01:00
alperozturk 99a7a8c0a5 Use extensions
Signed-off-by: alperozturk <[email protected]>
2023-11-27 11:20:42 +01:00
alperozturk 0bf031ed0f Shift layout if nav bar exist
Signed-off-by: alperozturk <[email protected]>
2023-11-27 11:20:42 +01:00
alperozturk 0195bed94e Update api usages
Signed-off-by: alperozturk <[email protected]>
2023-11-27 11:20:41 +01:00
Andy Scherzinger ebff756b42 Build(deps): Bump com.android.tools.build:gradle from 8.1.1 to 8.1.4
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-27 11:08:51 +01:00
Nextcloud bot 1803157541 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-27 02:41:09 +00:00
Nextcloud bot 1fc34bf38b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-27 02:40:43 +00:00
Nextcloud bot 9fd027fbd6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-26 02:41:31 +00:00
Nextcloud bot 5fc8666da9 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-26 02:41:03 +00:00
Nextcloud bot 7baaaa4386 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-25 02:51:47 +00:00
Nextcloud bot fd2729225b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-25 02:51:19 +00:00
Andy Scherzinger 8d14a28d59 Merge pull request #12196 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-11-24 16:51:52 +01:00
nextcloud-android-bot fc8d8fb459 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-11-24 15:28:43 +00:00
Nextcloud bot 69025b05e3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-24 03:13:44 +00:00
Nextcloud bot cef3cae981 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-24 03:13:17 +00:00
Nextcloud bot d2224d1350 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-23 02:44:20 +00:00
Nextcloud bot 6561ea15ac Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-23 02:43:54 +00:00
Jonas Mayer 4084163ec0 Merge branch 'master' into bugfix/make_cancel_work_with_new_upload_worker 2023-11-22 13:17:22 +01:00
Jonas Mayer 3cf0271e8f resolve format violations in kotlin files
Signed-off-by: Jonas Mayer <[email protected]>
2023-11-22 13:05:53 +01:00
Tobias Kaminsky 6d0566ff3b Merge pull request #12191 from nextcloud/fixFDAIT
scrolling kills test
2023-11-22 11:22:46 +01:00
tobiasKaminsky f333466875 change filename and order
Signed-off-by: tobiasKaminsky <[email protected]>
2023-11-22 11:13:14 +01:00
tobiasKaminsky 6b086c56cd scrolling kills test
Signed-off-by: tobiasKaminsky <[email protected]>
2023-11-22 11:13:14 +01:00
Tobias Kaminsky 727cf0743c Merge pull request #12179 from erfanoabdi/master
Fix SSO on applications with shared uid
2023-11-22 11:02:33 +01:00
Andy Scherzinger 852591db40 Merge pull request #12177 from nextcloud/refactor/convert-ClipboardFiles-to-kt
Convert ClipboardFiles to Kotlin
2023-11-22 10:36:17 +01:00
Jonas Mayer 70685974f3 remove unnecessary argument
Signed-off-by: Jonas Mayer <[email protected]>
2023-11-22 09:37:07 +01:00
Jonas Mayer ce9b61654f remove unnecessary if branch
Signed-off-by: Jonas Mayer <[email protected]>
2023-11-22 09:29:44 +01:00
Nextcloud bot dd5adbbb41 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-22 02:44:25 +00:00
Nextcloud bot 2a0f7443ca Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-22 02:43:59 +00:00
alperozturk 73a39b9210 Suppress TooGenericExceptionCaught
Signed-off-by: alperozturk <[email protected]>
2023-11-21 21:22:47 +01:00
alperozturk f82a3719bb Decrease spotbugs
Signed-off-by: alperozturk <[email protected]>
2023-11-21 21:22:47 +01:00
alperozturk 3c83416a85 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-21 21:22:47 +01:00
alperozturk 35597ded35 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-21 21:22:47 +01:00
Andy Scherzinger 6756b4dfdc Merge pull request #12059 from nextcloud/nmc/emailShareViaContactBook
Share screen email selection from contact book
2023-11-21 21:19:29 +01:00
Andy Scherzinger 8cc428a3a9 Optimize layout, revert icon style
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-21 18:40:28 +01:00
Jonas Mayer dfe331e652 fix: on worker restart current gets deleted
Signed-off-by: Jonas Mayer <[email protected]>
2023-11-21 18:20:14 +01:00
Andy Scherzinger a543564078 reformat layout
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-21 18:19:46 +01:00
Andy Scherzinger 585c17075c define paddingEnd for right-to-left symmetry
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-21 16:59:37 +01:00
alperozturk 1ddc90495d Merge master
Signed-off-by: alperozturk <[email protected]>
2023-11-21 12:41:42 +01:00
Jonas Mayer 26e131e31a add cancel for new file upload worker
Signed-off-by: Jonas Mayer <[email protected]>
2023-11-21 12:11:12 +01:00
alperozturk 3e4f715498 Simplify code
Signed-off-by: alperozturk <[email protected]>
2023-11-21 12:09:05 +01:00
Alper ÖztürkandTom 7bcfdebb54 Update app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java
Co-authored-by: Tom <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2023-11-21 11:58:01 +01:00
Alper ÖztürkandTom 2ac1b51560 Update app/src/main/java/com/owncloud/android/ui/preview/PreviewImageActivity.java
Co-authored-by: Tom <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2023-11-21 11:57:54 +01:00
Erfan Abdi 1bcef78f0a Fix SSO on applications with shared uid
Signed-off-by: Erfan Abdi <[email protected]>
2023-11-21 14:02:41 +03:30
Andy Scherzinger 1af7b621e2 Update icon to Google Material one, improve layouting, make available for any build
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-21 10:38:42 +01:00
Andy Scherzinger 4262fa2c18 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-21 10:38:42 +01:00
A117870935 2bc2bbe3af Share via email selection from contact.
Signed-off-by: A117870935 <[email protected]>
2023-11-21 10:38:30 +01:00
Nextcloud bot dcdd79e2aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-21 02:45:41 +00:00
Nextcloud bot 803c9c8081 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-21 02:45:15 +00:00
Andy Scherzinger ddad5ebf6e Merge pull request #12168 from nextcloud/refactor/convert-FilePickerActivity-to-kt
Convert FilePickerActivity to Kotlin
2023-11-20 21:11:39 +01:00
alperozturk 1de7b5af59 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-20 17:55:13 +01:00
alperozturk 37641360c9 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-20 17:55:13 +01:00
Andy Scherzinger e4b9be195c Merge pull request #12173 from nextcloud/refactor/convert-CommunityActivity-to-kt
Convert CommunityActivity to Kotlin
2023-11-20 17:49:58 +01:00
Andy Scherzinger dc3a833827 Merge pull request #12190 from nextcloud/fix/ci-failing-due-to-not-enough-memory
Fix GradleProperties for CI/CD
2023-11-20 16:48:56 +01:00
alperozturk 04f1dcf293 Suppress spotless check
Signed-off-by: alperozturk <[email protected]>
2023-11-20 15:15:13 +01:00
alperozturk ce99a3ebd6 Fix spotless check
Signed-off-by: alperozturk <[email protected]>
2023-11-20 15:10:27 +01:00
Andy Scherzinger ff25cf949b Merge pull request #12189 from nextcloud/refactor/file_downloader_notification_title_prefix_change
Remove Unused Translation Key
2023-11-20 14:50:34 +01:00
alperozturk 600d6aa97f Trigger Tests Runner
Signed-off-by: alperozturk <[email protected]>
2023-11-20 14:46:25 +01:00
alperozturk 56e981af33 Fix spotless
Signed-off-by: alperozturk <[email protected]>
2023-11-20 14:17:17 +01:00
alperozturk df0d4f9011 Add new line eof
Signed-off-by: alperozturk <[email protected]>
2023-11-20 12:34:23 +01:00
alperozturk 195cee2345 Add empty line eof
Signed-off-by: alperozturk <[email protected]>
2023-11-20 12:09:58 +01:00
alperozturk 3e40a4b770 Add empty line
Signed-off-by: alperozturk <[email protected]>
2023-11-20 12:09:40 +01:00
alperozturk 5709c20932 Fix huawei flavour build
Signed-off-by: alperozturk <[email protected]>
2023-11-20 11:19:51 +01:00
github-actions 6cda6a4326 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2023-11-20 10:12:42 +00:00
alperozturk 40b8834125 Fix gradle properties for ci cd
Signed-off-by: alperozturk <[email protected]>
2023-11-20 11:01:45 +01:00
alperozturk 0395d31a6e Remove unused key
Signed-off-by: alperozturk <[email protected]>
2023-11-20 10:41:12 +01:00
alperozturk 4d39b7d4f3 Fix spotless check
Signed-off-by: alperozturk <[email protected]>
2023-11-20 10:03:57 +01:00
Andy Scherzinger 326d229294 Merge pull request #12167 from nextcloud/refactor/convert-NotificationsActivity-to-kt
Convert NotificationsActivity to Kotlin
2023-11-20 09:27:03 +01:00
Nextcloud bot 54156ea6bc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-20 02:45:07 +00:00
Nextcloud bot 68ae5106cb Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-20 02:44:40 +00:00
Nextcloud bot a5c0c6a953 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-19 02:48:03 +00:00
Nextcloud bot 27cf10705f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-19 02:47:36 +00:00
Andy Scherzinger 04e6fb2c9c Merge pull request #12187 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-11-18 21:29:24 +01:00
nextcloud-android-bot fa1e483c5d 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-11-18 20:27:53 +00:00
Nextcloud bot ae57ccbf0d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-18 02:53:13 +00:00
Nextcloud bot 3ec4439263 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-18 02:52:44 +00:00
Andy Scherzinger 91c8c38e5a Merge pull request #12182 from nextcloud/feature/use-m3-for-styles
Update Styles For Material Design 3
2023-11-17 15:32:31 +01:00
alperozturk 3bd77e142d Update styles
Signed-off-by: alperozturk <[email protected]>
2023-11-17 14:36:28 +01:00
Andy Scherzinger f09c3dafbf Merge pull request #12106 from nextcloud/update/material-design-library
Update M3 library, Increase target sdk to 34
2023-11-17 14:30:24 +01:00
Nextcloud bot 23d120e5cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-17 02:47:00 +00:00
Nextcloud bot ccfe93bd45 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-17 02:46:33 +00:00
Andy Scherzinger 63030282c7 Bump sleep on activities screenshot test
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-16 12:34:56 +01:00
Andy Scherzinger 273b7e547b Update test for sdk=34
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-16 12:33:30 +01:00
alperozturk 7b13a87680 Fix Lint Missing Super Call due to new targetSDKVersion
Signed-off-by: alperozturk <[email protected]>
2023-11-16 11:16:13 +01:00
alperozturk a4af8744f9 Update M3 library, Increase target sdk to 34
Signed-off-by: alperozturk <[email protected]>
2023-11-16 11:16:13 +01:00
Tobias Kaminsky 574cfae5b6 Merge pull request #12142 from nextcloud/847-upload-view-clicking-on-an-pendinguploaded-item-should-do-something
Open app internal preview for files in upload section
2023-11-16 09:48:47 +01:00
Nextcloud bot 07e6c6d05c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-16 03:13:43 +00:00
Nextcloud bot 55d6933a3d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-16 03:13:15 +00:00
Tobias Kaminsky 6103234a21 Merge pull request #12160 from nextcloud/bugfix/owncloud-legacy-migration-crash
Bugfix Old Owncloud App to Nextcloud App Migration
2023-11-15 15:15:06 +01:00
alperozturk b773a1455f Use extensions
Signed-off-by: alperozturk <[email protected]>
2023-11-15 14:46:06 +01:00
alperozturk 298943963f Extract methods
Signed-off-by: alperozturk <[email protected]>
2023-11-15 14:40:36 +01:00
alperozturk 230e81f1a8 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-15 14:35:12 +01:00
alperozturk 259872c943 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-15 14:35:11 +01:00
tobiasKaminsky b369caaec7 correct override
Signed-off-by: tobiasKaminsky <[email protected]>
2023-11-15 12:49:41 +01:00
Andy Scherzinger 1f0b1ed4c7 Merge pull request #12166 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-11-15 12:33:25 +01:00
alperozturk 6050d6f8f9 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-15 12:10:05 +01:00
alperozturk 51ffebecd2 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-15 12:10:04 +01:00
nextcloud-android-bot 6e0de62f58 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-11-15 09:49:12 +00:00
Nextcloud bot b70471c8ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-15 02:50:26 +00:00
Nextcloud bot 715b0866c6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-15 02:49:58 +00:00
Jonas Mayer 05c269c31b add log message for onError of file request in FileDisplayActivity
Signed-off-by: Jonas Mayer <[email protected]>
2023-11-14 17:55:01 +01:00
Jonas Mayer ceeba26608 view images in uploads tab and do everything in UploadListActivity
Signed-off-by: Jonas Mayer <[email protected]>
2023-11-14 16:18:44 +00:00
Jonas Mayer c79205a465 handle FileDisplayActivity openFileByPath request failed (e.g. file deleted)
Signed-off-by: Jonas Mayer <[email protected]>
2023-11-14 16:18:44 +00:00
Jonas Mayer 65f11e5d8c open app internal preview on uploaded item click
Signed-off-by: Jonas Mayer <[email protected]>
2023-11-14 16:18:44 +00:00
alperozturk baef406394 Suppress ResultOfMethodCallIgnored
Signed-off-by: alperozturk <[email protected]>
2023-11-14 10:06:14 +00:00
alperozturk c0441334d7 Fix owncloud to nextcloud app migration
Signed-off-by: alperozturk <[email protected]>
2023-11-14 10:06:14 +00:00
Nextcloud bot bd364e6e99 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-14 02:41:17 +00:00
Nextcloud bot a3ceba17de Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-14 02:40:51 +00:00
Andy Scherzinger 47b66d67c5 Merge pull request #12148 from nextcloud/refactor/passcode-activity-convert-to-kt
Convert PasscodeActivity To Kotlin, Material Design 3 Implementation
2023-11-13 18:44:03 +01:00
Andy Scherzinger 89b0127cd4 screenshots updated to M3 changes
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-13 18:36:34 +01:00
Andy Scherzinger 8e7bbb3a50 Merge pull request #12158 from nextcloud/refactor/convert-RichDocumentsEditorWebView-to-kt
Convert Rich Documents Editor Web View to Kotlin
2023-11-13 13:30:20 +01:00
alperozturk b1a3b2f8ee Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-13 09:01:37 +01:00
alperozturk 124a56bf04 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-13 09:01:36 +01:00
Nextcloud bot 2d02398391 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-13 02:39:17 +00:00
Nextcloud bot 7f9bef4ec0 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-13 02:38:51 +00:00
Nextcloud bot b93c248fb2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-12 02:42:13 +00:00
Nextcloud bot 8a42743bfa Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-12 02:41:47 +00:00
Nextcloud bot 1d3288b458 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-11 02:42:25 +00:00
Nextcloud bot 3b0aac34b4 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-11 02:41:56 +00:00
alperozturk c0e52ae09f Simplify code complexity
Signed-off-by: alperozturk <[email protected]>
2023-11-10 13:27:39 +01:00
alperozturk e3d0ce39b4 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-11-10 13:06:16 +01:00
alperozturk ceae5d0c4a Add final REFRESH_SEARCH_EVENT_RECEIVER
Signed-off-by: alperozturk <[email protected]>
2023-11-10 10:19:09 +01:00
alperozturk c402b3283d Add final REFRESH_SEARCH_EVENT_RECEIVER
Signed-off-by: alperozturk <[email protected]>
2023-11-10 10:14:35 +01:00
alperozturk ac90897d70 Reuse startPhotoSearch
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk 88132bfcd0 Optimize imports
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk 53a84c8ed8 Use BroadcastReceiver rather than static field
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk 2136bc1735 Revert changes for FileDisplayActivity
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk 40d5d6a744 Revert changes for OCFileListFragment
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk 470ce3d2fc Revert changes for OCFileListFragment
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk f9619b8b1c Revert changes for EditImageActivity
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk dea1407c35 Remove unused imports and functions
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk 5289ca2530 Trigger search event after preview
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk 2c7748ff9a Update deprecated API usage
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:03:07 +00:00
alperozturk fb98737fb2 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:46:57 +01:00
alperozturk cda4c0f95d Reuse startPhotoSearch
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:46:07 +01:00
alperozturk c5ed5bdca8 Optimize imports
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:27:26 +01:00
alperozturk 594b2825de Use BroadcastReceiver rather than static field
Signed-off-by: alperozturk <[email protected]>
2023-11-10 09:26:00 +01:00
Nextcloud bot 6ff60c5e25 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-10 02:38:38 +00:00
Nextcloud bot 7b3ac36040 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-10 02:38:10 +00:00
Andy Scherzinger 263e6e01ee Merge pull request #12094 from nextcloud/bugfix/share-is-no-longer-available-after-renaming-folder-9652183
Bugfix Share Is No Longer Available After Renaming Folder
2023-11-09 16:38:10 +01:00
github-actions d4737edbf9 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2023-11-09 16:37:52 +01:00
alperozturk d6f32ad71d Fix empty file after rename
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:37:52 +01:00
alperozturk 67c2ed76d4 Fix code analytics
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:37:52 +01:00
Andy Scherzinger 051c36a346 Merge pull request #12127 from nextcloud/bugfix/add-account-back-button-crash
Fix Crash When User Tap Back Button From Add Account Page
2023-11-09 16:37:04 +01:00
Andy Scherzinger 7b546e3589 Merge pull request #12132 from nextcloud/refactor/convert-MediaFolder-to-kt
Convert Media Folder to Kotlin
2023-11-09 16:34:50 +01:00
alperozturk 0af3c1d5c7 Fix visibility problem for tests
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:34:38 +01:00
alperozturk 57d360be49 Check nullable values in MainApp due to increased Lint
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:34:38 +01:00
alperozturk 1c2f58a4f8 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:34:38 +01:00
alperozturk 58a8442b12 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:34:38 +01:00
Andy Scherzinger aaf0fb27dc Merge pull request #12133 from nextcloud/refactor/convert-TrashbinActivity-to-kt
Convert TrashbinActivity to Kotlin
2023-11-09 16:33:45 +01:00
alperozturk b117fb7aa4 Revert changes for FileDisplayActivity
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:26:52 +01:00
alperozturk 88d20839b7 Revert changes for OCFileListFragment
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:26:05 +01:00
alperozturk 82fad97155 Revert changes for OCFileListFragment
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:23:15 +01:00
alperozturk 1ab8055cd4 Revert changes for EditImageActivity
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:21:27 +01:00
alperozturk f67470b0ad Remove unused imports and functions
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:11:02 +01:00
alperozturk 6f86329587 Trigger search event after preview
Signed-off-by: alperozturk <[email protected]>
2023-11-09 16:08:01 +01:00
Andy Scherzinger dece04b40b Merge pull request #12131 from nextcloud/refactor/convert-DeepLinkLoginActivity-to-kt
Convert Deep Link Login Activity to Kotlin
2023-11-09 15:47:20 +01:00
alperozturk c76803fe62 Update deprecated API usage
Signed-off-by: alperozturk <[email protected]>
2023-11-09 12:30:16 +01:00
alperozturk a64762a56d Merge master
Signed-off-by: alperozturk <[email protected]>
2023-11-09 11:54:34 +01:00
alperozturk 21be7c3ec9 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-11-09 11:53:12 +01:00
Andy Scherzinger 618745fa42 Merge pull request #12051 from nextcloud/testStable27
test on Stable 27
2023-11-09 10:19:10 +01:00
Nextcloud bot 1a8f70e426 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-09 02:40:36 +00:00
Nextcloud bot 869f3ea7fc Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-09 02:40:10 +00:00
tobiasKaminsky 4cf2be8efa test on Stable 27
Signed-off-by: tobiasKaminsky <[email protected]>
2023-11-08 18:55:37 +01:00
alperozturk 3a6374755f Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-08 18:45:42 +01:00
alperozturk c7c3475621 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-08 18:45:42 +01:00
alperozturk 5178e43813 Remove java Boolean usage
Signed-off-by: alperozturk <[email protected]>
2023-11-08 14:55:44 +01:00
Nextcloud bot 007b69af5a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-08 02:50:58 +00:00
Nextcloud bot 1852ec0051 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-08 02:50:32 +00:00
Tobias Kaminsky 569e5fa2ab Merge pull request #12118 from nextcloud/refactor/convert-WhatsNewActivity-to-kt
Convert WhatsNewActivity to Kotlin
2023-11-07 08:50:46 +01:00
Nextcloud bot b1664afccb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-07 02:53:02 +00:00
Nextcloud bot bb07b5c1ed Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-07 02:52:31 +00:00
Tobias Kaminsky 28f54f3847 Merge pull request #12068 from nextcloud/bugfix/app-not-switching-to-next-fields-after-entering-pin-number
Bugfix Disable focus change via tap
2023-11-06 15:38:06 +01:00
alperozturk 449407870e Fix access modifier for load function for test
Signed-off-by: alperozturk <[email protected]>
2023-11-06 09:46:51 +01:00
Nextcloud bot 4b5a488456 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-06 02:47:46 +00:00
Nextcloud bot 20eaab6581 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-06 02:47:20 +00:00
Nextcloud bot f655327c57 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-05 02:48:19 +00:00
Nextcloud bot 2822e94d55 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-05 02:47:52 +00:00
Nextcloud bot cc17fd5daa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-04 02:46:06 +00:00
Nextcloud bot 480590fce5 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-04 02:45:39 +00:00
alperozturk 7390417e64 Fix repository usage
Signed-off-by: alperozturk <[email protected]>
2023-11-03 15:48:51 +01:00
alperozturk 03093cc5cb Convert trashbin repository to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-03 15:46:24 +01:00
alperozturk d86cd70ab8 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-03 15:46:23 +01:00
alperozturk e879bca55f Convert trashbin activity to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-03 15:41:37 +01:00
alperozturk e753fa3509 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-03 15:41:36 +01:00
Nextcloud bot 2106605d5b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-03 02:43:01 +00:00
Nextcloud bot cdaac7ce4b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-03 02:42:34 +00:00
alperozturk 81f653177d Fix kotlin spotless check
Signed-off-by: alperozturk <[email protected]>
2023-11-02 14:45:27 +01:00
alperozturk e0192f4963 Fix crash when user tap back button
Signed-off-by: alperozturk <[email protected]>
2023-11-02 13:02:40 +01:00
alperozturk d87ac3bb58 Fix detekt
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:59 +01:00
alperozturk b0a90b5648 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:59 +01:00
alperozturk 55dea2c65e Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:59 +01:00
alperozturk 6a9f51b8a9 Simplify confirmPassCode
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
alperozturk 392a839597 Optimize imports
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
alperozturk 61130b42b3 Fix kotlin spotless check
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
alperozturk a0ee1aa24c Prevent moving focus to first one after last one
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
alperozturk d5e677e5cd Move disableFocus logic to PassCodeEditText
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
alperozturk 9957ce882a Disable default keyboard dismiss behaviour
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
alperozturk 201d01896f Update passcode style
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
alperozturk e2d7fbd052 Disable manual focus change via tap
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
alperozturk 8d821bf188 Revert
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
alperozturk e870ef303d Use New TextWatcher
Signed-off-by: alperozturk <[email protected]>
2023-11-02 10:50:20 +01:00
Nextcloud bot 760fdcd716 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-02 02:45:54 +00:00
Nextcloud bot 6ef1e95e04 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-02 02:45:26 +00:00
Andy Scherzinger 708e75bd1e Merge pull request #12077 from nextcloud/feature/use-m3-SetupEncryptionDialogFragment
Use Material Design 3 For Setup Encryption Dialog Fragment
2023-11-01 23:52:13 +01:00
Andy Scherzinger c66f85df6e Merge pull request #12123 from nextcloud/devcontainer-json
Remove trailing comma
2023-11-01 22:03:40 +01:00
Andy Scherzinger 6c12d14cec remove trailing comma
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-01 22:02:32 +01:00
Andy Scherzinger 6529f0a44f Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-01 21:48:18 +01:00
Andy Scherzinger a8e3f0098c Loading Dialog should have surface background
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-01 19:19:31 +01:00
Andy Scherzinger ea4c357f60 reset local to "en"
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-01 19:17:34 +01:00
Andy Scherzinger 6392255735 remove permission not available below Android 13
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-01 18:23:20 +01:00
Andy Scherzinger d0f049a50b ignore throwning of generic exception
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-01 18:04:06 +01:00
alperozturk 283c8ee2b7 Suppress code detekt
Signed-off-by: alperozturk <[email protected]>
2023-11-01 15:37:05 +01:00
Andy Scherzinger 10b08341bb @Suppress "TooGenericExceptionCaught", "TooGenericExceptionThrown" detekt issues
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-01 15:37:05 +01:00
github-actions 9f9a84ed2c Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2023-11-01 15:37:05 +01:00
alperozturk 80ad77d6df Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-11-01 15:37:05 +01:00
alperozturk b18dfd694b Fix kotlin spotless check
Signed-off-by: alperozturk <[email protected]>
2023-11-01 15:37:05 +01:00
alperozturk e7f5511023 Convert to kt, Use M3 components
Signed-off-by: alperozturk <[email protected]>
2023-11-01 15:37:04 +01:00
alperozturk 1d120294ba Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-11-01 15:37:01 +01:00
Andy Scherzinger 8f6936f0f1 Merge pull request #12121 from nextcloud/chore/testRollback
test replacing kt with java version
2023-11-01 15:36:07 +01:00
Andy Scherzinger 8ad0ddac36 test replacing kt with java version
Signed-off-by: Andy Scherzinger <[email protected]>
2023-11-01 13:27:46 +01:00
Andy Scherzinger ae658f8b78 Merge pull request #12085 from nextcloud/feature/use-m3-FileDetailsSharingProcessFragment
Use Material Design 3 For File Details Sharing Process Fragment
2023-11-01 12:57:51 +01:00
Andy Scherzinger 5fc10be883 Merge pull request #12071 from nextcloud/refactor/convert-create-folder-dialog-to-kt
Convert create folder dialog to kt
2023-11-01 12:53:39 +01:00
Andy Scherzinger 1c424d538c Merge pull request #12117 from nextcloud/fix/confirmationdialogfragment
Fix missing title in ConfirmationDialogFragment
2023-11-01 12:39:43 +01:00
Andy Scherzinger ddee822491 Merge pull request #12119 from nextcloud/fix/previewmediafragment-deletion-crash
Fix crash when exiting preview of deleted file
2023-11-01 12:39:00 +01:00
ZetaTom 548977479e Fix crash when exiting preview of deleted file
Signed-off-by: ZetaTom <[email protected]>
2023-11-01 11:21:10 +01:00
ZetaTom 514f19eb87 Fix missing title in ConfirmationDialogFragment
Signed-off-by: ZetaTom <[email protected]>
2023-11-01 09:25:48 +01:00
Nextcloud bot b188af0aca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-01 02:51:05 +00:00
Nextcloud bot df5fd5d3de Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-11-01 02:50:37 +00:00
alperozturk b87bbdd5ac Fix kotlin spotless check
Signed-off-by: alperozturk <[email protected]>
2023-10-31 21:30:57 +01:00
Andy Scherzinger b61da536ce remove unneeded empty line
Signed-off-by: Andy Scherzinger <[email protected]>
2023-10-31 21:30:57 +01:00
alperozturk 3e20243f12 Add suppress for TextWatcher
Signed-off-by: alperozturk <[email protected]>
2023-10-31 21:30:57 +01:00
alperozturk e1554aefd6 Add line eof
Signed-off-by: alperozturk <[email protected]>
2023-10-31 21:30:57 +01:00
alperozturk 80befe49fc Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-31 21:30:57 +01:00
alperozturk 4f4216eab1 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-31 21:30:57 +01:00
Andy Scherzinger 9e17bcb779 Merge pull request #12064 from nextcloud/feature/use-m3-SendFilesDialog-BottomSheet
Use Material Design 3 For Send Files Bottom Sheet
2023-10-31 21:28:55 +01:00
Andy Scherzinger 63d967b537 use surface for background color on bottomsheet
Signed-off-by: Andy Scherzinger <[email protected]>
2023-10-31 20:43:30 +01:00
alperozturk 35f85f3c29 Fix code analytics warnings
Signed-off-by: alperozturk <[email protected]>
2023-10-31 20:43:30 +01:00
alperozturk 3dddafacb2 Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-31 20:43:30 +01:00
alperozturk 45a9b4948e Update UI
Signed-off-by: alperozturk <[email protected]>
2023-10-31 20:43:30 +01:00
alperozturk fc73155dca Use M3
Signed-off-by: alperozturk <[email protected]>
2023-10-31 20:43:30 +01:00
alperozturk 31757f8ef6 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-31 20:43:30 +01:00
Andy Scherzinger b040e053fc Merge pull request #12116 from vivekBoii/boii
fix: typo error in CONTRIBUTING.md
2023-10-31 20:41:25 +01:00
Andy Scherzinger fb12c54f52 Merge pull request #12072 from nextcloud/refactor/convert-AccountRemovalConfirmationDialog-kt
Convert Account Removal Confirmation Dialog Java to Kotlin
2023-10-31 20:35:07 +01:00
Vivek Kumar 4dc4513237 fix: typo error in CONTRIBUTING.md
Signed-off-by: Vivek Kumar <[email protected]>
2023-11-01 00:26:55 +05:30
Andy Scherzinger 64f4c46903 remove unneeded empty lines
Signed-off-by: Andy Scherzinger <[email protected]>
2023-10-31 19:51:24 +01:00
alperozturk c6b6225e45 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-31 19:51:24 +01:00
alperozturk 0f0ca2db36 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-31 19:51:24 +01:00
Andy Scherzinger 8e008fb5ec Merge pull request #12115 from vivekBoii/boii
fix: typo error in SETUP.md
2023-10-31 19:50:05 +01:00
Vivek Kumar 3caa637d1e fix: typo error in SETUP.md
Signed-off-by: Vivek Kumar <[email protected]>
2023-11-01 00:18:36 +05:30
Andy Scherzinger 0d9928eeae Merge pull request #12114 from nextcloud/refactor/convert-FirstRunActivity-to-kt
Convert FirstRunActivity to Kotlin
2023-10-31 19:45:00 +01:00
Andy Scherzinger 08264002a7 Merge pull request #12067 from nextcloud/feature/use-m3-GalleryFragmentBottomSheetDialog
Use Material Design 3 For Gallery Bottom Sheet
2023-10-31 19:29:53 +01:00
Andy Scherzinger 1096d8fa62 Merge pull request #12063 from nextcloud/feature/use-m3-SendShareDialog-bottomsheet
Use Material Design 3 For Send Share Dialog Bottomsheet
2023-10-31 19:28:49 +01:00
Andy Scherzinger 232d1a9238 change background to surface for bottomsheet
Signed-off-by: Andy Scherzinger <[email protected]>
2023-10-31 18:05:25 +01:00
alperozturk 302887ed4a Fix kotlin spotless check
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:05:24 +01:00
alperozturk 7671f744e7 Increase button tap area
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:05:24 +01:00
alperozturk 435fc5ac68 Use Text Button
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:05:24 +01:00
alperozturk 51d953b53a Use M3
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:05:24 +01:00
alperozturk e25421feb2 Remove IDE warnings
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:05:23 +01:00
Andy Scherzinger a90f734d9e change bottomsheet color to surface
Signed-off-by: Andy Scherzinger <[email protected]>
2023-10-31 18:03:15 +01:00
github-actions 4d45eefd9b Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2023-10-31 18:03:15 +01:00
alperozturk 1339228e4b Fix code analytics warnings
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:15 +01:00
alperozturk f0daf75f88 Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:15 +01:00
alperozturk 627be9d950 UI fix
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:10 +01:00
alperozturk 838f4b37c3 Update getParcelable method
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:10 +01:00
alperozturk c5a396affb Extract methods
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:09 +01:00
alperozturk 2755dcf708 Use M3 bottom sheet
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:09 +01:00
alperozturk 129eb6fcdc Use View Bindings
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:09 +01:00
alperozturk 1d87082913 Use Material Button
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:09 +01:00
alperozturk 8a4ee1c959 Convert to Kotlin
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:08 +01:00
alperozturk becffede38 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-31 18:03:08 +01:00
Andy Scherzinger 81994088b2 Merge pull request #12058 from nextcloud/feature/use-m3-for-file-actions
Use Material Desing 3 For File Actions Bottom Sheet
2023-10-31 17:58:14 +01:00
alperozturk f08b9f67b8 Suppress magic number, spread operator
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:45:49 +01:00
Andy Scherzinger f165db1283 change background to variant
Signed-off-by: Andy Scherzinger <[email protected]>
2023-10-31 16:38:22 +01:00
alperozturk 803dcfe31e Remove Coordinator Layout due to background color conflict
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:38:22 +01:00
alperozturk 9ecfc1a925 Remove Coordinator Layout due to background color conflict
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:38:22 +01:00
alperozturk 199150660e Remove GradientDrawable to make corner radius
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:38:21 +01:00
alperozturk 581fe26ad4 Solve code analytics warnings
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:38:21 +01:00
alperozturk 19360c3397 Use dp instead px
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:38:03 +01:00
alperozturk 89f7b10ba9 Remove unused resources
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:38:03 +01:00
alperozturk 83590ab9e8 Customize bottom sheet for specific account
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:38:03 +01:00
alperozturk 3fdc85adf2 Fix alignment
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:38:02 +01:00
alperozturk 3f25a71cc1 Use M3 for bottom sheet
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:38:02 +01:00
alperozturk 8b74259b76 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:30:10 +01:00
alperozturk 45c1aa72f3 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-31 16:30:09 +01:00
Andy Scherzinger d0129b3f60 Merge pull request #12084 from nextcloud/refactor/convert-to-kt-ExpirationDatePickerDialogFragment
Convert Java to Kotlin Expiration Date Picker Dialog Fragment
2023-10-31 16:19:49 +01:00
Andy Scherzinger 7da69ea448 Merge pull request #12100 from nextcloud/refactor/convert-ActivityInjector-to-kt
Convert ActivityInjector to Kotlin
2023-10-31 16:18:53 +01:00
alperozturk 6fce72022f Suppress MagicNumber
Signed-off-by: alperozturk <[email protected]>
2023-10-31 12:45:42 +01:00
alperozturk 8b749f1417 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-31 11:25:58 +01:00
alperozturk 44d0460fc8 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-31 11:05:51 +01:00
alperozturk b9e5c109a9 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-31 11:05:01 +01:00
Andy Scherzinger 1868d03a26 Merge pull request #12111 from nextcloud/fix/SyncFileNotEnoughSpaceDialogFragment
Build Fix
2023-10-31 10:53:22 +01:00
alperozturk d5ef74af30 Fix code detekt
Signed-off-by: alperozturk <[email protected]>
2023-10-31 10:24:36 +01:00
alperozturk 1095f78e2d Suppress SpreadOperator
Signed-off-by: alperozturk <[email protected]>
2023-10-31 09:54:23 +01:00
alperozturk 08909091ea Fix message array argument passing
Signed-off-by: alperozturk <[email protected]>
2023-10-31 09:29:36 +01:00
alperozturk f55f0b669e Fix build
Signed-off-by: alperozturk <[email protected]>
2023-10-31 09:17:05 +01:00
Nextcloud bot 2e55cc5177 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-31 02:48:55 +00:00
Nextcloud bot 45c8abeb7c Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-31 02:48:28 +00:00
alperozturk da9646aec3 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:38:25 +01:00
alperozturk 10a95e2452 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:38:25 +01:00
alperozturk 5f338c20d6 Fix kotlin spotless check
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:38:15 +01:00
alperozturk 85f801732f Refactor funcs
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:38:15 +01:00
alperozturk c4e37188bc Remove deprecated usage
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:38:15 +01:00
alperozturk d5cc888be9 Use M3 Components
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:38:15 +01:00
Andy Scherzinger 3bae1d77c5 add comments on currently unused methods
Signed-off-by: Andy Scherzinger <[email protected]>
2023-10-30 19:37:46 +01:00
alperozturk c66400a91f Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:37:46 +01:00
alperozturk d63aca2af9 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:37:46 +01:00
Andy Scherzinger 84f3e6c882 Merge pull request #12026 from nextcloud/feature/combine-move-and-copy-in-menu
Feature/combine move and copy in menu
2023-10-30 19:36:22 +01:00
Andy Scherzinger 3d5ee8a9df Merge pull request #12052 from nextcloud/feature/use-m3-file-downloader-notification
Use Material Design 3 File Downloader Notification
2023-10-30 19:35:06 +01:00
alperozturk 9d1ac6b3ca Fix code analytics
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:34:58 +01:00
alperozturk ce8a853f14 Fix kotlin spotless check
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:34:58 +01:00
alperozturk 5508f2496c Improve some code parts
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:34:58 +01:00
alperozturk 7bc494274d Convert to Kotlin
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:34:58 +01:00
alperozturk 22136347bb Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:34:58 +01:00
alperozturk 9b672d61a4 Add getFileNameWithExtension functionality
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:34:58 +01:00
alperozturk a617008eca Simplify notification update
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:34:58 +01:00
alperozturk 7c1a1194cb Update notification looks
Signed-off-by: alperozturk <[email protected]>
2023-10-30 19:34:58 +01:00
Andy Scherzinger c52bad82f0 Merge pull request #12047 from nextcloud/feature/use-m3-SharePasswordDialogFragment
Use Material Design 3 share password dialog fragment
2023-10-30 19:33:22 +01:00
Andy Scherzinger d13f28017c Merge pull request #12041 from nextcloud/feature/use-m3-confirmation-dialog
Use Material Design 3 For Confirmation Dialog
2023-10-30 19:32:26 +01:00
Andy Scherzinger 9d5c55b43b Merge pull request #12099 from nextcloud/refactor/convert--SquareLoaderImageView-to-kt
Convert SquareLoaderImageView to Kotlin
2023-10-30 19:24:14 +01:00
Andy Scherzinger 7d49856f87 Merge pull request #12083 from nextcloud/refactor/convert-to-kt-MultipleAccountsDialog
Convert Java to Kotlin Multiple Accounts Dialog
2023-10-30 19:05:11 +01:00
Andy Scherzinger 9408f227fd Merge pull request #12101 from nextcloud/refactor/convert-FragmentInjector-to-kt
Convert FragmentInjector to Kotlin
2023-10-30 18:59:11 +01:00
Andy Scherzinger 12166115ef Merge pull request #12082 from nextcloud/refactor/convert-java-to-kt-IndeterminateProgressDialog
Convert Java to Kotlin Indeterminate Progress Dialog
2023-10-30 18:56:55 +01:00
Andy Scherzinger 2b42e7d7c4 Merge pull request #12110 from nextcloud/refactor/convert-DeckApiImpl-to-kt
Convert Deck Api to Kotlin
2023-10-30 18:56:07 +01:00
Andy Scherzinger bc20a4c301 Merge pull request #12081 from nextcloud/feature/use-m3-SyncFileNotEnoughSpaceDialogFragment
Use Material Design 3 For SyncFileNotEnoughSpaceDialogFragment
2023-10-30 18:37:11 +01:00
Andy Scherzinger 65440f9107 Merge pull request #12070 from nextcloud/feature/use-m3-loading-dialog
Use Material Design 3 For Loading Popup
2023-10-30 17:12:50 +01:00
alperozturk c57a5e0b10 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-30 16:24:12 +01:00
alperozturk 5b30ec0041 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-30 16:24:11 +01:00
alperozturk dd16d38bb6 Use M3 style for ss test
Signed-off-by: alperozturk <[email protected]>
2023-10-30 15:56:00 +01:00
alperozturk 9bbdd5dc6e Grant permission for notifications to see dialog tests
Signed-off-by: alperozturk <[email protected]>
2023-10-30 15:56:00 +01:00
alperozturk cc6c01fbf8 Use M3
Signed-off-by: alperozturk <[email protected]>
2023-10-30 15:56:00 +01:00
alperozturk 6589a3b95f Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-30 15:56:00 +01:00
Alper Öztürk 0925b6f3dd Merge pull request #12108 from nextcloud/bugfix/login-not-working-on-Android-8.1-Emulator-#12069
Check WebView Version For Login Functionality
2023-10-30 15:11:04 +01:00
Andy Scherzinger 0dde00e893 Merge pull request #12105 from nextcloud/nmc/user_present_check_fix
Fixed outdated server condition for server version
2023-10-30 13:23:17 +01:00
Andy Scherzinger 96ee07f81a Merge pull request #12098 from nextcloud/bugfix/choose-storage-location-ui-bug-11996
Bugfix Choose Storage Location UI bug 11996
2023-10-30 12:41:19 +01:00
Andy Scherzinger 7d9fe6765e Merge pull request #12096 from nextcloud/bugfix/after-executing-search-search-field-incorrectly-moves-to-the-right-9650504
Bugfix Search View Width
2023-10-30 12:32:54 +01:00
Alper Öztürk 5267b6d457 Merge pull request #12080 from nextcloud/feature/use-m3-SortingOrderDialogFragment
Use Material Design 3 For Sorting Order Dialog Fragment
2023-10-30 12:16:05 +01:00
alperozturk e1a6511da6 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-30 12:15:03 +01:00
alperozturk 37a6c82678 Optimize imports
Signed-off-by: alperozturk <[email protected]>
2023-10-30 11:40:39 +01:00
alperozturk 6ee94a65c0 Add web view util
Signed-off-by: alperozturk <[email protected]>
2023-10-30 11:08:38 +01:00
Andy Scherzinger 2d6a8c4162 Merge pull request #12049 from nextcloud/feature/use-m3-SyncedFolderPreferencesDialogFragment
Use M3 for SyncedFolderPreferencesDialogFragment
2023-10-30 10:22:43 +01:00
A117870935 8aec2ff8e1 Fixed outdated server condition for server version.
Signed-off-by: A117870935 <[email protected]>
2023-10-30 13:52:35 +05:30
Nextcloud bot f108266492 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-30 02:45:51 +00:00
Nextcloud bot 053e47aad3 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-30 02:45:23 +00:00
Nextcloud bot b4f9b440ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-29 02:43:54 +00:00
Nextcloud bot 519bc72a04 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-29 02:43:27 +00:00
Andy Scherzinger d05d3c154a Merge pull request #12103 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-28 23:33:56 +02:00
nextcloud-android-bot 917d044606 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-28 11:43:48 +00:00
Nextcloud bot 2c230d87f4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-28 02:47:07 +00:00
Nextcloud bot 7a2592d9fc Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-28 02:46:40 +00:00
alperozturk e03da3b9bc Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-27 16:35:56 +02:00
alperozturk fdf93c653f Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-27 16:35:56 +02:00
alperozturk 7c80126b07 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-27 16:27:09 +02:00
alperozturk d8cd0023ff Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-27 16:27:08 +02:00
alperozturk 93ba663480 Fix kotlin spotless check
Signed-off-by: alperozturk <[email protected]>
2023-10-27 12:09:23 +02:00
alperozturk 1b0b5d737d Use M3 and convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-27 12:08:15 +02:00
alperozturk d919816ce2 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-27 12:08:14 +02:00
alperozturk 445bf8dea9 Fix icon background color
Signed-off-by: alperozturk <[email protected]>
2023-10-27 11:52:08 +02:00
Andy Scherzinger 1d44269337 Merge pull request #12091 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-27 09:54:59 +02:00
Nextcloud bot 87c5abfee5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-27 02:46:33 +00:00
Nextcloud bot f6ed67e978 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-27 02:46:04 +00:00
nextcloud-android-bot 55201e6750 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-27 02:17:35 +00:00
alperozturk 91f55ab2dc Remove unused sources
Signed-off-by: alperozturk <[email protected]>
2023-10-26 15:42:33 +02:00
alperozturk f016d0b00c Revert ss
Signed-off-by: alperozturk <[email protected]>
2023-10-26 14:32:51 +02:00
alperozturk fc53132137 Remove spread operator
Signed-off-by: alperozturk <[email protected]>
2023-10-26 14:24:51 +02:00
alperozturk 24136e1698 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-26 12:58:10 +02:00
alperozturk 07c1daf11e Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-26 12:57:47 +02:00
alperozturk 00b830d785 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-26 12:57:05 +02:00
alperozturk 15146a2c18 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-26 12:56:33 +02:00
alperozturk c9421c0573 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-26 12:48:37 +02:00
alperozturk 724c7a5df2 Fix line length
Signed-off-by: alperozturk <[email protected]>
2023-10-26 12:47:41 +02:00
alperozturk b39e7f7f13 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-26 12:46:06 +02:00
alperozturk 96f1f42811 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-26 12:45:06 +02:00
alperozturk f378d61e6b Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-26 12:43:56 +02:00
alperozturk 4ed67ee059 Fix search view width
Signed-off-by: alperozturk <[email protected]>
2023-10-26 11:32:09 +02:00
Nextcloud bot 27611c4cb2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-26 02:47:39 +00:00
Nextcloud bot 69d2b15261 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-26 02:47:12 +00:00
Andy Scherzinger 9dba116660 Merge pull request #12087 from nextcloud/feature/use-m3-BackupFragment
Use Material Design 3 For Backup Fragment
2023-10-25 12:26:35 +02:00
Nextcloud bot 4f23372d67 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-25 03:03:48 +00:00
Nextcloud bot 381a8d0f43 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-25 03:03:21 +00:00
alperozturk 05463931c3 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-24 16:01:49 +02:00
alperozturk 55f6595dd8 Update screenshot
Signed-off-by: alperozturk <[email protected]>
2023-10-24 16:01:34 +02:00
Joas Schilling 8ab7c2b970 Merge pull request #12088 from nextcloud/nickvergessen-patch-1
Cancel codeql.yml after re-pushing
2023-10-24 15:20:36 +02:00
alperozturk 6dab18b64c Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-24 14:35:49 +02:00
alperozturk ea4981079b Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 14:35:13 +02:00
alperozturk 7ad5fc78b4 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 14:35:13 +02:00
alperozturk 891a63f580 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-24 14:28:39 +02:00
alperozturk 506d1b231e Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 14:28:21 +02:00
alperozturk 0a1f5672be Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 14:28:20 +02:00
alperozturk ea099b5459 Suppress magic number
Signed-off-by: alperozturk <[email protected]>
2023-10-24 14:16:30 +02:00
Joas Schilling ca79bfefd6 Cancel codeql.yml after re-pushing
Signed-off-by: Joas Schilling <[email protected]>
2023-10-24 14:12:34 +02:00
alperozturk 1a77dc90d1 Refactor
Signed-off-by: alperozturk <[email protected]>
2023-10-24 14:03:55 +02:00
alperozturk 485d68c2ce Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 13:37:17 +02:00
alperozturk b18799a5cf Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 13:37:16 +02:00
alperozturk 026c7aa3e0 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-24 13:23:21 +02:00
alperozturk ba9f700688 Suppress code analytics
Signed-off-by: alperozturk <[email protected]>
2023-10-24 13:17:56 +02:00
alperozturk a4794dadda Merge remote-tracking branch 'origin/feature/use-m3-BackupFragment' into feature/use-m3-BackupFragment 2023-10-24 12:11:05 +02:00
alperozturk 30b5d5713f Refactor
Signed-off-by: alperozturk <[email protected]>
2023-10-24 12:11:00 +02:00
github-actions 904d9d0d37 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2023-10-24 10:06:47 +00:00
Andy Scherzinger 77f670908b Merge pull request #12079 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1
Build(deps): Bump actions/checkout from 4.1.0 to 4.1.1
2023-10-24 11:55:52 +02:00
Andy Scherzinger c81410c3b8 Merge pull request #12078 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3.1.0
Build(deps): Bump peter-evans/create-or-update-comment from 3.0.2 to 3.1.0
2023-10-24 11:55:29 +02:00
alperozturk 5c8db30dae Use m3 convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 11:49:27 +02:00
alperozturk be4d7d2c48 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 11:49:26 +02:00
Andy Scherzinger 61ade61b46 Merge pull request #12086 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-24 11:29:37 +02:00
nextcloud-android-bot a130b9e45a 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-24 08:47:14 +00:00
alperozturk 4282a948c6 Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 09:15:33 +02:00
alperozturk 232b9c7e8f Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-24 09:15:32 +02:00
Nextcloud bot 6a046ca640 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-24 02:48:51 +00:00
Nextcloud bot 8271d41f54 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-24 02:48:22 +00:00
alperozturk 4dbae505ff Convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-23 16:51:00 +02:00
alperozturk 3363a1496d Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-23 16:50:59 +02:00
alperozturk eda898c2db Use m3 convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-23 16:33:17 +02:00
alperozturk 77d46b1970 Simplify button calls
Signed-off-by: alperozturk <[email protected]>
2023-10-23 15:48:50 +02:00
dependabot[bot] 7e436f0475 Build(deps): Bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [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/v4.1.0...b4ffde65f46336ab88eb53be808477a3936bae11)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-10-23 11:50:49 +00:00
dependabot[bot] 49205ff4ed Build(deps): Bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/c6c9a1a66007646a28c153e2a8580a5bad27bcfa...23ff15729ef2fc348714a3bb66d2f655ca9066f2)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-10-23 11:50:37 +00:00
alperozturk 4ef47ce2c6 Fix kotlin spotless check
Signed-off-by: alperozturk <[email protected]>
2023-10-23 12:15:16 +02:00
alperozturk 76e3f67a2e Use material button for sorting options
Signed-off-by: alperozturk <[email protected]>
2023-10-23 12:14:46 +02:00
alperozturk 8d3f68f7ce Use m3 convert to kt
Signed-off-by: alperozturk <[email protected]>
2023-10-23 11:38:40 +02:00
alperozturk a45010e834 Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-23 11:38:39 +02:00
Nextcloud bot 4abab8d69e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-23 02:49:51 +00:00
Nextcloud bot 50ae8594e1 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-23 02:49:23 +00:00
Nextcloud bot 76b99c2f77 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-22 02:52:19 +00:00
Nextcloud bot 9de6c2c6f4 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-22 02:51:52 +00:00
Andy Scherzinger 187970ef93 Merge pull request #12074 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-21 12:29:44 +02:00
nextcloud-android-bot 4cd55af03c 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-21 10:26:33 +00:00
Nextcloud bot bad25a0d90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-21 02:45:18 +00:00
Nextcloud bot 424cf01ad8 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-21 02:44:49 +00:00
Andy Scherzinger 0689f26e7d Merge pull request #12044 from nextcloud/feature/use-m3-ChooseTemplateDialogFragment
Use Material Design 3 ChooseTemplateDialogFragment
2023-10-20 18:42:20 +02:00
tobiasKaminsky 7f308fd940 apply spotless
Signed-off-by: tobiasKaminsky <[email protected]>
2023-10-20 17:14:22 +02:00
alperozturk c517781e7f Use M3 ChooseTemplateDialogFragment
Signed-off-by: alperozturk <[email protected]>
2023-10-20 17:14:22 +02:00
Andy Scherzinger bba7ee136c Merge pull request #12036 from nextcloud/feature/use-m3-conflict-resolve-dialog
Use Material Design 3 For ConflictResolve Dialog
2023-10-20 17:07:57 +02:00
Alper Öztürk c3a5c5c8eb Merge pull request #12053 from nextcloud/feature/use-m3-files-export-notification
Remove Extra Info from Files Export Notification
2023-10-20 16:26:18 +02:00
alperozturk 2f9ef36ccf Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-20 13:40:48 +02:00
alperozturk 5ec7f8df52 Merge remote-tracking branch 'origin/feature/use-m3-files-export-notification' into feature/use-m3-files-export-notification
# Conflicts:
#	app/src/main/java/com/nextcloud/client/jobs/FilesExportWork.kt
2023-10-20 13:40:24 +02:00
alperozturk f8309d0791 Fix code analytics warnings
Signed-off-by: alperozturk <[email protected]>
2023-10-20 13:40:02 +02:00
alperozturk c4e386f3ec Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-20 12:18:17 +02:00
alperozturk 10e22d6984 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-20 12:17:47 +02:00
alperozturk a51044953e Use M3 for Passcode
Signed-off-by: alperozturk <[email protected]>
2023-10-20 11:01:09 +02:00
alperozturk 4a9b49c1fc Convert java to kotlin
Signed-off-by: alperozturk <[email protected]>
2023-10-20 10:42:22 +02:00
alperozturk de722db90f Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2023-10-20 10:42:21 +02:00
alperozturk 49979ba5a9 Prevent moving focus to first one after last one
Signed-off-by: alperozturk <[email protected]>
2023-10-20 10:13:52 +02:00
alperozturk cb0d0caaf8 Move disableFocus logic to PassCodeEditText
Signed-off-by: alperozturk <[email protected]>
2023-10-20 10:07:41 +02:00
alperozturk 2ec47ddef3 Disable default keyboard dismiss behaviour
Signed-off-by: alperozturk <[email protected]>
2023-10-20 09:54:24 +02:00
Nextcloud bot 4766d8bf6a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-20 02:47:52 +00:00
Nextcloud bot bd4114114a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-20 02:47:25 +00:00
Andy Scherzinger def5dba037 Merge pull request #12062 from nextcloud/jr-changelog-326-325-etc
CHANGELOG: Add last two production releases, fix dates, add link
2023-10-19 16:54:09 +02:00
alperozturk dc898c0f80 Update passcode style
Signed-off-by: alperozturk <[email protected]>
2023-10-19 16:19:31 +02:00
alperozturk 1d6f2d9215 Disable manual focus change via tap
Signed-off-by: alperozturk <[email protected]>
2023-10-19 16:12:12 +02:00
alperozturk 407e851435 Revert
Signed-off-by: alperozturk <[email protected]>
2023-10-19 15:39:41 +02:00
alperozturk dd4b7c17b4 Use New TextWatcher
Signed-off-by: alperozturk <[email protected]>
2023-10-19 14:51:07 +02:00
alperozturk 1ffbca4fb5 Remove extra info from files export
Signed-off-by: alperozturk <[email protected]>
2023-10-19 10:52:44 +00:00
alperozturk 65b3873cdd Revert wrong screenshot
Signed-off-by: alperozturk <[email protected]>
2023-10-19 11:21:47 +02:00
alperozturk f642ced023 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-19 11:20:54 +02:00
alperozturk f125b2942a Clean import
Signed-off-by: alperozturk <[email protected]>
2023-10-19 11:17:44 +02:00
alperozturk 1f846495fb Merge remote-tracking branch 'origin/feature/use-m3-confirmation-dialog' into feature/use-m3-confirmation-dialog 2023-10-19 11:16:37 +02:00
alperozturk e6dc89671c Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-19 11:16:33 +02:00
alperozturk d9561daa56 Update Screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-19 11:08:43 +02:00
alperozturk ef31d02f9e Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-19 11:08:07 +02:00
alperozturk 1ddf3de9f1 Merge remote-tracking branch 'origin/feature/use-m3-SyncedFolderPreferencesDialogFragment' into feature/use-m3-SyncedFolderPreferencesDialogFragment 2023-10-19 11:06:37 +02:00
alperozturk de4ee9bf33 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-19 11:06:20 +02:00
Alper Öztürk b594c35323 Merge pull request #12057 from nextcloud/fixTwoScreenshotTests
make tests more robust
2023-10-19 10:30:47 +02:00
tobiasKaminsky e2ed8a7b40 new size for screenshot
Signed-off-by: tobiasKaminsky <[email protected]>
2023-10-19 09:48:14 +02:00
alperozturk fedfb23244 Add setText for buttons
Signed-off-by: alperozturk <[email protected]>
2023-10-19 09:48:14 +02:00
alperozturk 7df2685d7d Update button order
Signed-off-by: alperozturk <[email protected]>
2023-10-19 09:48:14 +02:00
alperozturk bc1e8ed8bf Use M3 for SyncedFolderPreferencesDialogFragment
Signed-off-by: alperozturk <[email protected]>
2023-10-19 09:48:14 +02:00
tobiasKaminsky 7da1156753 use androidX annotations
Signed-off-by: tobiasKaminsky <[email protected]>
2023-10-19 07:36:38 +02:00
tobiasKaminsky 1541608469 update screenshot
Signed-off-by: tobiasKaminsky <[email protected]>
2023-10-19 07:36:38 +02:00
tobiasKaminsky 5b527929ea make tests more robust
Signed-off-by: tobiasKaminsky <[email protected]>
2023-10-19 07:36:38 +02:00
Nextcloud bot 973bb4a8b4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-19 02:45:58 +00:00
Nextcloud bot 26ce890de4 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-19 02:45:30 +00:00
Josh Richards 4bcf6f7079 CHANGELOG: Add last two production releases, fix dates, add link
* Added 3.26.0
* Added 3.25.0
* Fixed year on 3.24.1
* Added milestone link on existing 3.24.1 entry to match others

Also related to this PR:
- fixed the dates on the 3.24.x releases in GH (https://github.com/nextcloud/android/releases)
- added a missing milestone link

Signed-off-by: Josh Richards <[email protected]>
2023-10-18 09:41:35 -04:00
Tobias Kaminsky 429f98444f Merge pull request #12035 from nextcloud/feature/use-m3-rename-public-share-dialog
Use Material Design For Rename Public Share Dialog
2023-10-18 12:38:59 +02:00
Andy Scherzinger a0694e8b8f Merge pull request #12054 from nextcloud/jr-readme-starter-issues-link-fix
README: Fix link to "starter" issues
2023-10-18 12:04:42 +02:00
Andy Scherzinger a51b05777c Merge pull request #12056 from nextcloud/jr-readme-how-to-contribute-expand
README: Expand "How to contribute" opener to give readers ideas
2023-10-18 12:03:48 +02:00
Andy Scherzinger 1b30013311 Merge pull request #12050 from nextcloud/feature/use-m3-StoragePermissionDialogFragment
Use Material Design 3 for StoragePermissionDialogFragment
2023-10-18 12:02:01 +02:00
Tobias Kaminsky f67f8be003 Merge pull request #12034 from nextcloud/feature/use-m3-remove-file-dialog
Use Material Design 3 for RemoveFilesDialog
2023-10-18 11:43:33 +02:00
Andy Scherzinger 2263bf484c Merge pull request #12060 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-18 10:09:55 +02:00
nextcloud-android-bot a71eff4f98 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-18 08:09:01 +00:00
Tobias Kaminsky 154796b7cb Merge pull request #12045 from nextcloud/feature/use-m3-ExpirationDatePickerDialogFragment
Use Material Design 3 For Expiration Date Picker Dialog
2023-10-18 07:22:37 +02:00
Tobias Kaminsky 553ab107e6 Merge pull request #12043 from nextcloud/feature/use-m3-ChooseRichDocumentsTemplateDialogFragment
Use M3 for ChooseRichDocumentsTemplateDialogFragment
2023-10-18 07:20:35 +02:00
Tobias Kaminsky c6795ddba4 Merge pull request #12048 from nextcloud/refactor/remove-unused-ssl-validator-dialog
Remove SSL Validator Dialog
2023-10-18 07:17:58 +02:00
Tobias Kaminsky 8d3f7239a7 Merge pull request #12042 from nextcloud/feature/use-m3-account-removal-confirmation-dialog
Use Material Design 3 for AccountRemovalConfirmationDialog
2023-10-18 07:12:19 +02:00
alperozturk e80568b11d Add tests for ConfirmationDialog RTL
Signed-off-by: alperozturk <[email protected]>
2023-10-18 07:10:47 +02:00
alperozturk b0638d9522 Add tests for ConfirmationDialog
Signed-off-by: alperozturk <[email protected]>
2023-10-18 07:10:47 +02:00
alperozturk aa0608561a Remove button order logic from dialog
Signed-off-by: alperozturk <[email protected]>
2023-10-18 07:10:47 +02:00
alperozturk 917959cc5a Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-18 07:10:47 +02:00
alperozturk ba20bd3ef7 Fix action for neutral button
Signed-off-by: alperozturk <[email protected]>
2023-10-18 07:10:47 +02:00
alperozturk 84b2168684 Change order or buttons according to M3
Signed-off-by: alperozturk <[email protected]>
2023-10-18 07:10:47 +02:00
alperozturk f0f765d0e1 Rename button arguments
Signed-off-by: alperozturk <[email protected]>
2023-10-18 07:10:47 +02:00
alperozturk a5773aaab1 Use M3 for buttons
Signed-off-by: alperozturk <[email protected]>
2023-10-18 07:10:47 +02:00
tobiasKaminsky dfd3d253ce - removed unused strings
- reverted screenshot

Signed-off-by: tobiasKaminsky <[email protected]>
2023-10-18 07:06:27 +02:00
Nextcloud bot 7966b1d477 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-18 03:13:15 +00:00
Nextcloud bot 66091c8ca0 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-18 03:12:48 +00:00
Josh Richards 9eb3c75d04 README: Expand "How to contribute" opener to give readers ideas
Encourage involvement by:

- suggesting more ways of getting involved
- "give permission" to people to contribute in a wide variety of ways to development whether or not they are directly writing code

A minor thing perhaps, but every little bit helps and can't hurt.

Signed-off-by: Josh Richards <[email protected]>
2023-10-17 09:31:11 -04:00
alperozturk a88ae26dfe Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-17 14:53:37 +02:00
alperozturk df4f93af02 Use M3 for RemoveFilesDialog
Signed-off-by: alperozturk <[email protected]>
2023-10-17 14:53:37 +02:00
Tobias Kaminsky 7bde51bb7e Merge pull request #12033 from nextcloud/feature/use-m3-create-folder-dialog
Use M3 for CreateFolderDialog
2023-10-17 14:52:10 +02:00
Josh Richards d383fceee4 README: Fix link to "starter" issues
Was linked to unused tag. Changed link to "good first issue" tagged issues.

Signed-off-by: Josh Richards <[email protected]>
2023-10-17 08:31:24 -04:00
Tobias Kaminsky da98f14243 Merge pull request #12046 from nextcloud/refactor/remove-note-dialog
Remove unused note dialog
2023-10-17 14:05:06 +02:00
alperozturk ed8093536f Update screenshot
Signed-off-by: alperozturk <[email protected]>
2023-10-17 12:57:52 +02:00
alperozturk 71706f79c2 Remove extra info from files export
Signed-off-by: alperozturk <[email protected]>
2023-10-17 12:44:33 +02:00
alperozturk 9729b931b6 Apply tint to dialog background
Signed-off-by: alperozturk <[email protected]>
2023-10-17 12:13:25 +02:00
alperozturk 751fa5690d Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-17 09:03:17 +02:00
Nextcloud bot 4ff5a37d56 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-17 02:51:23 +00:00
Nextcloud bot 99b7931e35 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-17 02:50:55 +00:00
alperozturk 4ba11247cf Use M3 for ChooseRichDocumentsTemplateDialogFragment
Signed-off-by: alperozturk <[email protected]>
2023-10-16 14:49:14 +00:00
alperozturk a6085680bd Change button order for date picker
Signed-off-by: alperozturk <[email protected]>
2023-10-16 14:47:43 +00:00
alperozturk d74343e533 Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-16 16:38:36 +02:00
alperozturk 8671c79cce Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-16 16:33:37 +02:00
alperozturk 8a60b0e0f1 Merge master
Signed-off-by: alperozturk <[email protected]>
2023-10-16 16:32:13 +02:00
alperozturk 01dc1a51f8 Use M3 for StoragePermissionDialogFragment
Signed-off-by: alperozturk <[email protected]>
2023-10-16 15:52:59 +02:00
alperozturk c853bf575d Remove unused dimen
Signed-off-by: alperozturk <[email protected]>
2023-10-16 15:23:55 +02:00
alperozturk 58e985a35b Add setText for buttons
Signed-off-by: alperozturk <[email protected]>
2023-10-16 15:00:49 +02:00
alperozturk b25a82aee9 Update button order
Signed-off-by: alperozturk <[email protected]>
2023-10-16 14:53:57 +02:00
alperozturk 4f40ecdfb5 Use M3 for SyncedFolderPreferencesDialogFragment
Signed-off-by: alperozturk <[email protected]>
2023-10-16 14:29:46 +02:00
alperozturk 2ead98c7da Remove unused layout file
Signed-off-by: alperozturk <[email protected]>
2023-10-16 13:58:59 +02:00
alperozturk 34bea23b3b Remove unused code
Signed-off-by: alperozturk <[email protected]>
2023-10-16 13:56:39 +02:00
Tobias Kaminsky 6035a797ed Merge pull request #12030 from nextcloud/remainingCItest
fix remaining CI tests
2023-10-16 13:44:44 +02:00
alperozturk 028e89c7d8 Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk 70ca485f06 Remove unused sources for file actions
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk 8b962556f7 Remove unused sources for file actions
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk bf09563466 Remove unused sources for file actions
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk c4d2ffd462 Change move or copy file action icon
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk 1f885158a5 Limit login test for only Android 10 and above
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk e5174b37a7 Fix UI
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk a0ede76437 Fix logic for move and copy
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk 3657488332 Combine Move and Copy feature
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk 78fa3851fd Add move and copy button to folder picker
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk 47181bd0c6 Version upgrade for Material Design components
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:43:12 +00:00
alperozturk e4d9c91674 Replace button click functions
Signed-off-by: alperozturk <[email protected]>
2023-10-16 13:31:41 +02:00
alperozturk 0a11d4519f Use M3 for SharePasswordDialogFragment
Signed-off-by: alperozturk <[email protected]>
2023-10-16 13:25:03 +02:00
alperozturk 0861cae353 Remove Unused Note Dialog
Signed-off-by: alperozturk <[email protected]>
2023-10-16 12:02:32 +02:00
alperozturk c687369971 Use M3 NoteDialogFragment
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:56:47 +02:00
tobiasKaminsky 6b87b2e02c On old server we need to wait a bit longer before we can remove a file
Signed-off-by: tobiasKaminsky <[email protected]>
2023-10-16 11:29:03 +02:00
alperozturk 228c2159c7 Add tests for ConfirmationDialog RTL
Signed-off-by: alperozturk <[email protected]>
2023-10-16 11:03:40 +02:00
alperozturk a387e689cd Add tests for ConfirmationDialog
Signed-off-by: alperozturk <[email protected]>
2023-10-16 10:56:27 +02:00
alperozturk 24f536ca40 Remove button order logic from dialog
Signed-off-by: alperozturk <[email protected]>
2023-10-16 10:44:55 +02:00
alperozturk 748f0e2e76 Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-16 10:00:37 +02:00
alperozturk 9e57976892 Use M3 for AccountRemovalConfirmationDialog
Signed-off-by: alperozturk <[email protected]>
2023-10-16 09:50:58 +02:00
alperozturk 80323a7bcb Trigger screenshot test
Signed-off-by: alperozturk <[email protected]>
2023-10-16 09:45:50 +02:00
alperozturk cc5155876b Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-16 09:36:39 +02:00
alperozturk df395de821 Fix action for neutral button
Signed-off-by: alperozturk <[email protected]>
2023-10-16 09:23:09 +02:00
alperozturk 3fc0a1bf86 Change order or buttons according to M3
Signed-off-by: alperozturk <[email protected]>
2023-10-16 09:19:23 +02:00
alperozturk 35079e7106 Rename button arguments
Signed-off-by: alperozturk <[email protected]>
2023-10-16 09:04:35 +02:00
alperozturk 10b23f7121 Revert wrong screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-16 09:00:14 +02:00
alperozturk ed05b30391 Revert wrong screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-16 08:56:03 +02:00
alperozturk d86421f743 Use M3 for buttons
Signed-off-by: alperozturk <[email protected]>
2023-10-16 08:54:42 +02:00
Nextcloud bot 32fb1369ab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-16 02:46:38 +00:00
Nextcloud bot 4be189e431 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-16 02:46:11 +00:00
Andy Scherzinger 4f7cb9886b Merge pull request #12037 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-15 11:28:08 +02:00
Nextcloud bot 2adbb122a9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-15 02:45:05 +00:00
Nextcloud bot 57524e7301 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-15 02:44:36 +00:00
nextcloud-android-bot 4e65ce9a4c 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-15 02:21:19 +00:00
Nextcloud bot bd698ad7e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-14 02:47:07 +00:00
Nextcloud bot 79c10c0fb4 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-14 02:46:39 +00:00
Andy Scherzinger 727e10357c Merge pull request #11991 from nextcloud/dependabot/github_actions/actions/setup-java-3.13.0
Build(deps): Bump actions/setup-java from 3.12.0 to 3.13.0
2023-10-13 20:23:17 +02:00
dependabot[bot] c0f42f0e12 Build(deps): Bump actions/setup-java from 3.12.0 to 3.13.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.12.0...0ab4596768b603586c0de567f2430c30f5b0d2b0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-10-13 17:52:47 +02:00
Andy Scherzinger 303950d9a4 Merge pull request #12014 from nextcloud/fix/softkeyboard
Fix softKeyboard not appearing
2023-10-13 17:40:43 +02:00
Andy Scherzinger 3f575bd4ea Merge pull request #12032 from nextcloud/feature/use-m3-rename-dialog
Feature/use-material-design-3-for-rename-dialog
2023-10-13 17:18:29 +02:00
Andy Scherzinger 24c522c8a0 Merge pull request #12028 from nextcloud/bugfix/wrong-icon-overlay-colors-on-OS-theme
Fix wrong icon overlay colors on OS theme
2023-10-13 16:47:55 +02:00
alperozturk ce43146170 Use M3 For ConflictResolve Dialog
Signed-off-by: alperozturk <[email protected]>
2023-10-13 16:26:39 +02:00
alperozturk e5a30c5e22 Use M3 For Rename Public Share Dialog
Signed-off-by: alperozturk <[email protected]>
2023-10-13 16:17:11 +02:00
Andy Scherzinger 74edff5c96 Merge pull request #12029 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-13 16:16:00 +02:00
alperozturk 9ad71307bf Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-13 16:06:03 +02:00
alperozturk e469fef425 Update screenshots
Signed-off-by: alperozturk <[email protected]>
2023-10-13 16:04:28 +02:00
alperozturk c8dde925f6 Use M3 for CreateFolderDialog
Signed-off-by: alperozturk <[email protected]>
2023-10-13 14:15:08 +02:00
alperozturk 48f700e7e0 Extract methods
Signed-off-by: alperozturk <[email protected]>
2023-10-13 13:53:05 +02:00
alperozturk 79cff491c1 Update rename dialog to M3
Signed-off-by: alperozturk <[email protected]>
2023-10-13 13:34:42 +02:00
tobiasKaminsky c410fbb477 fix remaining CI tests
Signed-off-by: tobiasKaminsky <[email protected]>
2023-10-13 11:53:46 +02:00
Tobias Kaminsky e6cc81993e Merge pull request #12024 from nextcloud/fix/filedetail-screenshottest
Fix FileDetailFragmentStaticServerIT failing
2023-10-13 11:23:06 +02:00
nextcloud-android-bot b4b0448846 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-13 08:40:36 +00:00
Nextcloud bot e3a1bd8e22 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-13 04:11:22 +00:00
Nextcloud bot d1c04565da Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-13 04:10:54 +00:00
alperozturk 727d0a7a8b Check system uiMode
Signed-off-by: alperozturk <[email protected]>
2023-10-12 15:02:19 +02:00
ZetaTom 92a8898d7a Replace screenshot
- replaced screenshot for screenshot test
- increased wait time

Signed-off-by: ZetaTom <[email protected]>
2023-10-12 11:59:02 +02:00
ZetaTom 62a0f4f227 Replace gps.jpg
- fixed gps location to 64°00'00.0"N 46°00'00.0"W

Signed-off-by: ZetaTom <[email protected]>
2023-10-12 10:59:37 +02:00
Tobias Kaminsky 5701d299c7 Merge pull request #12018 from nextcloud/fix/missing-appPreferences
Fix missing appPreferences
2023-10-12 07:54:03 +02:00
Nextcloud bot 3c6f0fd6e4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-12 02:43:06 +00:00
Nextcloud bot ae059a207a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-12 02:42:39 +00:00
alperozturk dfee4ef7b6 Optimize imports
Signed-off-by: alperozturk <[email protected]>
2023-10-11 16:55:34 +02:00
alperozturk 88e4b60486 Fix missing appPreferences
Signed-off-by: alperozturk <[email protected]>
2023-10-11 16:54:03 +02:00
Tobias Kaminsky c9f9b02cce Merge pull request #12003 from nextcloud/bugfix/Update-folder-icons
Bugfix/update folder icons
2023-10-11 16:22:58 +02:00
alperozturk cde7edba5f Fix Codacy Spotbugs
Signed-off-by: alperozturk <[email protected]>
2023-10-11 14:44:20 +02:00
alperozturk 7e0d05818b Fix spotlessKotlinCheck
Signed-off-by: alperozturk <[email protected]>
2023-10-11 11:29:25 +02:00
alperozturk cd54020d75 Fix testCreationAndUploadTimestamp
Signed-off-by: alperozturk <[email protected]>
2023-10-11 10:58:21 +02:00
alperozturk e56ab6d4c6 Fix testMetaData
Signed-off-by: alperozturk <[email protected]>
2023-10-11 10:56:53 +02:00
alperozturk b853dce389 Add testOnlyOnServer function inside AbstractIT
Signed-off-by: alperozturk <[email protected]>
2023-10-11 10:44:21 +02:00
alperozturk 887c197287 Fix SplashScreen title tests
Signed-off-by: alperozturk <[email protected]>
2023-10-11 10:43:43 +02:00
Nextcloud bot 1c98735591 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-11 02:51:57 +00:00
Nextcloud bot 3e24d1cc77 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-11 02:51:28 +00:00
Andy Scherzinger 32549f3d42 Merge pull request #12016 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-10 17:57:42 +02:00
nextcloud-android-bot 46a1c94b4e 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-10 15:48:02 +00:00
alperozturk ff6919124a fix nullability of getDarkThemeMode function
Signed-off-by: alperozturk <[email protected]>
2023-10-10 16:37:53 +02:00
Andy Scherzinger 9fabff0b2e Merge pull request #12013 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-10 16:27:20 +02:00
alperozturk 95453d8612 Remove FIXME comments
Signed-off-by: alperozturk <[email protected]>
2023-10-10 14:54:15 +02:00
ZetaTom 774f4d6c45 Fix softKeyboard not appearing
Signed-off-by: ZetaTom <[email protected]>
2023-10-10 10:50:59 +02:00
Nextcloud bot 3b3c5baaac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-10 03:20:22 +00:00
Nextcloud bot 99be8ba435 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-10 03:19:53 +00:00
nextcloud-android-bot be028a0c9e 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-10 02:18:24 +00:00
Andy Scherzinger 43be5e02e0 Merge pull request #12011 from nextcloud/dependabot/github_actions/github/codeql-action-2.22.1
Build(deps): Bump github/codeql-action from 2.22.0 to 2.22.1
2023-10-09 14:20:00 +02:00
dependabot[bot] 3cd8f920ee Build(deps): Bump github/codeql-action from 2.22.0 to 2.22.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/2cb752a87e96af96708ab57187ab6372ee1973ab...fdcae64e1484d349b3366718cdfef3d404390e85)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-10-09 11:45:30 +00:00
Nextcloud bot 9cc4d01c9a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-09 02:46:05 +00:00
Nextcloud bot 6c041c0473 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-09 02:45:37 +00:00
Nextcloud bot d88e3748d8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-08 02:49:23 +00:00
Nextcloud bot 8f8ac7e960 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-08 02:48:56 +00:00
Andy Scherzinger 061c615b8f Merge pull request #12007 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-10-07 11:01:52 +02:00
nextcloud-android-bot f7c7221be1 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-10-07 08:32:01 +00:00
Nextcloud bot e42251f69a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-07 04:08:30 +00:00
Nextcloud bot 82f7a0549e Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-07 04:08:02 +00:00
alperozturk 1e4e417077 Fix autoUploadFolder
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:34 +02:00
alperozturk ffdf859bac Fix spotlessKotlinCheck
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:33 +02:00
Alper Ozturk a24609f534 Fix code analysis
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:33 +02:00
Alper Ozturk 3ab49e4acc Fix spotlessKotlinCheck
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:33 +02:00
tobiasKaminsky 5b7bb2f5dc test analysis.yml not running on garm
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:33 +02:00
Alper Ozturk a3014ad1d3 Fix Static code analysis warnings
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:33 +02:00
Alper Ozturk c94a190388 Fix spotlessKotlinCheck
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:33 +02:00
Alper Ozturk 5be983b94f Fix imports for gPlay flavour
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:33 +02:00
Alper Ozturk 3b74655c12 Add licence header for new icons
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:32 +02:00
Alper Ozturk dbbe6de800 Add licence header for new files
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:32 +02:00
Alper Ozturk bbeccfb4f8 Change overlaying mechanism
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:32 +02:00
Alper Ozturk 7458ba3d60 Fix detekt findings
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:32 +02:00
Alper Ozturk b38c54a4c9 Update screenshots
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:32 +02:00
Alper Ozturk 68f3c6e273 Update usage of addDrawableAsOverlay function
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:32 +02:00
Alper Ozturk a0083b9afb Change overlay icon size according to density
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:32 +02:00
Alper Ozturk 6ae12b0e49 Add extensions package under utils
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:32 +02:00
Alper Ozturk c618b20511 Reset overlay icon size
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:31 +02:00
Alper Ozturk 59cacab150 Use isDarkModeEnabled function
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:31 +02:00
Alper Ozturk 9e4bac2aad Add isDarkModeEnabled function
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:31 +02:00
Alper Ozturk b0c584b9f2 Support overlay drawable icon for Dark mode
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:31 +02:00
Alper Ozturk be543f66d4 Change top margin to 3 due to ss tests
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:31 +02:00
Alper Ozturk 88de0a2bd2 Change top margin to 4
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:31 +02:00
Alper Ozturk afdd18a415 Change overlay icon color to white
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:31 +02:00
Alper Ozturk 095c19bdb7 Add different folder types
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:31 +02:00
Alper Ozturk 8b9361f310 Use getDefaultFolderIcon
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:30 +02:00
Alper Ozturk 8105a02766 Add default folder icon function added due to apply color primary
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:30 +02:00
Alper Ozturk 15f5856646 Move getFileIcon into the MimeTypeUtil
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:30 +02:00
Alper Ozturk 6ccefc4e44 Remove unused icons from project directory
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:30 +02:00
Alper Ozturk c570c4f2a5 Add viewThemeUtils for different primary colors
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:30 +02:00
Alper Ozturk 651908af93 Todo comment added
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:30 +02:00
Alper Ozturk 48bdbac2a3 Replace null check with assert due to ContextCompat.getDrawable nullability
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:30 +02:00
Alper Ozturk 6fc9970329 Rename getFileOverlayIcon to getFileOverlayIconId
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:29 +02:00
Alper Ozturk 6ed626d8b3 Remove Mockito from OCFileIconTests
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:29 +02:00
Alper Ozturk 7aa837fb8c Add tests for each different folder icon type
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:29 +02:00
Alper Ozturk bfd80793bc Add OCFileIconTests
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:29 +02:00
Alper Ozturk f745db1188 Extract getFileOverlayIcon function from getFileIcon
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:29 +02:00
Alper Ozturk 23cd9f91c7 Rename OCFile function name to getFileIcon
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:29 +02:00
Alper Ozturk 29e934fdce Add DrawableUtilTests for testing overlaying icons
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:29 +02:00
Alper Ozturk 1f391397c1 Mark failed tests
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:29 +02:00
Alper Ozturk ca09000327 Use overlay method for GroupfolderListAdapter
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:28 +02:00
Alper Ozturk 9870a80e87 Remove duplicated default folder icon func from MimeTypeUtil
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:28 +02:00
Alper Ozturk 3aa9c8aa32 Remove ViewThemeUtils usage to provide correct folder color
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:28 +02:00
Alper Ozturk 44e38c671f Use overlay method for EditorWebView
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:28 +02:00
Alper Ozturk aee3ffd7da Change drawable to layer drawable
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:28 +02:00
Alper Ozturk 16db8c01b6 Use overlay method for ShareActivity
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:28 +02:00
Alper Ozturk 929b704425 Use overlay method for ShortcutUtil
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:28 +02:00
Alper Ozturk bbea0e00d0 Apply color changes for folder
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:27 +02:00
Alper Ozturk 4b35088377 Use overlay method for UploadAdapter
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:27 +02:00
Alper Ozturk 32b8993331 Add DrawableUtil
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:27 +02:00
Alper Ozturk 80cf6f04bd Use new method for get thumbnail image
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:27 +02:00
Alper Ozturk c7cb4fa7c4 Use overlay method to get file icon
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:27 +02:00
Alper Ozturk e4dd05c6aa Add folder overlay icons
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:27 +02:00
Alper Ozturk 65461a7d87 Use folder key icon for encrypted state
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:27 +02:00
Alper Ozturk 2dc0d561fd Add folder_encrypted icon
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:27 +02:00
Alper Ozturk b351c57d31 Use getFileIcon for thumbnailView
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:26 +02:00
Alper Ozturk 0358dce204 Add isAutoUploadFolder function to SyncedFolderProvider
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:26 +02:00
Alper Ozturk 22e1f7ed45 Add getFileIcon function inside OCFile
Signed-off-by: Alper Ozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
2023-10-06 10:48:26 +02:00
Nextcloud bot 9513ddecaa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-06 02:46:19 +00:00
Nextcloud bot ba51488d2a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-06 02:45:51 +00:00
Nextcloud bot 3ea2c74331 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-05 03:00:01 +00:00
Nextcloud bot 67f38b63cc Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-05 02:59:34 +00:00
Nextcloud bot 90b46dbf6a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-04 02:46:56 +00:00
Nextcloud bot 762f297d8f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-04 02:46:29 +00:00
Nextcloud bot b282f1c4ba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-03 02:44:53 +00:00
Nextcloud bot d845526576 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-03 02:44:25 +00:00
Andy Scherzinger eedbdc0dfa Merge pull request #11998 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.9.0
Build(deps): Bump gradle/gradle-build-action from 2.8.0 to 2.9.0
2023-10-02 17:25:35 +02:00
dependabot[bot] 23038031cb Build(deps): Bump gradle/gradle-build-action from 2.8.0 to 2.9.0
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc...842c587ad8aa4c68eeba24c396e15af4c2e9f30a)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-10-02 11:39:46 +00:00
Nextcloud bot 0b5c828235 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-02 02:45:01 +00:00
Nextcloud bot 8ede587f08 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-02 02:44:33 +00:00
Nextcloud bot 4cc8743547 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-01 02:51:51 +00:00
Nextcloud bot 96cc159139 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-10-01 02:51:23 +00:00
Nextcloud bot aabcb979a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-30 02:43:29 +00:00
Nextcloud bot d0e2c1568a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-30 02:43:01 +00:00
Nextcloud bot 5b5402b5e1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-29 02:45:08 +00:00
Nextcloud bot 8a7be770ba Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-29 02:44:40 +00:00
Andy Scherzinger 1f194cc8f7 Merge pull request #11995 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-09-28 08:55:45 +02:00
nextcloud-android-bot 8d9a3182a0 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-09-28 05:43:37 +00:00
Nextcloud bot d52995e6cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-28 02:45:26 +00:00
Nextcloud bot 2bbdf5bda3 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-28 02:44:57 +00:00
Nextcloud bot ee486c424e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-27 02:44:24 +00:00
Nextcloud bot 8912a4fb79 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-27 02:43:56 +00:00
Nextcloud bot 3f8a9523d0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-26 02:46:06 +00:00
Nextcloud bot 9d6c660981 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-26 02:45:39 +00:00
Andy Scherzinger 4fc90f3dab Merge pull request #11919 from PhilLab/move-to-next-image-after-deletion
When deleting image in preview activity, move to the next image
2023-09-25 16:42:36 +02:00
Andy Scherzinger 078296fd06 Merge pull request #11986 from nextcloud/issue-#11984
Changed Delete in Deleted Files to Delete Permanently
2023-09-25 16:39:29 +02:00
Andy Scherzinger e56f36bdef Merge pull request #11990 from nextcloud/dependabot/github_actions/actions/checkout-4.1.0
Build(deps): Bump actions/checkout from 4.0.0 to 4.1.0
2023-09-25 15:35:14 +02:00
dependabot[bot] 20c95aa05e Build(deps): Bump actions/checkout from 4.0.0 to 4.1.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [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/v4...8ade135a41bc03ea155e62e844d188df1ea18608)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-09-25 11:26:15 +00:00
Nextcloud bot fdf7b33d56 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-25 02:45:12 +00:00
Nextcloud bot 80f690ebc9 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-25 02:44:45 +00:00
Ezhil Shanmugham e81c72611b Changed Delete in Deleted Files to Delete Permanently
Signed-off-by: Ezhil Shanmugham <[email protected]>
2023-09-24 16:02:59 +02:00
Nextcloud bot 719c3ea4fa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-24 02:46:10 +00:00
Nextcloud bot ae2101eba2 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-24 02:45:41 +00:00
Andy Scherzinger 10c87f0445 Merge pull request #11985 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-09-23 16:58:24 +02:00
nextcloud-android-bot 2e7384d46b 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-09-23 08:57:44 +00:00
Nextcloud bot ea721aa307 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-23 02:44:23 +00:00
Nextcloud bot 2b41251056 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-23 02:43:51 +00:00
Nextcloud bot da73d866bf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-22 02:50:22 +00:00
Nextcloud bot 56e07ee6e4 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-22 02:49:53 +00:00
Nextcloud bot b1c948f496 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-21 02:49:34 +00:00
Nextcloud bot 8d107c72c2 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-21 02:49:06 +00:00
Andy Scherzinger 77d269ed81 Merge pull request #11980 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-09-20 10:44:54 +02:00
nextcloud-android-bot c63151c2cd 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-09-20 08:44:05 +00:00
Nextcloud bot 1fd5e4864e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-20 02:46:06 +00:00
Nextcloud bot e244142f9c Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-20 02:45:37 +00:00
Nextcloud bot 432305e275 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-19 02:40:43 +00:00
Nextcloud bot 8dd434c1b8 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-19 02:40:14 +00:00
Nextcloud bot d4e46fe775 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-18 02:42:03 +00:00
Nextcloud bot 4f778b7176 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-18 02:41:35 +00:00
Nextcloud bot f810a2c5bb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-17 02:44:45 +00:00
Nextcloud bot e38d77aead Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-17 02:44:17 +00:00
Nextcloud bot a5560e05a3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-16 02:42:55 +00:00
Nextcloud bot c6d6a37766 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-16 02:42:27 +00:00
Andy Scherzinger 3397cb7b92 Merge pull request #11954 from nextcloud/outdatedWarning
show outdated warning also on very old servers
2023-09-16 00:17:10 +02:00
Andy Scherzinger 2a92780778 Merge pull request #11942 from nextcloud/fix/app-switcher-toggle
Fix default state of 'Show app switcher' toggle
2023-09-16 00:11:46 +02:00
Andy Scherzinger ff00fbd567 Merge pull request #11958 from nextcloud/dependabot/github_actions/actions/upload-artifact-3.1.3
Build(deps): Bump actions/upload-artifact from 3.1.2 to 3.1.3
2023-09-15 23:54:51 +02:00
Andy Scherzinger 60233ef0c1 Merge pull request #11968 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-09-15 08:09:57 +02:00
nextcloud-android-bot ae337ea6e8 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-09-15 06:08:00 +00:00
Nextcloud bot 22b10d4e7d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-15 02:42:50 +00:00
Nextcloud bot 13d402b3b5 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-15 02:42:22 +00:00
Andy Scherzinger 02b3746d68 Merge pull request #11966 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-09-14 08:40:16 +02:00
nextcloud-android-bot 45311825f5 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-09-14 05:14:22 +00:00
Nextcloud bot 5072ffdbca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-14 02:45:14 +00:00
Nextcloud bot 5b6b172f07 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-14 02:44:45 +00:00
Nextcloud bot c68b07dc87 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-13 02:40:40 +00:00
Nextcloud bot 79d402fe8a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-13 02:40:12 +00:00
Andy Scherzinger d38b7c3d84 Merge pull request #11959 from nextcloud/dependabot/github_actions/actions/cache-3.3.2
Build(deps): Bump actions/cache from 3.3.1 to 3.3.2
2023-09-12 16:22:54 +02:00
dependabot[bot] 11dbe3e788 Build(deps): Bump actions/cache from 3.3.1 to 3.3.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8...704facf57e6136b1bc63b828d79edcd491f0ee84)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-09-12 11:12:49 +00:00
Andy Scherzinger 7c5be09c44 Merge pull request #11957 from nextcloud/dependabot/github_actions/actions/checkout-4.0.0
Build(deps): Bump actions/checkout from 3.6.0 to 4.0.0
2023-09-12 13:11:55 +02:00
Nextcloud bot 56df8f0286 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-12 02:44:01 +00:00
Nextcloud bot 7ba4ac512d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-12 02:43:33 +00:00
dependabot[bot] 6a7b9aa11f Build(deps): Bump actions/upload-artifact from 3.1.2 to 3.1.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/0b7f8abb1508181956e8e162db84b466c27e18ce...a8a3f3ad30e3422c9c7b888a15615d19a852ae32)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-09-11 11:09:33 +00:00
dependabot[bot] 01285666c7 Build(deps): Bump actions/checkout from 3.6.0 to 4.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
- [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/v3.6.0...3df4ab11eba7bda6032a0b82a6bb43b11571feac)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-09-11 11:09:30 +00:00
Nextcloud bot c8814a8c38 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-11 02:42:23 +00:00
Nextcloud bot 59581a7f28 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-11 02:41:55 +00:00
Nextcloud bot 4f22fb74bb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-10 02:48:11 +00:00
Nextcloud bot 2be8eadf5b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-10 02:47:41 +00:00
Nextcloud bot 0ce881007f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-09 02:42:21 +00:00
Nextcloud bot 990367d5dd Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-09 02:41:54 +00:00
tobiasKaminsky 623590ba6c show outdated warning also on very old servers
Signed-off-by: tobiasKaminsky <[email protected]>
2023-09-08 15:10:59 +02:00
Tobias Kaminsky cb21ef01a0 Merge pull request #11952 from nextcloud/multiAccount
hide add account if multi account is disabled
2023-09-08 11:55:01 +02:00
tobiasKaminsky add0c1acc1 hide add account if multi account is disabled
Signed-off-by: tobiasKaminsky <[email protected]>
2023-09-08 11:53:23 +02:00
Nextcloud bot 1b9aadf0a1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-08 02:46:21 +00:00
Nextcloud bot f7bc7791c5 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-08 02:45:53 +00:00
Andy Scherzinger 6dde24564c Merge pull request #11951 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-09-07 21:48:14 +02:00
nextcloud-android-bot 4d09e55281 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-09-07 17:47:13 +00:00
Nextcloud bot aa4700ddea Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-07 02:45:21 +00:00
Nextcloud bot 0db8b97ed5 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-07 02:44:53 +00:00
Nextcloud bot b939e4207c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-06 03:05:17 +00:00
Nextcloud bot 235783095e Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-06 03:04:48 +00:00
Andy Scherzinger bec30b499c Merge pull request #11925 from nextcloud/build.gradle
update build.gradle
2023-09-05 21:32:59 +02:00
ZetaTom a470c12d57 Clean up comments
Signed-off-by: ZetaTom <[email protected]>
2023-09-05 13:33:39 +02:00
ZetaTom 565a0da2e4 Fix default state of 'Show app switcher' toggle
Signed-off-by: ZetaTom <[email protected]>
2023-09-05 10:04:27 +02:00
Nextcloud bot a5067af472 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-05 02:41:42 +00:00
Nextcloud bot fcab52634a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-05 02:41:15 +00:00
Andy Scherzinger 68c64d61b2 Merge pull request #11940 from nextcloud/chore/noid/screenshotUpdate
Updated screenshot for #11938
2023-09-04 19:08:13 +02:00
Andy Scherzinger 730717c106 Updated screenshot for #11938
Signed-off-by: Andy Scherzinger <[email protected]>
2023-09-04 19:07:41 +02:00
Andy Scherzinger 57326ea20f Merge pull request #11938 from nextcloud/fix/imagedetail-addresses
Improve address appearance in ImageDetailFragment
2023-09-04 18:40:43 +02:00
Andy Scherzinger e9d14e1831 Add empty new line at the file end
Signed-off-by: Andy Scherzinger <[email protected]>
2023-09-04 18:39:29 +02:00
ZetaTom fc5994c243 Move photo pin drawable to xml layout
Signed-off-by: ZetaTom <[email protected]>
2023-09-04 18:21:40 +02:00
ZetaTom 7212b092d6 Improve appearance of addresses in ImageDetailFragment
Signed-off-by: ZetaTom <[email protected]>
2023-09-04 18:21:36 +02:00
Andy Scherzinger e1df0b9198 Merge pull request #11939 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.8.0
Build(deps): Bump gradle/gradle-build-action from 2.7.1 to 2.8.0
2023-09-04 13:57:47 +02:00
dependabot[bot] cfa726ad04 Build(deps): Bump gradle/gradle-build-action from 2.7.1 to 2.8.0
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/243af859f8ca30903d9d7f7936897ca0358ba691...ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-09-04 11:23:56 +00:00
Nextcloud bot c62145e2f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-04 02:51:14 +00:00
Nextcloud bot 0da5b2ab75 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-04 02:50:46 +00:00
Nextcloud bot 266e27f9dd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-03 02:40:34 +00:00
Nextcloud bot 3ce80fb54f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-03 02:40:07 +00:00
Andy Scherzinger aa9b8c5bb4 Merge pull request #11934 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-09-02 21:44:45 +02:00
nextcloud-android-bot 2365bd6e87 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-09-02 03:07:09 +00:00
Nextcloud bot f04b0397fe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-02 02:41:11 +00:00
Nextcloud bot 478f529651 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-02 02:40:43 +00:00
Nextcloud bot 1539651b80 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-01 02:45:26 +00:00
Nextcloud bot 47621628d5 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-09-01 02:44:57 +00:00
Nextcloud bot 9d038ddaf5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-31 02:52:46 +00:00
Nextcloud bot 9f05df997f Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-31 02:52:19 +00:00
Nextcloud bot 0fac4705a1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-30 17:09:49 +00:00
Nextcloud bot eca6f8a907 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-30 17:09:19 +00:00
Nextcloud bot f2a15c0ee7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-30 17:06:53 +00:00
Nextcloud bot fa86f5445d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-30 17:06:24 +00:00
Andy Scherzinger db9c071f48 Merge pull request #11932 from nextcloud/bugfix/noid/translationString
Rename string to ensure transifex sync works
2023-08-30 19:02:44 +02:00
Andy Scherzinger a0c7219401 rename string to ensure transifex sync works
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-30 19:01:29 +02:00
Andy Scherzinger 09b2f198f1 Merge pull request #11931 from nextcloud/nextMajor27
Bump master to 3.27 alpha
2023-08-30 16:10:13 +02:00
Nextcloud bot e0b9488a30 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-30 13:44:29 +00:00
tobiasKaminsky a663f26ed8 Bump master to 3.27 alpha
Signed-off-by: tobiasKaminsky <[email protected]>
2023-08-30 15:30:43 +02:00
Nextcloud bot c05f9a23e8 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-30 13:25:58 +00:00
Tobias Kaminsky c00e614df4 Merge pull request #11852 from nextcloud/synced_folder_upload_subfolderoptions_pr
Extra options for uploading subfolders
2023-08-30 14:35:34 +02:00
tobiasKaminsky f32cb61f59 rebased
Signed-off-by: tobiasKaminsky <[email protected]>
2023-08-30 12:10:01 +02:00
Andy Scherzinger 920c69dc15 remove unused variables
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-30 11:30:21 +02:00
Andy Scherzinger 32b696bd6e Rename header of Auto upload settings to just "Auto upload"
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-30 11:30:21 +02:00
Dean Birch d90e06f9d9 Fix unit tests with SubFolderRule in constructor
Signed-off-by: Dean Birch <[email protected]>
2023-08-30 11:30:21 +02:00
Dean Birch 768171c37b Hide subfolder options when not using subfolders
Instead of greying out the subfolder rules when not active, hide them.
Also reverts changes to make a function out of getAlpha.

Signed-off-by: Dean Birch <[email protected]>
2023-08-30 11:30:21 +02:00
Dean Birch 605aa1489d Update en localization of use subfolders summary
Signed-off-by: Dean Birch <[email protected]>
2023-08-30 11:30:21 +02:00
Dean Birch 13b61e82d6 Convert java to kotlin and add header
Signed-off-by: Dean Birch <[email protected]>
2023-08-30 11:30:21 +02:00
Dean Birch d30980ddee Fix broken unit tests
Signed-off-by: Dean Birch <[email protected]>
2023-08-30 11:30:21 +02:00
Dean Birch a687ca68d3 gradle spotless check formatting
Signed-off-by: Dean Birch <[email protected]>
2023-08-30 11:30:21 +02:00
Dean Birch dcabaf2a7d Extra options for uploading subfolders
Adds some extra options for uploading photos into various patterns of
subfolders. yyyy or yyyy/MM or yyyy/MM/dd supported.

Currently just adds an extra field for this, and has to be used in
conjunction with the "use subfolder" checkbox, the new option is greyed
out and disabled when "use subfolder" is not checked.

Signed-off-by: Dean Birch <[email protected]>
2023-08-30 11:30:20 +02:00
Tobias Kaminsky c4d454fbc3 Merge pull request #11928 from nextcloud/spotbugsGarm
Let analysis.yml do not run on GARM
2023-08-30 11:26:24 +02:00
tobiasKaminsky 29227fc00f fix 18n
Signed-off-by: tobiasKaminsky <[email protected]>
2023-08-30 10:54:23 +02:00
tobiasKaminsky acff4c88e7 Let analysis.yml do not run on GARM
Signed-off-by: tobiasKaminsky <[email protected]>
2023-08-30 10:09:00 +02:00
Tobias Kaminsky 5af5350536 Merge pull request #11522 from nextmcloud/nmc/1943-avoidSearchCollapse
Avoid search collapse after page refresh
2023-08-30 09:51:32 +02:00
Nextcloud bot 04026739fa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-30 02:51:07 +00:00
Nextcloud bot f9e72564f3 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-30 02:50:38 +00:00
Andy Scherzinger 642d404fcb Merge pull request #11897 from nextcloud/enhanced-image-preview
Enhanced image preview
2023-08-29 15:55:50 +02:00
tobiasKaminsky 6af9b719f2 update build.gradle
Signed-off-by: tobiasKaminsky <[email protected]>
2023-08-29 10:36:16 +02:00
Andy Scherzinger 60845f9815 Merge pull request #11926 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-08-29 10:34:41 +02:00
nextcloud-android-bot 9d21b404a3 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-08-29 08:31:10 +00:00
ZetaTom f57be44343 - overhaul metadata capture and processing
- exception handling in NominatimClient
- set map boundaries
- format strings according to locale
- overlay drawables for photo pin correctly
- refactored ImageDetailFragment
- add copyright notices
- add support for metadata from server
- tint icons for dark mode

Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
2023-08-29 09:28:23 +02:00
Nextcloud bot a88480051a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-29 02:48:27 +00:00
Nextcloud bot dc7562e5f6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-29 02:47:56 +00:00
A200073727 905222c930 After screen refresh search is no longer collapsing. 2023-08-29 02:31:36 +05:30
A117870935 f01aa28fc2 Avoid search collapsing after refresh. 2023-08-29 02:31:35 +05:30
Andy Scherzinger 70bc2440a0 Merge pull request #11921 from nextcloud/dependabot/github_actions/actions/checkout-3.6.0
Build(deps): Bump actions/checkout from 3.5.3 to 3.6.0
2023-08-28 16:52:30 +02:00
dependabot[bot] 631b62929b Build(deps): Bump actions/checkout from 3.5.3 to 3.6.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
- [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/v3.5.3...f43a0e5ff2bd294095638e18286ca9a3d1956744)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-28 11:57:12 +00:00
Philipp Hasper e0519e841a When deleting image in preview activity, move to the next image
Instead of closing the preview after the deletion of an image file, the
next image is shown. This allows to conveniently go through a list of
images and delete unwanted ones, without the flow being interrupted.

Closes #11918

Signed-off-by: Philipp Hasper <[email protected]>
2023-08-28 08:47:28 +02:00
Nextcloud bot 6fa52c65c0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-28 02:41:56 +00:00
Nextcloud bot 920a619751 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-28 02:41:27 +00:00
Nextcloud bot c1e9d4e264 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-27 02:44:41 +00:00
Nextcloud bot c17a49aebb Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-27 02:44:11 +00:00
Andy Scherzinger 6f02131b21 Merge pull request #11917 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-08-26 22:02:43 +02:00
nextcloud-android-bot e784c8a972 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-08-26 19:59:53 +00:00
Nextcloud bot b0a14b1106 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-26 02:50:18 +00:00
Nextcloud bot 9dbe015f01 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-26 02:49:48 +00:00
Nextcloud bot 2f1be76874 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-25 03:00:25 +00:00
Nextcloud bot 9bfc2ba789 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-25 02:59:55 +00:00
Nextcloud bot cd9d2fb690 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-24 03:23:42 +00:00
Nextcloud bot 9a72ec2ec2 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-24 03:23:12 +00:00
Andy Scherzinger aff261beae Merge pull request #11913 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-8.1.1
Build(deps): Bump com.android.tools.build:gradle from 8.1.0 to 8.1.1
2023-08-23 21:27:49 +02:00
Nextcloud bot 798fc75ba8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-23 02:44:01 +00:00
Nextcloud bot 97f6b14b31 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-23 02:43:32 +00:00
dependabot[bot] bfada94d5c Build(deps): Bump com.android.tools.build:gradle from 8.1.0 to 8.1.1
Bumps com.android.tools.build:gradle from 8.1.0 to 8.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]>
2023-08-23 01:36:35 +00:00
Nextcloud bot 7849c38799 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-22 03:11:09 +00:00
Nextcloud bot b959dff06a Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-22 03:10:39 +00:00
Andy Scherzinger 8932e51ccc Merge pull request #11910 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.7.1
Build(deps): Bump gradle/gradle-build-action from 2.7.0 to 2.7.1
2023-08-21 14:15:43 +02:00
dependabot[bot] 7317871ea3 Build(deps): Bump gradle/gradle-build-action from 2.7.0 to 2.7.1
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/a4cf152f482c7ca97ef56ead29bf08bcd953284c...243af859f8ca30903d9d7f7936897ca0358ba691)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-21 11:58:22 +00:00
Nextcloud bot 9fb92c17af Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-21 02:43:07 +00:00
Nextcloud bot 2cf9ea8576 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-21 02:42:38 +00:00
Nextcloud bot 7853cd5336 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-20 02:48:58 +00:00
Nextcloud bot 3d6a3d38f1 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-20 02:48:30 +00:00
Nextcloud bot 4355c42f37 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-19 02:47:56 +00:00
Nextcloud bot 11c8232fbe Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-19 02:47:27 +00:00
Andy Scherzinger bb82c9b7c8 Merge pull request #11907 from nextcloud/dependabot/gradle/exoplayerVersion-2.19.1
Build(deps): Bump exoplayerVersion from 2.19.0 to 2.19.1
2023-08-18 09:55:47 +02:00
Nextcloud bot 52c2d962a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-18 02:53:40 +00:00
Nextcloud bot e32c483bfa Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-18 02:53:07 +00:00
Andy Scherzinger 6df82061ef Merge pull request #11904 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.1.3
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.1.2 to 5.1.3
2023-08-17 14:57:02 +02:00
Andy Scherzinger 502844dfc0 bump lint score to reflect master score
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-17 12:17:37 +02:00
Andy Scherzinger e872d4efbc Fix kt formatting
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-17 12:17:37 +02:00
dependabot[bot] b748e3b27a Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin
Bumps [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.1.2...5.1.3)

---
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]>
2023-08-17 12:17:37 +02:00
Andy Scherzinger 82d34303fa Merge pull request #11901 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-08-17 12:17:09 +02:00
Nextcloud bot 2b1cfa6ea8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-17 02:48:44 +00:00
Nextcloud bot 8012811bbd Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-17 02:48:15 +00:00
nextcloud-android-bot 79533ebba0 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-08-17 02:14:37 +00:00
dependabot[bot] d7e1694b1b Build(deps): Bump exoplayerVersion from 2.19.0 to 2.19.1
Bumps `exoplayerVersion` from 2.19.0 to 2.19.1.

Updates `com.google.android.exoplayer:exoplayer` from 2.19.0 to 2.19.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.19.0...r2.19.1)

Updates `com.google.android.exoplayer:extension-okhttp` from 2.19.0 to 2.19.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.19.0...r2.19.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]>
2023-08-17 02:07:07 +00:00
Nextcloud bot 5462452e21 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-16 02:36:32 +00:00
Nextcloud bot 702a9b3ce3 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-16 02:36:03 +00:00
Nextcloud bot 48d765aea1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-15 03:14:43 +00:00
Nextcloud bot 04040e45ba Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-15 03:14:14 +00:00
Nextcloud bot 56e478f8a0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-14 02:43:36 +00:00
Nextcloud bot 5364e0797e Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-14 02:43:08 +00:00
Nextcloud bot af7b3d9824 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-13 02:36:56 +00:00
Nextcloud bot f1b1f88902 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-13 02:36:27 +00:00
Andy Scherzinger 43ee2a6d97 Merge pull request #11788 from nextcloud/fix/shared-tab-multi-selection
Fix multi-selection in shared tab
2023-08-12 17:12:10 +02:00
ZetaTom ad5379021f Fix multi-selection in shared tab
Signed-off-by: ZetaTom <[email protected]>
2023-08-12 17:00:52 +02:00
Andy Scherzinger f5c2d7e8ad Merge pull request #11899 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-08-12 16:43:05 +02:00
nextcloud-android-bot d5c748c141 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-08-12 14:40:54 +00:00
Nextcloud bot 6562fcd37f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-12 02:43:46 +00:00
Nextcloud bot 34901656da Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-12 02:43:18 +00:00
Nextcloud bot 62298fd848 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-11 02:42:55 +00:00
Nextcloud bot d5680c84a0 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-11 02:42:24 +00:00
Nextcloud bot ba6492f282 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-10 02:44:16 +00:00
Nextcloud bot 12fdf92730 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-10 02:43:46 +00:00
Andy Scherzinger 2527d062bd Merge pull request #11889 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.1.2
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.1.1 to 5.1.2
2023-08-09 13:00:23 +02:00
Andy Scherzinger 335620c638 Merge pull request #11890 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-08-09 12:55:08 +02:00
nextcloud-android-bot dc4b886079 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-08-09 10:21:06 +00:00
dependabot[bot] 3aa405e7c6 Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin
Bumps [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.1.1...5.1.2)

---
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]>
2023-08-09 10:06:10 +00:00
Nextcloud bot 0b01041149 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-09 03:05:55 +00:00
Nextcloud bot d4ac79ec2b Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-09 03:05:23 +00:00
Andy Scherzinger cd070f9ebf Merge pull request #11811 from nextcloud/wip/app-integration
Wip/app integration
2023-08-08 18:21:18 +02:00
Andy Scherzinger b63fec2ad2 add empty lines on some xml files
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-08 16:58:55 +02:00
tobiasKaminsky 6863c1e76a update screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2023-08-08 10:21:15 +02:00
ZetaTom 1c64a42025 Colour ecosystem app icons
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:15 +02:00
ZetaTom 591129eb3c Clean up lint
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:15 +02:00
ZetaTom f05ec0589a Invert logic to hide app switcher
- add summary to toggle in preferences

Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:15 +02:00
ZetaTom 8239b73e48 Colour ecosystem app icons
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:14 +02:00
ZetaTom d158a49cb8 Refactor DrawerActivity.java
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:14 +02:00
ZetaTom 6a07bac0eb Switch accounts on intent
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:14 +02:00
ZetaTom 88a5884b26 Use R-strings in DeepLinkLoginActivity
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:14 +02:00
ZetaTom 4a5b39ff5b Switch accounts on intent
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:14 +02:00
ZetaTom 47dcd85add Improve wording
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:13 +02:00
ZetaTom 18ad832610 Clean up
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:13 +02:00
ZetaTom 2e1f756210 Add preference to hide ecosystem apps
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:13 +02:00
ZetaTom f1197cfff6 Replace icon buttons with ImageView
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:13 +02:00
ZetaTom 2272219c10 Fix background and ripple effect
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:13 +02:00
ZetaTom de858ca7a1 Adjusted design of ecosystem app buttons
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:12 +02:00
ZetaTom 56b512ba45 WIP: adapt ecosystem icons
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:12 +02:00
ZetaTom f1c76614c2 Fix intent to open ecosystem apps
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:12 +02:00
ZetaTom b978e03f9f Adapt layout in drawer_header
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:12 +02:00
ZetaTom 8506251cb6 Add actions for ecosystem apps
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:12 +02:00
ZetaTom 2b1b163b53 Add ecosystem apps to drawer_header.xml
- introduce is_branded_client variable
  - ecosystem apps will only be displayed in vanilla client
- fix layout of drawer_header.xml

Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:11 +02:00
ZetaTom 7531555533 Add ecosystem icons
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:11 +02:00
ZetaTom 4b06cdbb96 Fix custom server name in drawer_header.xml
Signed-off-by: ZetaTom <[email protected]>
2023-08-08 10:21:07 +02:00
Nextcloud bot f4fdc6a89a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-08 02:45:51 +00:00
Nextcloud bot 0f06506474 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-08 02:45:22 +00:00
Andy Scherzinger 0964be75f1 Merge pull request #11884 from nextcloud/dependabot/github_actions/actions/setup-java-3.12.0
Build(deps): Bump actions/setup-java from 3.11.0 to 3.12.0
2023-08-07 14:24:32 +02:00
Andy Scherzinger aa7b984100 Merge pull request #11883 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.7.0
Build(deps): Bump gradle/gradle-build-action from 2.6.1 to 2.7.0
2023-08-07 14:24:00 +02:00
dependabot[bot] dfc2a99851 Build(deps): Bump actions/setup-java from 3.11.0 to 3.12.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.11.0...cd89f46ac9d01407894225f350157564c9c7cee2)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-07 12:00:36 +00:00
dependabot[bot] e08426ea0e Build(deps): Bump gradle/gradle-build-action from 2.6.1 to 2.7.0
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/915a66c096a03101667f9df2e56c9efef558b165...a4cf152f482c7ca97ef56ead29bf08bcd953284c)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-07 12:00:32 +00:00
Andy Scherzinger d96fcacaa1 Merge pull request #11882 from nextcloud/chore/noid/updatePrFeedback
Update pr-feedback.yml
2023-08-07 11:46:47 +02:00
Andy Scherzinger 45e3ad8f09 Update pr-feedback.yml
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-07 11:42:43 +02:00
Nextcloud bot bfcd0c369c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-07 02:43:21 +00:00
Nextcloud bot ec69383d76 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-07 02:42:52 +00:00
Nextcloud bot 788a75cb4e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-06 02:39:03 +00:00
Nextcloud bot 62a5bc7271 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-06 02:38:33 +00:00
Nextcloud bot f3a9acf35e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-05 02:43:50 +00:00
Nextcloud bot 6499016977 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-05 02:43:18 +00:00
Andy Scherzinger 1c66adf7c8 Merge pull request #11869 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.2.1
Build(deps): Bump com.google.firebase:firebase-messaging from 23.1.2 to 23.2.1
2023-08-04 11:13:57 +02:00
dependabot[bot] 4e10a71325 Build(deps): Bump com.google.firebase:firebase-messaging
Bumps [com.google.firebase:firebase-messaging](https://github.com/firebase/firebase-android-sdk) from 23.1.2 to 23.2.1.
- [Changelog](https://github.com/firebase/firebase-android-sdk/blob/master/docs/make_release_notes.py)
- [Commits](https://github.com/firebase/firebase-android-sdk/commits)

---
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]>
2023-08-04 08:29:56 +00:00
Andy Scherzinger b29829fb00 Merge pull request #11868 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.1.1
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.1.0 to 5.1.1
2023-08-04 10:29:09 +02:00
dependabot[bot] e140c551ec Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin
Bumps [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.1.0...5.1.1)

---
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]>
2023-08-04 07:57:17 +00:00
Andy Scherzinger e1480f3431 Merge pull request #11474 from nextcloud/minSdkVersion24
Set minSdkVersion to 24 + remove checks
2023-08-04 09:56:09 +02:00
Nextcloud bot 403a8dd223 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-04 02:45:30 +00:00
Nextcloud bot e2215e64d6 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-04 02:45:00 +00:00
Andy Scherzinger ff2912ad80 unify and align launched foreground vector files
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-03 18:24:01 +02:00
Andy Scherzinger 53e1b8c7a2 move v24 drawables to drawables
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-03 10:53:51 +02:00
tobiasKaminsky b1daecac70 Set minSdkVersion to 24 + remove checks
Signed-off-by: tobiasKaminsky <[email protected]>
2023-08-03 10:53:51 +02:00
Andy Scherzinger d204c10703 Merge pull request #11860 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.23.1
Build(deps): Bump io.gitlab.arturbosch.detekt:detekt-gradle-plugin from 1.23.0 to 1.23.1
2023-08-03 10:04:28 +02:00
Andy Scherzinger 7cda126204 Bump score to 2
Signed-off-by: Andy Scherzinger <[email protected]>
2023-08-03 09:16:09 +02:00
dependabot[bot] ecd52df3b9 Build(deps): Bump io.gitlab.arturbosch.detekt:detekt-gradle-plugin
Bumps [io.gitlab.arturbosch.detekt:detekt-gradle-plugin](https://github.com/detekt/detekt) from 1.23.0 to 1.23.1.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/compare/v1.23.0...v1.23.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-03 09:16:09 +02:00
Andy Scherzinger aedc4b6782 Merge pull request #11851 from nextcloud/fix/previewimage-thumbnail
Fix preview of previously offline images
2023-08-03 09:12:53 +02:00
Andy Scherzinger 591ee30315 Merge pull request #11863 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.1.0
Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin from 5.0.14 to 5.1.0
2023-08-03 08:57:14 +02:00
Nextcloud bot cced947b25 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-03 02:42:48 +00:00
Nextcloud bot eb46d8d128 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-03 02:42:16 +00:00
dependabot[bot] 6fe99d12e3 Build(deps): Bump com.github.spotbugs.snom:spotbugs-gradle-plugin
Bumps [com.github.spotbugs.snom:spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.14 to 5.1.0.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.14...5.1.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-03 01:38:44 +00:00
Nextcloud bot 5937dd5467 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-02 03:07:21 +00:00
Nextcloud bot e37644914d Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-02 03:06:52 +00:00
ZetaTom 0aeda68451 Fix preview of previously offline images
Signed-off-by: ZetaTom <[email protected]>
2023-08-01 16:10:03 +02:00
Nextcloud bot 2eca0aa94e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-01 02:40:59 +00:00
Nextcloud bot 0bd062faed Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-08-01 02:40:30 +00:00
Nextcloud bot dd1d4d7697 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-31 02:40:13 +00:00
Nextcloud bot 1b78f41301 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-31 02:39:43 +00:00
Nextcloud bot 9d0c59ef09 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-30 02:35:45 +00:00
Nextcloud bot dda6359441 Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-30 02:35:16 +00:00
Andy Scherzinger 9306b9ce0b Merge pull request #11849 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-07-29 11:40:04 +02:00
nextcloud-android-bot bac99e7e02 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2023-07-29 09:39:18 +00:00
Nextcloud bot 45572637f6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-29 02:42:28 +00:00
Nextcloud bot c6e59c27de Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <[email protected]>
2023-07-29 02:41:57 +00:00
406 changed files with 16759 additions and 12591 deletions

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
{
"name": "NextcloudAndroid",
"dockerFile": "Dockerfile",
"dockerFile": "Dockerfile"
}
+12 -2
View File
@@ -32,10 +32,11 @@ services:
image: ghcr.io/nextcloud/continuous-integration-shallow-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
SERVER_VERSION: 'stable25'
SERVER_VERSION: 'stable27'
commands:
- BRANCH="$SERVER_VERSION" /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
- apt-get update && apt-get install -y composer
- 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"
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
@@ -49,6 +50,9 @@ services:
- su www-data -c "php /var/www/html/occ app:enable text"
- 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"
- su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/photos.git /var/www/html/apps/photos/"
- su www-data -c "cd /var/www/html/apps/photos; composer install"
- su www-data -c "php /var/www/html/occ app:enable -f photos"
- /usr/local/bin/run.sh
trigger:
@@ -90,6 +94,7 @@ services:
commands:
- /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
- apt-get update && apt-get install -y composer
- 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"
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
@@ -103,6 +108,9 @@ services:
- su www-data -c "php /var/www/html/occ app:enable text"
- su www-data -c "git clone -b master https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/"
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
- su www-data -c "git clone https://github.com/nextcloud/photos.git /var/www/html/apps/photos/"
- su www-data -c "cd /var/www/html/apps/photos; composer install"
- su www-data -c "php /var/www/html/occ app:enable -f photos"
- /usr/local/bin/run.sh
trigger:
@@ -171,4 +179,6 @@ name: GIT_TOKEN
data: XIoa9IYq+xQ+N5iln8dlpWv0jV6ROr7HuE24ioUr4uQ8m8SjyH0yognWYLYLqnbTKrFWlFZiEMQTH/sZiWjRFvV1iL0=
---
kind: signature
hmac: aec1cabcb7b4f98f1be1d5b7a052a629ce3193e19a3692dd52ada48b6e72a1c9
hmac: cf7f9b6403072500d986d4979375676729a9104f98b0c53fba5198c478cccab4
...
+6 -5
View File
@@ -1,10 +1,11 @@
# synced from @nextcloud/android-config
name: "Analysis"
on:
pull_request:
branches: [ master, stable-* ]
branches: [ "master", "main", "stable-*" ]
push:
branches: [ master, stable-* ]
branches: [ "master", "main", "stable-*" ]
permissions:
pull-requests: write
@@ -16,7 +17,7 @@ concurrency:
jobs:
analysis:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Setup variables
id: get-vars
@@ -32,12 +33,12 @@ jobs:
echo "pr=${{ github.event.pull_request.number }}" >> "$GITHUB_OUTPUT"
echo "repo=${{ github.event.pull_request.head.repo.full_name }}" >> "$GITHUB_OUTPUT"
fi
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: ${{ steps.get-vars.outputs.repo }}
ref: ${{ steps.get-vars.outputs.branch }}
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
distribution: "temurin"
java-version: 17
+2 -2
View File
@@ -19,9 +19,9 @@ jobs:
matrix:
flavor: [ Generic, Gplay, Huawei ]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3
- name: set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3
with:
distribution: "temurin"
java-version: 17
+2 -2
View File
@@ -19,9 +19,9 @@ jobs:
matrix:
task: [ detekt, spotlessKotlinCheck ]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3
with:
distribution: "temurin"
java-version: 17
+4 -4
View File
@@ -26,17 +26,17 @@ jobs:
language: [ 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set Swap Space
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
with:
swap-size-gb: 10
- name: Initialize CodeQL
uses: github/codeql-action/init@6ca1aa8c195c3ca3e77c174fe0356db1bce3b319 # v2.21.1
uses: github/codeql-action/init@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2.22.8
with:
languages: ${{ matrix.language }}
- name: Set up JDK 17
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
distribution: "temurin"
java-version: 17
@@ -46,4 +46,4 @@ jobs:
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@6ca1aa8c195c3ca3e77c174fe0356db1bce3b319 # v2.21.1
uses: github/codeql-action/analyze@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2.22.8
+3 -3
View File
@@ -23,7 +23,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.2
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -31,7 +31,7 @@ jobs:
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
@@ -42,7 +42,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.2
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+2 -2
View File
@@ -16,9 +16,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3
with:
distribution: "temurin"
java-version: 17
@@ -18,5 +18,5 @@ jobs:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0
+8 -3
View File
@@ -1,3 +1,8 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: 'Ask for feedback on PRs'
on:
schedule:
@@ -5,7 +10,7 @@ on:
jobs:
pr-feedback:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
@@ -18,12 +23,12 @@ jobs:
Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
We hope that the reviewing process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR reviewing process.
We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
Thank you for contributing to Nextcloud and we hope to hear from you soon!
days-before-feedback: 14
start-date: "2023-07-10"
exempt-authors: "${{ steps.scrape.outputs.users }}"
exempt-authors: "${{ steps.scrape.outputs.users }},nextcloud-command,nextcloud-android-bot"
exempt-bots: true
+2 -2
View File
@@ -19,10 +19,10 @@ jobs:
- name: Check if secrets are available
run: echo "::set-output name=ok::${{ secrets.KS_PASS != '' }}"
id: check-secrets
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
- name: set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
with:
distribution: "temurin"
+3 -3
View File
@@ -24,12 +24,12 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
with:
results_file: results.sarif
results_format: sarif
@@ -37,6 +37,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@6ca1aa8c195c3ca3e77c174fe0356db1bce3b319 # v2.21.1
uses: github/codeql-action/upload-sarif@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2.22.8
with:
sarif_file: results.sarif
+5 -5
View File
@@ -22,17 +22,17 @@ jobs:
color: [ blue ]
api-level: [ 27 ]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3
- name: Gradle cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # 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@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
id: avd-cache
with:
path: |
@@ -40,7 +40,7 @@ jobs:
~/.android/adb*
key: avd-${{ matrix.api-level }}
- uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3
with:
distribution: "temurin"
java-version: 17
@@ -88,7 +88,7 @@ jobs:
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}}
- name: Archive Espresso results
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
+4 -4
View File
@@ -18,9 +18,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up JDK 17
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: "temurin"
java-version: 17
@@ -30,7 +30,7 @@ jobs:
if: ${{ always() }}
run: scripts/deleteOldComments.sh "test" "Unit" ${{github.event.number}}
- name: Run unit tests with coverage
uses: gradle/gradle-build-action@915a66c096a03101667f9df2e56c9efef558b165 # v2.6.1
uses: gradle/gradle-build-action@87a9a15658c426a54dd469d4fc7dc1a73ca9d4a6 # v2.10.0
with:
arguments: jacocoTestGplayDebugUnitTest
- name: Upload failing results
@@ -46,7 +46,7 @@ jobs:
fail_ci_if_error: true
- name: Upload jacoco artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: test-results
path: app/build/reports/tests/testGplayDebugUnitTest/
+22 -1
View File
@@ -1,9 +1,30 @@
## 3.24.1 (February 21, 2022)
## 3.26.0 (September 16, 2023)
- image editing
- image details, with map
- show other Nextcloud apps
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/84
## 3.25.0 (June 13, 2023)
- show Groupfolder
- Tag in file listing
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/81
## 3.24.1 (February 21, 2023)
- Fix crash in previous version when connecting to old server versions
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/80
## 3.24.0 (February 13, 2023)
- Several performance optimizations by @starypatyk
+1 -1
View File
@@ -297,7 +297,7 @@ We use [shot](https://github.com/Karumi/Shot) for taking screenshots and compare
Screenshot.snapActivity(activity).record();
```
- best practise is to first create test with emulator too see behaviour and then create screenshots
- best practice is to first create test with emulator too see behaviour and then create screenshots
## File naming
+11 -5
View File
@@ -15,11 +15,17 @@ height="80">](https://f-droid.org/packages/com.nextcloud.client/)
## How to contribute :rocket:
If you want to [contribute](https://nextcloud.com/contribute/) to Nextcloud, you are very welcome:
If you want to [contribute](https://nextcloud.com/contribute/) to the Nextcloud Android client app, there are many ways to help whether or not you are a coder:
* our forum at https://help.nextcloud.com
* for translations of the app on [Transifex](https://app.transifex.com/nextcloud/nextcloud/android/)
* opening issues and PRs (including a corresponding issue)
* helping out other users on our forum at https://help.nextcloud.com
* providing translations of the app on [Transifex](https://app.transifex.com/nextcloud/nextcloud/android/)
* reporting problems / suggesting enhancements by [opening new issues](https://github.com/nextcloud/android/issues/new/choose)
* implementing proposed bug fixes and enhancement ideas by submitting PRs (associated with a corresponding issue preferably)
* reviewing [pull requests](https://github.com/nextcloud/android/pulls) and providing feedback on code, implementation, and functionality
* installing and testing [pull request builds](https://github.com/nextcloud/android/pulls), [daily/dev builds](https://github.com/nextcloud/android#development-version-hammer), or [RCs/release candidate builds](https://github.com/nextcloud/android/releases)
* enhancing Admin, User, or Developer [documentation](https://github.com/nextcloud/documentation/)
* hitting hard on the latest stable release by testing fundamental features and evaluating the user experience
* proactively getting familiar with [how to gather debug logs](https://github.com/nextcloud/android#getting-debug-info-via-logcat-mag) from your devices (so that you are prepared to provide a detailed report if you encounter a problem with the app in the future)
## Contribution Guidelines & License :scroll:
@@ -38,7 +44,7 @@ More information on how to contribute: <https://nextcloud.com/contribute/>
## 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).
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%22good+first+issue%22).
### Getting debug info via logcat :mag:
+1 -1
View File
@@ -51,7 +51,7 @@ To set up the project in Android Studio follow the next steps:
* Open Android Studio and select 'Import Project (Eclipse ADT, Gradle, etc)'. Browse through your file system to the folder 'android' where the project is located. Android Studio will then create the '.iml' files it needs. If you ever close the project but the files are still there, you just select 'Open Project…'. The file chooser will show an Android face as the folder icon, which you can select to reopen the project.
* Android Studio will try to build the project directly after importing it. To build it manually, follow the menu path 'Build'/'Make Project', or just click the 'Play' button in the toolbar to build and run it in a mobile device or an emulator. The resulting APK file will be saved in the 'build/outputs/apk/' subdirectory in the project folder.
* Setup Android Studio editor configurtation for the project: ```Settings``` → ```Editor``` → ```Code Style``` → ```Scheme: Project``` and ```Enable EditorConfig support```
* Setup Android Studio editor configuration for the project: ```Settings``` → ```Editor``` → ```Code Style``` → ```Scheme: Project``` and ```Enable EditorConfig support```
### 3. Working in a terminal with Gradle:
+29 -30
View File
@@ -4,9 +4,9 @@ import org.gradle.internal.jvm.Jvm
buildscript {
dependencies {
classpath "com.android.tools.build:gradle:$androidPluginVersion"
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.14'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.0"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.1"
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"
@@ -17,6 +17,7 @@ buildscript {
plugins {
id "com.diffplug.spotless" version "6.20.0"
id 'com.google.devtools.ksp' version '1.8.22-1.0.11' apply false
}
apply plugin: 'com.android.application'
@@ -30,11 +31,13 @@ apply from: "$rootProject.projectDir/jacoco.gradle"
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
apply plugin: 'com.google.devtools.ksp'
println "Gradle uses Java ${Jvm.current()}"
configurations {
all {
configureEach {
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
// check for updates every build
@@ -57,7 +60,7 @@ configurations.configureEach {
// semantic versioning for version code
def versionMajor = 3
def versionMinor = 26
def versionMinor = 27
def versionPatch = 0
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
@@ -71,8 +74,6 @@ file("$project.rootDir/ndk.env").readLines().each() {
def perfAnalysis = project.hasProperty('perfAnalysis')
android {
compileSdkVersion 33
// install this NDK version and Cmake to produce smaller APKs. Build will still work if not installed
ndkVersion "${ndkEnv.get("NDK_VERSION")}"
@@ -82,8 +83,9 @@ android {
defaultConfig {
minSdkVersion 23
targetSdkVersion 33
minSdkVersion 24
targetSdkVersion 34
compileSdk 34
buildConfigField 'boolean', 'CI', ciBuild.toString()
buildConfigField 'boolean', 'RUNTIME_PERF_ANALYSIS', perfAnalysis.toString()
@@ -116,7 +118,7 @@ android {
// 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"
flavorDimensions += "default"
buildTypes {
debug {
@@ -191,8 +193,6 @@ android {
exclude '**/gen/**'
reports {
xml.enabled = false
html.enabled = true
xml {
destination = file("$project.buildDir/reports/pmd/pmd.xml")
}
@@ -236,7 +236,6 @@ android {
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
}
@@ -247,7 +246,7 @@ dependencies {
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5' // remove after entire switch to lib v2
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.9.0'
implementation 'com.google.android.material:material:1.10.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
implementation "androidx.appcompat:appcompat:$appCompatVersion"
implementation 'androidx.webkit:webkit:1.7.0'
@@ -318,6 +317,8 @@ dependencies {
// dependencies for image cropping and rotation
implementation 'com.vanniktech:android-image-cropper:4.5.0'
implementation 'org.osmdroid:osmdroid-android:6.1.16'
implementation('org.mnode.ical4j:ical4j:3.0.0') {
['org.apache.commons', 'commons-logging'].each {
exclude group: "$it"
@@ -373,22 +374,22 @@ dependencies {
implementation "com.github.stateless4j:stateless4j:2.6.0"
// upon each update first test: new registration, receive push
gplayImplementation "com.google.firebase:firebase-messaging:23.1.2"
gplayImplementation "com.google.firebase:firebase-messaging:23.2.1"
gplayImplementation 'com.google.android.play:review-ktx:2.0.1'
implementation 'com.github.nextcloud.android-common:ui:0.12.0'
implementation 'com.github.nextcloud.android-common:ui:0.13.0'
implementation "androidx.room:room-runtime:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
ksp "androidx.room:room-compiler:$roomVersion"
androidTestImplementation "androidx.room:room-testing:$roomVersion"
implementation "io.coil-kt:coil:2.4.0"
//splash screen dependency ref: https://developer.android.com/develop/ui/views/launch/splash-screen/migrate
// splash screen dependency ref: https://developer.android.com/develop/ui/views/launch/splash-screen/migrate
implementation 'androidx.core:core-splashscreen:1.0.1'
}
configurations.all {
configurations.configureEach {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
force 'org.objenesis:objenesis:2.6'
@@ -400,16 +401,15 @@ configurations.all {
}
}
tasks.withType(Test) {
tasks.withType(Test).configureEach {
// increased logging for tests
testLogging {
events "passed", "skipped", "failed"
}
}
android.applicationVariants.all { variant ->
variant.outputs.all { output ->
outputFileName = "${output.baseName}-${variant.versionCode}.apk"
android.applicationVariants.configureEach { variant ->
variant.outputs.configureEach { output -> outputFileName = "${output.baseName}-${variant.versionCode}.apk"
}
}
@@ -421,12 +421,7 @@ spotless {
}
detekt {
reports {
xml {
enabled = false
}
}
config = files("detekt.yml")
config.setFrom("detekt.yml")
}
shot {
@@ -446,13 +441,13 @@ spotbugs {
reportLevel = "medium"
}
tasks.withType(SpotBugsTask) { task ->
tasks.withType(SpotBugsTask).configureEach { 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")
excludeFilter.set(file("${project.rootDir}/spotbugs-filter.xml"))
classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/")
reports {
xml {
@@ -465,3 +460,7 @@ tasks.withType(SpotBugsTask) { task ->
}
}
}
ksp {
arg('room.schemaLocation', "$projectDir/schemas")
}
+1 -1
View File
@@ -1,5 +1,5 @@
build:
maxIssues: 0
maxIssues: 2
weights:
# complexity: 2
# LongParameterList: 1
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

@@ -174,7 +174,7 @@ class ActivitiesActivityIT : AbstractIT() {
sut.dismissSnackbar()
}
shortSleep()
longSleep()
waitForIdleSync()
screenshot(sut)
@@ -25,6 +25,7 @@ import android.app.Activity
import androidx.test.espresso.Espresso
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.action.ViewActions.closeSoftKeyboard
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.contrib.DrawerActions
import androidx.test.espresso.contrib.NavigationViewActions
@@ -238,12 +239,14 @@ class FileDisplayActivityIT : AbstractOnServerIT() {
onView(withId(R.id.sort_button)).check(matches(withEffectiveVisibility(ViewMatchers.Visibility.GONE)))
// browse into folder
onView(withId(R.id.list_root)).perform(
RecyclerViewActions.actionOnItemAtPosition<OCFileListItemViewHolder>(
0,
click()
onView(withId(R.id.list_root))
.perform(closeSoftKeyboard())
.perform(
RecyclerViewActions.actionOnItemAtPosition<OCFileListItemViewHolder>(
0,
click()
)
)
)
shortSleep()
checkToolbarTitle(topFolder)
// sort button should now be visible
@@ -25,6 +25,7 @@ package com.nextcloud.client;
import android.app.Activity;
import android.content.Intent;
import com.nextcloud.client.preferences.SubFolderRule;
import com.owncloud.android.AbstractIT;
import com.owncloud.android.datamodel.MediaFolderType;
import com.owncloud.android.datamodel.SyncedFolderDisplayItem;
@@ -72,7 +73,8 @@ public class SyncedFoldersActivityIT extends AbstractIT {
1000,
"Name",
MediaFolderType.IMAGE,
false);
false,
SubFolderRule.YEAR_MONTH);
SyncedFolderPreferencesDialogFragment sut = SyncedFolderPreferencesDialogFragment.newInstance(item, 0);
Intent intent = new Intent(targetContext, SyncedFoldersActivity.class);
@@ -23,9 +23,10 @@ package com.nmc.android.ui
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers
import androidx.test.espresso.matcher.ViewMatchers.isCompletelyDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withEffectiveVisibility
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.espresso.matcher.ViewMatchers.withText
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.owncloud.android.AbstractIT
@@ -33,6 +34,7 @@ import com.owncloud.android.R
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.AdditionalMatchers.not
@RunWith(AndroidJUnit4::class)
class LauncherActivityIT : AbstractIT() {
@@ -41,13 +43,26 @@ class LauncherActivityIT : AbstractIT() {
val activityRule = ActivityScenarioRule(LauncherActivity::class.java)
@Test
fun verifyUIElements() {
fun testSplashScreenWithEmptyTitlesShouldHideTitles() {
waitForIdleSync()
onView(withId(R.id.ivSplash)).check(matches(isCompletelyDisplayed()))
onView(withId(R.id.splashScreenBold)).check(matches(withEffectiveVisibility(ViewMatchers.Visibility.GONE)))
onView(withId(R.id.splashScreenNormal)).check(matches(withEffectiveVisibility(ViewMatchers.Visibility.GONE)))
}
@Test
fun testSplashScreenWithTitlesShouldShowTitles() {
waitForIdleSync()
onView(withId(R.id.ivSplash)).check(matches(isCompletelyDisplayed()))
onView(withId(R.id.splashScreenBold)).check(matches(isCompletelyDisplayed()))
onView(withId(R.id.splashScreenNormal)).check(matches(isCompletelyDisplayed()))
onView(withId(R.id.splashScreenBold)).check(matches(withText("Magenta")))
onView(withId(R.id.splashScreenNormal)).check(matches(withText("CLOUD")))
activityRule.scenario.onActivity {
it.setSplashTitles("Example", "Cloud")
}
val onePercentArea = ViewMatchers.isDisplayingAtLeast(1)
onView(withId(R.id.splashScreenBold)).check(matches(onePercentArea))
onView(withId(R.id.splashScreenNormal)).check(matches(onePercentArea))
}
}
@@ -7,6 +7,8 @@ import android.accounts.OperationCanceledException;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
@@ -37,7 +39,9 @@ import com.owncloud.android.lib.common.OwnCloudClientFactory;
import com.owncloud.android.lib.common.accounts.AccountUtils;
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
import com.owncloud.android.lib.resources.status.CapabilityBooleanType;
import com.owncloud.android.lib.resources.status.GetCapabilitiesRemoteOperation;
import com.owncloud.android.lib.resources.status.OCCapability;
import com.owncloud.android.lib.resources.status.OwnCloudVersion;
import com.owncloud.android.operations.CreateFolderOperation;
import com.owncloud.android.operations.UploadFileOperation;
import com.owncloud.android.utils.FileStorageUtils;
@@ -56,6 +60,7 @@ import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
import java.util.Locale;
import java.util.Objects;
import androidx.annotation.NonNull;
@@ -71,6 +76,7 @@ import static androidx.test.espresso.Espresso.onView;
import static androidx.test.espresso.matcher.ViewMatchers.withId;
import static com.owncloud.android.lib.common.accounts.AccountUtils.Constants.KEY_USER_ID;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeTrue;
/**
@@ -187,6 +193,16 @@ public abstract class AbstractIT {
}
}
protected void testOnlyOnServer(OwnCloudVersion version) throws AccountUtils.AccountNotFoundException {
NextcloudClient client = OwnCloudClientFactory.createNextcloudClient(user, targetContext);
OCCapability ocCapability = (OCCapability) new GetCapabilitiesRemoteOperation()
.execute(client)
.getSingleData();
assumeTrue(ocCapability.getVersion().isNewerOrEqual(version));
}
@Before
public void enableAccessibilityChecks() {
androidx.test.espresso.accessibility.AccessibilityChecks.enable().setRunChecksFromRootView(true);
@@ -301,7 +317,7 @@ public abstract class AbstractIT {
return currentActivity;
}
protected void shortSleep() {
protected static void shortSleep() {
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
@@ -390,6 +406,22 @@ public abstract class AbstractIT {
assertTrue(result.getLogMessage(), result.isSuccess());
}
protected void enableRTL() {
Locale locale = new Locale("ar");
Resources resources = InstrumentationRegistry.getInstrumentation().getTargetContext().getResources();
Configuration config = resources.getConfiguration();
config.setLocale(locale);
resources.updateConfiguration(config, null);
}
protected void resetLocale() {
Locale locale = new Locale("en");
Resources resources = InstrumentationRegistry.getInstrumentation().getTargetContext().getResources();
Configuration config = resources.getConfiguration();
config.setLocale(locale);
resources.updateConfiguration(config, null);
}
protected void screenshot(View view) {
screenshot(view, "");
}
@@ -128,17 +128,31 @@ public abstract class AbstractOnServerIT extends AbstractIT {
if (!remoteFile.getRemotePath().equals("/")) {
if (remoteFile.isEncrypted()) {
assertTrue(new ToggleEncryptionRemoteOperation(remoteFile.getLocalId(),
remoteFile.getRemotePath(),
false)
.execute(client)
.isSuccess());
ToggleEncryptionRemoteOperation operation = new ToggleEncryptionRemoteOperation(remoteFile.getLocalId(),
remoteFile.getRemotePath(),
false);
boolean operationResult = operation
.execute(client)
.isSuccess();
assertTrue(operationResult);
}
assertTrue(new RemoveFileRemoteOperation(remoteFile.getRemotePath())
.execute(client)
.isSuccess()
);
boolean removeResult = false;
for (int i = 0; i < 5; i++) {
removeResult = new RemoveFileRemoteOperation(remoteFile.getRemotePath())
.execute(client)
.isSuccess();
if (removeResult) {
break;
}
shortSleep();
}
assertTrue(removeResult);
}
}
}
@@ -31,13 +31,16 @@ import com.owncloud.android.datamodel.UploadsStorageManager;
import com.owncloud.android.db.OCUpload;
import com.owncloud.android.files.services.FileUploader;
import com.owncloud.android.files.services.NameCollisionPolicy;
import com.owncloud.android.lib.common.accounts.AccountUtils;
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
import com.owncloud.android.lib.resources.files.model.GeoLocation;
import com.owncloud.android.lib.resources.files.model.ImageDimension;
import com.owncloud.android.lib.resources.status.NextcloudVersion;
import com.owncloud.android.operations.RefreshFolderOperation;
import com.owncloud.android.operations.RemoveFileOperation;
import com.owncloud.android.operations.UploadFileOperation;
import com.owncloud.android.utils.FileStorageUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@@ -52,6 +55,7 @@ import androidx.annotation.NonNull;
import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.assertFalse;
import static junit.framework.TestCase.assertNotNull;
import static junit.framework.TestCase.assertTrue;
/**
@@ -101,29 +105,6 @@ public class UploadIT extends AbstractOnServerIT {
createDummyFiles();
}
@After
public void after() {
RemoteOperationResult result = new RefreshFolderOperation(getStorageManager().getFileByPath("/"),
System.currentTimeMillis() / 1000L,
false,
true,
getStorageManager(),
user,
targetContext)
.execute(client);
// cleanup only if folder exists
if (result.isSuccess() && getStorageManager().getFileByDecryptedRemotePath(FOLDER) != null) {
new RemoveFileOperation(getStorageManager().getFileByDecryptedRemotePath(FOLDER),
false,
user,
false,
targetContext,
getStorageManager())
.execute(client);
}
}
@Test
public void testEmptyUpload() {
OCUpload ocUpload = new OCUpload(FileStorageUtils.getTemporalPath(account.name) + "/empty.txt",
@@ -421,7 +402,9 @@ public class UploadIT extends AbstractOnServerIT {
}
@Test
public void testCreationAndUploadTimestamp() throws IOException {
public void testCreationAndUploadTimestamp() throws IOException, AccountUtils.AccountNotFoundException {
testOnlyOnServer(NextcloudVersion.nextcloud_27);
File file = getDummyFile("empty.txt");
String remotePath = "/testFile.txt";
OCUpload ocUpload = new OCUpload(file.getAbsolutePath(), remotePath, account.name);
@@ -469,7 +452,61 @@ public class UploadIT extends AbstractOnServerIT {
assertEquals(remotePath, ocFile.getRemotePath());
assertEquals(creationTimestamp, ocFile.getCreationTimestamp());
assertTrue(uploadTimestamp - 10 < ocFile.getUploadTimestamp() ||
uploadTimestamp + 10 > ocFile.getUploadTimestamp());
uploadTimestamp + 10 > ocFile.getUploadTimestamp());
}
@Test
public void testMetadata() throws IOException, AccountUtils.AccountNotFoundException {
testOnlyOnServer(NextcloudVersion.nextcloud_27);
File file = getFile("gps.jpg");
String remotePath = "/metadata.jpg";
OCUpload ocUpload = new OCUpload(file.getAbsolutePath(), remotePath, account.name);
assertTrue(
new UploadFileOperation(
uploadsStorageManager,
connectivityServiceMock,
powerManagementServiceMock,
user,
null,
ocUpload,
NameCollisionPolicy.DEFAULT,
FileUploader.LOCAL_BEHAVIOUR_COPY,
targetContext,
false,
false,
getStorageManager()
)
.setRemoteFolderToBeCreated()
.execute(client)
.isSuccess()
);
// RefreshFolderOperation
assertTrue(new RefreshFolderOperation(getStorageManager().getFileByDecryptedRemotePath("/"),
System.currentTimeMillis() / 1000,
false,
false,
getStorageManager(),
user,
targetContext).execute(client).isSuccess());
List<OCFile> files = getStorageManager().getFolderContent(getStorageManager().getFileByDecryptedRemotePath("/"),
false);
OCFile ocFile = null;
for (OCFile f : files) {
if (f.getFileName().equals("metadata.jpg")) {
ocFile = f;
break;
}
}
assertNotNull(ocFile);
assertEquals(remotePath, ocFile.getRemotePath());
assertEquals(new GeoLocation(64, -46), ocFile.getGeoLocation());
assertEquals(new ImageDimension(300f, 200f), ocFile.getImageDimension());
}
private void verifyStoragePath(OCFile file) {
@@ -37,6 +37,7 @@ class OCCapabilityIT : AbstractIT() {
capability.etag = "123"
capability.userStatus = CapabilityBooleanType.TRUE
capability.userStatusSupportsEmoji = CapabilityBooleanType.TRUE
capability.dropAccount = CapabilityBooleanType.TRUE
fileDataStorageManager.saveCapabilities(capability)
@@ -45,5 +46,6 @@ class OCCapabilityIT : AbstractIT() {
assertEquals(capability.etag, newCapability.etag)
assertEquals(capability.userStatus, newCapability.userStatus)
assertEquals(capability.userStatusSupportsEmoji, newCapability.userStatusSupportsEmoji)
assertEquals(capability.dropAccount, newCapability.dropAccount)
}
}
@@ -0,0 +1,105 @@
/*
* Nextcloud Android client application
*
* @author Alper Ozturk
* Copyright (C) 2023 Alper Ozturk
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.owncloud.android.datamodel
import com.owncloud.android.R
import com.owncloud.android.lib.common.network.WebdavEntry.MountType
import org.junit.After
import org.junit.Before
import org.junit.Test
class OCFileIconTests {
private val path = "/path/to/a/file.txt"
private var sut: OCFile? = null
@Before
fun setup() {
sut = OCFile(path)
}
@Test
fun testGetFileOverlayIconWhenFileIsAutoUploadFolderShouldReturnFolderOverlayUploadIcon() {
val fileOverlayIcon = sut?.getFileOverlayIconId(true)
val expectedDrawable = R.drawable.ic_folder_overlay_upload
assert(fileOverlayIcon == expectedDrawable)
}
@Test
fun testGetFileOverlayIconWhenFileIsEncryptedShouldReturnFolderOverlayKeyIcon() {
sut?.isEncrypted = true
val fileOverlayIcon = sut?.getFileOverlayIconId(false)
val expectedDrawable = R.drawable.ic_folder_overlay_key
assert(fileOverlayIcon == expectedDrawable)
}
@Test
fun testGetFileOverlayIconWhenFileIsGroupFolderShouldReturnFolderOverlayAccountGroupIcon() {
sut?.mountType = MountType.GROUP
val fileOverlayIcon = sut?.getFileOverlayIconId(false)
val expectedDrawable = R.drawable.ic_folder_overlay_account_group
assert(fileOverlayIcon == expectedDrawable)
}
@Test
fun testGetFileOverlayIconWhenFileIsSharedViaLinkShouldReturnFolderOverlayLinkIcon() {
sut?.isSharedViaLink = true
val fileOverlayIcon = sut?.getFileOverlayIconId(false)
val expectedDrawable = R.drawable.ic_folder_overlay_link
assert(fileOverlayIcon == expectedDrawable)
}
@Test
fun testGetFileOverlayIconWhenFileIsSharedShouldReturnFolderOverlayShareIcon() {
sut?.isSharedWithSharee = true
val fileOverlayIcon = sut?.getFileOverlayIconId(false)
val expectedDrawable = R.drawable.ic_folder_overlay_share
assert(fileOverlayIcon == expectedDrawable)
}
@Test
fun testGetFileOverlayIconWhenFileIsExternalShouldReturnFolderOverlayExternalIcon() {
sut?.mountType = MountType.EXTERNAL
val fileOverlayIcon = sut?.getFileOverlayIconId(false)
val expectedDrawable = R.drawable.ic_folder_overlay_external
assert(fileOverlayIcon == expectedDrawable)
}
@Test
fun testGetFileOverlayIconWhenFileIsLockedShouldReturnFolderOverlayLockIcon() {
sut?.isLocked = true
val fileOverlayIcon = sut?.getFileOverlayIconId(false)
val expectedDrawable = R.drawable.ic_folder_overlay_lock
assert(fileOverlayIcon == expectedDrawable)
}
@Test
fun testGetFileOverlayIconWhenFileIsFolderShouldReturnNull() {
val fileOverlayIcon = sut?.getFileOverlayIconId(false)
assert(fileOverlayIcon == null)
}
@After
fun destroy() {
sut = null
}
}
@@ -70,7 +70,6 @@ public class OCFileUnitTest {
mFile = new OCFile(PATH);
}
@Test
public void writeThenReadAsParcelable() {
@@ -20,6 +20,7 @@
*/
package com.owncloud.android.ui
import android.os.Build
import androidx.test.core.app.ActivityScenario
import androidx.test.espresso.Espresso
import androidx.test.espresso.action.ViewActions
@@ -28,6 +29,7 @@ import androidx.test.espresso.web.sugar.Web
import androidx.test.espresso.web.webdriver.DriverAtoms
import androidx.test.espresso.web.webdriver.Locator
import androidx.test.filters.LargeTest
import androidx.test.filters.SdkSuppress
import androidx.test.platform.app.InstrumentationRegistry
import com.nextcloud.client.account.UserAccountManager
import com.nextcloud.client.account.UserAccountManagerImpl
@@ -59,6 +61,12 @@ class LoginIT : AbstractIT() {
@Test
@Throws(InterruptedException::class)
@Suppress("MagicNumber", "SwallowedException")
/**
* The CI/CD pipeline is encountering issues related to the Android version for this functionality.
* Therefore the test will only be executed on Android versions 10 and above.
*/
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.Q)
fun login() {
val arguments = InstrumentationRegistry.getArguments()
val baseUrl = arguments.getString("TEST_SERVER_URL")!!
@@ -130,7 +130,7 @@ public class FolderPickerActivityIT extends AbstractIT {
sut.setFile(origin);
sut.runOnUiThread(() -> {
sut.findViewById(R.id.folder_picker_btn_choose).requestFocus();
sut.findViewById(R.id.folder_picker_btn_copy).requestFocus();
});
waitForIdleSync();
screenshot(sut);
@@ -92,6 +92,7 @@ import androidx.activity.result.contract.ActivityResultContract;
import androidx.annotation.NonNull;
import androidx.fragment.app.DialogFragment;
import androidx.test.espresso.intent.rule.IntentsTestRule;
import androidx.test.rule.GrantPermissionRule;
import kotlin.Unit;
import static androidx.test.platform.app.InstrumentationRegistry.getInstrumentation;
@@ -107,7 +108,7 @@ public class DialogFragmentIT extends AbstractIT {
Intent intent = new Intent(targetContext, FileDisplayActivity.class);
return activityRule.launchActivity(intent);
}
@After
public void quitLooperIfNeeded() {
@@ -134,6 +135,38 @@ public class DialogFragmentIT extends AbstractIT {
showDialog(dialog);
}
@Test
@ScreenshotTest
public void testConfirmationDialogWithOneAction() {
ConfirmationDialogFragment dialog = ConfirmationDialogFragment.newInstance(R.string.upload_list_empty_text_auto_upload, new String[]{}, R.string.filedetails_sync_file, R.string.common_ok, -1, -1);
showDialog(dialog);
}
@Test
@ScreenshotTest
public void testConfirmationDialogWithTwoAction() {
ConfirmationDialogFragment dialog = ConfirmationDialogFragment.newInstance(R.string.upload_list_empty_text_auto_upload, new String[]{}, R.string.filedetails_sync_file, R.string.common_ok, R.string.common_cancel, -1);
showDialog(dialog);
}
@Test
@ScreenshotTest
public void testConfirmationDialogWithThreeAction() {
ConfirmationDialogFragment dialog = ConfirmationDialogFragment.newInstance(R.string.upload_list_empty_text_auto_upload, new String[]{}, R.string.filedetails_sync_file, R.string.common_ok, R.string.common_cancel, R.string.common_confirm);
showDialog(dialog);
}
@Test
@ScreenshotTest
public void testConfirmationDialogWithThreeActionRTL() {
enableRTL();
ConfirmationDialogFragment dialog = ConfirmationDialogFragment.newInstance(R.string.upload_list_empty_text_auto_upload, new String[] { }, -1, R.string.common_ok, R.string.common_cancel, R.string.common_confirm);
showDialog(dialog);
resetLocale();
}
@Test
@ScreenshotTest
public void testRemoveFileDialog() {
@@ -539,8 +572,8 @@ public class DialogFragmentIT extends AbstractIT {
final SslCertificate certificate = new SslCertificate("foo", "bar", "2022/01/10", "2022/01/30");
final SslError sslError = new SslError(SslError.SSL_UNTRUSTED, certificate);
final SslErrorHandler handler = Mockito.mock(SslErrorHandler.class);
final SslErrorHandler handler = Mockito.mock(SslErrorHandler.class);
SslUntrustedCertDialog sut = SslUntrustedCertDialog.newInstanceForEmptySslError(sslError, handler);
showDialog(sut);
@@ -45,6 +45,7 @@ public class SyncFileNotEnoughSpaceDialogFragmentTest extends AbstractIT {
FileDisplayActivity test = activityRule.launchActivity(null);
OCFile ocFile = new OCFile("/Document/");
ocFile.setFileLength(5000000);
ocFile.setFolder();
SyncFileNotEnoughSpaceDialogFragment dialog = SyncFileNotEnoughSpaceDialogFragment.newInstance(ocFile, 1000);
dialog.show(test.getListOfFilesFragment().getFragmentManager(), "1");
@@ -24,6 +24,7 @@ package com.owncloud.android.ui.fragment
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.test.TestActivity
import com.nextcloud.ui.ImageDetailFragment
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.datamodel.OCFile
@@ -40,13 +41,16 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
@get:Rule
val testActivityRule = IntentsTestRule(TestActivity::class.java, true, false)
val file = OCFile("/")
var file = getFile("gps.jpg")
val oCFile = OCFile("/").apply {
storagePath = file.absolutePath
}
@Test
@ScreenshotTest
fun showFileDetailActivitiesFragment() {
val sut = testActivityRule.launchActivity(null)
sut.addFragment(FileDetailActivitiesFragment.newInstance(file, user))
sut.addFragment(FileDetailActivitiesFragment.newInstance(oCFile, user))
waitForIdleSync()
shortSleep()
@@ -58,7 +62,7 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
@ScreenshotTest
fun showFileDetailSharingFragment() {
val sut = testActivityRule.launchActivity(null)
sut.addFragment(FileDetailSharingFragment.newInstance(file, user))
sut.addFragment(FileDetailSharingFragment.newInstance(oCFile, user))
waitForIdleSync()
shortSleep()
@@ -66,12 +70,30 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
screenshot(sut)
}
@Test
@ScreenshotTest
fun showFileDetailDetailsFragment() {
val activity = testActivityRule.launchActivity(null)
val sut = ImageDetailFragment.newInstance(oCFile, user)
activity.addFragment(sut)
shortSleep()
shortSleep()
waitForIdleSync()
activity.runOnUiThread {
sut.hideMap()
}
screenshot(activity)
}
@Test
@ScreenshotTest
@Suppress("MagicNumber")
fun showDetailsActivities() {
val activity = testActivityRule.launchActivity(null)
val sut = FileDetailFragment.newInstance(file, user, 0)
val sut = FileDetailFragment.newInstance(oCFile, user, 0)
activity.addFragment(sut)
waitForIdleSync()
@@ -141,7 +163,7 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
// @ScreenshotTest
fun showDetailsActivitiesNone() {
val activity = testActivityRule.launchActivity(null)
val sut = FileDetailFragment.newInstance(file, user, 0)
val sut = FileDetailFragment.newInstance(oCFile, user, 0)
activity.addFragment(sut)
waitForIdleSync()
@@ -159,12 +181,13 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
@ScreenshotTest
fun showDetailsActivitiesError() {
val activity = testActivityRule.launchActivity(null)
val sut = FileDetailFragment.newInstance(file, user, 0)
val sut = FileDetailFragment.newInstance(oCFile, user, 0)
activity.addFragment(sut)
waitForIdleSync()
activity.runOnUiThread {
sut.fileDetailActivitiesFragment.disableLoadingActivities()
sut
.fileDetailActivitiesFragment
.setErrorContent(targetContext.resources.getString(R.string.file_detail_activity_error))
@@ -179,7 +202,7 @@ class FileDetailFragmentStaticServerIT : AbstractIT() {
@ScreenshotTest
fun showDetailsSharing() {
val sut = testActivityRule.launchActivity(null)
sut.addFragment(FileDetailFragment.newInstance(file, user, 1))
sut.addFragment(FileDetailFragment.newInstance(oCFile, user, 1))
waitForIdleSync()
@@ -29,12 +29,12 @@ import android.graphics.Paint
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.nextcloud.test.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.datamodel.ImageDimension
import com.owncloud.android.datamodel.OCFile
import com.owncloud.android.datamodel.ThumbnailsCacheManager
import com.owncloud.android.datamodel.ThumbnailsCacheManager.InitDiskCacheTask
import com.owncloud.android.datamodel.ThumbnailsCacheManager.PREFIX_RESIZED_IMAGE
import com.owncloud.android.lib.common.utils.Log_OC
import com.owncloud.android.lib.resources.files.model.ImageDimension
import com.owncloud.android.utils.ScreenshotTest
import org.junit.After
import org.junit.Assert.assertNotNull
@@ -242,6 +242,22 @@ class OCFileListFragmentStaticServerIT : AbstractIT() {
sut.storageManager.saveFile(this)
}
OCFile("/sharedViaLink/").apply {
mimeType = MimeType.DIRECTORY
isSharedViaLink = true
modificationTimestamp = 1619003571000
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
sut.storageManager.saveFile(this)
}
OCFile("/share/").apply {
mimeType = MimeType.DIRECTORY
isSharedWithSharee = true
modificationTimestamp = 1619303571000
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
sut.storageManager.saveFile(this)
}
OCFile("/groupFolder/").apply {
mimeType = MimeType.DIRECTORY
modificationTimestamp = 1615003571000
@@ -259,6 +275,15 @@ class OCFileListFragmentStaticServerIT : AbstractIT() {
sut.storageManager.saveFile(this)
}
OCFile("/locked/").apply {
mimeType = MimeType.DIRECTORY
isLocked = true
decryptedRemotePath = "/locked/"
modificationTimestamp = 1613003571000
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
sut.storageManager.saveFile(this)
}
sut.addFragment(fragment)
shortSleep()
@@ -26,7 +26,7 @@ import com.owncloud.android.R
import com.owncloud.android.lib.resources.trashbin.model.TrashbinFile
import com.owncloud.android.ui.trashbin.TrashbinRepository.LoadFolderCallback
class TrashbinLocalRepository(val testCase: TrashbinActivityIT.TestCase) : TrashbinRepository {
class TrashbinLocalRepository(private val testCase: TrashbinActivityIT.TestCase) : TrashbinRepository {
override fun emptyTrashbin(callback: TrashbinRepository.OperationCallback?) {
TODO("Not yet implemented")
}
@@ -0,0 +1,63 @@
/*
* Nextcloud Android client application
*
* @author Alper Ozturk
* Copyright (C) 2023 Alper Ozturk
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.owncloud.android.utils
import android.content.Context
import android.graphics.Bitmap
import android.graphics.drawable.BitmapDrawable
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.After
import org.junit.Assert.fail
import org.junit.Before
import org.junit.Test
class DrawableUtilTests {
private var sut: DrawableUtil? = null
private var context: Context? = null
@Before
fun setUp() {
sut = DrawableUtil()
context = InstrumentationRegistry.getInstrumentation().context
}
@Test
fun testAddDrawableAsOverlayWhenGivenValidDrawablesShouldContainTwoDrawable() {
val bitmap: Bitmap = Bitmap.createBitmap(2, 2, Bitmap.Config.ARGB_8888)
val drawable = BitmapDrawable(context?.resources, bitmap)
val layerDrawable = sut?.addDrawableAsOverlay(drawable, drawable)
if (layerDrawable == null) {
fail("Layer drawable expected to be not null")
}
assert(layerDrawable?.numberOfLayers == 2)
}
@After
fun destroy() {
sut = null
context = null
}
}
@@ -20,6 +20,7 @@
package com.owncloud.android.utils
import com.nextcloud.client.preferences.SubFolderRule
import com.owncloud.android.AbstractIT
import com.owncloud.android.datamodel.MediaFolder
import com.owncloud.android.datamodel.MediaFolderType
@@ -185,7 +186,8 @@ class SyncedFolderUtilsTest : AbstractIT() {
true,
0L,
MediaFolderType.IMAGE,
false
false,
SubFolderRule.YEAR_MONTH
)
Assert.assertFalse(SyncedFolderUtils.isQualifyingMediaFolder(folder))
}
@@ -207,7 +209,8 @@ class SyncedFolderUtilsTest : AbstractIT() {
true,
0L,
MediaFolderType.IMAGE,
false
false,
SubFolderRule.YEAR_MONTH
)
Assert.assertFalse(SyncedFolderUtils.isQualifyingMediaFolder(folder))
}
@@ -0,0 +1,52 @@
/*
*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* Copyright (C) 2023 Tobias Kaminsky
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.owncloud.android.utils.theme
import com.owncloud.android.AbstractIT
import com.owncloud.android.lib.resources.status.NextcloudVersion
import com.owncloud.android.lib.resources.status.OwnCloudVersion
import junit.framework.TestCase.assertFalse
import junit.framework.TestCase.assertTrue
import org.junit.Test
class CapabilityUtilsIT : AbstractIT() {
@Test
fun checkOutdatedWarning() {
assertFalse(test(NextcloudVersion.nextcloud_27))
assertFalse(test(NextcloudVersion.nextcloud_26))
assertFalse(test(NextcloudVersion.nextcloud_25))
assertFalse(test(NextcloudVersion.nextcloud_24))
assertTrue(test(NextcloudVersion.nextcloud_23))
assertTrue(test(NextcloudVersion.nextcloud_22))
assertTrue(test(NextcloudVersion.nextcloud_21))
assertTrue(test(OwnCloudVersion.nextcloud_20))
assertTrue(test(OwnCloudVersion.nextcloud_19))
assertTrue(test(OwnCloudVersion.nextcloud_18))
assertTrue(test(OwnCloudVersion.nextcloud_17))
assertTrue(test(OwnCloudVersion.nextcloud_16))
}
private fun test(version: OwnCloudVersion): Boolean {
return CapabilityUtils.checkOutdatedWarning(targetContext.resources, version, false)
}
}
@@ -29,8 +29,8 @@ import com.google.android.play.core.review.ReviewManagerFactory
import com.nextcloud.appReview.AppReviewShownModel
import com.nextcloud.appReview.InAppReviewHelper
import com.nextcloud.client.preferences.AppPreferences
import com.nextcloud.utils.getFormattedStringDate
import com.nextcloud.utils.isCurrentYear
import com.nextcloud.utils.extensions.getFormattedStringDate
import com.nextcloud.utils.extensions.isCurrentYear
import com.owncloud.android.lib.common.utils.Log_OC
// Reference: https://developer.android.com/guide/playcore/in-app-review
@@ -20,14 +20,15 @@
*/
package com.owncloud.android.ui.activity
import android.os.Bundle
import android.view.View
/**
* Activity providing information about ways to participate in the app's development.
*/
class HuaweiCommunityActivity : CommunityActivity() {
override fun setupContent() {
super.setupContent()
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
binding.communityReleaseCandidatePlaystore.visibility = View.GONE
}
}
+7
View File
@@ -72,6 +72,9 @@
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<!-- Needed for Android 14 (API level 34) -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<!-- Some Chromebooks don't support touch. Although not essential,
it's a good idea to explicitly include this declaration. -->
@@ -378,15 +381,19 @@
android:exported="false" />
<service
android:name=".files.services.FileDownloader"
android:foregroundServiceType="dataSync"
android:exported="false" />
<service
android:name="com.nextcloud.client.files.downloader.FileTransferService"
android:foregroundServiceType="dataSync"
android:exported="false" />
<service
android:name=".files.services.FileUploader"
android:foregroundServiceType="dataSync"
android:exported="false" />
<service
android:name="com.nextcloud.client.media.PlayerService"
android:foregroundServiceType="mediaPlayback"
android:exported="false" />
<activity
@@ -457,16 +457,23 @@ public class InputStreamBinder extends IInputStreamService.Stub {
}
private boolean isValid(NextcloudRequest request) {
String callingPackageName = context.getPackageManager().getNameForUid(Binder.getCallingUid());
String[] callingPackageNames = context.getPackageManager().getPackagesForUid(Binder.getCallingUid());
SharedPreferences sharedPreferences = context.getSharedPreferences(SSO_SHARED_PREFERENCE,
Context.MODE_PRIVATE);
String hash = sharedPreferences.getString(callingPackageName + DELIMITER + request.getAccountName(), "");
return validateToken(hash, request.getToken());
for (String callingPackageName : callingPackageNames) {
String hash = sharedPreferences.getString(callingPackageName + DELIMITER + request.getAccountName(), "");
if (hash.isEmpty())
continue;
if (validateToken(hash, request.getToken())) {
return true;
}
}
return false;
}
private boolean validateToken(String hash, String token) {
if (hash.isEmpty() || !hash.contains("$")) {
if (!hash.contains("$")) {
throw new IllegalStateException(EXCEPTION_INVALID_TOKEN);
}
@@ -0,0 +1,96 @@
/*
* Nextcloud Android client application
*
* @author ZetaTom
* Copyright (C) 2023 ZetaTom
* Copyright (C) 2023 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.nextcloud.client
import com.google.gson.Gson
import com.google.gson.annotations.SerializedName
import com.owncloud.android.MainApp
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.internal.http.HTTP_OK
import java.net.URLEncoder
class NominatimClient constructor(geocoderBaseUrl: String, email: String) {
private val client = OkHttpClient()
private val gson = Gson()
private val reverseUrl = "${geocoderBaseUrl}reverse?format=jsonv2&email=${URLEncoder.encode(email, ENCODING_UTF_8)}"
private fun doRequest(requestUrl: String): String? {
val request = Request.Builder().url(requestUrl).header(HEADER_USER_AGENT, MainApp.getUserAgent()).build()
try {
val response = client.newCall(request).execute()
if (response.code == HTTP_OK) {
return response.body.string()
}
} catch (_: Exception) {
}
return null
}
/**
* Reverse geocode specified location - get human readable name suitable for displaying from given coordinates.
*
* @param latitude GPS latitude
* @param longitude GPS longitude
* @param zoom level of detail to request
*/
fun reverseGeocode(
latitude: Double,
longitude: Double,
zoom: ZoomLevel = ZoomLevel.TOWN_BOROUGH
): ReverseGeocodingResult? {
val response = doRequest("$reverseUrl&addressdetails=0&zoom=${zoom.int}&lat=$latitude&lon=$longitude")
return response?.let { gson.fromJson(it, ReverseGeocodingResult::class.java) }
}
companion object {
private const val ENCODING_UTF_8 = "UTF-8"
private const val HEADER_USER_AGENT = "User-Agent"
@Suppress("MagicNumber")
enum class ZoomLevel(val int: Int) {
COUNTRY(3),
STATE(5),
COUNTY(8),
CITY(10),
TOWN_BOROUGH(12),
VILLAGE_SUBURB(13),
NEIGHBOURHOOD(14),
LOCALITY(15),
MAJOR_STREETS(16),
MINOR_STREETS(17),
BUILDING(18),
MAX(19)
}
data class ReverseGeocodingResult(
@SerializedName("lat")
val latitude: Double,
@SerializedName("lon")
val longitude: Double,
val name: String,
@SerializedName("display_name")
val displayName: String
)
}
}
@@ -66,8 +66,8 @@ public class UserAccountManagerImpl implements UserAccountManager {
private static final String TAG = UserAccountManagerImpl.class.getSimpleName();
private static final String PREF_SELECT_OC_ACCOUNT = "select_oc_account";
private Context context;
private AccountManager accountManager;
private final Context context;
private final AccountManager accountManager;
public static UserAccountManagerImpl fromContext(Context context) {
AccountManager am = (AccountManager)context.getSystemService(Context.ACCOUNT_SERVICE);
@@ -166,7 +166,7 @@ public class UserAccountManagerImpl implements UserAccountManager {
}
}
if (defaultAccount == null && ocAccounts.length > 0) {
if (defaultAccount == null) {
// take first which is not pending for removal account as fallback
for (Account account: ocAccounts) {
boolean pendingForRemoval = arbitraryDataProvider.getBooleanValue(account.name,
@@ -262,7 +262,11 @@ public class UserAccountManagerImpl implements UserAccountManager {
public OwnCloudAccount getCurrentOwnCloudAccount() {
try {
Account currentPlatformAccount = getCurrentAccount();
return new OwnCloudAccount(currentPlatformAccount, context);
if (currentPlatformAccount != null) {
return new OwnCloudAccount(currentPlatformAccount, context);
} else {
return null;
}
} catch (AccountUtils.AccountNotFoundException | IllegalArgumentException ex) {
return null;
}
@@ -40,8 +40,8 @@ import com.nextcloud.client.database.entity.ShareEntity
import com.nextcloud.client.database.entity.SyncedFolderEntity
import com.nextcloud.client.database.entity.UploadEntity
import com.nextcloud.client.database.entity.VirtualEntity
import com.nextcloud.client.database.migrations.DatabaseMigrationUtil
import com.nextcloud.client.database.migrations.Migration67to68
import com.nextcloud.client.database.migrations.Migration70to71
import com.nextcloud.client.database.migrations.RoomMigration
import com.nextcloud.client.database.migrations.addLegacyMigrations
import com.owncloud.android.db.ProviderMeta
@@ -63,7 +63,11 @@ import com.owncloud.android.db.ProviderMeta
AutoMigration(from = 65, to = 66),
AutoMigration(from = 66, to = 67),
AutoMigration(from = 68, to = 69),
AutoMigration(from = 69, to = 70)
AutoMigration(from = 69, to = 70),
AutoMigration(from = 70, to = 71, spec = DatabaseMigrationUtil.ResetCapabilitiesPostMigration::class),
AutoMigration(from = 71, to = 72),
AutoMigration(from = 72, to = 73),
AutoMigration(from = 73, to = 74, spec = DatabaseMigrationUtil.ResetCapabilitiesPostMigration::class)
],
exportSchema = true
)
@@ -90,10 +94,9 @@ abstract class NextcloudDatabase : RoomDatabase() {
INSTANCE = Room
.databaseBuilder(context, NextcloudDatabase::class.java, ProviderMeta.DB_NAME)
.allowMainThreadQueries()
.addLegacyMigrations(clock)
.addLegacyMigrations(clock, context)
.addMigrations(RoomMigration())
.addMigrations(Migration67to68())
.addMigrations(Migration70to71())
.fallbackToDestructiveMigration()
.build()
}
@@ -129,5 +129,7 @@ data class CapabilityEntity(
@ColumnInfo(name = ProviderTableMeta.CAPABILITIES_FILES_LOCKING_VERSION)
val filesLockingVersion: String?,
@ColumnInfo(name = ProviderTableMeta.CAPABILITIES_GROUPFOLDERS)
val groupfolders: Int?
val groupfolders: Int?,
@ColumnInfo(name = ProviderTableMeta.CAPABILITIES_DROP_ACCOUNT)
val dropAccount: Int?
)
@@ -119,5 +119,7 @@ data class FileEntity(
@ColumnInfo(name = ProviderTableMeta.FILE_LOCK_TOKEN)
val lockToken: String?,
@ColumnInfo(name = ProviderTableMeta.FILE_TAGS)
val tags: String?
val tags: String?,
@ColumnInfo(name = ProviderTableMeta.FILE_METADATA_GPS)
val metadataGPS: String?
)
@@ -57,5 +57,7 @@ data class SyncedFolderEntity(
@ColumnInfo(name = ProviderTableMeta.SYNCED_FOLDER_TYPE)
val type: Int?,
@ColumnInfo(name = ProviderTableMeta.SYNCED_FOLDER_HIDDEN)
val hidden: Int?
val hidden: Int?,
@ColumnInfo(name = ProviderTableMeta.SYNCED_FOLDER_SUBFOLDER_RULE)
val subFolderRule: Int?
)
@@ -22,6 +22,7 @@
package com.nextcloud.client.database.migrations
import androidx.room.migration.AutoMigrationSpec
import androidx.sqlite.db.SupportSQLiteDatabase
object DatabaseMigrationUtil {
@@ -102,4 +103,14 @@ object DatabaseMigrationUtil {
database.execSQL("DROP TABLE $tableName")
database.execSQL("ALTER TABLE $newTableTempName RENAME TO $tableName")
}
/**
* Room AutoMigrationSpec to reset capabilities post migration.
*/
class ResetCapabilitiesPostMigration : AutoMigrationSpec {
override fun onPostMigrate(db: SupportSQLiteDatabase) {
resetCapabilities(db)
super.onPostMigrate(db)
}
}
}
@@ -22,6 +22,7 @@
package com.nextcloud.client.database.migrations
import android.content.Context
import androidx.room.RoomDatabase
import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase
@@ -36,12 +37,13 @@ private const val MIN_SUPPORTED_DB_VERSION = 24
class LegacyMigration(
private val from: Int,
private val to: Int,
private val clock: Clock
private val clock: Clock,
private val context: Context
) : Migration(from, to) {
override fun migrate(database: SupportSQLiteDatabase) {
LegacyMigrationHelper(clock)
.onUpgrade(database, from, to)
LegacyMigrationHelper(clock, context)
.tryUpgrade(database, from, to)
}
}
@@ -50,11 +52,13 @@ class LegacyMigration(
*
* This is needed because the [Migration] does not know which versions it's dealing with
*/
@Suppress("ForEachOnRange")
fun RoomDatabase.Builder<NextcloudDatabase>.addLegacyMigrations(
clock: Clock
clock: Clock,
context: Context
): RoomDatabase.Builder<NextcloudDatabase> {
(MIN_SUPPORTED_DB_VERSION until NextcloudDatabase.FIRST_ROOM_DB_VERSION - 1)
.map { from -> LegacyMigration(from, from + 1, clock) }
.map { from -> LegacyMigration(from, from + 1, clock, context) }
.forEach { migration -> this.addMigrations(migration) }
return this
}
@@ -22,6 +22,7 @@
package com.nextcloud.client.database.migrations;
import android.app.ActivityManager;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteException;
@@ -31,11 +32,11 @@ import com.owncloud.android.datamodel.SyncedFolder;
import com.owncloud.android.db.ProviderMeta;
import com.owncloud.android.files.services.NameCollisionPolicy;
import com.owncloud.android.lib.common.utils.Log_OC;
import com.owncloud.android.providers.FileContentProvider;
import java.util.Locale;
import androidx.sqlite.db.SupportSQLiteDatabase;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
public class LegacyMigrationHelper {
@@ -52,12 +53,29 @@ public class LegacyMigrationHelper {
private static final String UPGRADE_VERSION_MSG = "OUT of the ADD in onUpgrade; oldVersion == %d, newVersion == %d";
private final Clock clock;
private final Context context;
public LegacyMigrationHelper(Clock clock) {
public LegacyMigrationHelper(Clock clock, Context context) {
this.clock = clock;
this.context = context;
}
public void onUpgrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) {
public void tryUpgrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) {
try {
upgrade(db, oldVersion, newVersion);
} catch (Throwable t) {
Log_OC.i(TAG, "Migration upgrade failed due to " + t);
clearStorage();
}
}
@SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_BAD_PRACTICE")
private void clearStorage() {
context.getCacheDir().delete();
((ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE)).clearApplicationUserData();
}
private void upgrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) {
Log_OC.i(TAG, "Entering in onUpgrade");
boolean upgraded = false;
Loaded 100 of 406 files, more files were not shown because too many files have changed in this diff. Show more