Compare commits

..
Author SHA1 Message Date
alperozturk 55627926e4 fix
Signed-off-by: alperozturk <[email protected]>
2025-01-07 10:00:38 +01:00
alperozturk 5c47a2273b fix
Signed-off-by: alperozturk <[email protected]>
2025-01-07 10:00:38 +01:00
Tobias Kaminsky 429198eb0c Merge pull request #14322 from nextcloud/fix/noid/a11yContentDescription
Add content description
2025-01-07 08:12:01 +01:00
Andy Scherzinger 38f1ebd5ff fix(a11y): Add content description for picking contact to share with
Signed-off-by: Andy Scherzinger <[email protected]>
2025-01-06 18:59:37 +01:00
Andy Scherzinger a486fa5322 fix(a11y): Add content description linked to favorite status of the element
Signed-off-by: Andy Scherzinger <[email protected]>
2025-01-06 18:59:32 +01:00
Andy Scherzinger 57c02dcb55 Merge pull request #14282 from nextcloud/renovate/daggerversion
fix(deps): update daggerversion to v2.54
2025-01-06 18:58:52 +01:00
Andy Scherzinger b33da80a9c Merge pull request #14320 from nextcloud/changelog-master-stable-3.30.7
Add changelog for 3.30.7
2025-01-06 16:30:36 +01:00
tobiasKaminsky 6ca8751e37 Add changelog for 3.30.7
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-06 14:21:21 +01:00
Tobias Kaminsky a12f1cc661 Merge pull request #13069 from nextcloud/uploadFilesTest
Upload Files: add another test
2025-01-06 09:40:17 +01:00
Tobias Kaminsky 1a1ddc2464 Merge pull request #14315 from nextcloud/bugLink
Error Reporting: use correct bug template
2025-01-06 09:36:18 +01:00
tobiasKaminsky 418238dcf3 Error Reporting: use correct bug template
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-06 09:26:12 +01:00
tobiasKaminsky 7ac41a2949 update screenshot
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-06 08:54:42 +01:00
Tobias Kaminsky e2c0ef92b9 Merge pull request #14314 from nextcloud/libraryCheck
check library commits
2025-01-06 08:34:20 +01:00
tobiasKaminsky 2f64df3318 check library commits
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-06 08:31:33 +01:00
Tobias Kaminsky bee90a0a90 Merge pull request #13958 from nextcloud/renovate/workruntime
Update workRuntime to v2.10.0
2025-01-06 08:19:38 +01:00
Tobias Kaminsky 2ef7a1f7a2 Merge pull request #14151 from nextcloud/improve-ci-performance
Improve CI Performance
2025-01-06 08:15:29 +01:00
Tobias Kaminsky 02a93b6ad3 Merge pull request #14209 from nextcloud/convert-manage-accounts-activity-to-kt
Convert ManageAccountsActivity to Kotlin
2025-01-06 08:13:48 +01:00
Tobias Kaminsky 06f8aa0dfb Merge pull request #14093 from nextcloud/renovate/androidxmediaversion
Update androidxMediaVersion to v1.5.1
2025-01-06 08:07:54 +01:00
Tobias Kaminsky e906152907 Merge pull request #14311 from nextcloud/update-library-2025-01-05
Update library to 2025-01-05
2025-01-06 07:46:15 +01:00
Tobias Kaminsky 5d3629cd0f Update library to 2025-01-05
Signed-off-by: Tobias Kaminsky <[email protected]>
2025-01-05 10:21:53 +01:00
Nextcloud bot a14b0c67a9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2025-01-05 03:09:56 +00:00
Nextcloud bot 6e719cdcd4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2025-01-04 02:59:01 +00:00
Tobias Kaminsky d8c79db19d Merge pull request #14180 from Bensikrac/master
fix: FilesSyncHelper: Shuffle array after null check, else NullPointerException is thrown
2025-01-03 10:38:56 +01:00
Tobias Kaminsky 068e547e4f Merge pull request #14269 from nextcloud/fix/share-detail-button-visibility
Fix - File Details Screen Share Buttons Visibility
2025-01-03 10:35:50 +01:00
tobiasKaminsky a7e4f4508d adjusted filter for dagger
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-03 10:24:12 +01:00
Tobias Kaminsky 844221473b Merge pull request #14250 from nextcloud/checkLibraryCommit
check if library commit is correct
2025-01-03 09:58:07 +01:00
Tobias Kaminsky 9778193e47 Merge pull request #14297 from nextcloud/disableBlankIssues
disable creating blank issues, as they are used instead of proper forms)
2025-01-03 09:55:42 +01:00
tobiasKaminsky 72c17139ec disable creating blank issues, as they are used instead of proper forms)
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-03 09:55:17 +01:00
Nextcloud bot 9c3b6e8bba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2025-01-03 02:59:24 +00:00
tobiasKaminsky ff1abf6161 check if library commit is correct
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-02 09:45:49 +01:00
tobiasKaminsky 0a2aa49d57 check if library commit is correct
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-02 09:45:49 +01:00
tobiasKaminsky a37143a33f check if library commit is correct
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-02 09:45:49 +01:00
tobiasKaminsky 6fe36d6e8a check if library commit is correct
Signed-off-by: tobiasKaminsky <[email protected]>
2025-01-02 09:45:49 +01:00
Tobias Kaminsky 34c70e208a Merge pull request #14261 from nextcloud/update-library-2024-12-29
Update library to 2024-12-29
2025-01-02 09:11:39 +01:00
renovate[bot] 68143dc8cc fix(deps): update daggerversion to v2.54
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 21:39:32 +00:00
Andy Scherzinger cf533cdcec Merge pull request #14275 from nextcloud/renovate/codecov-codecov-action-5.x
chore(deps): update codecov/codecov-action action to v5.1.2
2025-01-01 22:31:15 +01:00
Andy Scherzinger 08df55a4aa Merge pull request #14277 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
fix(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.27
2025-01-01 22:30:54 +01:00
Andy Scherzinger 28423cde29 Merge pull request #14279 from nextcloud/renovate/actions-setup-java-4.x
chore(deps): update actions/setup-java action to v4.6.0
2025-01-01 22:30:19 +01:00
Andy Scherzinger da45670abe Merge pull request #14281 from nextcloud/renovate/gradle-8.x
chore(deps): update dependency gradle to v8.12
2025-01-01 22:29:54 +01:00
Andy Scherzinger 1147932dc4 Merge pull request #14280 from nextcloud/renovate/actions-upload-artifact-4.x
chore(deps): update actions/upload-artifact action to v4.5.0
2025-01-01 21:15:05 +01:00
renovate[bot] 0d1fe6fb91 chore(deps): update dependency gradle to v8.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 18:13:38 +00:00
renovate[bot] ade86c3409 chore(deps): update actions/upload-artifact action to v4.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 18:09:50 +00:00
renovate[bot] 1215f4309a chore(deps): update actions/setup-java action to v4.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 18:09:44 +00:00
renovate[bot] 9cde3dbace fix(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.27
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 18:06:46 +00:00
renovate[bot] 560342cebe chore(deps): update codecov/codecov-action action to v5.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 17:59:43 +00:00
alperozturk c6a2efb307 fix
Signed-off-by: alperozturk <[email protected]>
2024-12-30 14:15:41 +01:00
Benedek Major 76b945b4c5 fix: could cause infinte recursion, just null is enough
Signed-off-by: Benedek Major <[email protected]>
2024-12-30 08:40:47 +01:00
Benedek Major ad36f9f5e7 style: line length
Signed-off-by: Benedek Major <[email protected]>
2024-12-30 08:40:47 +01:00
Benedek Major 58ae20f7b0 tests: add rudimentary test for null checking
Signed-off-by: Benedek Major <[email protected]>
2024-12-30 08:40:47 +01:00
Benedek Major e9193d1b03 fix: Shuffle array after null check, else NullPointerException is thrown
Signed-off-by: Benedek Major <[email protected]>
2024-12-30 08:40:47 +01:00
Tobias Kaminsky 728541e364 Update library to 2024-12-29
Signed-off-by: Tobias Kaminsky <[email protected]>
2024-12-29 00:02:23 +01:00
Tobias Kaminsky d12464a7f3 Merge pull request #14248 from nextcloud/qabuild
add token
2024-12-27 08:50:08 +01:00
tobiasKaminsky 58c59bb41a add token
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-27 08:39:10 +01:00
Nextcloud bot 795bbb4b18 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-26 02:59:52 +00:00
Nextcloud bot a0ae27cff2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-22 03:14:26 +00:00
Andy Scherzinger 05cdedf743 Merge pull request #14213 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-12-21 10:47:12 +01:00
Nextcloud bot 5978f8a9a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-21 02:59:02 +00:00
nextcloud-android-bot 88365a7301 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2024-12-21 02:42:30 +00:00
Tobias Kaminsky 78d2eaeecb Merge pull request #14210 from nextcloud/translationConfig
revert limiting debug build to only English
2024-12-20 15:39:31 +01:00
tobiasKaminsky 1b29e592b5 revert limiting debug build to only English
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-20 15:32:47 +01:00
alperozturk 2fcc92bf0a fix code analytics
Signed-off-by: alperozturk <[email protected]>
2024-12-20 14:53:52 +01:00
github-actions f947658dc0 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <[email protected]>
2024-12-20 13:31:30 +00:00
alperozturk 75910e1548 convert to kt
Signed-off-by: alperozturk <[email protected]>
2024-12-20 14:22:14 +01:00
alperozturk e126adee9d Rename .java to .kt
Signed-off-by: alperozturk <[email protected]>
2024-12-20 14:22:13 +01:00
alperozturk 386f0ab568 code static analysis
Signed-off-by: alperozturk <[email protected]>
2024-12-20 11:41:46 +01:00
alperozturk 3144a1430c try via 6g
Signed-off-by: alperozturk <[email protected]>
2024-12-20 11:41:46 +01:00
alperozturk d6757dd1b4 Xmx1g and add kapt.incremental.apt=true
Signed-off-by: alperozturk <[email protected]>
2024-12-20 11:41:46 +01:00
alperozturk 026a6a80e6 add new configs
Signed-off-by: alperozturk <[email protected]>
2024-12-20 11:41:46 +01:00
Andy Scherzinger 0b117473b9 Merge pull request #14202 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-12-20 11:30:49 +01:00
Tobias Kaminsky ad7b0815d7 Merge pull request #14072 from nextcloud/fix/uniform_colour
Uniform icon colour
2024-12-20 10:37:01 +01:00
Alper Öztürk 878d8accf9 Merge pull request #14203 from nextcloud/nmc/userAccountExceptionFix
Check added for StringIndexOutOfBoundException
2024-12-20 09:43:29 +01:00
A117870935 5555488964 Check added for StringIndexOutOfBoundException
Signed-off-by: A117870935 <[email protected]>
2024-12-20 08:58:49 +01:00
Alper Öztürk cd6ec5ff7c Merge pull request #14196 from nextcloud/feature/add-bottom-bar-to-assistant-screen
Feature - Add Bottom Nav Bar To The Assistant Screen
2024-12-20 08:58:34 +01:00
nextcloud-android-bot 9d20384248 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2024-12-20 02:47:39 +00:00
renovate[bot] a22b21dacf fix(deps): update androidxmediaversion to v1.5.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 19:26:05 +00:00
alperozturk 8989ed79d5 fix height
Signed-off-by: alperozturk <[email protected]>
2024-12-19 09:30:53 +01:00
alperozturk 5a4378dd88 fix back button behaviour
Signed-off-by: alperozturk <[email protected]>
2024-12-19 09:15:42 +01:00
alperozturk 12509aa30b todo: fix back button behaviour
Signed-off-by: alperozturk <[email protected]>
2024-12-19 09:15:42 +01:00
alperozturk a501c81bae fix back button behaviour
Signed-off-by: alperozturk <[email protected]>
2024-12-19 09:15:42 +01:00
alperozturk 84ec717a57 add bottom nav bar to the assistant screen
Signed-off-by: alperozturk <[email protected]>
2024-12-19 09:15:42 +01:00
Nextcloud bot 63cea252c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-19 02:59:19 +00:00
Nextcloud bot 33dc062f71 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-18 03:31:57 +00:00
tobiasKaminsky 1294a67376 add another test
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-17 09:02:59 +01:00
Andy Scherzinger e1062d95e4 fix: Update code to latest Android Worker changes making array String elements nullable
Signed-off-by: Andy Scherzinger <[email protected]>
2024-12-17 08:21:32 +01:00
renovate[bot] dcdac2ca6f Update workRuntime to v2.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-17 08:21:32 +01:00
Tobias Kaminsky 586a9b8010 Merge pull request #14146 from nextcloud/feature-bottom-navigation
Feature - Bottom Navigation View
2024-12-17 08:04:57 +01:00
Tobias Kaminsky 3eef65d882 Merge pull request #13899 from nextcloud/renovate/org.bouncycastle-bcpkix-jdk18on-1.x
fix(deps): update dependency org.bouncycastle:bcpkix-jdk18on to v1.79
2024-12-17 08:03:46 +01:00
Tobias Kaminsky ef52850861 Merge pull request #14188 from nextcloud/hotfix
hotfix: use other http status
2024-12-16 16:56:16 +01:00
tobiasKaminsky 3626a22d3e hotfix: use other http status
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-16 16:46:07 +01:00
Tobias Kaminsky 506fd49f3a Merge pull request #14177 from nextcloud/adopt-new-assistant-api-changes
Add Backward Compatibility for Assistant API v1
2024-12-16 15:42:18 +01:00
alperozturk ce28b385c2 fix detekt
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:22:33 +01:00
alperozturk f28592fc16 Don't highlight assistant bottom navigation item because Assistant screen doesn't have bottom navigation bar
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk ed0cdbcdb5 @SuppressFBWarnings("RV")
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 0aeb707249 change title of the nav_gallery
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 5e4effa388 show labels
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk cc25a39983 remove suppress
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 152831e0fd show root
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 6f36d43fbe use existing function for nav_all_files
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 8c1b086587 fix drawer menu higlight
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 83726b0baa use same function for highlight the navigation item to provide consistency between drawer and bottom nav bar
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk e062d8cf96 suppress Return value of method without side effect is ignored
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk d471c8f89a checkAssistantBottomNavigationMenu
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 1163605c52 fix screen changes
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk ed6d6efdb5 fix screen changes
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 7ddfe03f5d fix screen changes
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 69387af38b remove unnecessary logic
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 62ce8f2fbb npe fix during screen changes
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk ee455e1674 fix visuals
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
alperozturk 2e555589e4 add bottom navigation view
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:18:31 +01:00
ZetaTom e8a0d5df74 Update screenshots
Signed-off-by: ZetaTom <[email protected]>
2024-12-16 12:15:33 +01:00
ZetaTom ace0965af2 Tint calendar icon
Signed-off-by: ZetaTom <[email protected]>
2024-12-16 12:15:33 +01:00
ZetaTom a4a4d86612 Uniform shared icons
- remove black border from white icons

Signed-off-by: ZetaTom <[email protected]>
2024-12-16 12:15:33 +01:00
ZetaTom 0c6f141c57 Uniform colour in drawer nav
Signed-off-by: ZetaTom <[email protected]>
2024-12-16 12:15:33 +01:00
alperozturk defdb92055 update library
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:13:33 +01:00
alperozturk 83e1ac5e60 update library
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:12:26 +01:00
alperozturk 9590120284 update lib
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:07:26 +01:00
alperozturk edd42aabd1 filter selected tasks for v1 and v2
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:07:26 +01:00
alperozturk 98cd991502 add getStatusIconV1
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:07:26 +01:00
alperozturk ace68da2a7 add backward compatibility
Signed-off-by: alperozturk <[email protected]>
2024-12-16 12:07:26 +01:00
Tobias Kaminsky 9f7370f76b Merge pull request #14161 from nextcloud/bugfix/get-files-for-upload
BugFix - Get Files For Auto Upload
2024-12-16 09:47:34 +01:00
Tobias Kaminsky 907cd130e0 Merge pull request #14162 from nextcloud/bugfix/upload-current-file-index
BugFix - Upload Current File Index
2024-12-16 09:36:14 +01:00
Tobias Kaminsky 0f1d0ed6c3 Merge pull request #14170 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
Update dependency androidx.compose:compose-bom to v2024.12.01
2024-12-16 09:24:37 +01:00
renovate[bot] 507ad3f543 Update dependency androidx.compose:compose-bom to v2024.12.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 08:55:25 +01:00
Tobias Kaminsky b0bf5ecda1 Merge pull request #14185 from nextcloud/lintQuantities
ignore "implied quantity" on translated files
2024-12-16 08:53:17 +01:00
tobiasKaminsky d31312eb51 ignore "implied quantity" on translated files
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-16 08:36:39 +01:00
Nextcloud bot b4536c9025 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-16 03:00:39 +00:00
Nextcloud bot 8d99529b22 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-15 03:11:23 +00:00
Nextcloud bot 8f362c040b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-14 02:57:07 +00:00
Tobias Kaminsky 6ecd83f987 Merge pull request #14169 from nextcloud/gem
update gem
2024-12-13 10:27:55 +01:00
Tobias Kaminsky 3e656486c7 Merge pull request #13982 from nextcloud/trashbin-multiple-selection
Add Bulk Action Support to Trashbin
2024-12-13 10:26:46 +01:00
tobiasKaminsky 175a2421dd spotless
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-13 09:06:39 +01:00
Andy Scherzinger 33fa2ffd35 Merge pull request #14175 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-12-13 07:25:22 +01:00
nextcloud-android-bot 2a8110f526 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2024-12-13 03:01:26 +00:00
Nextcloud bot df566b9c3e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-13 02:57:59 +00:00
tobiasKaminsky e7027dbf3b update gem
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-12 16:04:20 +01:00
Andy Scherzinger e17dc1f592 Merge pull request #14011 from nextcloud/renovate/com.github.nextcloud.android-common-ui-0.x
Update dependency com.github.nextcloud.android-common:ui to v0.24.0
2024-12-12 15:27:18 +01:00
renovate[bot] 0c445d4024 Update dependency com.github.nextcloud.android-common:ui to v0.24.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-12 14:00:54 +01:00
Tobias Kaminsky 83edc19c93 Merge pull request #13680 from nextcloud/dont-throw-exception-in-sync-operation
Do Not Throw An Exception in SyncOperation
2024-12-12 10:05:09 +01:00
Nextcloud bot 1d84bd28e0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-12 03:00:13 +00:00
alperozturk 4385285f68 revert translation changes
Signed-off-by: alperozturk <[email protected]>
2024-12-11 16:33:02 +01:00
alperozturk de8d45646f fix
Signed-off-by: alperozturk <[email protected]>
2024-12-11 16:19:25 +01:00
alperozturk 66cf7f83eb return files directly
Signed-off-by: alperozturk <[email protected]>
2024-12-11 13:50:52 +01:00
alperozturk b977b44295 get-files-for-upload
Signed-off-by: alperozturk <[email protected]>
2024-12-11 13:26:41 +01:00
alperozturk bfb319b67e dont throw exception in sync operation
Signed-off-by: alperozturk <[email protected]>
2024-12-11 11:02:20 +01:00
Alper Öztürk 2ec38321b7 Merge pull request #14097 from nextcloud/fix-backup-list-fragment-ss-test
Fix BackupListFragmentIT SS Tests
2024-12-11 10:35:28 +01:00
Tobias Kaminsky d5a91239cc Merge pull request #14115 from nextcloud/feature/copy-share-edit-assistant
Feature - Copy, Share, Edit Assistant
2024-12-11 10:14:45 +01:00
Tobias Kaminsky 32350da288 Merge pull request #14140 from nextcloud/style/noid/improve-rtl
Improve RTL support
2024-12-11 08:39:17 +01:00
Nextcloud bot 1113005e5c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-11 02:56:42 +00:00
Andy Scherzinger 763c3a77a6 Merge pull request #14118 from nextcloud/renovate/daggerversion
Update daggerVersion to v2.53.1
2024-12-10 23:34:14 +01:00
Andy Scherzinger 570efe69e5 Merge pull request #14153 from nextcloud/renovate/github-codeql-action-3.x
Update github/codeql-action action to v3.27.7
2024-12-10 23:08:30 +01:00
renovate[bot] 459f7deb93 Update dependency org.bouncycastle:bcpkix-jdk18on to v1.79
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-10 14:45:17 +00:00
renovate[bot] abe82cb47f Update daggerVersion to v2.53.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-10 14:36:24 +00:00
renovate[bot] dd68fe6162 Update github/codeql-action action to v3.27.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-10 14:26:51 +00:00
Andy Scherzinger 77f74f0386 Merge pull request #14152 from nextcloud/renovate/marcelklehr-get-github-handles-from-website-action-1.x
Update marcelklehr/get-github-handles-from-website-action action to v1.0.1
2024-12-10 15:22:30 +01:00
renovate[bot] 4134bca13e Update marcelklehr/get-github-handles-from-website-action action to v1.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-10 14:14:17 +00:00
alperozturk ddcd22357b update ss
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 9801624786 change title of the add new task
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 2d53e53a47 use input and output together for share and copy
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 06b8db9e26 update library
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 54cc4f8377 fix code analytics
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 98529dc291 fix colors
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 0d53be7890 fix colors
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 561c6d1d0b use native tab layout
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 41b06ccf4e fix code analytics
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk e0ac903bce remove unused icon for assistant (lint warning)
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk fb087b56ec remove unused keys
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 06af70802d Get rid of unncessary state for task view
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 8d4a34c86a Create DateFormatter extract date related logic from Task extensions
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 3cffeee863 update tests
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 92c99b2233 decouple business logic from the ui
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 8f698167eb update library
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 51b5add1be Fix code analytics
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 2ca151d9bc Fix bottom sheet title appereance
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 21ef73578a use response key for id
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk ac3c735d97 Use task types for create operation
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 4796b67943 remove combined click
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 312e793fb2 fix add operation
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk ded93848a4 only use text context
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk f7bfaa5ba1 adopt latest api changes
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk d620123e3e Add time completion to the task status
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk baba9e0455 Handle states better
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk bab98b4213 modal bottom sheet appereance fix
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 8f718995ea add more actions to the detail view
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk a4c36f180b complete more actions
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 623ff84a43 clear unnecessary logic
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk b8055bcf65 add actions
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 9de9f0d0f5 add TaskActions
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk e2fc6a74d8 Add task actions
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
alperozturk 7be3938798 Change UI according to the latest adjustments
Signed-off-by: alperozturk <[email protected]>
2024-12-10 14:14:10 +01:00
Tobias Kaminsky 2a3ade90b7 Merge pull request #14051 from nextcloud/fix/filedetailfragment
Fix FileDetailFragment not starting
2024-12-10 12:12:45 +01:00
alperozturk dfd5e46d78 fix ss test
Signed-off-by: alperozturk <[email protected]>
2024-12-10 11:07:59 +01:00
ZetaTom 49ee19d785 Fix FileDetailFragment not starting
- opens on specified tab
- opens when launched from PreviewImageActivity

Signed-off-by: ZetaTom <[email protected]>
2024-12-09 15:03:14 +01:00
Alper Öztürk 329f113d75 Merge pull request #14089 from nextcloud/increase-build-speed
Increase Build Speed
2024-12-09 12:05:16 +01:00
Alper Öztürk 1a7f34d302 Merge pull request #14098 from nextcloud/fix-status-bar-appereance-for-sdk-35-v2
Fix System Bars Appearance for SDK 35
2024-12-09 11:14:42 +01:00
alperozturk b9be105730 Apply only for api level 35
Signed-off-by: alperozturk <[email protected]>
2024-12-09 08:40:29 +01:00
alperozturk 9487e8b3c8 fix settings activity
Signed-off-by: alperozturk <[email protected]>
2024-12-09 08:40:29 +01:00
alperozturk aab9409ad3 fix code analytics
Signed-off-by: alperozturk <[email protected]>
2024-12-09 08:40:29 +01:00
alperozturk 42a9c1fa69 addSystemBarPaddings
Signed-off-by: alperozturk <[email protected]>
2024-12-09 08:40:29 +01:00
alperozturk 5dab2604d2 fix code analytics
Signed-off-by: alperozturk <[email protected]>
2024-12-09 08:40:29 +01:00
alperozturk 5c7cdafa10 fix settings activity and preview video
Signed-off-by: alperozturk <[email protected]>
2024-12-09 08:40:29 +01:00
alperozturk 0ff17fbb13 fix settings activity and preview video
Signed-off-by: alperozturk <[email protected]>
2024-12-09 08:40:29 +01:00
alperozturk 2a09f53f6c dont use programmatically padding and disabled deprecated apis
Signed-off-by: alperozturk <[email protected]>
2024-12-09 08:40:29 +01:00
Tobias Kaminsky 5531d29213 Merge pull request #14084 from nextcloud/api-level-35
Upgrade The SDK Version to 35
2024-12-09 08:39:00 +01:00
Nextcloud bot 2d65cee38e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-09 03:03:26 +00:00
Andy Scherzinger 770f228174 Merge pull request #14144 from nextcloud/renovate/codecov-codecov-action-5.x
Update codecov/codecov-action action to v5.1.1
2024-12-08 12:49:58 +01:00
Andy Scherzinger 7cbc69c079 Merge pull request #14143 from nextcloud/renovate/actions-cache-4.x
Update actions/cache action to v4.2.0
2024-12-08 12:49:23 +01:00
renovate[bot] ed7626241c Update codecov/codecov-action action to v5.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-08 11:02:50 +00:00
renovate[bot] bb72d0b4f8 Update actions/cache action to v4.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-08 11:02:45 +00:00
Andy Scherzinger ba85b70364 style: Improve RTL support
https://github.com/nextcloud/files-clients/issues/74

Signed-off-by: Andy Scherzinger <[email protected]>
2024-12-08 12:00:21 +01:00
Andy Scherzinger cc4e71d467 Merge pull request #14142 from nextcloud/update-library-2024-12-08
Update library to 2024-12-08
2024-12-08 11:59:47 +01:00
Andy Scherzinger 125238cbd3 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2024-12-08 11:37:10 +01:00
Tobias Kaminsky 12d16dc8f1 Update library to 2024-12-08
Signed-off-by: Tobias Kaminsky <[email protected]>
2024-12-08 11:35:59 +01:00
Nextcloud bot e070878e80 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-08 03:27:16 +00:00
Nextcloud bot 0835fce7ab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-07 03:05:01 +00:00
Nextcloud bot 1dffffb451 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-06 03:13:45 +00:00
Tobias Kaminsky 4a224815cc Merge pull request #14127 from nextcloud/bugfix/infinite-storage-permission-request
BugFix - Infinite Storage Permission Check
2024-12-05 15:01:41 +01:00
Tobias Kaminsky 1f43a4c6d4 Merge pull request #14128 from nextcloud/correctWarning
correct warning on delete/move
2024-12-05 15:01:12 +01:00
alperozturk aa3c87aa7a increase org.gradle.jvmargs
Signed-off-by: alperozturk <[email protected]>
2024-12-05 14:48:28 +01:00
Tobias Kaminsky 581b258952 Merge pull request #14081 from nextcloud/fix/thumbnails-cache-resize-localid
fix(Thumbnails): Use local id rather than remote id
2024-12-05 13:31:30 +01:00
tobiasKaminsky 6ab6f7c46f correct warning on delete/move
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-05 12:39:11 +01:00
alperozturk 2d711b9782 revert changes
Signed-off-by: alperozturk <[email protected]>
2024-12-05 11:58:19 +01:00
alperozturk 585dda3583 revert logic changes
Signed-off-by: alperozturk <[email protected]>
2024-12-05 11:57:34 +01:00
alperozturk 7e46856090 change comment
Signed-off-by: alperozturk <[email protected]>
2024-12-05 09:59:51 +01:00
alperozturk a61d615440 change comment
Signed-off-by: alperozturk <[email protected]>
2024-12-05 09:54:41 +01:00
alperozturk 01a61ccca7 fix dco
Signed-off-by: alperozturk <[email protected]>
2024-12-05 09:46:49 +01:00
alperozturk 82c50e2114 fix dco
Signed-off-by: alperozturk <[email protected]>
2024-12-05 09:46:27 +01:00
alperozturk 52314d1989 todo comment
Signed-off-by: alperozturk <[email protected]>
2024-12-05 09:46:26 +01:00
alperozturk 2b43c5279a fix infinite storage permission check
Signed-off-by: alperozturk <[email protected]>
2024-12-05 09:46:26 +01:00
Nextcloud bot f86238b0af Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-05 03:33:02 +00:00
Tobias Kaminsky f556167c56 Merge pull request #14099 from nextcloud/removePermissionOnGPLAY
MANAGE_EXTERNAL_STORAGE not possible for gplay flavor anylonger
2024-12-04 15:36:08 +01:00
tobiasKaminsky a30de8a424 license
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-04 15:32:14 +01:00
tobiasKaminsky 536a821d82 better gplay check
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-04 15:17:07 +01:00
tobiasKaminsky ef81f43730 show warning only on Android 11+
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-04 11:21:03 +01:00
Andy Scherzinger f0f60e0c12 Merge pull request #14121 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-12-04 07:27:26 +01:00
Nextcloud bot 0dc680269f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-12-04 03:28:22 +00:00
nextcloud-android-bot 63d2c66518 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2024-12-04 03:00:08 +00:00
alperozturk 565158cf7b UseParallelGC
Signed-off-by: alperozturk <[email protected]>
2024-12-03 16:25:50 +01:00
alperozturk 82baa59e32 add verify metedata
Signed-off-by: alperozturk <[email protected]>
2024-12-03 16:25:50 +01:00
alperozturk aa5a196961 increase kotlin.daemon.jvmargs due to failed build variants test
Signed-off-by: alperozturk <[email protected]>
2024-12-03 16:25:50 +01:00
alperozturk 077ff6ad58 increase kotlin.daemon.jvmargs due to failed build variants test
Signed-off-by: alperozturk <[email protected]>
2024-12-03 16:25:50 +01:00
alperozturk f836644333 Increase Build Speed
Signed-off-by: alperozturk <[email protected]>
2024-12-03 16:25:50 +01:00
Alper Öztürk b08e2e132b Merge pull request #14031 from nextcloud/bugfix/add-missing-checks-for-signature-verification
BugFix - Add Missing Checks For Signature Verification
2024-12-03 14:51:23 +01:00
Tobias KaminskyandTom 4811df6f6c Update app/src/main/res/values/strings.xml
Co-authored-by: Tom <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
2024-12-03 14:11:19 +01:00
Andy Scherzinger e48a933b51 Merge pull request #14117 from nextcloud/renovate/ubuntu-noble
chore(deps): update ubuntu:noble docker digest to 80dd3c3
2024-12-03 10:08:49 +01:00
renovate[bot] 16f4a467a6 chore(deps): update ubuntu:noble docker digest to 80dd3c3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-03 09:05:24 +00:00
Andy Scherzinger b0890567c7 Merge pull request #14116 from nextcloud/renovate/androidpluginversion
fix(deps): update dependency com.android.tools.build:gradle to v8.7.3
2024-12-02 21:01:23 +01:00
renovate[bot] 8a6f52a765 fix(deps): update dependency com.android.tools.build:gradle to v8.7.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 18:58:53 +00:00
tobiasKaminsky e315793137 MANAGE_EXTERNAL_STORAGE not possible for gplay flavor anylonger
Signed-off-by: tobiasKaminsky <[email protected]>
2024-12-02 16:21:13 +01:00
Andy Scherzinger 7acacbe4ec Merge pull request #14114 from nextcloud/style/noid/matarialSymbolIconForInternalLink
Update icon to Material Symbol variant
2024-12-02 11:09:12 +01:00
Andy Scherzinger 6e2619f040 style(icon): Update icon to Material Symbol variant
Signed-off-by: Andy Scherzinger <[email protected]>
2024-12-02 10:31:08 +01:00
alperozturk 8b5bad1f33 add checks
Signed-off-by: alperozturk <[email protected]>
2024-12-02 10:09:38 +01:00
alperozturk 7157191669 update com.nextcloud.appscan gradle file
Signed-off-by: alperozturk <[email protected]>
2024-12-02 09:14:19 +01:00
alperozturk 0174370288 upgrade the sdk version
Signed-off-by: alperozturk <[email protected]>
2024-12-02 09:14:19 +01:00
Andy Scherzinger d874881e13 Merge pull request #13713 from nextcloud/renovate/ubuntu-24.x
chore(deps): update dependency ubuntu to v24
2024-12-01 19:12:32 +01:00
renovate[bot] acf287346d chore(deps): update dependency ubuntu to v24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-01 18:51:05 +01:00
Andy Scherzinger ff01a89e89 Merge pull request #14109 from nextcloud/update-library-2024-12-01
Update library to 2024-12-01
2024-12-01 18:49:24 +01:00
Andy Scherzinger da5c4beb51 build(checksum): Add further meta data
Signed-off-by: Andy Scherzinger <[email protected]>
2024-12-01 17:30:10 +01:00
Tobias Kaminsky 4ba47438b2 Update library to 2024-12-01
Signed-off-by: Tobias Kaminsky <[email protected]>
2024-12-01 17:14:01 +01:00
Andy Scherzinger 8e4cc74e86 Merge pull request #14105 from nextcloud/renovate/kotlin-monorepo
fix(deps): update kotlin monorepo to v2.1.0
2024-12-01 17:09:50 +01:00
renovate[bot] c9c82efe11 chore(deps): update plugin org.jetbrains.kotlin.plugin.compose to v2.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-01 16:45:06 +01:00
renovate[bot] e4045ce087 chore(deps): update plugin org.jetbrains.kotlin.kapt to v2.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-01 16:45:06 +01:00
renovate[bot] 28cc777600 chore(deps): update plugin com.google.devtools.ksp to v2.1.0-1.0.29
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-01 16:45:05 +01:00
Andy Scherzinger fd5496f166 fix: Update calls to Kotlin 2.1
Signed-off-by: Andy Scherzinger <[email protected]>
2024-12-01 16:45:05 +01:00
renovate[bot] dee3ee67fd fix(deps): update kotlin monorepo to v2.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-01 16:45:05 +01:00
Nextcloud bot e8dae6599a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-30 02:56:34 +00:00
Nextcloud bot 8352718092 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-29 02:53:13 +00:00
Josh 1d23c3a45e fix(Thumbnails): Use correct local id rather than remote id
Fixes #13743

Signed-off-by: Josh <[email protected]>
2024-11-28 11:15:41 +01:00
Nextcloud bot 8311326d55 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-28 03:00:01 +00:00
A117870935 f5b5f8fab6 Update strings for plurals.
Signed-off-by: A117870935 <[email protected]>
2024-11-27 10:47:24 +01:00
A117870935 eb9244df1d Trashbin: Bulk action implementation
Signed-off-by: A117870935 <[email protected]>
2024-11-27 10:47:24 +01:00
Nextcloud bot 1a553180ca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-27 03:06:07 +00:00
Nextcloud bot 432cc31ce6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-26 03:36:21 +00:00
Andy Scherzinger 1b04b91418 Merge pull request #14066 from nextcloud/renovate/commons-io-commons-io-2.x
fix(deps): update dependency commons-io:commons-io to v2.18.0
2024-11-25 20:40:16 +01:00
renovate[bot] 05e1d69f94 fix(deps): update dependency commons-io:commons-io to v2.18.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-25 17:57:00 +01:00
Andy Scherzinger 25b9e5b337 Merge pull request #14023 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
fix(deps): update dependency androidx.compose:compose-bom to v2024.11.00
2024-11-25 17:56:14 +01:00
Tobias Kaminsky d4b46893fd Merge pull request #14030 from nextcloud/bugfix/icon-visibilities
BugFix - Icon Visibilities
2024-11-25 14:28:50 +01:00
Tobias Kaminsky 287203e2a5 Merge pull request #14002 from nextcloud/powerSavingCrash
Power saving crash
2024-11-25 14:24:50 +01:00
Tobias Kaminsky a0c5a9e3e4 Merge pull request #14070 from nextcloud/fix/choose_storage_location_dialogue
Fix exception when closing choose storage location dialogue
2024-11-25 11:19:54 +01:00
Tobias Kaminsky 72fdb340eb Merge pull request #14061 from nextcloud/mdm-enforce-protection
Feature - MDM Enforce App Protection
2024-11-25 08:45:07 +01:00
Tobias Kaminsky 034ab2c22e Merge pull request #13755 from nextcloud/warnOnExtensionRename
Warn when file extension is renamed
2024-11-25 08:22:08 +01:00
Tobias KaminskyandTom dc1d5dfa19 Update app/src/main/java/com/owncloud/android/ui/dialog/RenameFileDialogFragment.kt
Co-authored-by: Tom <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-25 07:26:59 +01:00
tobiasKaminsky 9e45aedc7a Warn when file extension is renamed
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-25 07:26:35 +01:00
Nextcloud bot 46b56c43f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-25 02:56:28 +00:00
Nextcloud bot 9bcce5ed82 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-24 03:00:43 +00:00
Nextcloud bot cff4973f35 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-23 02:58:17 +00:00
Nextcloud bot 10ce4fd7dd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-22 02:54:07 +00:00
Andy Scherzinger c813538422 Merge pull request #14075 from nextcloud/renovate/codecov-codecov-action-5.x
chore(deps): update codecov/codecov-action action to v5.0.7
2024-11-21 22:28:18 +01:00
Andy Scherzinger 879124bb0a Merge pull request #14076 from nextcloud/renovate/gradle-8.x
chore(deps): update dependency gradle to v8.11.1
2024-11-21 22:26:57 +01:00
renovate[bot] d85214677e chore(deps): update dependency gradle to v8.11.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 19:50:36 +00:00
renovate[bot] 455874293b chore(deps): update codecov/codecov-action action to v5.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 19:43:03 +00:00
ZetaTom 633d8de28c Fix exception when closing choose storage location dialogue
- read storagePath from shared preferences
- check if storagePath is null

Signed-off-by: ZetaTom <[email protected]>
2024-11-21 09:57:43 +01:00
alperozturk c0b3ec8b80 fix video overlay placement
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk cbd2b64e0d add rounded corner to the thumbnails
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk c8510275bb add comment for topMargin
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk e10f3b1afd solve git conflicts
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
Andy Scherzinger 93bc307640 ci(tests): Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk 64443475cb fix addDrawableAsOverlay
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk d137b71024 fix file thumbnails
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk 866531259e fix size of overlay drawable
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk 5d269d00f7 update ss
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk bfddd8b34e fix code analytics
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk 97b4d0d6ae extract logic to MimeTypeUtil
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk 72ef3f34cf fix folder thumbnail appereance
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk b4b5fae8aa update ss
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk aecb574b05 update ss
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk 2db2d4cf2f Fix SS test
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk d554f01407 fix getShareIconIdAndContentDescriptionId logic
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
alperozturk 19ac34e299 fix
Signed-off-by: alperozturk <[email protected]>
2024-11-21 09:13:55 +01:00
Nextcloud bot 0a1336a10f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-21 02:57:47 +00:00
Andy Scherzinger cd1fa9e9a7 Merge pull request #14064 from nextcloud/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.27.5
2024-11-20 19:28:25 +01:00
Andy Scherzinger c7ea8166a0 Merge pull request #14063 from nextcloud/renovate/ubuntu-noble
chore(deps): update ubuntu:noble docker digest to 278628f
2024-11-20 19:27:15 +01:00
renovate[bot] ce65f4dd66 chore(deps): update github/codeql-action action to v3.27.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 17:14:45 +00:00
renovate[bot] 97e31aaede chore(deps): update ubuntu:noble docker digest to 278628f
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 17:14:40 +00:00
alperozturk d631131f4d add enforce mdm
Signed-off-by: alperozturk <[email protected]>
2024-11-20 16:42:55 +01:00
tobiasKaminsky 851221245c update screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-20 16:18:05 +01:00
tobiasKaminsky 03b83c4a0a Fix power check dialog
added test

Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-20 16:18:05 +01:00
tobiasKaminsky d763717daa Fix power check dialog
added test

Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-20 16:18:05 +01:00
Tobias Kaminsky 63756c7a14 Merge pull request #13733 from nextcloud/copy
allow to copy a file/folder into its own folder -> makes a copy
2024-11-20 15:57:11 +01:00
Tobias Kaminsky cca9329a2d Merge pull request #14027 from nextcloud/renovate/codecov-codecov-action-5.x
Update codecov/codecov-action action to v5
2024-11-20 14:19:42 +01:00
Tobias Kaminsky 6a96931c01 Merge pull request #14005 from nextcloud/feature/choose_storage_location_dialogue
Improved "Choose storage location" dialogue
2024-11-20 12:33:55 +01:00
Tobias Kaminsky 4ee8483272 Merge pull request #13855 from nextcloud/renovate/com.google.firebase-firebase-messaging-24.x
Update dependency com.google.firebase:firebase-messaging to v24.1.0
2024-11-20 12:32:26 +01:00
Tobias Kaminsky 9d7d5bb283 Merge pull request #13947 from nextcloud/feature/offline-file-remove
Feature - Offline File Deletion
2024-11-20 12:26:24 +01:00
renovate[bot] ac785d3d77 Update dependency androidx.compose:compose-bom to v2024.11.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 11:19:40 +00:00
Tobias Kaminsky 5cce0ebfd4 Merge pull request #13968 from nextcloud/bugfix/auto-rename-edge-cases
BugFix - AutoRename Edge Cases
2024-11-20 11:52:24 +01:00
Tobias Kaminsky 2b021c5a54 Merge pull request #14025 from nextcloud/bugfix/bitmap-add-color-filter
BugFix - Software rendering doesn't support hardware bitmaps
2024-11-20 11:52:15 +01:00
Tobias Kaminsky 79d4753bba Merge pull request #13942 from nextcloud/feature/add-more-mdm
Feature - Add More MDM
2024-11-20 11:39:08 +01:00
Tobias Kaminsky f62fbd0194 Merge pull request #14055 from nextcloud/disableFlakyTest
disable flaky test
2024-11-20 11:38:11 +01:00
alperozturk a2d12f45ff add offline file remove capability
Signed-off-by: alperozturk <[email protected]>
2024-11-20 11:23:47 +01:00
tobiasKaminsky a15092e62b update screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-20 11:13:03 +01:00
renovate[bot] ade2c0c568 chore(deps): update codecov/codecov-action action to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 10:10:47 +00:00
Tobias Kaminsky 870e78ab3b Merge pull request #14012 from nextcloud/renovate/migrate-config
chore(config): migrate renovate config
2024-11-20 11:10:41 +01:00
Tobias Kaminsky 1c24f780e8 Merge pull request #14054 from nextcloud/newEmulator
update to latest emulator
2024-11-20 07:33:55 +01:00
Nextcloud bot 684a7c67dd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-20 03:04:35 +00:00
tobiasKaminsky a845cd2b8b disable flaky test
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-19 15:53:02 +01:00
tobiasKaminsky 851d4c3daf update to latest emulator
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-19 13:32:02 +01:00
Tobias Kaminsky b5d0d1acc7 Merge pull request #14053 from nextcloud/failingCI
fix failing ci
2024-11-19 13:13:03 +01:00
tobiasKaminsky 608c66ca62 fix failing ci
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-19 12:51:39 +01:00
Nextcloud bot f171e0a794 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-19 02:54:54 +00:00
Tobias Kaminsky a9302966c0 Merge pull request #14044 from nextcloud/saveDownloadedFile
two way sync: save updated etag
2024-11-18 15:26:10 +01:00
tobiasKaminsky c01fc2d795 fix function name
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-18 15:05:39 +01:00
tobiasKaminsky 3be1ee92cb save updated etag
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-18 15:05:28 +01:00
alperozturk dbe54da4be hide binding.copyLink if clipBoardNotSupported
Signed-off-by: alperozturk <[email protected]>
2024-11-18 14:23:07 +01:00
alperozturk 887dd0f106 fix send files support
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 54cc1df23a check sendFilesSupport via send link
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 490a9595dd add disableDocumentsStorageProvider
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 5fe0fdcbeb internal link share still should be shown
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk db426aa3fc fix sharing tab visibility
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 3f9e563dea combine share logic
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 9f7f1f288c revert if condition for AccountAuthenticator
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 590bb8f51c hide link button if clipboard disabled
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 7a7c12b3df check shared icon visibility in adapter
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 3ae45b4beb check shareViaLink, shareViaUser in file detail fragment
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 4039ffe0c9 check contact app
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk d5b1891439 fix conditions for multi account
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 8746e903cf better function name
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 7abddb240d fix spotbugs
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk d45ed86f3f disable log default value is true
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk d8db5739bd check clipBoardSupport
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 4a8ceb59aa handle nullable contexts
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 50e76e7d9e format code
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 7014ad133a fix wrong condition
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 35533e1264 remove extensions
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 772f9c9b56 optimize imports
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 60bcb92cd9 add sendFilesSupport configs to the MDM
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk e9054e1a05 add enableLog configs to the MDM
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 90902f5194 add showIntro configs to the MDM
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk e0ad34c472 add externalSiteSupport configs to the MDM
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 005bbcd20f add clipboard configs to the MDM
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 0c42df2337 add share configs to the MDM
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk f4b49b5da5 use MDMConfig
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 8bdfbb49ab better variable naming
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 66902d2ced use disable_multiaccount
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 87784c2345 add default values
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 5662885d82 use disableSharing
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 22b091014d use disableLog
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk bae0ab70f6 use disableMoreExternalSite
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 904e556a97 use disableIntro
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 8b8ac0b038 use disableIntro
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 66150af636 add all mdm configs
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 79ebc7c6f1 add all mdm configs
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 00c2b76b17 add all mdm configs
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk da1a9518e0 handle nullable RestrictionsManager
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk a2ed2a701f use AppConfigKeys as parameter instead of String
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 6c936885f1 use ContextExtensions
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk a95a1ecf2b make defaultValue non nullable
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 43ce5582af use generic getRestriction extension
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk f32438693c remove already existing capability
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk de21cfd9c9 add disableSharing
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk f682715292 add disableClipboard
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 3134ab1936 remove AppConfigManager use RestrictionManager directly due to multiple usage requirements
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 088cb72912 add disableMultiAccount
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk 33d20128cc use bundle extensions
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
alperozturk c3c7606edc add new mdm fields
Signed-off-by: alperozturk <[email protected]>
2024-11-18 12:18:34 +01:00
Tobias Kaminsky cf9855844b Merge pull request #14033 from nextcloud/add-initial-delay-to-two-way-sync-worker
Add Initial Delay For Two Way Sync
2024-11-18 11:48:31 +01:00
ZetaTom b5738c718e Rename formatFreeSpaceString to getStoragePointLabel
Signed-off-by: ZetaTom <[email protected]>
2024-11-18 11:29:13 +01:00
ZetaTom b4ee24ce0d Improve phrasing for media indexing
Signed-off-by: ZetaTom <[email protected]>
2024-11-18 11:29:13 +01:00
ZetaTom d9550175e8 Reformat code
Signed-off-by: ZetaTom <[email protected]>
2024-11-18 11:29:12 +01:00
ZetaTom c1e1cf1032 Update preferences list
Signed-off-by: ZetaTom <[email protected]>
2024-11-18 11:29:12 +01:00
ZetaTom 7be7026fa9 Remove old storage location dialogue
Signed-off-by: ZetaTom <[email protected]>
2024-11-18 11:29:12 +01:00
ZetaTom 1f88ba0333 Add new data storage location dialogue
Signed-off-by: ZetaTom <[email protected]>
2024-11-18 11:29:12 +01:00
Nextcloud bot 2146e395e4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-18 02:55:31 +00:00
Andy Scherzinger 02d0901163 Merge pull request #14041 from nextcloud/Valdnet-patch-1
[l10n] Spelling correction
2024-11-17 20:07:46 +01:00
Valdnet d36a80559a Spelling standardization
Signed-off-by: Valdnet <[email protected]>
2024-11-17 11:29:15 +01:00
Valdnet 3ad56f3704 Add spaces
Signed-off-by: Valdnet <[email protected]>
2024-11-17 11:16:15 +01:00
Valdnet 3f8ce2e327 Add a space
Signed-off-by: Valdnet <[email protected]>
2024-11-17 11:03:30 +01:00
Valdnet 668c63f465 Update strings.xml
Signed-off-by: Valdnet <[email protected]>
2024-11-17 10:50:48 +01:00
Valdnet 234082b39e Spelling correction
Signed-off-by: Valdnet <[email protected]>
2024-11-17 10:46:03 +01:00
Nextcloud bot 4a28561ed6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-17 03:01:47 +00:00
Andy Scherzinger 38d14cc791 Merge pull request #14022 from nextcloud/renovate/com.mebigfatguy.fb-contrib-fb-contrib-7.x
fix(deps): update dependency com.mebigfatguy.fb-contrib:fb-contrib to v7.6.8
2024-11-15 17:29:16 +01:00
Andy Scherzinger fed49594a5 ci(deps): Add further checksums
Signed-off-by: Andy Scherzinger <[email protected]>
2024-11-15 16:44:20 +01:00
renovate[bot] 4a191e2b62 fix(deps): update dependency com.mebigfatguy.fb-contrib:fb-contrib to v7.6.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 16:36:52 +01:00
alperozturk 6b0af0af32 add initial delay
Signed-off-by: alperozturk <[email protected]>
2024-11-15 15:23:25 +01:00
Nextcloud bot 78db60aec1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-15 02:54:31 +00:00
renovate[bot] d8255e76e3 fix(deps): update dependency com.google.firebase:firebase-messaging to v24.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 23:14:02 +00:00
Andy Scherzinger 1dfc12c97c Merge pull request #14026 from nextcloud/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.27.4
2024-11-14 19:39:00 +01:00
renovate[bot] 56c8b72f8d chore(deps): update github/codeql-action action to v3.27.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 18:37:53 +00:00
Andy Scherzinger 831847eee2 Merge pull request #14024 from nextcloud/renovate/fsfe-reuse-action-5.x
chore(deps): update fsfe/reuse-action action to v5
2024-11-14 16:35:36 +01:00
alperozturk d41ab3c2c1 fix
Signed-off-by: alperozturk <[email protected]>
2024-11-14 16:20:57 +01:00
renovate[bot] 9450fc2136 chore(deps): update fsfe/reuse-action action to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 14:41:59 +00:00
Tobias Kaminsky a24c15daca Merge pull request #14018 from nextcloud/saveDownloadedFile
save info to DB after downloading file
2024-11-14 12:03:46 +01:00
tobiasKaminsky 6fced1952b re-use fileDownloadHelper
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-14 10:03:42 +01:00
tobiasKaminsky 693b06a456 save info to DB after downloading file
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-14 07:10:46 +01:00
Nextcloud bot b0cc96a561 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-14 02:57:10 +00:00
Nextcloud bot d69b9a9fbe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-13 02:59:43 +00:00
renovate[bot] fb4420cb09 chore(config): migrate config renovate.json5 2024-11-12 21:33:31 +00:00
Andy Scherzinger c5c6dac1df Merge pull request #14010 from nextcloud/renovate/gradle-8.x
chore(deps): update dependency gradle to v8.11
2024-11-12 22:29:33 +01:00
renovate[bot] aa4fc03662 chore(deps): update dependency gradle to v8.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 21:18:12 +00:00
Andy Scherzinger f15bdb67e2 Merge pull request #14009 from nextcloud/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.27.3
2024-11-12 21:39:32 +01:00
renovate[bot] 7be2a1680c chore(deps): update github/codeql-action action to v3.27.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 20:38:30 +00:00
Andy Scherzinger f985c7a676 Merge pull request #12671 from nextcloud/renovate/com.github.nextcloud.android-common-ui-0.x
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.23.2
2024-11-12 18:32:36 +01:00
Andy Scherzinger 9b18f62299 chore: Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2024-11-12 15:41:23 +01:00
Andy Scherzinger 273edf9b74 style: ensure bars don't use m3 spec for first run and authentication screen
Signed-off-by: Andy Scherzinger <[email protected]>
2024-11-12 15:41:23 +01:00
renovate[bot] f66bdcfd0f Update dependency com.github.nextcloud.android-common:ui to v0.23.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:41:23 +01:00
Nextcloud bot e479950912 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-12 14:06:19 +00:00
Tobias Kaminsky de146a1958 Merge pull request #14007 from nextcloud/DanyPM/master
Dany pm/master
2024-11-12 12:40:27 +01:00
Tobias Kaminsky a7433351e5 Merge pull request #13700 from Onkar755/improve-bitmaputils
Improve BitmapUtils: Bitmap Handling and Image Processing for Modern APIs and Performance Enhancements
2024-11-12 12:37:07 +01:00
tobiasKaminsky c94b2f1c51 clarify
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-12 12:32:00 +01:00
Tobias Kaminsky 6cdae0d74a Merge pull request #13995 from nextcloud/fix/cancel_download_jobs_on_start
Clear download jobs on first start
2024-11-12 10:30:56 +01:00
Andy Scherzinger 1eae2a4c0f Merge pull request #13998 from nextcloud/fixFileIT
fix fileIT
2024-11-12 10:29:17 +01:00
ZetaTom 7c3eb3d316 Clear download jobs on first start
This will cancel all download jobs on first launch.

Signed-off-by: ZetaTom <[email protected]>
2024-11-12 09:19:50 +01:00
tobiasKaminsky 7b8e9ded17 fix fileIT
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-12 07:17:04 +01:00
Tobias Kaminsky ca29ea92af Merge pull request #13993 from nextcloud/bugfix/dont-use-file-download-worker-for-two-way-sync
BugFix - Don't Use File Download Worker for Two Way Sync
2024-11-11 15:25:41 +01:00
Tobias Kaminsky e2dfea7c75 Merge pull request #13972 from nextcloud/bugfix/check-folder-path-before-upload
BugFix - Check Folder Path Before Upload
2024-11-11 15:25:17 +01:00
alperozturk b85affb3f9 check mCancellationRequested in for loop
Signed-off-by: alperozturk <[email protected]>
2024-11-11 14:44:07 +01:00
alperozturk c45d8394e2 add curly bracket for condition checks
Signed-off-by: alperozturk <[email protected]>
2024-11-11 14:42:25 +01:00
alperozturk 846b701916 rename boolean flag
Signed-off-by: alperozturk <[email protected]>
2024-11-11 14:39:03 +01:00
alperozturk d8e951ecaa add missing constructor usages
Signed-off-by: alperozturk <[email protected]>
2024-11-11 12:53:23 +01:00
alperozturk dbcfcca259 only use FileDownloadWorker via manual sync
Signed-off-by: alperozturk <[email protected]>
2024-11-11 12:46:58 +01:00
alperozturk db547427f4 fix usage of mTransferWasRequested
Signed-off-by: alperozturk <[email protected]>
2024-11-11 12:04:02 +01:00
alperozturk e48cb5aee4 dont use FileDownloadWorker in SynchronizeFileOperation
Signed-off-by: alperozturk <[email protected]>
2024-11-11 11:59:29 +01:00
alperozturk f15c017174 dont use FileDownloadWorker in SynchronizeFolderOperation
Signed-off-by: alperozturk <[email protected]>
2024-11-11 11:58:05 +01:00
alperozturk 190d0a9bab add mCancellationRequested call
Signed-off-by: alperozturk <[email protected]>
2024-11-11 11:50:20 +01:00
Tobias Kaminsky bcbefc0e0b Merge pull request #12672 from nextcloud/fix/handle-new-notification
Workaround (or fix maybe) for NEW_NOTIFICATION messages
2024-11-11 10:36:03 +01:00
Andy Scherzinger bf8c6d8a89 Merge pull request #13986 from nextcloud/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.27.1
2024-11-08 19:42:48 +01:00
renovate[bot] e764a3eabb chore(deps): update github/codeql-action action to v3.27.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 18:41:07 +00:00
Andy Scherzinger 98d11ce379 Merge pull request #13768 from nextcloud/lessTolerant
Reduce screenshot test tolerance to 0.1%
2024-11-08 17:49:52 +01:00
Andy Scherzinger e1071374c8 fix: Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2024-11-08 16:31:50 +01:00
tobiasKaminsky aff67498f1 check
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-08 16:28:16 +01:00
tobiasKaminsky 3200a16f81 Reduce screenshot test tolerance to 0.1%
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-08 16:28:10 +01:00
Andy Scherzinger 4224b45152 Merge pull request #13981 from nextcloud/renovate/com.google.devtools.ksp-2.x
chore(deps): update plugin com.google.devtools.ksp to v2.0.21-1.0.27
2024-11-08 13:05:23 +01:00
renovate[bot] 2d16a1eac2 chore(deps): update plugin com.google.devtools.ksp to v2.0.21-1.0.27
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 10:50:15 +00:00
Andy Scherzinger aa77375ae3 Merge pull request #13951 from nextcloud/renovate/androidx.fragment-fragment-ktx-1.x
fix(deps): update dependency androidx.fragment:fragment-ktx to v1.8.5
2024-11-07 14:20:08 +01:00
renovate[bot] 918adcad05 Update dependency androidx.fragment:fragment-ktx to v1.8.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 14:09:42 +01:00
Andy Scherzinger b59cf3bd1e Merge pull request #13954 from nextcloud/renovate/androidx.lifecycle-lifecycle-viewmodel-ktx-2.x
fix(deps): update dependency androidx.lifecycle:lifecycle-viewmodel-ktx to v2.8.7
2024-11-07 14:08:19 +01:00
Andy Scherzinger 686730882a build(checksums): add further keys and checksums for dependencies
Signed-off-by: Andy Scherzinger <[email protected]>
2024-11-07 14:02:46 +01:00
renovate[bot] a2510495bd fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 13:50:37 +01:00
renovate[bot] a6a3197b78 fix(deps): update dependency androidx.lifecycle:lifecycle-service to v2.8.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 13:46:07 +01:00
renovate[bot] cc79542099 fix(deps): update dependency androidx.lifecycle:lifecycle-viewmodel-ktx to v2.8.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 10:31:15 +00:00
alperozturk 07ef42de72 check folder path before upload
Signed-off-by: alperozturk <[email protected]>
2024-11-07 09:28:17 +01:00
Onkar Chavan dd2104a318 Refactor usernameToColor: improve MD5 validation, optimize color generation, and enhance readability.
Signed-off-by: Onkar Chavan <[email protected]>
2024-11-07 08:52:38 +01:00
Onkar Chavan dc65407672 Refactor rotateImage() to improve EXIF orientation handling and readability.
Signed-off-by: Onkar Chavan <[email protected]>
2024-11-07 08:52:38 +01:00
Onkar Chavan a9d9fbfcc5 Updated bitmap decoding: using ImageDecoder for Android 9 (API 28) and above, and BitmapFactory for older versions.
Signed-off-by: Onkar Chavan <[email protected]>
2024-11-07 08:52:38 +01:00
Tobias Kaminsky a05d638407 Merge pull request #13944 from nextcloud/jtr/fix-10040
fix(sharing): make clear re-sharing prevented by policy or permissions
2024-11-07 08:11:44 +01:00
Tobias Kaminsky 6d0aaa6499 Merge pull request #13927 from nextcloud/replace-status-async-task
refactor(ui): coroutine based user status retrieval.
2024-11-07 07:38:21 +01:00
tobiasKaminsky d60864a340 remove unneeded string
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-07 07:34:02 +01:00
Nextcloud bot abd3f9e547 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-07 02:58:28 +00:00
alperozturk 3602d9af0c fix edge cases
Signed-off-by: alperozturk <[email protected]>
2024-11-06 16:46:13 +01:00
tobiasKaminsky 23b2306c9c fix check
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-06 11:16:18 +01:00
tobiasKaminsky 04ab8f0347 Merge remote-tracking branch 'origin/jtr/fix-10040' into jtr/fix-10040 2024-11-06 11:12:28 +01:00
tobiasKaminsky 15879b384d change screenshot
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-06 07:58:22 +01:00
Josh 4f52062f16 Update strings.xml
Signed-off-by: Josh <[email protected]>
2024-11-06 07:58:22 +01:00
Josh ace56876d9 Update strings.xml
Signed-off-by: Josh <[email protected]>
2024-11-06 07:58:22 +01:00
Josh da414658dc fix(sharing): Remove du reshare string from FileDetailSharingFragment
Signed-off-by: Josh <[email protected]>
2024-11-06 07:58:22 +01:00
Josh 82f3d06c32 fix(sharing): make clear re-sharing prevented by admin policy
Fixes #10040

Signed-off-by: Josh <[email protected]>
2024-11-06 07:58:22 +01:00
tobiasKaminsky 18ca1af906 change screenshot
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-06 07:35:30 +01:00
Nextcloud bot 5c38fc52cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-06 06:20:11 +00:00
Andy Scherzinger 4e5d3112b5 Merge pull request #13912 from nextcloud/renovate/androidx.annotation-annotation-1.x
Update dependency androidx.annotation:annotation to v1.9.1
2024-11-05 17:16:43 +01:00
Andy Scherzinger 2ff4f0402c Merge pull request #13950 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
Update dependency androidx.compose:compose-bom to v2024.10.01
2024-11-05 17:00:57 +01:00
Andy Scherzinger 06927968a9 Merge pull request #13956 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.26
2024-11-05 16:11:33 +01:00
Andy Scherzinger d009778689 Merge pull request #13957 from nextcloud/renovate/androidx.constraintlayout-constraintlayout-2.x
Update dependency androidx.constraintlayout:constraintlayout to v2.2.0
2024-11-05 16:10:47 +01:00
Tobias Kaminsky cbc5fe4ef7 Merge pull request #12832 from Pixee-Bot-Java/pixeebot/drip-2024-03-26-pixee-java/switch-literal-first
Switch order of literals to prevent NullPointerException
2024-11-05 15:42:45 +01:00
Tobias Kaminsky 5934b048f5 Merge pull request #13702 from Siddikpatel/statusbarissue
status bar should be transparent now
2024-11-05 15:41:24 +01:00
Tobias Kaminsky 220823da6b Merge pull request #13949 from nextcloud/lintCount
Lint: ignore StringFormatCount for translated files
2024-11-05 15:40:33 +01:00
Andy Scherzinger 611051f49c Merge pull request #13955 from nextcloud/renovate/androidpluginversion
fix(deps): update dependency com.android.tools.build:gradle to v8.7.2
2024-11-05 15:36:10 +01:00
Tobias Kaminsky 7ca05ca679 Merge pull request #13946 from nextcloud/notification-permission-cleanup
Notification permission cleanup
2024-11-05 12:59:39 +01:00
Tobias Kaminsky d7a9d75dc1 Merge pull request #13940 from nextcloud/jtr/fix-11994
fix(dashboard): Dashboard app must be enabled server-side
2024-11-05 12:19:55 +01:00
renovate[bot] b11853caf1 Update dependency androidx.constraintlayout:constraintlayout to v2.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 11:17:18 +00:00
renovate[bot] 264db1d824 Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.26
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 11:16:35 +00:00
renovate[bot] c73fc7620e Update dependency com.android.tools.build:gradle to v8.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 11:15:40 +00:00
renovate[bot] 4fe93a0bf6 Update dependency androidx.compose:compose-bom to v2024.10.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 11:10:30 +00:00
tobiasKaminsky 916f38bad4 enhance
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-05 12:09:22 +01:00
tobiasKaminsky 229f59269e Lint: ignore StringFormatCount for translated files
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-05 10:54:19 +01:00
Tobias Kaminsky ad8da72554 Merge pull request #13902 from nextcloud/bugfix/first-run-activity-not-launching
Fix: Launching LauncherActivity & FirstRunActivity properly
2024-11-05 09:30:33 +01:00
tobiasKaminsky 4f0c892eea kotlin check
codacy

Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-05 08:26:11 +01:00
Tobias Kaminsky ea0aa57dfe Merge pull request #13919 from nextcloud/remove-duplicated-func-to-cancel-two-way-sync
Remove Duplicated Cancel Two Way Sync Job Function
2024-11-05 08:23:13 +01:00
Tobias Kaminsky 90ba36aeb2 Merge pull request #13920 from nextcloud/dont-check-singleton-instance-of-file-download-helper-in-loops
Don't Check or Create Singleton FileDownloadHelper Instance Inside Loops
2024-11-05 08:19:34 +01:00
Tobias Kaminsky de20c6dc13 Merge pull request #13924 from nextcloud/bugfix/check-npe-create-user-from-account
BugFix - Check Context In createUserFromAccount()
2024-11-05 08:17:50 +01:00
Tobias Kaminsky 7286af80f0 Merge pull request #13749 from nextcloud/feature/offline-file-rename-2
Feature - Offline File Rename
2024-11-05 08:16:16 +01:00
tobiasKaminsky 75ff52aa16 remove unused parameter
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-05 08:09:11 +01:00
A117870935 b12f417a1a Post notification permission cleanup.
Signed-off-by: A117870935 <[email protected]>
2024-11-05 12:08:49 +05:30
Nextcloud bot 151ec16567 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-05 02:48:58 +00:00
Josh 30ef5b466c Update strings.xml
Signed-off-by: Josh <[email protected]>
2024-11-04 15:56:23 -05:00
Josh a14b90885f Update strings.xml
Signed-off-by: Josh <[email protected]>
2024-11-04 15:52:40 -05:00
Josh 577c110921 fix(sharing): Remove du reshare string from FileDetailSharingFragment
Signed-off-by: Josh <[email protected]>
2024-11-04 15:47:12 -05:00
Josh e7ab1e8eab fix(sharing): make clear re-sharing prevented by admin policy
Fixes #10040

Signed-off-by: Josh <[email protected]>
2024-11-04 15:42:19 -05:00
Josh d5fbba280f fix(dashboard): Dashboard app must be enabled server-side
Fixes #11994 

Signed-off-by: Josh <[email protected]>
2024-11-04 07:18:36 -05:00
Nextcloud bot 662eb9144b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2024-11-04 06:57:09 +00:00
Tobias Kaminsky 35024f0678 Merge pull request #13935 from nextcloud/hoursMinutesPlural
hours/minutes: correct plural for english, rest will be added by Tran…
2024-11-04 07:55:27 +01:00
tobiasKaminsky 8fa1ae2499 hours/minutes: correct plural for english, rest will be added by Transifex
Signed-off-by: tobiasKaminsky <[email protected]>
2024-11-04 07:34:26 +01:00
ardevd ffc0528605 refactor(ui): coroutine based user status retrieval.
Replaced ancient async task with a coroutine based alternative.
This comes with numerous advantages.

- Improved performance due to the nature of coroutines and the reduced overhead associated with AsyncTasks and threads.
  Approx a %50 performance increase was measured during testing.
- Passing references to fragment lifecycle context to an AsyncTask is generally a bad idea.
2024-11-01 16:58:35 +00:00
alperozturk 5d26dbede3 check context beginning of the createUserFromAccount
Signed-off-by: alperozturk <[email protected]>
2024-10-31 16:29:14 +01:00
alperozturk 564a5fe2c7 only make improvement for fileDownloadHelper
Signed-off-by: alperozturk <[email protected]>
2024-10-31 09:31:31 +01:00
alperozturk 0f827f5bad create instance before loops
Signed-off-by: alperozturk <[email protected]>
2024-10-31 09:26:15 +01:00
alperozturk 71e9c60631 remove duplicated functions
Signed-off-by: alperozturk <[email protected]>
2024-10-31 09:17:25 +01:00
Tobias Kaminsky ff060eff6a Merge pull request #13907 from nextcloud/fix/xml-spdx-header
Fix XML SPDX header
2024-10-31 08:16:44 +01:00
renovate[bot] 29ed5f01e6 Update dependency androidx.annotation:annotation to v1.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 18:34:10 +00:00
ZetaTom c32881ed60 Fix XML SPDX header.
- remove Talk

Signed-off-by: ZetaTom <[email protected]>
2024-10-30 11:24:33 +01:00
A117870935 5f578c4f8c Fix: Launching LauncherActivity & FirstRunActivity
Signed-off-by: A117870935 <[email protected]>
2024-10-30 15:00:12 +05:30
Dany Mestas 41cfc914bf added SHA-1 signing certificate fingerprint
Signed-off-by: Dany Mestas <[email protected]>
2024-10-23 03:14:58 +02:00
Dany Mestas f52199dde9 Added application certificate fingerprint to README
Signed-off-by: Dany Mestas <[email protected]>
2024-10-22 22:46:53 +02:00
Siddikpatel 2032c004d9 status bar should be transparent now 2024-10-19 12:30:36 +02:00
alperozturk 74868302a2 add offline rename operation
Signed-off-by: alperozturk <[email protected]>
2024-10-09 16:14:46 +02:00
tobiasKaminsky a7af4fae42 allow to copy a file/folder into its own folder -> makes a copy
Signed-off-by: tobiasKaminsky <[email protected]>
2024-10-08 14:34:40 +02:00
pixeebot[bot] e197d3586f Switch order of literals to prevent NullPointerException 2024-03-26 03:56:11 +00:00
Dariusz Olszewski b7479c1572 fix(notifications): Workaround/fix for NEW_NOTIFICATION messages
Signed-off-by: Dariusz Olszewski <[email protected]>
2024-03-22 07:37:30 -04:00
366 changed files with 12880 additions and 4558 deletions

No files matched your search

+7 -3
View File
@@ -1,4 +1,4 @@
FROM ubuntu:noble@sha256:99c35190e22d294cdace2783ac55effc69d32896daaa265f0bbedbcde4fbe3e5
FROM ubuntu:noble@sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab
ARG DEBIAN_FRONTEND=noninteractive
ENV ANDROID_HOME=/usr/lib/android-sdk
@@ -12,5 +12,9 @@ RUN mkdir -p /usr/lib/android-sdk/cmdline-tools/
RUN cd /tmp/ && mv cmdline-tools/ latest/ && mv latest/ /usr/lib/android-sdk/cmdline-tools/
RUN mkdir /usr/lib/android-sdk/licenses/
RUN chmod -R 755 /usr/lib/android-sdk/
RUN mkdir -p $HOME/.gradle
RUN echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
RUN mkdir -p "$HOME/.gradle" && \
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" > "$HOME/.gradle/gradle.properties" && \
echo "org.gradle.caching=true" >> "$HOME/.gradle/gradle.properties" && \
echo "org.gradle.parallel=true" >> "$HOME/.gradle/gradle.properties" && \
echo "org.gradle.configureondemand=true" >> "$HOME/.gradle/gradle.properties" && \
echo "kapt.incremental.apt=true" >> "$HOME/.gradle/gradle.properties"
+5 -5
View File
@@ -9,7 +9,7 @@ name: tests-stable
steps:
- name: gplay
image: ghcr.io/nextcloud/continuous-integration-android8:3
image: ghcr.io/nextcloud/continuous-integration-android8:4
privileged: true
environment:
LOG_USERNAME:
@@ -55,7 +55,7 @@ services:
- su www-data -c "git clone --depth 1 -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 --depth 1 -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 "cd /var/www/html/apps/photos; composer install --no-dev"
- su www-data -c "php /var/www/html/occ app:enable -f photos"
- /usr/local/bin/run.sh
@@ -113,7 +113,7 @@ services:
- su www-data -c "git clone --depth 1 -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 --depth 1 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 "cd /var/www/html/apps/photos; composer install --no-dev"
- su www-data -c "php /var/www/html/occ app:enable -f photos"
- /usr/local/bin/run.sh
@@ -132,7 +132,7 @@ name: allScreenshots
steps:
- name: runAllScreenshots
image: ghcr.io/nextcloud/continuous-integration-android8:3
image: ghcr.io/nextcloud/continuous-integration-android8:4
privileged: true
environment:
GIT_USERNAME:
@@ -183,6 +183,6 @@ name: GIT_TOKEN
data: XIoa9IYq+xQ+N5iln8dlpWv0jV6ROr7HuE24ioUr4uQ8m8SjyH0yognWYLYLqnbTKrFWlFZiEMQTH/sZiWjRFvV1iL0=
---
kind: signature
hmac: a659f1f06a609743077c77b6a07a369e55db67adbd8343fc027ac1c9473d1a43
hmac: f0d3fa25f7f901e8b3deacec52db0d5a81f05f7d4f13af27c633ad712ecdbc4d
...
+1
View File
@@ -10,3 +10,4 @@ contact_links:
- name: 💼 Nextcloud Enterprise
url: https://portal.nextcloud.com/
about: If you are a Nextcloud Enterprise customer, or need Professional support, so it can be resolved directly by our dedicated engineers more quickly
blank_issues_enabled: false
+6 -2
View File
@@ -49,7 +49,7 @@ jobs:
repository: ${{ steps.get-vars.outputs.repo }}
ref: ${{ steps.get-vars.outputs.branch }}
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: "temurin"
java-version: 17
@@ -61,5 +61,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p "$HOME/.gradle"
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" > "$HOME/.gradle/gradle.properties"
echo "org.gradle.caching=true" >> $HOME/.gradle/gradle.properties
echo "org.gradle.parallel=true" >> $HOME/.gradle/gradle.properties
echo "org.gradle.configureondemand=true" >> $HOME/.gradle/gradle.properties
echo "kapt.incremental.apt=true" >> $HOME/.gradle/gradle.properties
scripts/analysis/analysis-wrapper.sh ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} "$GITHUB_RUN_NUMBER" ${{ steps.get-vars.outputs.pr }}
+6 -2
View File
@@ -24,11 +24,15 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: "temurin"
java-version: 17
- name: Build ${{ matrix.flavor }}
run: |
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" >> gradle.properties
echo "org.gradle.caching=true" >> gradle.properties
echo "org.gradle.parallel=true" >> gradle.properties
echo "org.gradle.configureondemand=true" >> gradle.properties
echo "kapt.incremental.apt=true" >> gradle.properties
./gradlew assemble${{ matrix.flavor }}
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: "temurin"
java-version: 17
+3 -3
View File
@@ -39,11 +39,11 @@ jobs:
with:
swap-size-gb: 10
- name: Initialize CodeQL
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
languages: ${{ matrix.language }}
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: "temurin"
java-version: 17
@@ -53,4 +53,4 @@ jobs:
echo "org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
./gradlew assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
+2 -2
View File
@@ -17,12 +17,12 @@ concurrency:
jobs:
detectWrongSettings:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: "temurin"
java-version: 17
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
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
uses: marcelklehr/get-github-handles-from-website-action@06b2239db0a48fe1484ba0bfd966a3ab81a08308 # v1.0.1
id: scrape
with:
website: 'https://nextcloud.com/team/'
+7 -3
View File
@@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
- name: set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
with:
distribution: "temurin"
@@ -41,9 +41,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" > $HOME/.gradle/gradle.properties
echo "org.gradle.caching=true" >> $HOME/.gradle/gradle.properties
echo "org.gradle.parallel=true" >> $HOME/.gradle/gradle.properties
echo "org.gradle.configureondemand=true" >> $HOME/.gradle/gradle.properties
echo "kapt.incremental.apt=true" >> $HOME/.gradle/gradle.properties
sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" app/build.gradle
sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" app/build.gradle
./gradlew assembleQaDebug
$(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks app/build/outputs/apk/qa/debug/qa-debug-*.apk
scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}}
scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}} $GITHUB_TOKEN
+1 -1
View File
@@ -19,4 +19,4 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: REUSE Compliance Check
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0
+1 -1
View File
@@ -42,6 +42,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
sarif_file: results.sarif
+9 -6
View File
@@ -17,7 +17,7 @@ concurrency:
jobs:
screenshot:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -28,14 +28,14 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Gradle cache
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: AVD cache
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
id: avd-cache
with:
path: |
@@ -43,7 +43,7 @@ jobs:
~/.android/adb*
key: avd-${{ matrix.api-level }}
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
- uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: "temurin"
java-version: 17
@@ -69,8 +69,11 @@ jobs:
- name: Configure gradle daemon
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" > $HOME/.gradle/gradle.properties
echo "org.gradle.caching=true" >> $HOME/.gradle/gradle.properties
echo "org.gradle.parallel=true" >> $HOME/.gradle/gradle.properties
echo "org.gradle.configureondemand=true" >> $HOME/.gradle/gradle.properties
echo "kapt.incremental.apt=true" >> $HOME/.gradle/gradle.properties
- name: Build gplay
run: ./gradlew assembleGplayDebug
@@ -99,7 +102,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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
+3 -3
View File
@@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: "temurin"
java-version: 17
@@ -42,14 +42,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "test" "Unit" ${{github.event.number}}
- name: Upload coverage to codecov
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit
fail_ci_if_error: true
- name: Upload jacoco artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: test-results
path: app/build/reports/tests/testGplayDebugUnitTest/
+8
View File
@@ -1,3 +1,11 @@
## 3.30.7 (January 6, 2025)
- Fix crash of auto upload settings
Minimum: NC 16 Server, Android 7.0 Nougat
For a full list, please see https://github.com/nextcloud/android/milestone/104
## 3.30.3 (October 22, 2024)
- Bugfix for two way sync: sync only on wifi
+1 -1
View File
@@ -198,7 +198,7 @@ Source code of app:
XML (layout) file:
```xml
<!--
~ Nextcloud Talk - Android Client
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2024 Your name <your@email.com>
~ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
+18 -18
View File
@@ -10,16 +10,16 @@ GEM
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.992.0)
aws-sdk-core (3.211.0)
aws-partitions (1.1021.0)
aws-sdk-core (3.214.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.95.0)
aws-sdk-kms (1.96.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.169.0)
aws-sdk-s3 (1.176.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
@@ -69,7 +69,7 @@ GEM
faraday_middleware (1.2.1)
faraday (~> 1.0)
fastimage (2.3.1)
fastlane (2.225.0)
fastlane (2.226.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
@@ -109,9 +109,9 @@ GEM
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty (~> 0.4.0)
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
fastlane-plugin-huawei_appgallery_connect (1.0.30)
fastlane-plugin-huawei_appgallery_connect (1.0.31)
cgi
fastlane-sirp (1.0.0)
sysrandom (~> 1.0)
@@ -153,32 +153,32 @@ GEM
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.7)
http-cookie (1.0.8)
domain_name (~> 0.5)
httpclient (2.8.3)
jmespath (1.6.2)
json (2.7.2)
json (2.9.0)
jwt (2.9.3)
base64
mini_magick (4.13.2)
mini_mime (1.1.5)
multi_json (1.15.0)
multipart-post (2.4.1)
nanaimo (0.3.0)
nanaimo (0.4.0)
naturally (2.2.1)
nkf (0.2.0)
optparse (0.5.0)
optparse (0.6.0)
os (1.1.4)
plist (3.7.1)
public_suffix (5.1.1)
public_suffix (6.0.1)
rake (13.2.1)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.3.8)
rouge (2.0.7)
rexml (3.3.9)
rouge (3.28.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.5)
@@ -202,15 +202,15 @@ GEM
uber (0.1.0)
unicode-display_width (2.6.0)
word_wrap (1.0.0)
xcodeproj (1.25.1)
xcodeproj (1.27.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
nanaimo (~> 0.4.0)
rexml (>= 3.3.6, < 4.0)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty (0.4.0)
rouge (~> 3.28.0)
xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)
+9
View File
@@ -13,6 +13,15 @@ height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client
alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/com.nextcloud.client/)
Signing certificate fingerprint to [verify](https://developer.android.com/studio/command-line/apksigner#usage-verify) the APK:
- APK with "gplay" name, found [here](https://github.com/nextcloud/android/releases) or distributed via Google Play Store
- APK with "nextcloud", found [here](https://github.com/nextcloud/android/releases)
- not suitable for Fdroid downloads, as Fdroid is signing it on their own
```
SHA-256: fb009522f65e25802261b67b10a45fd70e610031976f40b28a649e152ded0373
SHA-1: 74aa1702e714941be481e1f7ce4a8f779c19dcea
```
**The Android client for [Nextcloud](https://nextcloud.com). Easily work with your data on your Nextcloud.**
![App screenshots](/doc/Nextcloud_Android_Screenshots.png "App screenshots")
+24 -20
View File
@@ -16,7 +16,7 @@ import org.gradle.internal.jvm.Jvm
buildscript {
dependencies {
classpath "com.android.tools.build:gradle:$androidPluginVersion"
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.25'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.27'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.7"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
@@ -28,10 +28,10 @@ buildscript {
}
plugins {
id "org.jetbrains.kotlin.plugin.compose" version "2.0.21"
id "org.jetbrains.kotlin.plugin.compose" version "2.1.0"
id "com.diffplug.spotless" version "6.25.0"
id "org.jetbrains.kotlin.kapt" version "2.0.21"
id 'com.google.devtools.ksp' version '2.0.21-1.0.26' apply false
id "org.jetbrains.kotlin.kapt" version "2.1.0"
id 'com.google.devtools.ksp' version '2.1.0-1.0.29' apply false
}
apply plugin: 'com.android.application'
@@ -106,8 +106,8 @@ android {
defaultConfig {
applicationId "com.nextcloud.client"
minSdkVersion 24
targetSdkVersion 34
compileSdk 34
targetSdkVersion 35
compileSdk 35
buildConfigField 'boolean', 'CI', ciBuild.toString()
buildConfigField 'boolean', 'RUNTIME_PERF_ANALYSIS', perfAnalysis.toString()
@@ -147,6 +147,7 @@ android {
buildTypes {
debug {
testCoverageEnabled(project.hasProperty('coverage'))
resConfigs "xxxhdpi"
}
}
@@ -186,7 +187,6 @@ android {
}
}
testOptions {
unitTests.returnDefaultValues = true
animationsDisabled true
@@ -261,6 +261,10 @@ android {
// Adds exported schema location as test app assets.
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
}
kapt {
useBuildCache true
}
}
dependencies {
@@ -269,7 +273,7 @@ dependencies {
}
// Jetpack Compose
implementation(platform("androidx.compose:compose-bom:2024.10.00"))
implementation(platform("androidx.compose:compose-bom:2024.12.01"))
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-graphics")
implementation("androidx.compose.material3:material3")
@@ -280,7 +284,7 @@ dependencies {
// remove after entire switch to lib v2
implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5' // remove after entire switch to lib v2
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.constraintlayout:constraintlayout:2.2.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
@@ -288,18 +292,18 @@ dependencies {
implementation 'androidx.webkit:webkit:1.12.1'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.3.7'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.6"
implementation "androidx.lifecycle:lifecycle-service:2.8.6"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7"
implementation "androidx.lifecycle:lifecycle-service:2.8.7"
implementation "androidx.work:work-runtime:$workRuntime"
implementation "androidx.work:work-runtime-ktx:$workRuntime"
implementation "androidx.fragment:fragment-ktx:1.8.4"
implementation "androidx.fragment:fragment-ktx:1.8.5"
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
compileOnly 'com.google.code.findbugs:annotations:3.0.1u2'
implementation 'commons-io:commons-io:2.17.0'
implementation 'commons-io:commons-io:2.18.0'
implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.12.1'
implementation 'org.lukhnos:nnio:0.3.1'
implementation 'org.bouncycastle:bcpkix-jdk18on:1.78.1'
implementation 'org.bouncycastle:bcpkix-jdk18on:1.79'
implementation 'com.google.code.gson:gson:2.11.0'
implementation 'com.github.nextcloud-deps:sectioned-recyclerview:0.6.1'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
@@ -310,9 +314,9 @@ dependencies {
exclude group: "com.android.support"
}
implementation 'com.caverock:androidsvg:1.4'
implementation 'androidx.annotation:annotation:1.9.0'
implementation 'androidx.annotation:annotation:1.9.1'
implementation 'com.vanniktech:emoji-google:0.21.0'
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.6")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
// document scanner not available on FDroid (generic) due to OpenCV binaries
gplayImplementation project(':appscan')
@@ -320,7 +324,7 @@ dependencies {
qaImplementation project(':appscan')
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.13.0'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.5'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.8'
implementation "com.google.dagger:dagger:$daggerVersion"
implementation "com.google.dagger:dagger-android:$daggerVersion"
@@ -412,11 +416,11 @@ dependencies {
implementation "com.github.stateless4j:stateless4j:2.6.0"
// upon each update first test: new registration, receive push
gplayImplementation "com.google.firebase:firebase-messaging:24.0.2"
gplayImplementation "com.google.firebase:firebase-messaging:24.1.0"
gplayImplementation 'com.google.android.gms:play-services-base:18.5.0'
gplayImplementation 'com.google.android.play:review-ktx:2.0.2'
implementation 'com.github.nextcloud.android-common:ui:0.17.0'
implementation 'com.github.nextcloud.android-common:ui:0.24.0'
implementation "androidx.room:room-runtime:$roomVersion"
ksp "androidx.room:room-compiler:$roomVersion"
@@ -468,7 +472,7 @@ if (shotTest) {
showOnlyFailingTestsInReports = ciBuild
// CI environment renders some shadows slightly different from local VMs
// Add a 0.5% tolerance to account for that
tolerance = ciBuild ? 0.5 : 0
tolerance = ciBuild ? 0.1 : 0
}
}
+10 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Nextcloud Talk - Android Client
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
~ SPDX-FileCopyrightText: 2022 Andy Scherzinger <info@andy-scherzinger.de>
@@ -26,14 +26,21 @@
<ignore path="**/raw/encryption_key_words.txt" />
</issue>
<issue id="ImpliedQuantity">
<ignore path="**/values-**/strings.xml" />
</issue>
<issue id="MissingQuantity">
<ignore path="**/values-ka-rGE/strings.xml"/>
<ignore path="**/values-ar/strings.xml" />
<ignore path="**/values-**/strings.xml" />
</issue>
<issue id="UnusedQuantity">
<ignore path="**/values-**/strings.xml" />
</issue>
<issue id="StringFormatCount">
<ignore path="**/values-**/strings.xml" />
</issue>
<issue id="ExtraTranslation">
<ignore path="**/strings.xml"/>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 14 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: 14 KiB

After

Width:  |  Height:  |  Size: 14 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: 14 KiB

After

Width:  |  Height:  |  Size: 14 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: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 18 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: 7.7 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 5.8 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: 18 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 20 KiB

@@ -155,43 +155,43 @@ class FileDisplayActivityIT : AbstractOnServerIT() {
Assert.assertEquals(storageManager.getFileByPath("/"), sut.currentDir)
}
@Test
fun checkToolbarTitleOnNavigation() {
// Create folder structure
val topFolder = "folder1"
val childFolder = "folder2"
CreateFolderOperation("/$topFolder/", user, targetContext, storageManager)
.execute(client)
CreateFolderOperation("/$topFolder/$childFolder/", user, targetContext, storageManager)
.execute(client)
activityRule.launchActivity(null)
shortSleep()
// go into "foo"
onView(withText(topFolder)).perform(click())
shortSleep()
// check title is right
checkToolbarTitle(topFolder)
// go into "bar"
onView(withText(childFolder)).perform(click())
shortSleep()
// check title is right
checkToolbarTitle(childFolder)
// browse back up, we should be back in "foo"
Espresso.pressBack()
shortSleep()
// check title is right
checkToolbarTitle(topFolder)
}
// @Test
// fun checkToolbarTitleOnNavigation() {
// // Create folder structure
// val topFolder = "folder1"
// val childFolder = "folder2"
//
// CreateFolderOperation("/$topFolder/", user, targetContext, storageManager)
// .execute(client)
//
// CreateFolderOperation("/$topFolder/$childFolder/", user, targetContext, storageManager)
// .execute(client)
//
// activityRule.launchActivity(null)
//
// shortSleep()
//
// // go into "foo"
// onView(withText(topFolder)).perform(click())
// shortSleep()
//
// // check title is right
// checkToolbarTitle(topFolder)
//
// // go into "bar"
// onView(withText(childFolder)).perform(click())
// shortSleep()
//
// // check title is right
// checkToolbarTitle(childFolder)
//
// // browse back up, we should be back in "foo"
// Espresso.pressBack()
// shortSleep()
//
// // check title is right
// checkToolbarTitle(topFolder)
// }
private fun checkToolbarTitle(childFolder: String) {
onView(withId(R.id.appbar)).check(
@@ -234,7 +234,6 @@ class FileDisplayActivityIT : AbstractOnServerIT() {
)
)
shortSleep()
shortSleep()
checkToolbarTitle(topFolder)
// sort button should now be visible
onView(withId(R.id.sort_button)).check(matches(ViewMatchers.isDisplayed()))
@@ -7,8 +7,8 @@
*/
package com.nextcloud.client;
import android.app.Activity;
import android.content.Intent;
import android.os.Looper;
import com.nextcloud.client.preferences.SubFolderRule;
import com.owncloud.android.AbstractIT;
@@ -25,6 +25,7 @@ import org.junit.Test;
import java.util.Objects;
import androidx.appcompat.app.AlertDialog;
import androidx.test.espresso.intent.rule.IntentsTestRule;
import static androidx.test.platform.app.InstrumentationRegistry.getInstrumentation;
@@ -78,4 +79,24 @@ public class SyncedFoldersActivityIT extends AbstractIT {
screenshot(Objects.requireNonNull(sut.requireDialog().getWindow()).getDecorView());
}
@Test
@ScreenshotTest
public void showPowerCheckDialog() {
if (Looper.myLooper() == null) {
Looper.prepare();
}
Intent intent = new Intent(targetContext, SyncedFoldersActivity.class);
SyncedFoldersActivity activity = activityRule.launchActivity(intent);
AlertDialog sut = activity.buildPowerCheckDialog();
activity.runOnUiThread(sut::show);
getInstrumentation().waitForIdleSync();
shortSleep();
screenshot(Objects.requireNonNull(sut.getWindow()).getDecorView());
}
}
@@ -9,6 +9,7 @@ package com.nextcloud.client.assistant
import com.nextcloud.client.assistant.repository.AssistantRepository
import com.owncloud.android.AbstractOnServerIT
import com.owncloud.android.lib.resources.assistant.v2.model.TaskTypeData
import com.owncloud.android.lib.resources.status.NextcloudVersion
import org.junit.Assert.assertTrue
import org.junit.Before
@@ -21,7 +22,7 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
@Before
fun setup() {
sut = AssistantRepository(nextcloudClient)
sut = AssistantRepository(nextcloudClient, capability)
}
@Test
@@ -33,10 +34,7 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
}
val result = sut?.getTaskTypes()
assertTrue(result?.isSuccess == true)
val taskTypes = result?.resultData?.types
assertTrue(taskTypes?.isNotEmpty() == true)
assertTrue(result?.isNotEmpty() == true)
}
@Test
@@ -48,10 +46,7 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
}
val result = sut?.getTaskList("assistant")
assertTrue(result?.isSuccess == true)
val taskList = result?.resultData?.tasks
assertTrue(taskList?.isEmpty() == true || (taskList?.size ?: 0) > 0)
assertTrue(result?.isEmpty() == true || (result?.size ?: 0) > 0)
}
@Test
@@ -63,8 +58,14 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
}
val input = "Give me some random output for test purpose"
val type = "OCP\\TextProcessing\\FreePromptTaskType"
val result = sut?.createTask(input, type)
val taskType = TaskTypeData(
"core:text2text",
"Free text to text prompt",
"Runs an arbitrary prompt through a language model that returns a reply",
null,
null
)
val result = sut?.createTask(input, taskType)
assertTrue(result?.isSuccess == true)
}
@@ -80,13 +81,11 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
sleep(120)
val resultOfTaskList = sut?.getTaskList("assistant")
assertTrue(resultOfTaskList?.isSuccess == true)
val taskList = sut?.getTaskList("assistant")
assertTrue(taskList != null)
sleep(120)
val taskList = resultOfTaskList?.resultData?.tasks
assert((taskList?.size ?: 0) > 0)
val result = sut?.deleteTask(taskList!!.first().id)
@@ -1,86 +0,0 @@
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2024 Alper Ozturk <[email protected]>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.utils
import android.os.Bundle
import com.owncloud.android.AbstractIT
import com.owncloud.android.lib.common.OwnCloudClientManagerFactory
import com.owncloud.android.utils.appConfig.AppConfigKeys
import com.owncloud.android.utils.appConfig.AppConfigManager
import org.junit.AfterClass
import org.junit.Test
class AppConfigManagerTests : AbstractIT() {
private val testBaseUrl = "nextcloud.cloud.cloud"
private val testProxyHost = "nextcloud.cloud.cloud.com"
@Suppress("MagicNumber")
private val testProxyPort = 8800
@Test
fun testSetProxyConfigWhenGivenClientBrandedPlusAndCorrectBundleDataProxyConfigurationShouldSet() {
val proxySetting = Bundle().apply {
putString(AppConfigKeys.ProxyHost.key, testProxyHost)
putInt(AppConfigKeys.ProxyPort.key, testProxyPort)
}
AppConfigManager(targetContext, proxySetting).run {
setProxyConfig(true)
}
val proxyHost = OwnCloudClientManagerFactory.getProxyHost()
val proxyPort = OwnCloudClientManagerFactory.getProxyPort()
assert(proxyHost.equals(testProxyHost))
assert(proxyPort == testProxyPort)
}
@Test
fun testSetProxyConfigWhenGivenClientNotBrandedPlusAndCorrectBundleDataProxyConfigurationShouldNotSet() {
val proxySetting = Bundle().apply {
putString(AppConfigKeys.ProxyHost.key, testProxyHost)
putInt(AppConfigKeys.ProxyPort.key, testProxyPort)
}
AppConfigManager(targetContext, proxySetting).run {
setProxyConfig(false)
}
val proxyHost = OwnCloudClientManagerFactory.getProxyHost()
val proxyPort = OwnCloudClientManagerFactory.getProxyPort()
assert(proxyHost.equals(""))
assert(proxyPort == -1)
}
@Test
fun testGetBaseUrlConfigWhenGivenClientBrandedPlusAndCorrectBundleDataBaseUrlConfigurationShouldSet() {
val baseUrlConfig = Bundle().apply {
putString(AppConfigKeys.BaseUrl.key, testBaseUrl)
}
val sut = AppConfigManager(targetContext, baseUrlConfig)
assert(!sut.getBaseUrl(true).isNullOrEmpty())
}
@Test
fun testGetBaseUrlConfigWhenGivenClientBrandedPlusAndBrokenBundleDataBaseUrlConfigurationShouldNotSet() {
val baseUrlConfig = Bundle()
val sut = AppConfigManager(targetContext, baseUrlConfig)
assert(sut.getBaseUrl(true).isNullOrEmpty())
}
companion object {
@JvmStatic
@AfterClass
fun tearDown() {
OwnCloudClientManagerFactory.setProxyHost("")
OwnCloudClientManagerFactory.setProxyPort(-1)
}
}
}
@@ -167,4 +167,12 @@ class AutoRenameTests : AbstractOnServerIT() {
val expectedFolderName = "/COm02/2569.webp"
assert(result == expectedFolderName) { "Expected $expectedFolderName but got $result" }
}
@Test
fun testValidFilename() {
val filename = ".file.TXT"
val result = AutoRename.rename(filename, capability)
val expectedFilename = "_file.txt"
assert(result == expectedFilename) { "Expected $expectedFilename but got $result" }
}
}
@@ -17,7 +17,6 @@ import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Build;
import android.os.Bundle;
import android.os.NetworkOnMainThreadException;
import android.text.TextUtils;
import android.view.View;
@@ -183,7 +182,7 @@ public abstract class AbstractIT {
String darkModeParameter = arguments.getString("DARKMODE");
if (darkModeParameter != null) {
if (darkModeParameter.equalsIgnoreCase("dark")) {
if ("dark".equalsIgnoreCase(darkModeParameter)) {
DARK_MODE = "dark";
AppPreferencesImpl.fromContext(targetContext).setDarkThemeMode(DarkMode.DARK);
MainApp.setAppTheme(DarkMode.DARK);
@@ -192,7 +191,7 @@ public abstract class AbstractIT {
}
}
if (DARK_MODE.equalsIgnoreCase("light") && COLOR.equalsIgnoreCase("blue")) {
if ("light".equalsIgnoreCase(DARK_MODE) && "blue".equalsIgnoreCase(COLOR)) {
// use already existing names
DARK_MODE = "";
COLOR = "";
@@ -469,6 +468,12 @@ public abstract class AbstractIT {
}
}
protected void screenshotViaName(View view, String name) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) {
Screenshot.snap(view).setName(name).record();
}
}
protected void screenshot(View view, String prefix) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) {
Screenshot.snap(view).setName(createName(prefix)).record();
@@ -106,7 +106,8 @@ public class FileIT extends AbstractOnServerIT {
assertTrue(new SynchronizeFolderOperation(targetContext,
folderPath,
user,
fileDataStorageManager)
fileDataStorageManager,
false)
.execute(targetContext)
.isSuccess());
@@ -515,7 +515,7 @@ public class UploadIT extends AbstractOnServerIT {
OCFile ocFile = null;
for (OCFile f : files) {
if (f.getFileName().equals("metadata.jpg")) {
if ("metadata.jpg".equals(f.getFileName())) {
ocFile = f;
break;
}
@@ -134,11 +134,26 @@ class UploadFilesActivityIT : AbstractIT() {
}
}
fun fileSelected() {
@Test
@ScreenshotTest
fun selectAll() {
val sut: UploadFilesActivity = activityRule.launchActivity(null)
// TODO select one
sut.runOnUiThread {
sut.fileListFragment.setFiles(
listOf(
File("1.txt"),
File("2.pdf"),
File("3.mp3")
)
)
screenshot(sut)
sut.fileListFragment.selectAllFiles(true)
}
onIdleSync {
val screenShotName = createName(testClassName + "_" + "selectAll", "")
screenshotViaName(sut.fileListFragment.binding.listRoot, screenShotName)
}
}
}
@@ -7,94 +7,154 @@
package com.owncloud.android.ui.fragment
import android.Manifest
import androidx.test.espresso.intent.rule.IntentsTestRule
import androidx.test.core.app.launchActivity
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.IdlingRegistry
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.isRoot
import androidx.test.rule.GrantPermissionRule
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.datamodel.OCFile
import com.owncloud.android.ui.activity.ContactsPreferenceActivity
import com.owncloud.android.ui.fragment.contactsbackup.BackupListFragment
import com.owncloud.android.utils.EspressoIdlingResource
import com.owncloud.android.utils.ScreenshotTest
import org.junit.After
import org.junit.Before
import org.junit.Rule
import org.junit.Test
class BackupListFragmentIT : AbstractIT() {
@get:Rule
val testActivityRule = IntentsTestRule(ContactsPreferenceActivity::class.java, true, false)
@get:Rule
val permissionRule: GrantPermissionRule = GrantPermissionRule.grant(Manifest.permission.READ_CALENDAR)
private val testClassName = "com.owncloud.android.ui.fragment.BackupListFragmentIT"
@Before
fun registerIdlingResource() {
IdlingRegistry.getInstance().register(EspressoIdlingResource.countingIdlingResource)
}
@After
fun unregisterIdlingResource() {
IdlingRegistry.getInstance().unregister(EspressoIdlingResource.countingIdlingResource)
}
@Test
@ScreenshotTest
fun showLoading() {
val sut = testActivityRule.launchActivity(null)
val file = OCFile("/")
val transaction = sut.supportFragmentManager.beginTransaction()
launchActivity<ContactsPreferenceActivity>().use { scenario ->
scenario.onActivity { sut ->
val file = OCFile("/")
val transaction = sut.supportFragmentManager.beginTransaction()
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(file, user))
transaction.commit()
onIdleSync {
EspressoIdlingResource.increment()
waitForIdleSync()
screenshot(sut)
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(file, user))
transaction.commit()
EspressoIdlingResource.decrement()
val screenShotName = createName(testClassName + "_" + "showLoading", "")
onView(isRoot()).check(matches(isDisplayed()))
screenshotViaName(sut, screenShotName)
}
}
}
}
@Test
@ScreenshotTest
fun showContactList() {
val sut = testActivityRule.launchActivity(null)
val transaction = sut.supportFragmentManager.beginTransaction()
val file = getFile("vcard.vcf")
val ocFile = OCFile("/vcard.vcf")
ocFile.storagePath = file.absolutePath
ocFile.mimeType = "text/vcard"
launchActivity<ContactsPreferenceActivity>().use { scenario ->
scenario.onActivity { sut ->
val transaction = sut.supportFragmentManager.beginTransaction()
val file = getFile("vcard.vcf")
val ocFile = OCFile("/vcard.vcf").apply {
storagePath = file.absolutePath
mimeType = "text/vcard"
}
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(ocFile, user))
transaction.commit()
onIdleSync {
EspressoIdlingResource.increment()
waitForIdleSync()
shortSleep()
screenshot(sut)
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(ocFile, user))
transaction.commit()
EspressoIdlingResource.decrement()
val screenShotName = createName(testClassName + "_" + "showContactList", "")
onView(isRoot()).check(matches(isDisplayed()))
screenshotViaName(sut, screenShotName)
}
}
}
}
@Test
@ScreenshotTest
fun showCalendarList() {
val sut = testActivityRule.launchActivity(null)
val transaction = sut.supportFragmentManager.beginTransaction()
val file = getFile("calendar.ics")
val ocFile = OCFile("/Private calender_2020-09-01_10-45-20.ics.ics")
ocFile.storagePath = file.absolutePath
ocFile.mimeType = "text/calendar"
launchActivity<ContactsPreferenceActivity>().use { scenario ->
scenario.onActivity { sut ->
val transaction = sut.supportFragmentManager.beginTransaction()
val file = getFile("calendar.ics")
val ocFile = OCFile("/Private calender_2020-09-01_10-45-20.ics.ics").apply {
storagePath = file.absolutePath
mimeType = "text/calendar"
}
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(ocFile, user))
transaction.commit()
onIdleSync {
EspressoIdlingResource.increment()
waitForIdleSync()
screenshot(sut)
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(ocFile, user))
transaction.commit()
EspressoIdlingResource.decrement()
val screenShotName = createName(testClassName + "_" + "showCalendarList", "")
onView(isRoot()).check(matches(isDisplayed()))
screenshotViaName(sut, screenShotName)
}
}
}
}
@Test
@ScreenshotTest
fun showCalendarAndContactsList() {
val sut = testActivityRule.launchActivity(null)
val transaction = sut.supportFragmentManager.beginTransaction()
launchActivity<ContactsPreferenceActivity>().use { scenario ->
scenario.onActivity { sut ->
val transaction = sut.supportFragmentManager.beginTransaction()
val calendarFile = getFile("calendar.ics")
val calendarOcFile = OCFile("/Private calender_2020-09-01_10-45-20.ics.ics").apply {
storagePath = calendarFile.absolutePath
mimeType = "text/calendar"
}
val calendarFile = getFile("calendar.ics")
val calendarOcFile = OCFile("/Private calender_2020-09-01_10-45-20.ics")
calendarOcFile.storagePath = calendarFile.absolutePath
calendarOcFile.mimeType = "text/calendar"
val contactFile = getFile("vcard.vcf")
val contactOcFile = OCFile("/vcard.vcf").apply {
storagePath = contactFile.absolutePath
mimeType = "text/vcard"
}
val contactFile = getFile("vcard.vcf")
val contactOcFile = OCFile("/vcard.vcf")
contactOcFile.storagePath = contactFile.absolutePath
contactOcFile.mimeType = "text/vcard"
val files = arrayOf(calendarOcFile, contactOcFile)
val files = arrayOf(calendarOcFile, contactOcFile)
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(files, user))
transaction.commit()
onIdleSync {
EspressoIdlingResource.increment()
waitForIdleSync()
screenshot(sut)
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(files, user))
transaction.commit()
EspressoIdlingResource.decrement()
val screenShotName = createName(testClassName + "_" + "showCalendarAndContactsList", "")
onView(isRoot()).check(matches(isDisplayed()))
screenshotViaName(sut, screenShotName)
}
}
}
}
}
@@ -300,6 +300,14 @@ class OCFileListFragmentStaticServerIT : AbstractIT() {
sut.storageManager.saveFile(this)
}
OCFile("/offlineOperation/").apply {
mimeType = MimeType.DIRECTORY
decryptedRemotePath = "/offlineOperation/"
modificationTimestamp = System.currentTimeMillis()
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
sut.storageManager.saveFile(this)
}
sut.addFragment(fragment)
shortSleep()
Loaded 100 of 366 files, more files were not shown because too many files have changed in this diff. Show more