Compare commits

..
2432 Commits
Author SHA1 Message Date
Nextcloud bot fa4d3686d6 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-11-07 06:57:51 +00:00
f0d6a1e41e Update dependency com.diffplug.spotless to v8.11.0 (#17985)
* Update dependency com.diffplug.spotless to v8.11.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix verification-metadata.xml

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tobias Kaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tobias Kaminsky <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-07 06:44:05 +00:00
alperozturk96andClaude Opus 5.5 2d0c23c6fe Revert "fix garm runner label"
This reverts commit d21dbf664f.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 19:44:57 +01:00
alperozturk96 d21dbf664f fix garm runner label
Signed-off-by: alperozturk96 <[email protected]>
2026-11-06 19:43:35 +01:00
Alper Öztürk 36cb08291b Merge pull request #17975 from nextcloud/fix/internal-71016-file-name-in-actionbar-when-notif-clicked
Actionbar should alway show current folder name
2026-11-06 19:10:32 +03:00
Daniele VerducciandAlper Öztürk a8ef34a4b5 Better way to retrieve folder name
Co-authored-by: Alper Öztürk <[email protected]>
Signed-off-by: Daniele Verducci <[email protected]>
2026-11-06 14:59:30 +01:00
daniele-verducci 24a40214b2 Actionbar should alway show current folder name
Signed-off-by: daniele-verducci <[email protected]>
2026-11-06 14:59:30 +01:00
Tobias Kaminsky 39219060c3 Merge pull request #17964 from nextcloud/fix/fastlane
fix fastlane
2026-11-06 09:01:27 +01:00
Nextcloud bot 2553d082b4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-11-06 07:16:20 +00:00
Alper Öztürk 2735487fff Merge pull request #17956 from nextcloud/refactor/file-operation-helper-kotlin
refactor(file-operation-helper): kotlin
2026-11-06 08:48:29 +03:00
Alper Öztürk 7972a8e03c Merge pull request #17958 from nextcloud/fix/internal-109054-picker-navigation-brougth-to-main-files-list
Avoid picker navigation to affect main file list's one
2026-11-05 15:16:07 +03:00
daniele-verducci 3f4417d374 Better fix for picker navigation affecting all file list fragments
Signed-off-by: daniele-verducci <[email protected]>
2026-11-05 11:15:09 +01:00
daniele-verducci 6f2b9ce8b2 Avoid picker navigation to affect main file list's one
Signed-off-by: daniele-verducci <[email protected]>
2026-11-05 11:15:09 +01:00
alperozturk96 7fe6bde6ed fix fastlane
Signed-off-by: alperozturk96 <[email protected]>
2026-11-05 11:15:14 +03:00
Alper Öztürk 413ddaa77b Merge pull request #17960 from nextcloud/min-supported-version-nc23
min supported version is nc 23
2026-11-05 10:00:24 +03:00
Alper Öztürk d04ec2ae3d Merge pull request #17961 from nextcloud/fix/ci-5
fix ci
2026-11-05 09:53:26 +03:00
alperozturk96 c0b53f894a fix ci
Signed-off-by: alperozturk96 <[email protected]>
2026-11-05 09:07:50 +03:00
alperozturk96 d3dd3aac16 min supported version is nc 23
Signed-off-by: alperozturk96 <[email protected]>
2026-11-05 09:01:50 +03:00
alperozturk96 1b3da2686e refactor(file-operation-helper): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-11-05 08:49:05 +03:00
alperozturk96 996ce970e6 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-11-05 08:49:05 +03:00
Alper Öztürk 61b01b666b Merge pull request #17935 from nextcloud/feat/document-scanner-tablet-support
feat(scan): orientation support
2026-11-05 08:39:51 +03:00
Alper Öztürk 88148f3743 Merge pull request #17812 from nextcloud/feat/check-upload-quota
feat(upload): quota check
2026-11-05 08:36:19 +03:00
Alper Öztürk ecf31ffd22 Merge pull request #17957 from nextcloud/fix/ci-2
fix ci
2026-11-05 08:35:53 +03:00
Nextcloud bot 7046830a1e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-11-05 03:49:23 +00:00
alperozturk96 2dc40b1836 fix ci
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 18:39:05 +03:00
alperozturk96 03a2fbeb6f notify upload list
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 15:46:40 +03:00
alperozturk96 25f5fd4d9c recover from exceed state
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 15:46:40 +03:00
alperozturk96 a82067a2bb use lib
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-11-04 15:46:40 +03:00
alperozturk96 66a2b6d56b add quota check for auto upload
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 15:46:40 +03:00
alperozturk96 bac9e1c5a1 add quota check for all uploads
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 15:46:40 +03:00
Alper Öztürk 152108a7c3 Merge pull request #17940 from nextcloud/fix/metadata-worker-cancellation
fix(metadata): cancellation
2026-11-04 15:29:49 +03:00
Tobias Kaminsky bec39ce821 Merge pull request #17924 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-11-04 13:23:09 +01:00
nextcloud-android-bot 23f4c60c2c 🔄 synced local '.' with remote 'config/root/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-11-04 11:55:02 +00:00
nextcloud-android-bot dc4e0e94f6 🔄 synced local 'fastlane/' with remote 'config/fastlane/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-11-04 11:55:02 +00:00
nextcloud-android-bot a9dc993969 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-11-04 11:55:02 +00:00
Alper Öztürk f09acb1803 Merge pull request #17945 from nextcloud/refactor/drawer-activity-kotlin
refactor(drawer-activity): kotlin
2026-11-04 14:36:39 +03:00
Alper Öztürk 33ed8d00f7 Merge pull request #17949 from nextcloud/refactor/abstract-it-kotlin
refactor(abstract-it): kotlin
2026-11-04 14:36:28 +03:00
alperozturk96 d466b7802e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 14:21:18 +03:00
alperozturk96 0c8ec9e2b1 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 14:21:18 +03:00
alperozturk96 33014e63b4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 14:21:18 +03:00
alperozturk96 928461697d fix(metadata): cancellation
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/operations/RefreshFolderOperation.java
2026-11-04 14:21:18 +03:00
Alper Öztürk bb45b7fa38 Merge pull request #17932 from nextcloud/fix/download-cancel
fix(download): cancel
2026-11-04 14:20:15 +03:00
Alper Öztürk 144b70b8e5 Merge pull request #17917 from nextcloud/fix/navigation-flicker
fix(file-list): flicker
2026-11-04 13:26:37 +03:00
Alper Öztürk ae1397630e Merge pull request #17919 from nextcloud/fix/17915-missing-share-icon
Fix missing share icon for newly-created files until a folder sync happens
2026-11-04 13:19:06 +03:00
Alper Öztürk a9b083ede1 Merge pull request #17913 from nextcloud/fix/fab-state
fix(fab): state
2026-11-04 13:13:04 +03:00
Alper Öztürk 62dca7aa6b Merge pull request #17916 from nextcloud/fix/navigation-to-all-files-from-upload-screen
fix(navigation): all files
2026-11-04 12:58:42 +03:00
alperozturk96 bbf06013cb wip
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 12:35:58 +03:00
alperozturk96 63d4560c5e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 12:35:26 +03:00
daniele-verducci 31ebe1e6a4 Symmetrix fix for unshare
Signed-off-by: daniele-verducci <[email protected]>
2026-11-04 12:34:25 +03:00
daniele-verducci 04226699a5 Add sharee to file immediately to avoid the list being shown without the sharee icon until next folder sync
Signed-off-by: daniele-verducci <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/utils/extensions/OCFileExtensions.kt
2026-11-04 12:34:20 +03:00
Tobias Kaminsky 7091fc859d Merge pull request #17950 from nextcloud/fastlane2
further fastlane
2026-11-04 10:21:26 +01:00
tobiasKaminsky 7dde2537ba further fastlane
Signed-off-by: tobiasKaminsky <[email protected]>
2026-11-04 10:11:09 +01:00
alperozturk96 29f20c1efc simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 09:50:33 +03:00
alperozturk96 8d88042da4 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 09:45:12 +03:00
alperozturk96 a72dc25c55 convert to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 09:37:20 +03:00
alperozturk96 98faff15cd Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-11-04 09:37:19 +03:00
Alper Öztürk 3b53419d08 Merge pull request #17873 from Ruby20-50/add-date-format-pattern-test
Add unit tests for DateFormatPattern
2026-11-04 08:32:02 +03:00
Ruby20-50 c00ccf726f Merge branch 'add-date-format-pattern-test' of https://github.com/Ruby20-50/android into add-date-format-pattern-test 2026-11-04 02:27:43 +01:00
Ruby20-50 64b90f11b0 adjust naming
Signed-off-by: Ruby20-50 <[email protected]>
2026-11-04 02:24:05 +01:00
Ruba 4688d114d6 Merge branch 'master' into add-date-format-pattern-test 2026-11-03 21:55:32 +01:00
Ruby20-50 b6e7414e25 update test according to feedback
Signed-off-by: Ruby20-50 <[email protected]>
2026-11-03 21:37:31 +01:00
alperozturk96 29f82ab766 preserve corner after rotating and make it accessible
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 17:39:25 +03:00
alperozturk96 cbe895f258 dont recreate activity on config changes
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 17:28:29 +03:00
alperozturk96 3b4ceb77df adopt changes for app scan activity
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 17:03:55 +03:00
alperozturk96 9e2f2181a9 split into smaller classes
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 16:44:00 +03:00
alperozturk96 2a03185aaa convert to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 16:44:00 +03:00
alperozturk96 29c9b6201b Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 16:44:00 +03:00
Alper Öztürk caf6c2ca5e Merge pull request #17941 from nextcloud/fix/file-data-storage-manager-operations
fix(file-data-storage-manager): operations
2026-11-03 16:25:34 +03:00
Alper Öztürk a6b90e4c99 Merge pull request #17942 from nextcloud/fix/clear-system-insets-in-widget-config
Clear system insets in widget config
2026-11-03 15:20:20 +03:00
alperozturk96 e5d38cf0bf use dao functions
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 15:01:56 +03:00
daniele-verducci a74e9af79b Fix unreadable text on system bar
Signed-off-by: daniele-verducci <[email protected]>
2026-11-03 12:40:41 +01:00
daniele-verducci edd4afdc07 Theme activity to have matching color between system bars and layout
Signed-off-by: daniele-verducci <[email protected]>
2026-11-03 12:36:19 +01:00
daniele-verducci 612fdfba12 Clear system insets in widget config view
Signed-off-by: daniele-verducci <[email protected]>
2026-11-03 12:28:48 +01:00
alperozturk96 8ad26c9f5e fix deletion
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 13:58:08 +03:00
alperozturk96 d6796e31b6 optimize imports
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 13:58:08 +03:00
alperozturk96 a9d7451ae4 fix upsert
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 13:58:08 +03:00
Alper Öztürk c2618ba512 Merge pull request #17899 from nextcloud/refactor/error-message-adapter-kotlin
refactor(error-message-adapter): kotlin
2026-11-03 13:16:43 +03:00
Alper Öztürk 145c7c2570 Merge pull request #17938 from nextcloud/refactor/toolbar-activity-kotlin
refactor(toolbar-activity): kotlin
2026-11-03 13:06:13 +03:00
alperozturk96 0ec85602e7 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 11:16:33 +03:00
alperozturk96 858ecf8ddb simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 11:10:49 +03:00
alperozturk96 a6b3895031 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 10:35:24 +03:00
alperozturk96 9e5c932574 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 10:35:24 +03:00
alperozturk96 03a219dbaf remove theme color utils
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 10:35:24 +03:00
alperozturk96 0d1c6357ca convert to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 10:35:24 +03:00
alperozturk96 50a0eb7635 convert to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 10:35:24 +03:00
alperozturk96 6ba61b0b70 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-11-03 10:35:24 +03:00
Alper Öztürk ca9f4ecc56 Merge pull request #17937 from nextcloud/fix/picker-back-navigation-to-forbidden-folder
Fix back navigation to forbidden folder in file picker
2026-11-03 10:15:48 +03:00
daniele-verducci 7f8c416572 Fix back navigation to forbidden folder in file picker
Signed-off-by: daniele-verducci <[email protected]>
2026-11-03 09:42:54 +03:00
Alper Öztürk b70acc3cfd Merge pull request #17920 from nextcloud/fix/internal-109155-media-missing-empty-indicator-after-folder-deletion
Fixed empty view not shown in Media
2026-11-03 08:30:23 +03:00
Alper Öztürk d402f3acdb Merge pull request #17884 from nextcloud/improv/updateLibraryHash
Small improvement in update library script
2026-11-03 08:28:40 +03:00
daniele-verducci 8cba126120 Prevent script from failing it running on a macine with the git hooks configured as documented in CONTRIBUTING.md
Signed-off-by: daniele-verducci <[email protected]>
2026-11-02 17:44:52 +01:00
daniele-verducci 6a5224788f Early fail with clear message on updateLibraryHash to prevent confusion
Signed-off-by: daniele-verducci <[email protected]>
2026-11-02 17:44:52 +01:00
daniele-verducci 3ec1c781d9 Spotless
Signed-off-by: daniele-verducci <[email protected]>
2026-11-02 17:42:07 +01:00
Daniele VerducciandAlper Öztürk fec574b981 Oneliner with null casting for setHasFooter
Co-authored-by: Alper Öztürk <[email protected]>
Signed-off-by: Daniele Verducci <[email protected]>
2026-11-02 16:24:48 +01:00
daniele-verducci 2fc9fa2807 Fixed empty view not triggered in Media due to EmptyRecyclerView still expecting a footer
Signed-off-by: daniele-verducci <[email protected]>
2026-11-02 16:24:48 +01:00
alperozturk96 9875eb5303 better translation
Signed-off-by: alperozturk96 <[email protected]>
2026-11-02 14:46:22 +03:00
alperozturk96 a0d9a0c3b6 add cancel button
Signed-off-by: alperozturk96 <[email protected]>
2026-11-02 14:46:22 +03:00
alperozturk96 e7fee59135 fix download cancel
Signed-off-by: alperozturk96 <[email protected]>
2026-11-02 14:46:22 +03:00
Alper Öztürk a1ed32bf7b Merge pull request #17933 from nextcloud/fix/lint
fix lint
2026-11-02 14:45:44 +03:00
alperozturk96 aef268c7d7 fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-11-02 12:36:22 +03:00
renovate[bot] 3b0f7bb0d4 Update ubuntu:resolute Docker digest to 6a06111 (#17930)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-02 06:54:25 +00:00
86bc3a62a4 Update androidPluginVersion to v9.5.0 (#17928)
* Update androidPluginVersion to v9.5.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix verification-metadata.xml

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Tobias Kaminsky <[email protected]>

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tobias Kaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tobias Kaminsky <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-02 06:47:34 +00:00
Alper Öztürk 9eadf8ed4d Merge pull request #17921 from nextcloud/fix/upload-activity-back-navigation
Fixed back navigation in upload screen
2026-11-02 09:19:05 +03:00
Nextcloud bot 3499350263 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-11-02 04:19:42 +00:00
Andy Scherzinger 3145d45531 Merge pull request #17927 from nextcloud/renovate/gradle-actions-6.x
Update gradle/actions action to v6.4.1
2026-11-01 15:43:23 +01:00
renovate[bot] fde49354af Update gradle/actions action to v6.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-01 14:40:08 +00:00
Nextcloud bot 6362bae384 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-11-01 03:54:54 +00:00
Nextcloud bot 23baa00e31 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-31 03:43:38 +00:00
daniele-verducci 0578c7299c Fixed back navigation in upload screen
Signed-off-by: daniele-verducci <[email protected]>
2026-10-30 19:27:59 +01:00
alperozturk96 6533ecd576 fix(file-list): flicker
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 17:01:20 +03:00
alperozturk96 8b491d86a8 remove dead code
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 16:08:44 +03:00
alperozturk96 54a8f0a495 fix(navigation): all files
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 16:01:08 +03:00
alperozturk96 01ce97e453 use correct variable name for request code
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 15:39:35 +03:00
Alper Öztürk 593d7e09fb Merge pull request #17725 from nextcloud/feat/remove-retrieve-last-version
feat(open-file): remove syncing dialog
2026-10-30 15:20:36 +03:00
Alper Öztürk 58ef1b9a6d Merge pull request #17910 from nextcloud/refactor/document-storage-provider-kotlin
refactor(document-storage-provider): kotlin
2026-10-30 15:16:33 +03:00
alperozturk96 908a7e3d05 fix ci
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:46:44 +03:00
alperozturk96 ddefc90ed8 get rid of magic number
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:44:06 +03:00
alperozturk96 4b6a7b0c59 resolve conflict
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:39:37 +03:00
alperozturk96 ce7f23d282 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:22:26 +03:00
alperozturk96 cc7a22e8b7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:22:26 +03:00
alperozturk96 0151b454a6 handle Image that isn't downloaded via -> fileOnItemClick -> previewImageWithSearchContext
Downloaded text file via -> fileOnItemClick -> previewFile -> startTextPreview
       Downloaded audio file via > fileOnItemClick -> previewFile -> startAudioPreview

Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:22:21 +03:00
alperozturk96 91af72e96c only sync when user get in directory
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:22:17 +03:00
alperozturk96 e0f7094c90 print results
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:22:14 +03:00
alperozturk96 10d1f99526 simplify startContentSynchronizations
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:22:13 +03:00
alperozturk96 a4f82c1df6 fix spotbugs: (This write of this shared primitive variable may not be visible to other threads)
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:22:12 +03:00
alperozturk96 bf430c7265 simplify openFile function
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:22:07 +03:00
alperozturk96 c17763d2c6 Check local eTag if it's outdated then run SynchronizeFileOperation else skip.
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/utils/extensions/OCFileExtensions.kt
2026-10-30 14:22:07 +03:00
alperozturk96 288c4d81d0 Only add when user open the folder first time not every 10 seconds.
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
2026-10-30 14:22:06 +03:00
alperozturk96 9d2c134bb7 reduce auto folder refresh to 10 seconds
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:21:56 +03:00
alperozturk96 2271bb9f35 use kotlin durations
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:21:56 +03:00
alperozturk96 db29c5d677 remove sync in progress dialog
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:21:56 +03:00
alperozturk96 b998db6394 add missing items for mFilesToSyncContents
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 14:21:55 +03:00
alperozturk96 3a82580828 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:37:05 +03:00
alperozturk96 cfb75c64e1 move logic inside enum
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:36:01 +03:00
alperozturk96 232fa2ea6e unify fab state logic
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
2026-10-30 13:35:58 +03:00
Alper Öztürk 3f73de97ef Merge pull request #17902 from nextcloud/refactor/file-display-activity
refactor(file-display-activity)
2026-10-30 13:34:49 +03:00
alperozturk96 84122f24e4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:29:54 +03:00
alperozturk96 93d1eeb8ce fix spotbugs and convert cursor implm to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:29:28 +03:00
alperozturk96 722823c9c4 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:29:28 +03:00
alperozturk96 60be5044ea use injections
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:29:28 +03:00
alperozturk96 ecefd79e91 optimize imports
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:29:28 +03:00
alperozturk96 528bd1f191 restructure package
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:29:28 +03:00
alperozturk96 ed2bfb4599 refactor(document-storage-provider): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:29:28 +03:00
alperozturk96 020edd6500 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-30 13:29:28 +03:00
renovate[bot] 26f565510d Update dependency com.google.code.gson:gson to v2.15.0 (#17894)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-30 09:29:26 +00:00
Tobias Kaminsky 8aefbb1d58 Merge pull request #17907 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.241.1
2026-10-30 09:28:30 +01:00
Nextcloud bot fb4cb3421f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-30 03:48:09 +00:00
Alper Öztürk cc16cd5075 Merge pull request #17860 from nextcloud/remove-confusion-for-e2ee-operations
refactor(get-public-key): rename to get certificate
2026-10-29 17:18:19 +03:00
alperozturk96 25efb018de update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 17:08:00 +03:00
alperozturk96 4fc858e987 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-10-29 17:02:36 +03:00
alperozturk96 97fe7e99e1 refactor(get-public-key): rename to get certificate
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-10-29 17:02:26 +03:00
Alper Öztürk 72483540ae Merge pull request #17841 from nextcloud/update-fastlane
build(fastlane): disable R8 optimization for release builds
2026-10-29 16:18:34 +03:00
Alper Öztürk 3348df5cf8 Merge pull request #17704 from nextcloud/fix/modification-date
fix(copy-upload): modification date
2026-10-29 16:13:47 +03:00
Alper Öztürk 58673046f2 Merge pull request #17890 from nextcloud/fix/document-storage-provider
fix(document-storage-provider): exceptions
2026-10-29 16:11:29 +03:00
renovate[bot] 62d234e059 Update dependency fastlane to v2.241.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-29 11:47:28 +00:00
Tobias Kaminsky a6a217cf9b Merge pull request #17904 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-10-29 12:45:37 +01:00
Tobias Kaminsky 6a0f80be69 Merge pull request #17903 from nextcloud/update-library-2026-10-29
Update library to 2026-10-29
2026-10-29 10:33:24 +01:00
nextcloud-android-bot 23f18c3f6d 🔄 synced local '.' with remote 'config/root/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-10-29 08:00:20 +00:00
nextcloud-android-bot c1ca00ec7b 🔄 synced local 'fastlane/' with remote 'config/fastlane/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-10-29 08:00:20 +00:00
nextcloud-android-bot 1e45fd05c1 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-10-29 08:00:20 +00:00
Tobias Kaminsky 101ad50866 Merge pull request #17868 from nextcloud/remove-codacy
chore: remove codacy
2026-10-29 08:48:35 +01:00
Tobias Kaminsky 24e07557ee Merge pull request #17898 from nextcloud/extractHashCheck
library hash check is extracted to daily check on server
2026-10-29 08:11:58 +01:00
Nextcloud Android Bot 28c97540f6 Update library to 2026-10-29
Signed-off-by: Nextcloud Android Bot <[email protected]>
2026-10-29 07:11:33 +00:00
alperozturk96 8f25744c93 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 09:25:18 +03:00
Alper Öztürk e85d31cc1c Merge pull request #17900 from nextcloud/fix/qrcode-login-when-no-enforced-servers
Fix QR login
2026-10-29 09:12:15 +03:00
alperozturk96 ec37270835 refactor
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 09:09:26 +03:00
alperozturk96 79a6424d74 refactor
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 09:09:00 +03:00
alperozturk96 54d67a271e increase long method to 120
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 08:49:43 +03:00
alperozturk96 9f8916e5d9 improve ContentUriLastModifiedResolver
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 08:45:02 +03:00
alperozturk96 e60810d66a add fallback to OS.fstat via ContentUriLastModifiedResolver
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 08:45:02 +03:00
alperozturk96 e038907f76 fix(copy-upload): modification date
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 08:45:02 +03:00
alperozturk96 fac406c2ec refactor document storage provider
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 08:43:50 +03:00
alperozturk96 e7f4dea232 fix null path and concurrent modification issue
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 08:43:50 +03:00
alperozturk96 a1da79b441 fix wrote
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 08:43:50 +03:00
alperozturk96 5241e7308c add more logs
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 08:43:50 +03:00
alperozturk96 d3f4305a87 check parent folder existance
Signed-off-by: alperozturk96 <[email protected]>
2026-10-29 08:43:50 +03:00
Nextcloud bot f9c3e5e617 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-29 03:50:00 +00:00
Andy Scherzinger e5117680ac Merge pull request #17876 from nextcloud/rakekniven-patch-2
fix(i18n): Fix typo in gallery unsupported file message
2026-10-28 20:33:51 +01:00
alperozturk96 bf09016f26 adopt latest changes from master
Signed-off-by: alperozturk96 <[email protected]>
2026-10-28 19:25:35 +03:00
alperozturk96 07488b2e8e build(fastlane): disable R8 optimization for release builds
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	fastlane/Fastfile
2026-10-28 19:21:24 +03:00
tobiasKaminsky 002c021319 library hash check is extracted to daily check on server
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-28 19:16:23 +03:00
Alper Öztürk 535e7b737b Merge pull request #17901 from nextcloud/fix/player-in-favorite
fix(player): in favorite
2026-10-28 19:13:33 +03:00
alperozturk96 c0d3da9368 fix(player): in favorite
Signed-off-by: alperozturk96 <[email protected]>
2026-10-28 16:57:13 +03:00
daniele-verducci ee6fa543a1 Fix QR login when enforced servers are not defined
Signed-off-by: daniele-verducci <[email protected]>
2026-10-28 14:43:24 +01:00
alperozturk96 119916bb03 refactor(error-message-adapter): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-28 16:37:46 +03:00
alperozturk96 11045a2549 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-28 16:37:46 +03:00
Alper Öztürk 4b7a08757d Merge pull request #17891 from nextcloud/refactor/authenticator-activity-kotlin
refactor(authenticator-activity): kotlin
2026-10-28 16:23:31 +03:00
Alper Öztürk 29ba77473b Merge pull request #17848 from nextcloud/fix/sharing-enforce-protection-for-public-links
fix(share): enforce protection for public links
2026-10-28 12:03:23 +03:00
alperozturk96 3fd412d838 split into child classes to simplify logic
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 19:35:35 +03:00
alperozturk96 5e02399b1c split into child classes to simplify logic
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 19:31:58 +03:00
alperozturk96 0b6bc33285 convert tests to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 19:31:42 +03:00
alperozturk96 a6b6e59d11 convert async task to coroutines
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 19:19:15 +03:00
alperozturk96 19cbac87c2 refactor(authenticator-activity): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 19:14:27 +03:00
alperozturk96 f0fb4a044c Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 19:14:26 +03:00
alperozturk96 9bff11a311 remove codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 16:18:07 +01:00
Alper Öztürk 0688788230 Merge pull request #17867 from nextcloud/refactor/unify-file-action
refactor(file-actions): unify preview fragments
2026-10-27 16:01:47 +01:00
alperozturk96 962de1d4c8 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 17:03:11 +03:00
alperozturk96 b194dee07b refactor PreviewTextFileFragment convert to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 17:03:11 +03:00
alperozturk96 a23160b4e4 refactor PreviewTextFileFragment convert to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 17:03:11 +03:00
alperozturk96 9f5dcd7116 refactor PreviewTextFileFragment convert to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 17:03:11 +03:00
alperozturk96 4057b4ccd1 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-27 17:03:11 +03:00
alperozturk96 632396f0f7 refactor(file-actions): unify preview fragments
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java
2026-10-27 17:03:11 +03:00
alperozturk96 9bf5602c2d refactor(file-actions): unify preview fragments
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/preview/media/PreviewMediaFragment.kt
2026-10-27 17:03:10 +03:00
Alper Öztürk 2e628d8f62 Merge pull request #17886 from nextcloud/refactor/oc-file-list-fragment-kotlin
refactor(oc-file-list-fragment): kotlin
2026-10-27 14:53:49 +01:00
Tobias Kaminsky a8c54accbd Merge pull request #17852 from nextcloud/feat/support-move-method
Implemented MOVE WebDAV method for SSO requests
2026-10-27 10:12:31 +01:00
Nextcloud bot 3679c7f2c2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-27 03:52:42 +00:00
alperozturk96 1d9bbe9c55 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-10-26 19:47:21 +03:00
alperozturk96 27f706f257 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-10-26 19:26:57 +03:00
alperozturk96 e25410438f refactor(oc-file-list-fragment): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-26 19:13:30 +03:00
alperozturk96 afb55de964 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-26 19:13:29 +03:00
renovate[bot]andTobias Kaminsky 2997278f40 Update dependency org.conscrypt:conscrypt-android to v2.8.0 (#17875)
* Update dependency org.conscrypt:conscrypt-android to v2.8.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tobias Kaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tobias Kaminsky <[email protected]>
2026-10-26 15:59:24 +00:00
Tobias Kaminsky 1795cde04f Merge pull request #17731 from nextcloud/extractFastlane
extract Fastlane
2026-10-26 16:40:19 +01:00
tobiasKaminsky 4ea5d865ce clarify semVer
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-26 16:18:08 +01:00
tobiasKaminsky 85604bbe85 extract Fastlane
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-26 16:18:05 +01:00
daniele-verducci 1984c94a85 Fix SpotBugs LITERAL_STRING_COMPARISON
Signed-off-by: daniele-verducci <[email protected]>
2026-10-26 14:10:57 +01:00
daniele-verducci c8bcb9c1d8 Implemented MOVE WebDAV method in InputStreamBinder to make it available trough Android-SingleSignOn lib
Signed-off-by: daniele-verducci <[email protected]>
2026-10-26 13:07:53 +01:00
Alper Öztürk 71c112b0d4 Merge pull request #17866 from nextcloud/feat/provide-long-name-in-file-action-bottom-sheet
feat(file-actions): show long file names on up to three lines
2026-10-26 12:50:49 +01:00
Tobias Kaminsky 9f73851e5f Merge pull request #17882 from nextcloud/update-library-2026-10-26_2
Update library to 2026-10-26
2026-10-26 12:45:43 +01:00
Alper Öztürk 3b653e73f1 Merge pull request #17870 from nextcloud/adjust-detekt
chore(detekt): relax rules and drop obsolete suppressions
2026-10-26 11:59:50 +01:00
renovate[bot]andTobias Kaminsky bc844bc023 Update dependency androidx.webkit:webkit to v1.18.0 (#17879)
* Update dependency androidx.webkit:webkit to v1.18.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix verification-metadata.xml

Signed-off-by: Tobias Kaminsky <[email protected]>

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tobias Kaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tobias Kaminsky <[email protected]>
2026-10-26 10:31:25 +00:00
renovate[bot] 72ba1d8d46 Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.12.0 (#17872)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-26 10:50:07 +01:00
daniele-verducci 516934fc91 Update library to 2026-10-26
Signed-off-by: daniele-verducci <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-26 10:33:33 +01:00
Tobias Kaminsky 2804ff620f Merge pull request #17877 from nextcloud/renovate/firebasemessagingversion
Update dependency com.google.firebase:firebase-messaging to v26.0.1
2026-10-26 08:42:51 +01:00
Tobias Kaminsky 05d28f8872 Merge pull request #17871 from nextcloud/renovate/gradle-9.x
Update Gradle to v9.8.2
2026-10-26 08:42:13 +01:00
Nextcloud bot 0bbf14e92c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-26 03:54:11 +00:00
Andy Scherzinger eacb7e4dc0 Merge pull request #17878 from nextcloud/renovate/github-codeql-action-4.x
Update github/codeql-action action to v4.39.1
2026-10-25 22:05:50 +01:00
renovate[bot] 7ba1a758b8 Update github/codeql-action action to v4.39.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-25 18:39:38 +00:00
renovate[bot] e12b988158 Update dependency com.google.firebase:firebase-messaging to v26.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-25 18:39:24 +00:00
rakekniven 7cc0c88983 fix(i18n): Fix typo in gallery unsupported file message
Reported at Transifex

Signed-off-by: rakekniven <[email protected]>
2026-10-25 18:03:27 +01:00
Nextcloud bot 364883a6ec fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-25 04:17:57 +00:00
Ruby20-50 7a5c48a9f0 Add unit tests for DateFormatPattern
Format a fixed date with each pattern and compare the result with the example given in the pattern's documentation.

Signed-off-by: Ruby20-50 <[email protected]>
2026-10-24 10:56:46 +02:00
Nextcloud bot cae2070490 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-24 03:49:12 +00:00
renovate[bot] 54e6dd4432 Update Gradle to v9.8.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-23 18:30:38 +00:00
alperozturk96 8b3f38c610 chore(detekt): relax rules and drop obsolete suppressions
Signed-off-by: alperozturk96 <[email protected]>
2026-10-23 12:01:50 +02:00
Alper Öztürk d57fdc8981 Merge pull request #17869 from nextcloud/fix/lint
fix lint
2026-10-23 11:46:41 +02:00
alperozturk96 5a761b28f3 fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-10-23 11:27:34 +02:00
Tobias Kaminsky 580b4203a2 Merge pull request #17737 from nextcloud/renovate/spotless
Update dependency com.diffplug.spotless to v8.10.4
2026-10-23 10:01:31 +02:00
Tobias Kaminsky dd64c29490 Merge pull request #17820 from nextcloud/renovate/juniversalchardetversion
Update dependency com.github.albfernandez:juniversalchardet to v2.5.1
2026-10-23 10:01:14 +02:00
Tobias Kaminsky 868922abcd Merge pull request #17859 from nextcloud/renovate/ubuntu-26.x
Update dependency ubuntu to v26
2026-10-23 10:01:01 +02:00
Tobias Kaminsky 83727c2834 Merge pull request #17779 from nextcloud/renovate/ical4jversion
Update dependency org.mnode.ical4j:ical4j to v4.4.0
2026-10-23 09:03:59 +02:00
tobiasKaminsky 866709070e fix kvm
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-23 08:50:15 +02:00
renovate[bot] 760f573edb Update dependency ubuntu to v26
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-23 08:48:26 +02:00
Nextcloud bot f15b2f9dc4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-23 03:55:00 +00:00
alperozturk96 6558f45f6e fix error: cannot find symbol
import androidx.lifecycle.ProcessLifecycleOwner;

Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 16:15:05 +02:00
alperozturk96 2bbb2d386e abi optimization for build and remove data binding and is fork
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 15:29:45 +02:00
alperozturk96 40a4a27fe4 disable data binding
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 15:24:12 +02:00
Alper Öztürk c4932a7046 Merge pull request #17864 from nextcloud/refactor/unify-file-actions
refactor(file-actions): unify
2026-10-22 14:42:30 +02:00
Alper Öztürk 4f732286bb Merge pull request #17865 from nextcloud/fix/file-list-update
fix(file-list): renew after upload
2026-10-22 14:36:24 +02:00
alperozturk96 741a9eea3e use in file actions bottom sheet
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 14:30:39 +02:00
alperozturk96 af2643eee2 introduce reusable filenameview
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 14:30:31 +02:00
alperozturk96 9a73d3a712 fix(file-list): renew after upload
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 11:40:59 +02:00
alperozturk96 6e49655948 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 10:35:53 +02:00
alperozturk96 2d61551c8a simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 10:05:38 +02:00
alperozturk96 f1e4f35abe migrate oc file list fragment
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 10:01:39 +02:00
Alper Öztürk 6e7bbf4178 Merge pull request #17842 from nextcloud/observe-file-downloads-in-folder
feat(folder-download): observe file downloads
2026-10-22 09:46:08 +02:00
alperozturk96 347cf282ba migrate file detail actions to file action handler
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 09:26:12 +02:00
Alper Öztürk 5cfdf3089f Merge pull request #17850 from nextcloud/refactor/web-view-util
refactor(web-view-util): use proxy controller
2026-10-22 09:02:12 +02:00
alperozturk96 b5ec4f4769 use app consts
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 08:57:07 +02:00
alperozturk96 d87ea8dd3a fix dir observation
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 08:57:07 +02:00
alperozturk96 c621738ae7 fix icon changes
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 08:57:07 +02:00
alperozturk96 d98ce8454c set current folder id
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 08:57:07 +02:00
alperozturk96 8f9cb4f7a9 add file download progress in current folder sync
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 08:57:07 +02:00
alperozturk96 56ee9fdb43 use worker instead local broadcast manager
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 08:57:07 +02:00
Alper Öztürk b68e602800 Merge pull request #17826 from nextcloud/fix/internal-105127
Fix local/remote image file comparison
2026-10-22 08:55:45 +02:00
Alper Öztürk 71881954dc Merge pull request #17851 from nextcloud/refactor/resized-image-generation-task
refactor(thumbail-cache-manager): resized image generation
2026-10-22 08:52:41 +02:00
alperozturk96 8ff8cd8be1 fix kotlin spotless bug
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 08:27:54 +02:00
alperozturk96 760bd4d79d fix kotlin spotless bug
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 08:25:03 +02:00
daniele-verducci ceb1d38c48 Wait for proxy only if there's a proxy configured
Signed-off-by: daniele-verducci <[email protected]>
2026-10-22 08:20:03 +02:00
alperozturk96 28a8672443 refactor(web-view-util): use ProxyController
Signed-off-by: alperozturk96 <[email protected]>
2026-10-22 08:20:03 +02:00
Nextcloud bot 671c4df2d3 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-22 03:48:09 +00:00
daniele-verducci 332f6f58ce Refactored tests
Signed-off-by: daniele-verducci <[email protected]>
2026-10-21 17:15:33 +02:00
alperozturk96 62e06864a1 rebase
Signed-off-by: alperozturk96 <[email protected]>
2026-10-21 17:15:33 +02:00
daniele-verducci 5d84351639 Implemented tests
Signed-off-by: daniele-verducci <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/utils/extensions/RemoteFileExtensions.kt
2026-10-21 17:15:33 +02:00
daniele-verducci 300eb6fd4c Fix: areImageDimensionsSame remote file check is now symmetric to local one (it doesn't fail when dimensions are unknown)
Signed-off-by: daniele-verducci <[email protected]>
2026-10-21 17:15:33 +02:00
Alper Öztürk 6645a685d4 Merge pull request #17863 from nextcloud/update-library-2026-10-21
Updated android-library
2026-10-21 17:12:29 +02:00
daniele-verducci c586fecd3e Updated android-library
Signed-off-by: daniele-verducci <[email protected]>
2026-10-21 17:06:22 +02:00
alperozturk96 75c655a544 replace deprecated api with display metrics
Signed-off-by: alperozturk96 <[email protected]>
2026-10-21 16:55:14 +02:00
alperozturk96 e00baeca70 deduplicate display size logic
Signed-off-by: alperozturk96 <[email protected]>
2026-10-21 16:55:14 +02:00
alperozturk96 9a331f76f0 refactor(thumbail-cache-manager): resized image generation
Signed-off-by: alperozturk96 <[email protected]>
2026-10-21 16:55:14 +02:00
alperozturk96 2c2c8cd1b9 remove dead code
Signed-off-by: alperozturk96 <[email protected]>
2026-10-21 16:54:36 +02:00
Alper Öztürk 3f9d8d4878 Merge pull request #17844 from nextcloud/refactor/file-detail-fragment-kotlin
refactor(file-detail-fragment): kotlin
2026-10-21 16:53:03 +02:00
Alper Öztürk a2596d220c Merge pull request #17824 from nextcloud/improve-login-flow
Improve login flow
2026-10-21 16:51:16 +02:00
Alper Öztürk e0630f0bed Merge pull request #17854 from nextcloud/feat/navigator-synced-folders-activity
feat(navigator): synced folder activity
2026-10-21 15:21:28 +02:00
alperozturk96 ab74cf7ba2 feat(navigator): synced folder activity
Signed-off-by: alperozturk96 <[email protected]>
2026-10-21 14:37:31 +02:00
alperozturk96 9703cb10ad feat(navigator): synced folder activity
Signed-off-by: alperozturk96 <[email protected]>
2026-10-21 14:37:31 +02:00
alperozturk96 8d149f3a00 feat(navigator): synced folder activity
Signed-off-by: alperozturk96 <[email protected]>
2026-10-21 14:37:31 +02:00
alperozturk96 43b3ba870f feat(navigator): synced folder activity
Signed-off-by: alperozturk96 <[email protected]>
2026-10-21 14:37:31 +02:00
Alper Öztürk f738ac0621 Merge pull request #17840 from nextcloud/refactor/resolve-naming-confusion
refactor(preview): structure, naming
2026-10-21 11:24:53 +02:00
Alper Öztürk df13e8b5cd Merge pull request #17853 from nextcloud/refactor/reorganize-package-structure
refactor: reorganize dialog package structure
2026-10-21 11:19:27 +02:00
Tobias Kaminsky ee9b8b5380 fix(ical4j): match nullable getTzId() return type from ical4j 4.4.0
ical4j 4.4.0 annotates TimeZoneRegistry.getTzId() as @Nullable (it can
return null when the zone id has no mapping). Update the override to
match, fixing a Kotlin compile error introduced by the ical4j bump.

Signed-off-by: Tobias Kaminsky <[email protected]>
2026-10-21 11:07:47 +02:00
Tobias Kaminsky 12d5fc543f fix verification-metadata.xml
Signed-off-by: Tobias Kaminsky <[email protected]>
2026-10-21 10:30:46 +02:00
Tobias Kaminsky e74ed7f033 fix verification-metadata.xml
Signed-off-by: Tobias Kaminsky <[email protected]>
2026-10-21 10:30:43 +02:00
tobiasKaminsky 37c595bae9 fix verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-21 09:31:51 +02:00
tobiasKaminsky b45f336aef fix verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-21 09:11:52 +02:00
renovate[bot] b819e8081f Update dependency com.github.albfernandez:juniversalchardet to v2.5.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 09:11:49 +02:00
renovate[bot] cd3cee246b Update dependency org.mnode.ical4j:ical4j to v4.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 09:10:42 +02:00
tobiasKaminsky 872bf3f95a fix verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-21 09:04:03 +02:00
renovate[bot] 10cd0fa39a Update dependency com.diffplug.spotless to v8.10.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 09:04:03 +02:00
renovate[bot]andtobiasKaminsky 844c268e01 Update dependency androidx.annotation:annotation to v1.11.0 (#17721)
* Update dependency androidx.annotation:annotation to v1.11.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tobiasKaminsky <[email protected]>
2026-10-21 06:35:15 +00:00
Tobias Kaminsky 6ad4226d37 Merge pull request #17858 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to c098726
2026-10-21 08:02:38 +02:00
Tobias Kaminsky f790ef71a9 Merge pull request #17720 from nextcloud/renovate/webkitversion
Update dependency androidx.webkit:webkit to v1.17.1
2026-10-21 08:02:03 +02:00
renovate[bot] b8c4886a57 Update ubuntu:resolute Docker digest to c098726
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 05:46:34 +00:00
Tobias Kaminsky 4e5ce14e26 Merge pull request #17673 from nextcloud/renovate/major-androidcommonlibraryversion
Update androidCommonLibraryVersion to (major)
2026-10-21 07:44:55 +02:00
renovate[bot] 86bf8ce18b Update actions/setup-java action to v6.1.0 (#17857)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 05:20:26 +00:00
Nextcloud bot 8174f063c6 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-21 03:39:01 +00:00
renovate[bot] d510714670 Update dependency com.google.android.gms:play-services-base to v18.11.1 (#17855)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-20 19:45:58 +00:00
alperozturk96 196853c84c refactor: reorganize dialog package structure
Signed-off-by: alperozturk96 <[email protected]>
2026-10-20 13:36:03 +02:00
renovate[bot]andtobiasKaminsky c6551ff3f5 Update dependency com.github.spotbugs to v6.5.12 (#17747)
* Update dependency com.github.spotbugs to v6.5.13

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tobiasKaminsky <[email protected]>
2026-10-20 10:23:22 +00:00
renovate[bot]andtobiasKaminsky 665b42d027 Update kotlin monorepo to v2.4.21 (#17831)
* Update kotlin monorepo to v2.4.21

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tobiasKaminsky <[email protected]>
2026-10-20 10:20:09 +00:00
tobiasKaminsky b757fdd662 fix verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-20 10:56:21 +02:00
tobiasKaminsky 8ed232923a fix verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-20 10:51:43 +02:00
renovate[bot]andtobiasKaminsky d9ba67eb05 Update dependency com.google.firebase:firebase-messaging to v26 (#17833)
* Update dependency com.google.firebase:firebase-messaging to v26

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tobiasKaminsky <[email protected]>
2026-10-20 08:40:34 +00:00
alperozturk96 d034ef94ad fix double duplicate snackbar
Signed-off-by: alperozturk96 <[email protected]>
2026-10-20 08:54:00 +02:00
alperozturk96 4f4e403fd7 add better error message for weak password
Signed-off-by: alperozturk96 <[email protected]>
2026-10-20 08:47:31 +02:00
alperozturk96 9bf6a7be02 fix enforce password check
Signed-off-by: alperozturk96 <[email protected]>
2026-10-20 08:41:11 +02:00
Alper Öztürk 6003baf295 Merge pull request #17796 from nextcloud/feat/show-unsupported-files-in-media
feat(gallery): indicate unsupported media
2026-10-20 07:34:57 +02:00
alperozturk96 4082cc635d refactor(file-detail-fragment): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-20 07:33:53 +02:00
alperozturk96 e2c412c0d4 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-20 07:33:53 +02:00
Alper Öztürk 1a747ce089 Merge pull request #17847 from nextcloud/upgrade-lib
update android lib
2026-10-20 07:33:30 +02:00
alperozturk96 f7040b4f6a update android lib
Signed-off-by: alperozturk96 <[email protected]>
2026-10-20 07:33:05 +02:00
Alper Öztürk 7b9ec18ded Merge pull request #17843 from nextcloud/refactor/app-constants
refactor(app): time constants
2026-10-20 07:23:22 +02:00
Nextcloud bot 6c9e7d4cae fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-20 03:50:24 +00:00
alperozturk96 8636d2f589 refactor(app): time constants
Signed-off-by: alperozturk96 <[email protected]>
2026-10-19 15:16:02 +02:00
alperozturk96 2b7002e8df update unsupported text
Signed-off-by: alperozturk96 <[email protected]>
2026-10-19 15:11:54 +02:00
alperozturk96 8671504052 move view logic to the xmls
Signed-off-by: alperozturk96 <[email protected]>
2026-10-19 15:09:59 +02:00
alperozturk96 18e9648ac3 use gallery cell instead of introducing another index
Signed-off-by: alperozturk96 <[email protected]>
2026-10-19 15:09:59 +02:00
alperozturk96 26fafa3dd4 feat(gallery): indicate unsupported media
Signed-off-by: alperozturk96 <[email protected]>
2026-10-19 15:09:58 +02:00
alperozturk96 f0086b64f3 refactor(preview): package structure
Signed-off-by: alperozturk96 <[email protected]>
2026-10-19 09:38:24 +02:00
alperozturk96 1e674fcc10 refactor(preview): image rename to media
Signed-off-by: alperozturk96 <[email protected]>
2026-10-19 09:34:27 +02:00
Alper Öztürk 0ae8a0be73 Merge pull request #17830 from nextcloud/fix/17825-video-player-timeout-fullscreen
Video player: fullscreen now hides system status bar, keep screen on while video is playing
2026-10-19 09:31:16 +02:00
Nextcloud bot c7545d8c80 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-19 03:48:58 +00:00
Nextcloud bot ef4a2de0d2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-18 03:50:10 +00:00
Nextcloud bot 908900dd66 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-17 03:52:50 +00:00
Andy Scherzinger 987bfcd7fa Merge pull request #17832 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.241.0
2026-10-16 18:48:53 +02:00
renovate[bot] 3e2b6489ba Update dependency fastlane to v2.241.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-16 16:02:56 +00:00
daniele-verducci bf6a0ce441 Keep screen on while video is playing
Signed-off-by: daniele-verducci <[email protected]>
2026-10-16 17:14:24 +02:00
daniele-verducci cce5f77c63 Video/Image player: hide all system bars when going fullscreen instead of leaving the top system bar in place
Signed-off-by: daniele-verducci <[email protected]>
2026-10-16 17:14:24 +02:00
Andy Scherzinger 0dc932709a Merge pull request #17829 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-10-16 09:05:44 +02:00
nextcloud-android-bot 9d78e7267a 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-10-16 06:43:15 +00:00
Nextcloud bot b2fb75b4bd fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-16 03:51:47 +00:00
Nextcloud bot bbd7357654 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-15 04:16:56 +00:00
Alper Öztürk 011255c972 Merge pull request #17810 from nextcloud/fix/better-file-detail-spacing-for-small-screen-devices
fix(file-detail): better spacing
2026-10-14 14:25:38 +02:00
alperozturk96 7c7582e82f fix padding
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 13:41:07 +02:00
alperozturk96 d8a2540c0c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 13:41:07 +02:00
alperozturk96 e256e4318b add HeaderFirstNestedScrollView
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
#	app/src/main/res/layout/file_details_fragment.xml
2026-10-14 13:41:07 +02:00
alperozturk96 0650bf63ab adds more logs to clearly follow execution flow in the logs
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 13:28:42 +02:00
alperozturk96 667bbeda96 use kotlinx instead of gson
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 13:28:42 +02:00
alperozturk96 a6abcbe2a6 handle restore pending login flow and cancel button
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 13:28:42 +02:00
Alper Öztürk 03e831918a Merge pull request #17789 from nextcloud/fix/glide-usage
fix(glide): usages
2026-10-14 13:04:59 +02:00
Alper Öztürk d1c4ae1de3 Merge pull request #17809 from nextcloud/fix/avatar-different-share-types
fix(avatar): different share
2026-10-14 12:38:18 +02:00
alperozturk96 c982815607 make widget images rounded as well
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 11:25:21 +02:00
alperozturk96 cf9afed442 fix kotlin spotless
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 11:15:45 +02:00
alperozturk96 cc3fb27b0e handle picture drawable as well
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 11:15:45 +02:00
alperozturk96 0f5f56b93b add monochrome icon support and use correct size for unified search
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 11:15:45 +02:00
alperozturk96 53e60b0fa8 update glide
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 11:15:45 +02:00
alperozturk96 0e397e5d84 update widget calls
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 11:15:45 +02:00
alperozturk96 8658c63852 unify widget icon sizes
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 11:15:45 +02:00
alperozturk96 a967b60773 decode SVG
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 11:15:45 +02:00
alperozturk96 3340a6ed14 update item id for downloaded files because FragmentStateAdapter.java relies on item id to remove and replace
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 11:15:45 +02:00
Alper Öztürk 0cb643efb0 Merge pull request #17618 from nextcloud/feature/create-folder-during-upload
Use new auto folder creation feture available since Nextcloud 32
2026-10-14 11:00:34 +02:00
Alper Öztürk e214663082 Merge pull request #17814 from nextcloud/refactor/oc-file-list-adapter-kotlin
refactor(oc-file-list-adapter): kotlin
2026-10-14 11:00:05 +02:00
alperozturk96 4160bc1783 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 09:46:25 +02:00
daniele-verducci f2d0e0264b Create local folders metadata to reflect server's auto folder creation
Signed-off-by: daniele-verducci <[email protected]>
2026-10-14 09:46:25 +02:00
daniele-verducci 8dff5cc6dd Moved dir tree creation to extensions (automatic java to kotlin conversion)
Signed-off-by: daniele-verducci <[email protected]>
2026-10-14 09:46:25 +02:00
daniele-verducci f7981451a5 Rebased
Signed-off-by: daniele-verducci <[email protected]>
2026-10-14 09:46:25 +02:00
daniele-verducci 04f93eaae9 Use isOlderThan on capabilities for code readability
Signed-off-by: daniele-verducci <[email protected]>
2026-10-14 09:46:25 +02:00
daniele-verducciandAlper Öztürk b30b420815 Apply suggestion from @alperozturk96
Co-authored-by: Alper Öztürk <[email protected]>
Signed-off-by: daniele-verducci <[email protected]>
2026-10-14 09:46:25 +02:00
daniele-verducci e75ce43d96 Working new auto folder creation feature on uploads
Signed-off-by: daniele-verducci <[email protected]>
2026-10-14 09:46:25 +02:00
daniele-verducci 6e74ab5625 Updated android-library
Signed-off-by: daniele-verducci <[email protected]>
2026-10-14 09:46:25 +02:00
daniele-verducci 0cf019d3a3 feature/create-folder-during-upload: use new auto folder creation feature
Signed-off-by: daniele-verducci <[email protected]>
2026-10-14 09:46:25 +02:00
alperozturk96 2ffd6b8c8f add folder mark favorite action
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 09:14:03 +02:00
alperozturk96 cec4525b64 fix spotless check
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 09:12:02 +02:00
alperozturk96 17fc711976 use kt extension and simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 09:12:02 +02:00
alperozturk96 ce5625c831 reorganize package
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 09:12:01 +02:00
alperozturk96 83636b97af simplify adapter
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 09:12:01 +02:00
alperozturk96 bba721124e extract item binder
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 09:12:01 +02:00
alperozturk96 476a76d6b8 convert java to kotlin
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.kt
2026-10-14 09:11:59 +02:00
alperozturk96 d6a98618c3 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-14 09:11:50 +02:00
Alper Öztürk 0699d5ae14 Merge pull request #17817 from nextcloud/feat/current-folder-actions
Add folder actions for folder you are currently in
2026-10-14 08:58:34 +02:00
Nextcloud bot 552e8bdf50 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-14 03:52:00 +00:00
Andy Scherzinger 1d438a3e73 Merge pull request #17819 from nextcloud/renovate/actions-upload-artifact-7.x
Update actions/upload-artifact action to v7.0.2
2026-10-13 17:33:59 +02:00
renovate[bot] 93533a04ba Update actions/upload-artifact action to v7.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-13 14:53:31 +00:00
Andy Scherzinger 1a6def2bf7 Merge pull request #17818 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to f144425
2026-10-13 16:52:21 +02:00
alperozturk96 9fba721686 remove tests since its visible ui action
Signed-off-by: alperozturk96 <[email protected]>
2026-10-13 15:29:36 +02:00
alperozturk96 5817deeae1 revert file download indicator since out of scope of the feature and for folder download worker can cause issue
Signed-off-by: alperozturk96 <[email protected]>
2026-10-13 15:28:46 +02:00
Jan C. Borchardt ca1cbb3b02 fix(files): hide synced icon after deleting local copy
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Jan C. Borchardt <[email protected]>
2026-10-13 15:02:25 +02:00
Jan C. Borchardt 5055c412b9 feat(files): show syncing icon on files while folder downloads
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Jan C. Borchardt <[email protected]>
2026-10-13 15:02:25 +02:00
Jan C. Borchardt f34b77a3e3 fix(files): avoid list shift when opening details
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Jan C. Borchardt <[email protected]>
2026-10-13 15:02:25 +02:00
Jan C. Borchardt 6d53ce0cfe feat(files): show actions for current folder in toolbar
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Jan C. Borchardt <[email protected]>
2026-10-13 15:02:25 +02:00
renovate[bot] 9d3ffcf897 Update androidCommonLibraryVersion to
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-13 11:20:46 +00:00
renovate[bot] 3793bf6347 Update dependency androidx.webkit:webkit to v1.17.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-13 11:16:53 +00:00
renovate[bot] 78477765f6 Update ubuntu:resolute Docker digest to f144425
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-13 11:15:41 +00:00
Andy Scherzinger 5b2987a33c Merge pull request #17712 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-10-13 13:03:26 +02:00
nextcloud-android-bot ff3d84047d 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-10-13 08:57:15 +00:00
Alper Öztürk 80e5b36bdb Merge pull request #17598 from nextcloud/internalTwoWaySyncUploadNewFiles
Internal two way sync upload new files
2026-10-13 09:50:21 +02:00
alperozturk96 c2c3f501b4 fix rest uploads
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 18:37:07 +02:00
alperozturk96 6dc1152bfb fix updated upload
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 18:33:54 +02:00
alperozturk96 4e316e3dc2 fix move operation
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:45:22 +02:00
alperozturk96 f18d1c3a6e add tests for edge case
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 566df060ab check remote file as well for is file delete
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 e2049a5554 add comment for isFolderDeletedLocally
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 e56c8db76c rename function for storage path that needed two way sync
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 f3cb156b53 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 dd73b46c31 refactor test and prevent lock error on text file thus we can test
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 a152a84fdd handle parent folder deletion
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 29ea643e7c handle parent folder deletion and fix spotbugs
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 528b3ee64f handle if server: creates new folder
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 5bb355b7e6 use UploadFileOperationFactory
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
alperozturk96 a4b898d2eb use TwoWaySyncOperation.kt instead bloat SynchronizeFolderOperation.java
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 14:34:41 +02:00
tobiasKaminsky bab01b771d Internal two way sync: upload new created files/folders
Signed-off-by: tobiasKaminsky <[email protected]>
2026-10-12 14:34:41 +02:00
tobiasKaminsky 205b2bbed6 Internal two way sync: upload new created files/folders
Signed-off-by: tobiasKaminsky <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/operations/SynchronizeFolderOperation.java
#	app/src/main/res/values/strings.xml
2026-10-12 14:34:41 +02:00
Alper Öztürk 404ddc5d33 Merge pull request #17785 from nextcloud/perf/replace-file-download-progress-event-bus
perf(file-detail-fragment): replace event bus with worker observation
2026-10-12 13:48:21 +02:00
Alper Öztürk 91679d412c Merge pull request #17791 from nextcloud/refactor/upload-file-operation-file-resolver
refactor(upload-file-operation): upload file resolver
2026-10-12 13:25:19 +02:00
Alper Öztürk 72d1790067 Merge pull request #17786 from nextcloud/perf/bitmap-usage
perf(bitmap): recycle
2026-10-12 13:24:36 +02:00
Alper Öztürk 9353b3a6c5 Merge pull request #17782 from nextcloud/refactor/upload-files-activity-kotlin
refactor(upload-list-activity): kotlin
2026-10-12 13:09:27 +02:00
alperozturk96 a614acf845 update callers
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 13:08:22 +02:00
alperozturk96 a525105706 add agent skills for further migrations
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 13:04:38 +02:00
alperozturk96 1ad8aba3b8 update file detail fragment and make progress bar m3
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/fragment/FileDetailFragment.java
2026-10-12 13:04:36 +02:00
alperozturk96 9320e84118 use new listening approach in worker
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 13:04:29 +02:00
alperozturk96 2deb2c91ad add new view model for the proper observation
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 13:04:29 +02:00
alperozturk96 f0fb847048 remove dead file download progress listener
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 13:04:29 +02:00
alperozturk96 04fb3fbdb9 remove event bus for file download progress observation
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 13:04:29 +02:00
alperozturk96 50c65ca6af expose file download job tag
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 13:04:27 +02:00
Alper Öztürk ef0edb231a Merge pull request #17699 from nextcloud/r8_minify
Enable app optimization with R8
2026-10-12 12:58:52 +02:00
Alper Öztürk e8d681ddc4 Merge pull request #17668 from nextcloud/perf/file-list-adapter-diff-util
perf(file-list): diff util
2026-10-12 12:51:36 +02:00
Alper Öztürk 8e70c23cde Merge pull request #17783 from nextcloud/perf/push-config-state-kotlinx
perf(push-configuration-state): gson to kotlinx.serialization
2026-10-12 12:50:08 +02:00
alperozturk96 5a8619989b update tests
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 12:49:23 +02:00
alperozturk96 44fa66237d fix build
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 12:47:48 +02:00
alperozturk96 cccf7fdc71 perf(bitmap): usage
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
2026-10-12 12:47:48 +02:00
alperozturk96 db6ae7b7d1 update updateOCFile
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 12:47:13 +02:00
alperozturk96 29a3ed51a3 update updateOCFile
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 12:47:01 +02:00
alperozturk96 1270ead7a8 add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 12:46:06 +02:00
alperozturk96 db867e39a5 refactor(upload-file-operation): upload file resolver
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java
2026-10-12 12:46:04 +02:00
Alper Öztürk 1a2a120432 Merge pull request #17793 from nextcloud/refactor/file-storage-utils-kotlin
refactor(file-storage-utils): kotlin
2026-10-12 12:44:14 +02:00
Alper Öztürk 3977f81b56 Merge pull request #17788 from nextcloud/refactor/media-thumbnail-generation-task
refactor(media-thumbnail-generation): kotlin
2026-10-12 12:07:40 +02:00
Alper Öztürk 1f15aa8cd1 Merge pull request #17790 from nextcloud/refactor/client-factory
refactor(client-repository)
2026-10-12 12:01:51 +02:00
Alper Öztürk a0fc66049c Merge pull request #17795 from nextcloud/feat/folder-preview
feat(file-details): previews
2026-10-12 11:46:21 +02:00
alperozturk96 35fae4cc92 simplify AvatarGroupLayout
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 11:44:44 +02:00
alperozturk96 164d26d61c simplify FilesSpecificViewThemeUtils
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 11:44:44 +02:00
alperozturk96 cb62c4c18f fix
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 11:44:44 +02:00
Alper Öztürk 0567e55aff Merge pull request #17347 from MaqsudMallick/fix/missing-branch-path-for-email-appid-in-profile-bottom-sheet
fix(profile): handle "email" appId so Send email button works
2026-10-12 11:04:25 +02:00
Alper Öztürk 11d63de493 Merge pull request #17769 from nextcloud/fix-tests-config
Fix tests server data configuration for local dev
2026-10-12 10:04:34 +02:00
Alper Öztürk 92a52e604f Merge pull request #17799 from nextcloud/update-library-2026-10-11
Update library to 2026-10-11
2026-10-12 10:03:07 +02:00
Alper Öztürk 1300cc2bb9 Merge pull request #17803 from nextcloud/fix/garm-upload-it
fix(garm): upload it
2026-10-12 09:59:33 +02:00
Alper Öztürk 1e7b48f650 Merge pull request #17728 from nextcloud/renovate/gradle-9.x
chore(deps): update gradle to v9.8.1
2026-10-12 09:27:34 +02:00
alperozturk96 0887263fbf fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 09:24:41 +02:00
alperozturk96 357e9853e5 convert UploadIT to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 09:22:08 +02:00
alperozturk96 51333d98c7 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 09:22:07 +02:00
alperozturk96 14f81c5355 fix tests
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 09:22:00 +02:00
daniele-verducci 9030fe1566 Fix tests server data configuration for local dev
Signed-off-by: daniele-verducci <[email protected]>
2026-10-12 09:20:56 +02:00
alperozturk96 f27d363c75 verify metadata
Signed-off-by: alperozturk96 <[email protected]>
2026-10-12 09:16:57 +02:00
Nextcloud Android Bot 5ea8fe796c Update library to 2026-10-11
Signed-off-by: Nextcloud Android Bot <[email protected]>
2026-10-12 09:16:03 +02:00
Nextcloud bot c62e197b2c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-12 03:56:42 +00:00
renovate[bot] 1a1235e1fa chore(deps): update gradle to v9.8.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-11 20:24:17 +00:00
alperozturk96 13ef964855 feat(file-details): previews
Signed-off-by: alperozturk96 <[email protected]>
2026-10-09 12:13:39 +02:00
Alper Öztürk 1ae824cc88 Merge pull request #17794 from nextcloud/fix/garm-5
fix(garm): drawer activity it
2026-10-09 10:19:16 +02:00
alperozturk96 88864ca81a fix(garm): drawer activity it
Signed-off-by: alperozturk96 <[email protected]>
2026-10-09 08:58:43 +02:00
alperozturk96 c9e961b319 logs errors
Signed-off-by: alperozturk96 <[email protected]>
2026-10-09 08:50:02 +02:00
alperozturk96 8033e7ea63 refactor(file-storage-utils): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-09 08:47:17 +02:00
alperozturk96 e00b7c3224 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-09 08:47:16 +02:00
Alper Öztürk 1b08c2f19e Merge pull request #17445 from about2crash/fix-drawer-external-links
fix(drawer): external site links no longer stop working over time
2026-10-09 08:09:30 +02:00
Alper Öztürk d02abe4d74 Merge branch 'master' into fix-drawer-external-links 2026-10-08 15:28:28 +02:00
about2crash e6d5ef66a7 refactor(drawer): simplify external link click handling
Extract opening the link into openExternalLink() as suggested in review.

Signed-off-by: about2crash <[email protected]>
2026-10-08 15:07:55 +02:00
alperozturk96 a880fd267e deprecate ClientFactory
Signed-off-by: alperozturk96 <[email protected]>
2026-10-08 14:34:21 +02:00
alperozturk96 49dcfdb270 update AGENTS.md fur further usages
Signed-off-by: alperozturk96 <[email protected]>
2026-10-08 14:32:42 +02:00
alperozturk96 824dedfbb7 use ClientRepository in AlbumItemsFragment for future reference
Signed-off-by: alperozturk96 <[email protected]>
2026-10-08 14:19:44 +02:00
alperozturk96 8ccdb9b75d inject dependencies for the remote client repository
Signed-off-by: alperozturk96 <[email protected]>
2026-10-08 14:17:10 +02:00
alperozturk96 6817b9ef06 refactor(media-thumbnail-generation): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-08 12:24:35 +02:00
Nextcloud bot 8c528d1150 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-08 04:15:52 +00:00
alperozturk96 b84b9fae6e update usage of the new push configuration data classes
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 15:47:24 +02:00
alperozturk96 6315d51d20 use app wide json kotlinx for other classes as well
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 15:46:53 +02:00
alperozturk96 95ba7006ca convert push configuration state to kotlin data class
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 15:46:36 +02:00
alperozturk96 d4e90bad5c introduce app wide json util object for kotlinx.serialization
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 15:46:12 +02:00
alperozturk96 6b1f6d03ad refactor(upload-list-activity): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 14:43:32 +02:00
alperozturk96 77b7118bd9 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 14:43:32 +02:00
alperozturk96 ede9591f72 handle edge cases
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 14:39:21 +02:00
alperozturk96 a886b68692 use OCFileListDiffer
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 13:44:13 +02:00
alperozturk96 65e3560b0c rename helper package to filelist
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 13:37:55 +02:00
alperozturk96 2f061a4c28 perf(file-list): diff util
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 13:07:27 +02:00
alperozturk96 4bbd08f80f fix garm
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 12:36:27 +02:00
alperozturk96 0f914a674a update license header and remove comments
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 12:04:41 +02:00
alperozturk96 a171932289 remove pmnifiy
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 12:04:41 +02:00
alperozturk96 a559af213d fix slide behaviour crash when going back from settings
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 12:04:41 +02:00
alperozturk96 e3fe0d0d5c remove pminify
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 12:04:41 +02:00
alperozturk96 a3d79bbeb9 update agents md
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 12:04:41 +02:00
alperozturk96 6fc208841c add new rules
Signed-off-by: alperozturk96 <[email protected]>
2026-10-07 12:04:41 +02:00
Philipp Hasper d5683adeb4 feat(build): gradle property to control optimization, set for CI
This adds a property to enable the optimization, and it is activated for
the CI
- build
- screenshot tests
- instrumentation tests
- unit test (though probably without effect)

For this to work, it must also be present in the debug build variant

Signed-off-by: Philipp Hasper <[email protected]>
2026-10-07 12:04:41 +02:00
Philipp Hasper ac20857286 feat(build): First step towards R8 minify - still crashing
With keeping the apache httpclient, webdav and ical4j, the app at least
starts.

But it crashes when clicking the plus button (OCFileListBottomSheetDialog).

Related to #17640

Assisted-by: GithubCopilot:GPT-5.4
Signed-off-by: Philipp Hasper <[email protected]>
2026-10-07 12:04:41 +02:00
Nextcloud bot c248c31320 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-07 04:13:10 +00:00
Alper Öztürk 1b7d82feec Merge pull request #17770 from nextcloud/improve-unified-share-fetch
improve unified share fetch
2026-10-06 12:59:45 +02:00
Alper Öztürk c2a0714eac Merge pull request #17778 from nextcloud/fix/ci-4
fix(garm): document storage provider
2026-10-06 10:56:32 +02:00
alperozturk96 78d3f7123b fix(garm): document storage provider
Signed-off-by: alperozturk96 <[email protected]>
2026-10-06 09:14:18 +02:00
Alper Öztürk e75b101e7b Merge pull request #17768 from nextcloud/chore/remove-unused-dependencies
chore: remove unused dependencies
2026-10-06 09:13:55 +02:00
Alper Öztürk f0b1794066 Merge pull request #17774 from nextcloud/style/multi-select-status-bar
style(status-bar): multi-select
2026-10-06 09:11:39 +02:00
Nextcloud bot 248aaf23e0 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-06 04:10:25 +00:00
Alper Öztürk f6fc002dfb Merge pull request #17777 from nextcloud/refactor/di-module-kotlin
refactor(di): convert to Kotlin
2026-10-05 15:32:38 +02:00
alperozturk96 81495fd764 refactor(di): convert to Kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-10-05 14:56:36 +02:00
alperozturk96 205fd4f6e3 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-10-05 14:56:35 +02:00
Alper Öztürk 1c9a4ceb78 Merge pull request #17739 from nextcloud/fix/color-switching
fix(account): switching
2026-10-05 12:02:23 +02:00
alperozturk96 aab3fa975c style(status-bar): multi-select
Signed-off-by: alperozturk96 <[email protected]>
2026-10-05 10:55:11 +02:00
alperozturk96 cbe16a224e expire cache in 10 mins so that client can update itself when in foreground
Signed-off-by: alperozturk96 <[email protected]>
2026-10-05 10:26:20 +02:00
alperozturk96 fa42242fef improve unified share fetch
Signed-off-by: alperozturk96 <[email protected]>
2026-10-05 10:04:02 +02:00
Alper Öztürk fae105dece Merge pull request #17763 from nextcloud/feat/navigator-upload-activity
feat(navigator): upload list
2026-10-05 08:24:13 +02:00
Nextcloud bot fb0e6a41fe fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-05 04:45:47 +00:00
Nextcloud bot ecf17aaa3f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-04 04:00:02 +00:00
Nextcloud bot 98c33b8574 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-03 04:02:52 +00:00
renovate[bot] eee7ff7b6e Update gradle/actions action to v6.4.0 (#17772)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-02 20:57:10 +00:00
alperozturk96 7c803770ee remove unused functions
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 16:06:23 +02:00
alperozturk96 2022d27f61 add missing licenses
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 15:18:20 +02:00
alperozturk96 12a0a1da8f update callers
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 15:18:20 +02:00
alperozturk96 8a52ad6502 update callers
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 15:18:20 +02:00
alperozturk96 b928ed6389 extract common logic that needed from file activity
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 15:18:20 +02:00
alperozturk96 852fc97dcd convert activity to fragment
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 15:18:20 +02:00
alperozturk96 a36d9db414 add agent skill for navigator
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 15:18:20 +02:00
Alper Öztürk 507434b1d4 Merge pull request #17745 from nextcloud/remove-flaky-tests
remove flaky tests
2026-10-02 15:18:02 +02:00
alperozturk96 010a1e9626 remove flaky tests
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 14:50:52 +02:00
alperozturk96 ae50e52ce3 chore: remove unused dependencies
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 13:42:39 +02:00
alperozturk96 693850a3df remove stateless4j
Signed-off-by: alperozturk96 <[email protected]>
2026-10-02 13:26:42 +02:00
Alper Öztürk 2e5614facb Merge pull request #17736 from nextcloud/fix/internal-106518
Check file name length doesn't exceed server's supported one
2026-10-02 08:47:24 +02:00
alperozturk96 48eca42bdb simplify createFileOnServer
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:17:23 +02:00
alperozturk96 f9f16f7131 OCCapability capability = result.getResultData();
already provides same

Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:09:04 +02:00
alperozturk96 fe01e39ebe use Provider for view theme utils since ViewThemeUtils can change and Provider can gives us retrieving multiple instances.
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:09:04 +02:00
alperozturk96 2ee31cb41c set account name as well
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:09:04 +02:00
alperozturk96 37ce1b588f make the theme cache (memory-only) user account name aware instead url
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:09:04 +02:00
alperozturk96 31de9aa29a dont use singleton instance for thumbnails
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:09:04 +02:00
alperozturk96 26e3e68561 simplify comment
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:08:53 +02:00
alperozturk96 8299dd7f7b get rid of the async task
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:08:53 +02:00
alperozturk96 d041cd2529 get rid of the async task
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:08:53 +02:00
alperozturk96 c11023634c simplify error handling
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:08:53 +02:00
daniele-verducci 7aacbed792 Implemented tests
Signed-off-by: daniele-verducci <[email protected]>
2026-10-01 15:08:53 +02:00
daniele-verducci bcbbad4ae2 Check filename length, similarly to what happens server-side
Signed-off-by: daniele-verducci <[email protected]>
2026-10-01 15:08:53 +02:00
daniele-verducci cdaab781e1 Better error management during CreateFileFromTemplate
Signed-off-by: daniele-verducci <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/dialog/ChooseTemplateDialogFragment.kt
2026-10-01 15:08:53 +02:00
alperozturk96 0fa1d5b984 fix build createPendingFile should pass remotePath
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 15:06:41 +02:00
Alper Öztürk 5bc5163267 Merge pull request #17590 from nextcloud/fix/internal-104835
Fix conflicts for offline uploads when uploading same file again
2026-10-01 14:31:13 +02:00
Alper Öztürk 359e0da8bf Merge pull request #17746 from nextcloud/refactor/external-site-web-view-kotlin
refactor(editor-web-view): kotlin
2026-10-01 14:30:45 +02:00
Alper Öztürk 144db87302 Merge pull request #17727 from nextcloud/refactor/bitmap-utils
refactor(bitmap-utils): kotlin
2026-10-01 13:59:25 +02:00
Alper Öztürk 1116c8f5b5 Merge pull request #17644 from nextcloud/fix/offline-operation-action-on-slow-network
fix(offline-operation): actions
2026-10-01 13:47:33 +02:00
Alper Öztürk 98da5c0abe Merge pull request #17661 from nextcloud/perf-file-listing
perf(metadata): worker
2026-10-01 13:02:00 +02:00
Alper Öztürk 089bb3272e Merge pull request #17683 from nextcloud/fix/auto-upload-rescan-worker-start-only-if-not-active
fix(auto-upload): rescan worker start
2026-10-01 12:57:12 +02:00
Alper Öztürk 55e519293d Merge pull request #17703 from nextcloud/fix/media-scroll-and-gestures
fix(media): scroll & pinch
2026-10-01 12:55:00 +02:00
Alper Öztürk 2d40573539 Merge pull request #17741 from nextcloud/fix/min-chunk-size
fix min chunk size
2026-10-01 09:31:52 +02:00
alperozturk96 15e62e409a use latest lib hash
Signed-off-by: alperozturk96 <[email protected]>
2026-10-01 09:31:16 +02:00
Nextcloud bot f2358568d9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-10-01 04:16:13 +00:00
alperozturk96 ce74cf3934 use ActivityResultContracts
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 15:34:00 +02:00
alperozturk96 1f35cc0faf refactor(editor-site-web-view): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 15:34:00 +02:00
alperozturk96 fa5f16d25a Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 15:34:00 +02:00
alperozturk96 56fc650ff8 refactor(editor-web-view): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 15:34:00 +02:00
alperozturk96 533c1d859e Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 15:34:00 +02:00
Alper Öztürk ce5fedb4e3 Merge pull request #17742 from nextcloud/fix/401-issue
fix(unified-share): use credentials.username
2026-09-30 15:21:39 +02:00
Alper Öztürk 7f464c5a6a Merge pull request #17705 from nextcloud/fix/media-navigation
Seamless animation on navigation in media tab
2026-09-30 14:59:57 +02:00
alperozturk96 bca9d69a08 use username
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 14:41:17 +02:00
alperozturk96 8b96994fdf fix min chunk size
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 13:28:56 +02:00
Tobias Kaminsky 2446b36ee2 Merge pull request #17740 from nextcloud/devBuild
build dev: make sure fastlane folder exists
2026-09-30 13:17:59 +02:00
tobiasKaminsky a49caba4f2 build dev: make sure fastlane folder exists
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-30 13:17:00 +02:00
Alper Öztürk 61924d74ff Merge pull request #17738 from nextcloud/style/multi-select
style(gallery): multi select animation
2026-09-30 13:02:59 +02:00
alperozturk96 250abf6fa9 fix kotlin spotless check
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 12:44:47 +02:00
about2crash 968e2e009a Merge branch 'master' into fix-drawer-external-links
Signed-off-by: about2crash <[email protected]>
2026-09-30 12:38:54 +02:00
alperozturk96 78a4525bc6 fix transitions
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 10:54:18 +02:00
alperozturk96 50345aa295 style(gallery): multi select animation
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 10:39:10 +02:00
alperozturk96 a9cbb0455e fix interrupting with pinch and refresh
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 10:34:53 +02:00
alperozturk96 dc8c428b3e use cached image without lock
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 10:00:41 +02:00
alperozturk96 ae75d3b2d5 speed-up load from disk
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 10:00:41 +02:00
alperozturk96 79eca43190 remove cache check since job already doing it
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 10:00:41 +02:00
alperozturk96 e15a3ba0ee add pinch listener for column change
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 10:00:41 +02:00
alperozturk96 560bca9271 slide up image from center
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 09:39:51 +02:00
alperozturk96 a039a14bd4 use scale up and down for opening and close image
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 09:25:59 +02:00
alperozturk96 04264398e0 use m3 slide down and up
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 08:51:11 +02:00
alperozturk96 576af4953e create navigation animator
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 08:32:05 +02:00
alperozturk96 b5359e2475 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-30 08:22:16 +02:00
alperozturk96 116decbba9 fix(media): navigation
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/utils/extensions/ViewExtensions.kt
2026-09-30 08:22:15 +02:00
Alper Öztürk 3fe3a67949 Merge pull request #17735 from nextcloud/refactor/slide-behaviour-extension
refactor(view-extension): slide behaviour
2026-09-30 08:20:17 +02:00
Alper Öztürk a54b313568 Merge pull request #17733 from nextcloud/refactor/disk-lru-image-cache
refactor(disk-lru-image-cache): kotlin
2026-09-30 08:14:50 +02:00
Nextcloud bot 35610dd848 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-30 04:29:36 +00:00
alperozturk96 a950ba0189 refactor(view-extension): slide behaviour
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 16:38:34 +02:00
Alper Öztürk 16f0504977 Merge pull request #17730 from nextcloud/fix/status-bar-details
fix(status-bar): details
2026-09-29 15:42:32 +02:00
alperozturk96 e731292aa8 refactor(disk-lru-image-cache): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 12:59:01 +02:00
alperozturk96 047666ce68 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 12:59:00 +02:00
Alper Öztürk 3c70807a0f Merge pull request #17697 from nextcloud/improvement/internal-105265-tests
Implemented tests for encrypted folders
2026-09-29 09:36:34 +02:00
alperozturk96 ed761fb428 simplify refreshCurrentDirectory
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 1f073c4861 fix view model integration
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 4256a19772 use view model and getWorkInfosByTagFlow to observe worker
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 2699206363 remove workaround observe worker logic
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 ce85a51b44 fix file list refresh after adding offline operation
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 721cc3c730 walled connection should not cached for 5 minutes, separate walled and reachability cache timing
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 fd54e74e98 do in io scope
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 c167fd480e use result success since policy is keep and check remote file to prevent unnecessary job
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 cf867f35f3 early exit for remove files if its empty
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 62985250d0 early exit for remove files if its empty
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 44c331849d return value for fail scenario as well
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
alperozturk96 75ea82382d do not cancel previous job so that list action such as create can react
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 09:25:13 +02:00
Tobias Kaminsky 5d588d6448 Merge pull request #17714 from nextcloud/update-library-2026-09-27
Update library to 2026-09-27
2026-09-29 08:57:54 +02:00
alperozturk96 ef093d2fac fix(status-bar): details
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 08:28:03 +02:00
daniele-verducci 2d25b83f5a Restore metadata upload
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
alperozturk96 fce7e21e29 remove upload logic since: will be fixed via https://github.com/nextcloud/android/pull/17608/changes#diff-7cffc15456a4f941a07f401277af2164ca9454b434a40e7e811ef48f367aadb8R116
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 08:06:10 +02:00
alperozturk96 acfd14ad3b fix tests
Signed-off-by: alperozturk96 <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci bcaca20a54 Fix Codacy magic number
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 34dae3fe07 Spotless apply
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 0371df22aa Missing imports
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci cf22e0c1a1 Sealed class for generatePrivateKey() result
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci b9450a0726 Moved generateKeyPair into EncryptionKeyGenerator
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 25a41b93f3 Non-nullable keywords, replaced annotation
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 147aa74877 Fixed lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 5b9dd23302 Restricted tests to Nextcloud >= 30
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 9184f23cbc Implemented unencryption test
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci c8fc832818 Fixed copypasted file copyright text for a newly created file
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 84ab9e32a3 Refactored & small fixes
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 09350942ff Working encrypted folder test
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci c6d49216d2 Fixed empty capability in test
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci ee4f482f00 Added metadata folder check in folder opening check
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 936d2a2931 Cleanup keys after tests run
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci b00a85e52c Fix lint + a small refactoring to make generatePrivateKey() more readable
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci df6ee3532a Working create and read tests for folder and subfolder
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
daniele-verducci 4488e2dd6e Refactoring to extract key generation for better testing
Signed-off-by: daniele-verducci <[email protected]>
2026-09-29 08:06:10 +02:00
Alper Öztürk f588538a03 Merge pull request #17608 from nextcloud/fix/internal-105265
Fix subfolders in encrypted folders
2026-09-29 08:04:49 +02:00
Nextcloud bot 2c586e893e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-29 04:04:05 +00:00
daniele-verducci bf8f012ff9 Proposal to fix metadata key check
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 16:07:04 +02:00
daniele-verducci feaff3a450 Better fix subfolders in encrypted folders (using existing metadata retrieval function)
Signed-off-by: daniele-verducci <[email protected]>

Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 16:07:04 +02:00
daniele-verducci 9153e4e3e2 Fix subfolders in encrypted folders
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 16:07:03 +02:00
alperozturk96 74074ed438 refactor(bitmap-utils): kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 16:05:20 +02:00
alperozturk96 07cd303219 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 16:05:19 +02:00
Alper Öztürk 007fe67e87 Merge pull request #17724 from nextcloud/refactor/player
refactor(player): remove unused execution flow
2026-09-28 16:01:38 +02:00
alperozturk96 05b5f2680a remove external flag rely on windowcompat
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 15:01:48 +02:00
alperozturk96 d5f4e5c184 fix status-bar
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 14:23:17 +02:00
alperozturk96 b0a6b9be90 fix full-screen
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 14:14:12 +02:00
alperozturk96 3a48a5dbf5 mark flaky test
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 14:05:15 +02:00
alperozturk96 522727536f fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 14:04:53 +02:00
tobiasKaminskyandClaude Sonnet 5 4c90846513 fix(deps): add verification metadata for android-library update
Dependency verification failed on all CI checks because
gradle/verification-metadata.xml was missing the checksum for the
newly bumped androidLibraryVersion (7f7103db2d88d531861700dce3cb5bfa6fb40612).

Assisted-by: ClaudeCode:claude-sonnet-5
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-28 12:44:42 +02:00
daniele-verducci b705c69cb3 Fix SpotBugs
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 0a63501862 Fixed lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 67477e38f3 Fixed getRemotePathForConflictResolution (broken after refactoring), written relevant test
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
alperozturk96 c15b70c544 simplify logic, and add upper bound instead recursive loop
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 10:21:26 +02:00
alperozturk96 da40023c51 de-duplicate tests
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci e3cd497b53 Fixed lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 9d1d17a191 Tests for OCFile.isTheSameAs() extension
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 195b06679f Removed unreliable file creation date check
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 0bbfd15a00 Moved regexp outside of recurrency
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 9699cb181e Lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 537f619b34 Fixed bug in duplicate files renaming generator, fixed test
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 0570945330 Fix lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci e424ba7d38 Tests for file conflict name generator specific for offlineOperations
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci be34c4b284 Implemented file conflict name generator specific for offlineOperations
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 1764dc38cd Fixes in conflict resolve dialog, see https://github.com/nextcloud/android/pull/17590/changes\#r4034298542
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 384f75ce5d Applied some proposed fixes from PR
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 0d32edacfe Applied suggestions from PR
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci be6382c6c5 Fixed lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci a52c70c334 Fixed conflict resolution dialog content for offline uploads
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 1376e1601b Working conflict resolution for "keep both" in offline upload, aligned new name to the one used for online
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 53ed662fb6 Working fix proof of concept, to be refactored and not taking account edge cases
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci d72c2141ef Fixed detekt
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 57f120b76c Removed wrongly-placed file update code from uploadworker and updaging etagOnServer field properly in UploadFileOperation
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 3476acc015 Refactored java function: moved into FileExtensions
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci cc1585dda9 fix/internal-104835: lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:26 +02:00
daniele-verducci 864a766028 fix/internal-104835: check size as well
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:25 +02:00
daniele-verducci 0f71ab80c6 fix/internal-104835: avoid showing conflict window for an unmodified, already uploaded file
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:25 +02:00
daniele-verducci 8876bc8a88 wip
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:25 +02:00
daniele-verducci b29fd03657 fix/internal-104835: do not overwrite existent file metadata
Signed-off-by: daniele-verducci <[email protected]>
2026-09-28 10:21:25 +02:00
alperozturk96 febd3b8cae refactor(player): remove unused execution flow
Signed-off-by: alperozturk96 <[email protected]>
2026-09-28 10:13:49 +02:00
Alper Öztürk 6722740365 Merge pull request #17708 from nextcloud/fix/system-bar-color
fix(system-bar): color
2026-09-28 08:59:46 +02:00
Nextcloud bot 20f0dcad9a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-28 04:03:21 +00:00
renovate[bot] d8e3ce42d1 Update workRuntime to v2.12.0 (#17722)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-27 22:29:48 +00:00
renovate[bot] 98d67232dd Update dependency androidx.fragment:fragment-ktx to v1.9.1 (#17719)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-27 21:00:08 +00:00
renovate[bot] 628080751f Update dependency org.mockito.kotlin:mockito-kotlin to v6.4.0 (#17715)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-27 16:55:35 +00:00
Nextcloud bot dedea2fe36 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-27 04:06:26 +00:00
Tobias Kaminsky f9f1fd6e84 Update library to 2026-09-27
Signed-off-by: Tobias Kaminsky <[email protected]>
2026-09-27 00:01:00 +02:00
renovate[bot] fdb3b269e5 Update dependency org.slf4j:jcl-over-slf4j to v2.0.20 (#17713)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-26 16:54:37 +00:00
Alper Öztürk 84efb5c35c Merge pull request #17709 from nextcloud/refactor/display-util
rip DisplayUtils.java
2026-09-25 19:52:45 +02:00
alperozturk96 032cd9cebc fix spotless
Signed-off-by: alperozturk96 <[email protected]>
2026-09-25 11:10:14 +02:00
alperozturk96 4868418086 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-09-25 11:09:42 +02:00
alperozturk96 1f9b4e8325 fix(system-bar): color
Signed-off-by: alperozturk96 <[email protected]>
2026-09-25 11:09:42 +02:00
alperozturk96 accbbcaea1 fix(system-bar): color
Signed-off-by: alperozturk96 <[email protected]>
2026-09-25 11:09:42 +02:00
alperozturk96 d4ddfd1d3f fix(system-bar): color
Signed-off-by: alperozturk96 <[email protected]>
2026-09-25 11:09:42 +02:00
Tobias Kaminsky 3dbd7d618d Merge pull request #17621 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-09-25 10:53:04 +02:00
Alper Öztürk 32b474f3f6 Merge pull request #17688 from nextcloud/improve-splash
Improve splash
2026-09-25 10:51:01 +02:00
alperozturk96 381e432cfe fix background gradient
Signed-off-by: alperozturk96 <[email protected]>
2026-09-25 10:15:26 +02:00
alperozturk96 54b515267c fix tests
Signed-off-by: alperozturk96 <[email protected]>
2026-09-25 10:15:26 +02:00
alperozturk96 5e0bd559af do not extend from base activity
Signed-off-by: alperozturk96 <[email protected]>
2026-09-25 10:15:26 +02:00
alperozturk96 ed5668de8a improve splash
Signed-off-by: alperozturk96 <[email protected]>
2026-09-25 10:15:26 +02:00
nextcloud-android-bot 9e4b3f9970 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-09-25 07:06:31 +00:00
Nextcloud bot 6b0f2332e0 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-25 04:08:17 +00:00
alperozturk96 2421641f98 rip DisplayUtils.java
Signed-off-by: alperozturk96 <[email protected]>
2026-09-24 16:27:41 +02:00
Alper Öztürk 13ea402704 Merge pull request #17706 from nextcloud/refactor/display-util-date-text
refactor(display-util): text formatter
2026-09-24 15:51:40 +02:00
Andy Scherzinger 76885907cb Merge pull request #17678 from nextcloud/renovate/codecov-codecov-action-7.x
Update codecov/codecov-action action to v7.1.1
2026-09-24 14:36:20 +02:00
Andy Scherzinger 0d7dc9b833 Merge pull request #17695 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to da6fc2b
2026-09-24 14:35:17 +02:00
renovate[bot] cdc6791871 Update androidPluginVersion to v9.4.1 (#17696)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-24 12:29:11 +00:00
alperozturk96 885a8e64db refactor(display-util): text formatter
Signed-off-by: alperozturk96 <[email protected]>
2026-09-24 14:10:33 +02:00
renovate[bot] a0bf64da3c Update codecov/codecov-action action to v7.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-24 11:57:48 +00:00
renovate[bot] 269ffb69f5 Update ubuntu:resolute Docker digest to da6fc2b
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-24 11:56:15 +00:00
Alper Öztürk ab5d96b564 Merge pull request #17700 from nextcloud/refactor/display-util-avatar
refactor(display-util): avatar
2026-09-24 13:53:56 +02:00
Nextcloud bot c0ebadbca2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-24 04:15:42 +00:00
alperozturk96 3b9e9c1488 refactor(display-util): avatar
Signed-off-by: alperozturk96 <[email protected]>
2026-09-23 17:15:29 +02:00
Alper Öztürk 10641b850b Merge pull request #17693 from nextcloud/refactor/display-utils-byte-conversion
refactor(display-util): size conversion
2026-09-23 10:19:07 +02:00
alperozturk96 2b1f0e9374 rename functions
Signed-off-by: alperozturk96 <[email protected]>
2026-09-23 09:37:08 +02:00
alperozturk96 6b6a4611de make it better
Signed-off-by: alperozturk96 <[email protected]>
2026-09-23 09:37:08 +02:00
alperozturk96 b19195b1d2 refactor(display-util): size conversion
Signed-off-by: alperozturk96 <[email protected]>
2026-09-23 09:37:08 +02:00
renovate[bot] 38d1e0698e Update github/codeql-action action to v4.38.1 (#17691)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-22 15:02:16 +00:00
Alper Öztürk d125252903 Merge pull request #17690 from nextcloud/refactor/display-utils-intent
refactor(display-utils): intent
2026-09-22 16:28:57 +02:00
alperozturk96 d9af7e6b81 refactor(display-utils): intent
Signed-off-by: alperozturk96 <[email protected]>
2026-09-22 15:43:06 +02:00
Alper Öztürk 5e4c59a58d Merge pull request #17575 from nextcloud/feat/use-direct-api
feat(direct-editing): add missing check
2026-09-22 15:06:36 +02:00
Alper Öztürk 6801e7813e Merge branch 'master' into feat/use-direct-api 2026-09-22 14:30:44 +02:00
Alper Öztürk a40dccc943 Merge pull request #17686 from nextcloud/refactor/display-util-snackbar
refactor(display-util): snackbar
2026-09-22 14:16:00 +02:00
alperozturk96 7d3be1a735 refactor(display-util): snackbar
Signed-off-by: alperozturk96 <[email protected]>
2026-09-22 12:11:39 +02:00
Alper Öztürk 2c6558f3ed Merge pull request #17680 from nextcloud/feat/full-screen-media-player
feat(video): full screen gesture
2026-09-22 12:10:42 +02:00
alperozturk96 6c34f12705 hide nav bar as well
Signed-off-by: alperozturk96 <[email protected]>
2026-09-22 12:02:21 +02:00
Alper Öztürk 49771e8259 Merge pull request #17667 from nextcloud/fix/avatar-loading
perf(file-list): avatar loading
2026-09-22 11:47:33 +02:00
alperozturk96 a6363864a3 cancel enqueued ones so that we can re-start. Some workers may stuck thus we need to have clean start.
Signed-off-by: alperozturk96 <[email protected]>
2026-09-22 10:59:51 +02:00
alperozturk96 882f59c4b9 retry if already auto upload runs
Signed-off-by: alperozturk96 <[email protected]>
2026-09-22 10:47:41 +02:00
alperozturk96 e87c312a95 cancel per folder first
Signed-off-by: alperozturk96 <[email protected]>
2026-09-22 10:37:59 +02:00
alperozturk96 4af306abef fix(auto-upload): rescan periodic worker
Signed-off-by: alperozturk96 <[email protected]>
2026-09-22 09:53:21 +02:00
Nextcloud bot 28e22f060c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-22 04:32:58 +00:00
renovate[bot] 9820090852 Update dependency com.google.android.gms:play-services-base to v18.11.0 (#17682)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-21 23:27:27 +00:00
alperozturk96 856a2696f0 remove imports that not used
Signed-off-by: alperozturk96 <[email protected]>
2026-09-21 16:56:40 +02:00
alperozturk96 44506e2b8f use extension and remove unused extension
Signed-off-by: alperozturk96 <[email protected]>
2026-09-21 16:55:04 +02:00
alperozturk96 753974586b remove unused code for entering and exiting full-screen
Signed-off-by: alperozturk96 <[email protected]>
2026-09-21 16:55:04 +02:00
alperozturk96 04e75fba94 better variable names
Signed-off-by: alperozturk96 <[email protected]>
2026-09-21 16:55:04 +02:00
alperozturk96 938e541f0b feat(video): full screen gesture
Signed-off-by: alperozturk96 <[email protected]>
2026-09-21 16:55:04 +02:00
Tobias Kaminsky 50dfcfa5da Merge pull request #17677 from nextcloud/update-library-2026-09-20
Update library to 2026-09-20
2026-09-21 16:01:28 +02:00
tobiasKaminsky dc5473f45d update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-21 10:19:48 +02:00
Nextcloud bot bac87f20df fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-21 04:11:29 +00:00
Nextcloud bot 9851ac0d37 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-20 04:14:36 +00:00
Tobias Kaminsky fced7c976b Update library to 2026-09-20
Signed-off-by: Tobias Kaminsky <[email protected]>
2026-09-20 00:00:59 +02:00
Andy Scherzinger 2eec3c7c07 Merge pull request #17674 from nextcloud/renovate/codecov-codecov-action-7.x
Update codecov/codecov-action action to v7.1.0
2026-09-19 06:55:58 +02:00
renovate[bot] c2cf1cc552 Update codecov/codecov-action action to v7.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-19 04:25:49 +00:00
Nextcloud bot 95dc0344eb fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-19 04:18:44 +00:00
alperozturk96 05afc6c1cf fetch sharees before the list and use OCFile only for showing
Signed-off-by: alperozturk96 <[email protected]>
2026-09-18 11:41:32 +02:00
alperozturk96 83068616f7 introduce AvatarShareesProvider
Signed-off-by: alperozturk96 <[email protected]>
2026-09-18 11:41:32 +02:00
alperozturk96 df1378c093 check previously inserted sharees and fix avatar id
Signed-off-by: alperozturk96 <[email protected]>
2026-09-18 11:41:32 +02:00
alperozturk96 81d8ee6cc7 use AvatarShareesProvider
Signed-off-by: alperozturk96 <[email protected]>
2026-09-18 11:41:32 +02:00
Alper Öztürk 131f9fa8bb Merge pull request #17670 from nextcloud/fix/tests
ci(garm): fix launcher activity and file it
2026-09-18 10:33:19 +02:00
Nextcloud bot 781f57fc48 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-18 04:14:07 +00:00
alperozturk96 e92afec910 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-17 16:58:43 +02:00
alperozturk96 66e5551653 ci(garm): fix launcher activity and file it
Signed-off-by: alperozturk96 <[email protected]>
2026-09-17 16:21:05 +02:00
Alper Öztürk c1a4bac83c Merge pull request #17663 from nextcloud/fix/recommended-file-alignment
fix(recommended-file): padding
2026-09-17 11:59:15 +02:00
alperozturk96 f5ca54fde9 fail fast for ignore eTag thus no need read file operation
Signed-off-by: alperozturk96 <[email protected]>
2026-09-17 11:13:02 +02:00
alperozturk96 03f138b2ca remove deduplicated root folder refresh operation
Signed-off-by: alperozturk96 <[email protected]>
2026-09-17 11:13:02 +02:00
Alper Öztürk da8ebf8fec Merge pull request #17657 from nextcloud/perf/startup-time
perf(startup): splash screen
2026-09-17 11:12:23 +02:00
alperozturk96 230b13df73 feat(direct-editing): add missing check
Signed-off-by: alperozturk96 <[email protected]>
2026-09-17 10:51:54 +02:00
renovate[bot]andtobiasKaminsky 679432a946 Update roomVersion to v2.8.5 (#17634)
* Update roomVersion to v2.8.5

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* update verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tobiasKaminsky <[email protected]>
2026-09-17 08:28:26 +00:00
Alper Öztürk 743caeb681 Merge pull request #17660 from nextcloud/remove-qa-apk-size
remove qa apk size
2026-09-17 10:07:55 +02:00
Alper Öztürk 0f50e2f712 Merge pull request #17643 from nextcloud/improve-assemble-ga
perf(ci): cache Gradle state and drop duplicate release builds and add re-run for failed assemble
2026-09-17 09:37:49 +02:00
Tobias Kaminsky ce10a3a2bf Merge pull request #17558 from nextcloud/renovate/conscryptandroidversion
Update dependency org.conscrypt:conscrypt-android to v2.7.0
2026-09-17 09:23:09 +02:00
Tobias Kaminsky 2bb1ae76af Merge pull request #17648 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.239.0
2026-09-17 09:22:10 +02:00
Tobias Kaminsky 023c62e5cd Merge pull request #17612 from nextcloud/renovate/kotlin-monorepo
Update kotlin monorepo to v2.4.20 - abandoned
2026-09-17 09:18:54 +02:00
Tobias Kaminsky 0117f72b1e Merge pull request #17603 from nextcloud/renovate/androidcommonlibraryversion
Update androidCommonLibraryVersion to v0.33.2
2026-09-17 08:50:49 +02:00
tobiasKaminsky 2060bbe484 fix: update verification-metadata.xml
Removes the stale ignored-key entry for 655CCC51B9BD2C38 (Google's
conscrypt-android release signing key), which caused dependency
verification to fail on PR #17558 with "artifact was signed but all
keys were ignored" for conscrypt-android-2.7.0.module. The key is
already covered by an existing trusted-key entry and is present in
the exported keyring, so the global ignore was just stale.

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-17 08:44:26 +02:00
Tobias Kaminsky 32742cb5f7 Merge pull request #17630 from nextcloud/renovate/ksp-monorepo
Update dependency com.google.devtools.ksp to v2.3.12
2026-09-17 08:40:10 +02:00
renovate[bot]andtobiasKaminsky 5455c9bd9b Update dependency org.jetbrains.kotlin.plugin.parcelize to v2.4.20 (#17614)
* Update dependency org.jetbrains.kotlin.plugin.parcelize to v2.4.20

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* update verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tobiasKaminsky <[email protected]>
2026-09-17 06:33:09 +00:00
tobiasKaminsky 1958adea92 fix: update verification-metadata.xml
Adds the missing checksum for org.jetbrains.kotlin.plugin.parcelize
2.4.20, which caused dependency verification to fail on PR #17612.

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-17 08:23:22 +02:00
Nextcloud bot 2076bc4101 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-17 04:35:25 +00:00
alperozturk96 43a48eddc3 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 15:45:11 +02:00
alperozturk96 6ccc7d5bf7 second run
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 15:45:11 +02:00
alperozturk96 68c27fa15b add re-run for failed assemble ga
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 15:45:11 +02:00
alperozturk96 8b05449dae reduce run resouces to have more stable build
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 15:45:11 +02:00
alperozturk96 f4cc4ca045 perf(ci): cache Gradle state and drop duplicate release builds
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 15:45:11 +02:00
alperozturk96 d15c922c99 fix(recommended-file): padding
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 15:41:34 +02:00
alperozturk96 b9acfc62cc remove qa apk size
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 15:08:39 +02:00
Alper Öztürk 5aa5394d62 Merge pull request #17658 from nextcloud/update-lib-2
update android lib
2026-09-16 15:08:24 +02:00
Alper Öztürk 86be405468 Merge branch 'master' into update-lib-2
Signed-off-by: Alper Öztürk <[email protected]>
2026-09-16 14:26:26 +02:00
Alper Öztürk 0ca55c4750 Merge pull request #17651 from nextcloud/arm-v7-support
feat(build): arm-v7 support
2026-09-16 13:54:33 +02:00
alperozturk96 6072328c3a update android lib
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 13:45:09 +02:00
alperozturk96 be73f7b469 fix logo appereance
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 13:38:24 +02:00
alperozturk96 5c09fe4593 perf(startup): splash screen
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 13:35:09 +02:00
alperozturk96 5eab12e8bc use latest lib commit hash
Signed-off-by: alperozturk96 <[email protected]>
2026-09-16 12:06:56 +02:00
renovate[bot] c0c8570ec6 Update androidCommonLibraryVersion to v0.33.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-16 12:06:56 +02:00
Alper Öztürk 50b8438af1 Merge pull request #17604 from nextcloud/internal-104930
Show only offline-available actions when offline in the "create new" menu
2026-09-16 11:11:08 +02:00
Alper Öztürk bbf71f8e3c Merge pull request #17506 from nextcloud/suggestedServer
Add "suggested_server" to Login screen
2026-09-16 08:13:17 +02:00
Nextcloud bot be55403760 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-16 04:12:08 +00:00
alperozturk96 b8864a7b3a feat(build): arm-v7 support
Signed-off-by: alperozturk96 <[email protected]>
2026-09-15 18:14:04 +02:00
renovate[bot] 7abce00274 Update dependency fastlane to v2.239.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 15:46:22 +00:00
Alper Öztürk f50eaf4b73 Merge pull request #17501 from nextcloud/fix/network-constraits
fix(upload): use supported transports
2026-09-15 17:44:37 +02:00
renovate[bot] 91d739acf9 Update media3 to v1.11.1 (#17647)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 15:22:14 +00:00
nextcloud-android-bot abaccf6349 Merge pull request #17620 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.239.0
2026-09-15 16:16:58 +02:00
renovate[bot] 1e7b01ac0b Update dependency androidx.compose.foundation:foundation to v1.12.1 (#17629)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 14:08:05 +00:00
nextcloud-android-bot 33daaf4625 Merge pull request #17556 from nextcloud/renovate/spotless
Update dependency com.diffplug.spotless to v8.10.2
2026-09-15 16:06:21 +02:00
daniele-verducci 5c294f5fa7 Use suspend functions
Signed-off-by: daniele-verducci <[email protected]>
2026-09-15 15:42:28 +02:00
daniele-verducci 700a813bb2 Fixed edge case
Signed-off-by: daniele-verducci <[email protected]>
2026-09-15 15:42:28 +02:00
daniele-verducci 3a66b8ea11 Show only offline-available actions when offline, and align shown actions between root and subfolders
Signed-off-by: daniele-verducci <[email protected]>
2026-09-15 15:42:28 +02:00
Alper Öztürk 61e788ea35 Merge pull request #17632 from nextcloud/fix/upload-pause
fix(upload): pause
2026-09-15 15:38:25 +02:00
Alper Öztürk 3115d0b6a8 Merge pull request #17569 from nextcloud/refactor/fetch-template
improve: fetch-template
2026-09-15 15:38:02 +02:00
tobiasKaminsky 3751f3fd87 update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-15 14:15:03 +02:00
renovate[bot] 7401f17ac7 Update dependency com.diffplug.spotless to v8.10.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 14:14:50 +02:00
tobiasKaminsky 11360b355c update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-15 14:14:21 +02:00
tobiasKaminsky 574350f8ee update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-15 14:14:21 +02:00
renovate[bot] e89cbbc8cb Update dependency org.conscrypt:conscrypt-android to v2.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 14:14:21 +02:00
alperozturk96 af4df95121 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-15 13:32:10 +02:00
alperozturk96 2b83d960d2 fix(upload): use supported transports
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/client/network/ConnectivityServiceImpl.kt
2026-09-15 13:30:53 +02:00
alperozturk96 dae83866e7 fix(upload): pause
Signed-off-by: alperozturk96 <[email protected]>
2026-09-15 13:21:01 +02:00
alperozturk96 f290682fe9 refactor(templates): convert FetchTemplateOperation to Kotlin
Fail-fast control flow, JSON node names as constants, and URL building and
response parsing split into separate functions. Behaviour is unchanged.

Assisted-by: ClaudeCode:claude-opus-5
2026-09-15 13:19:10 +02:00
alperozturk96 1241123a3f fix(templates): keep create dialog usable when no template loads
When the template list comes back empty the dialog had no selected template,
so the extension check compared the typed name against null and reported
"Extension cannot be changed" for every name while Create stayed disabled.

Resolve the filename into a single state, treat "no template selected" as its
own state, hold the error back until the user has typed, and close the dialog
when no template could be loaded.

Assisted-by: ClaudeCode:claude-opus-5
2026-09-15 13:19:10 +02:00
alperozturk96 b38398c1c1 revert(templates): drop unrelated dialog change
The redundant elvis on fileNames belongs to neither the crash fix nor the
Kotlin conversion, so it goes back to its previous form to keep this branch
scoped to one concern.

Assisted-by: ClaudeCode:claude-opus-5
2026-09-15 13:19:10 +02:00
alperozturk96 33218b7489 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-15 13:19:10 +02:00
alperozturk96 412bffd8b4 use uri
Signed-off-by: alperozturk96 <[email protected]>
2026-09-15 13:19:10 +02:00
renovate[bot] 21a2d7491c Update dependency fastlane to v2.239.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 09:44:24 +00:00
renovate[bot] aa12f3948a Update kotlin monorepo to v2.4.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 09:41:04 +00:00
renovate[bot] 2735dd7448 Update dependency com.google.devtools.ksp to v2.3.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 09:38:01 +00:00
Alper Öztürk 185885b98b Merge pull request #17253 from nextcloud/NotificationWeb
Handle WEB on notification (for testing)
2026-09-15 10:28:29 +02:00
tobiasKaminsky 3844bdeec6 Add "suggested_server" to Login screen
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-15 10:20:11 +02:00
Alper Öztürk 674d743435 Merge pull request #17642 from nextcloud/disableScreenshotTests
CI: disable screenshot tests for now
2026-09-15 10:19:11 +02:00
Alper Öztürk 004d7457f4 Merge pull request #17641 from nextcloud/update-lib
update lib
2026-09-15 10:18:19 +02:00
renovate[bot] 70bd1d971a Update dependency org.slf4j:jcl-over-slf4j to v2.0.19 (#17588)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-15 08:13:41 +00:00
tobiasKaminsky 48ec307f80 Handle WEB on notification (for testing)
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-15 09:43:35 +02:00
tobiasKaminsky 0bdb093115 CI: disable screenshot tests for now
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-15 08:31:37 +02:00
alperozturk96 cc4ac9bee4 update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-09-15 08:24:24 +02:00
Alper Öztürk 45d37750a9 Merge pull request #17639 from nextcloud/fix/garm
cover server versions for garm
2026-09-15 08:23:36 +02:00
Nextcloud bot 8a095c4e46 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-15 04:13:42 +00:00
alperozturk96 20088c58b9 cover server versions for garm
Signed-off-by: alperozturk96 <[email protected]>
2026-09-14 14:32:20 +02:00
alperozturk96 06740c9016 cover server versions for garm
Signed-off-by: alperozturk96 <[email protected]>
2026-09-14 14:26:14 +02:00
Alper Öztürk 06a0be21b0 Merge pull request #17597 from nextcloud/fix/e2ee-folder-encryption-toggle
fix(e2ee): event listen
2026-09-14 13:12:46 +02:00
alperozturk96 90e1a0e432 fix spotbugs
Signed-off-by: alperozturk96 <[email protected]>
2026-09-14 11:41:31 +02:00
alperozturk96 b7a1a18bcc fix(e2ee): event listen
Signed-off-by: alperozturk96 <[email protected]>
2026-09-14 11:24:14 +02:00
Alper Öztürk e6983a6169 Merge pull request #17616 from nextcloud/fix/connectivity-service-capability-change-check
fix(connectivity-service): capability change check
2026-09-14 10:52:59 +02:00
renovate[bot] 7a144d1d93 Update dependency androidx.compose:compose-bom to v2026.09.00 (#17635)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-14 08:00:45 +00:00
Alper Öztürk d4023f1b48 Merge pull request #17617 from nextcloud/fix/media-player-theming
style(media-player) m3-expressive
2026-09-14 08:15:11 +02:00
Tobias Kaminsky 5426a72d34 Merge pull request #17605 from nextcloud/ciTestStable
CI: test with NC22, NC35 and master
2026-09-14 07:21:01 +02:00
Tobias Kaminsky 39643efe60 Merge pull request #16438 from nextcloud/qr
If enforced server, allow QR scanner, but validate url
2026-09-14 07:19:27 +02:00
Nextcloud bot ad6c31017b fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-14 04:52:21 +00:00
Andy Scherzinger e7a9a06289 Merge pull request #17628 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to 513c074
2026-09-13 22:26:04 +02:00
renovate[bot] 7a0c64052d Update ubuntu:resolute Docker digest to 513c074
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-13 20:22:16 +00:00
renovate[bot] 51361e594a Update dependency com.google.firebase:firebase-messaging to v25.1.3 (#17627)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-13 16:10:53 +00:00
Andy Scherzinger cf24691642 Merge pull request #17626 from nextcloud/renovate/actions-setup-java-6.x
Update actions/setup-java action to v6.0.1
2026-09-13 17:39:41 +02:00
renovate[bot] 8ce7411cc4 Update actions/setup-java action to v6.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-13 12:22:04 +00:00
Nextcloud bot 2a94a4f5cd fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-13 04:02:41 +00:00
Nextcloud bot b2f37db196 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-12 04:13:56 +00:00
alperozturk96 6d96355bd4 apply branding
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 17:34:19 +02:00
alperozturk96 e5322e8112 use material toolbar
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 17:34:19 +02:00
alperozturk96 0674521b95 handle paddings
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 17:34:19 +02:00
alperozturk96 c7eb8988e2 m3 expressive for control buttons
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 17:34:19 +02:00
alperozturk96 11f42601eb fix foreground color of audio file
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 17:34:19 +02:00
alperozturk96 5ee7cffd84 theme player control buttons
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 17:34:19 +02:00
alperozturk96 34d534d601 fix top bar title
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 17:34:19 +02:00
Alper Öztürk 3a2d3e0cbc Merge pull request #17611 from nextcloud/improve-qa-apk-ga
Improve QA APK Action
2026-09-11 16:44:13 +02:00
alperozturk96 49a99d89fa use link for qr code
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 15:39:35 +02:00
alperozturk96 449d1c3545 try ASCII
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 15:12:23 +02:00
alperozturk96 7bd5b75cd9 add debounce for onCapabilitiesChanged
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 14:54:59 +02:00
alperozturk96 d7696ea07b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 14:48:49 +02:00
daniele-verducci ff652fcb6e Do not wrap encoded string
Signed-off-by: daniele-verducci <[email protected]>
2026-09-11 14:45:08 +02:00
daniele-verducci 2b9c190be0 Urlencode multiline string
Signed-off-by: daniele-verducci <[email protected]>
2026-09-11 14:45:08 +02:00
daniele-verducci d4a7c387e4 Passing qr string with parenthesis
Signed-off-by: daniele-verducci <[email protected]>
2026-09-11 14:45:08 +02:00
daniele-verducci 9c07c50e8c Changed output format
Signed-off-by: daniele-verducci <[email protected]>
2026-09-11 14:45:08 +02:00
daniele-verducci bbe77bf40e Inverted qr
Signed-off-by: daniele-verducci <[email protected]>
2026-09-11 14:45:08 +02:00
daniele-verducci 96cb943f7d Try generating QR locally as UTF8 text
Signed-off-by: daniele-verducci <[email protected]>
2026-09-11 14:45:08 +02:00
alperozturk96 691f2020b9 create qr code
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 14:45:08 +02:00
alperozturk96 933c55057e test upsert 2
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 14:45:08 +02:00
alperozturk96 a6a7eb425a test upsert
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 14:45:08 +02:00
alperozturk96 7d9d40e2a4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 14:45:08 +02:00
alperozturk96 2cfbb1a113 add debounce for onCapabilitiesChanged
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 14:01:31 +02:00
Alper Öztürk b6928a8a58 Merge pull request #17606 from nextcloud/fix/media-speed
perf(media): improvement
2026-09-11 13:10:42 +02:00
alperozturk96 f1f9cdeaf4 fix pager item selection
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 d379ab9753 fix video overlay
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 010088dff5 show loader smoothly
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 14fef753bd prevent unncessary updates
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 35d68cc543 no need enum, just show spinner or dont show
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 911a23cdb8 format comment block
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 f4c475cc40 remove unsued import
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 a0598e97e8 make play button density aware
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 3221f2f7ab use VideoOverlayGenerator
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 0763a6dc86 fix placeholder icon inset
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 f8bfacebf8 introduce gallery pagination state
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 cfaa13a354 remove memory cache attempt
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 6ccaa98f6e adjust placeholders
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 f8b8674216 start coroutine lazy
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 8b2915f917 use new row data
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 3a5766f3b7 recycle row and use new row data
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 93367166a4 do not create video overlay for each time, cached it also
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 2860e283c3 setItemViewCacheSize
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 77ae68c142 recycle row holder and check gallery items before update
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 12:09:54 +02:00
alperozturk96 ba4d1b6b2e fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-09-11 11:15:14 +02:00
tobiasKaminsky 2d0cc3404b If enforced server, allow QR scanner, but validate url
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-11 11:15:14 +02:00
Tobias Kaminsky 9bdb6bc0b2 Merge pull request #17600 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-09-11 11:14:21 +02:00
nextcloud-android-bot f1e4cc9297 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-09-11 06:59:11 +00:00
Nextcloud bot a5fe8d7021 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-11 04:13:15 +00:00
nextcloud-android-bot 3e5d8eb65d Merge pull request #17610 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.239.0
2026-09-10 23:26:58 +02:00
renovate[bot] 884cf7120d Update dependency fastlane to v2.239.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-10 21:02:41 +00:00
nextcloud-android-bot 1817ea91d5 Merge pull request #17607 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.239.0
2026-09-10 15:27:43 +02:00
renovate[bot] 2bee524490 Update dependency fastlane to v2.239.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-10 12:54:13 +00:00
Tobias Kaminsky 7246cf0d36 Merge pull request #17599 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.239.0
2026-09-10 14:52:11 +02:00
tobiasKaminsky b0f50cf513 CI: test with NC22, NC35 and master
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-10 13:08:31 +02:00
Alper Öztürk 64fbfd1b1a Merge pull request #17561 from nextcloud/update-library-2026-09-06
Update library to 2026-09-06
2026-09-10 12:48:53 +02:00
Alper Öztürk 5bf6753ce3 Merge pull request #17601 from nextcloud/chore/version-bump-35.1.0-alpha1
chore(version): bump to 35.1.0 alpha 1
2026-09-10 09:41:08 +02:00
Alper Öztürk e6514e6f19 Merge pull request #16865 from nextcloud/feat/unified-share
feat(unified-share): ui
2026-09-10 09:33:53 +02:00
tobiasKaminsky aee3149319 update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-10 09:16:19 +02:00
tobiasKaminsky 41bf8f6000 Update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-10 09:13:08 +02:00
alperozturk96 cc6df72b71 chore(version): bump to 35.1.0 alpha 1
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 09:07:58 +02:00
alperozturk96 596d27053d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:57:52 +02:00
alperozturk96 f5d1e32650 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:57:40 +02:00
alperozturk96 da6d07dc01 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 f35583f972 fix app launch crash for some specific files
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 cd702b0476 fix app launch crash for some specific files
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 17a7215fd7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 01366e9fea wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 60117173ab wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 eefd06d1b4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 b26126e860 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 067d29618c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
tobiasKaminsky 5fe394d880 use localId, not remoteId
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 8c113d104e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 9c47dbae94 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 6d8c69f84f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 78701b6cb4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 bbea7ca25e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 47ff8887f6 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 714d66b094 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 dc9137baa2 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 c54a4c4b58 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 aeb26f1df8 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 14216857e0 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 2c8e25e4c5 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 67a1dbd1d3 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 cd4a3b0e40 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/schemas/com.nextcloud.client.database.NextcloudDatabase/104.json
2026-09-10 08:33:00 +02:00
alperozturk96 8508b6e087 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-09-10 08:33:00 +02:00
alperozturk96 abadf12b34 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 a08bccf52c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 e176697bb0 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 e2d0ef9543 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 c48d46c1a1 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 d4f2f60205 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 15588caf3e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 c714e9dbf1 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 3a7d11269e wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-09-10 08:33:00 +02:00
alperozturk96 b7c600ceb0 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 8e418990d8 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 77b3e0b87f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 408768fe68 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 0ed7bb81c9 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 c507443e07 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 d29759bd39 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 1a384ce6fa wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 70782cfa87 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle.properties

# Conflicts:
#	gradle/verification-metadata.xml

# Conflicts:
#	settings.gradle.kts
2026-09-10 08:33:00 +02:00
alperozturk96 32084225a1 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 342642108b use getMaxCompatibleE2EEVersion
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 74a4087e83 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 a8d64cc7c8 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 f81c9f3f46 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/utils/extensions/OwnCloudClientExtensions.kt
2026-09-10 08:33:00 +02:00
alperozturk96 13d118fe53 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/fragment/FileDetailSharingFragment.java
2026-09-10 08:33:00 +02:00
alperozturk96 4a1d21ebcb wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 1c26ca53ee wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 3de6a81c8c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 8cd27d3609 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-09-10 08:33:00 +02:00
alperozturk96 b47365b969 add todos
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 0e4fc703d2 add todos
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 12f3784129 add todos
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 280bee125a feat(unified-share): ui
Signed-off-by: alperozturk96 <[email protected]>
2026-09-10 08:33:00 +02:00
alperozturk96 4f602fe9b2 feat(unified-share): ui
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/fragment/FileDetailSharingFragment.java
2026-09-10 08:33:00 +02:00
Nextcloud bot 22cfd14d76 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-10 04:13:56 +00:00
renovate[bot] bb619da1fc Update dependency fastlane to v2.239.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-10 00:03:12 +00:00
Alper Öztürk e35894de57 Merge pull request #17593 from nextcloud/refactor/conflict-dialog-data
refactor(conflict-dialog): dialog determination
2026-09-09 14:04:50 +02:00
Alper Öztürk dc5e49ecf7 Merge pull request #17587 from nextcloud/fix#17579
fix(tags): apply server theme colors to manage tags UI
2026-09-09 11:02:31 +02:00
Alper Öztürk be6de28c10 Merge pull request #17578 from nextcloud/fix/auto-upload-edge-cases
fix(auto-upload): edge cases
2026-09-09 09:40:14 +02:00
Alper Öztürk 4453d4e743 Merge pull request #17592 from nextcloud/tobiasKaminsky-patch-1
Rename folders to match repo names
2026-09-09 09:16:22 +02:00
alperozturk96 30494030e2 move ConflictsResolveDialog to conflict package
Signed-off-by: alperozturk96 <[email protected]>
2026-09-09 09:12:19 +02:00
alperozturk96 906836dec6 move to data classes to model package
Signed-off-by: alperozturk96 <[email protected]>
2026-09-09 09:08:37 +02:00
alperozturk96 f5142b3500 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-09-09 09:03:25 +02:00
alperozturk96 0fb606f178 refactor(conflict-dialog): dialog determination
Signed-off-by: alperozturk96 <[email protected]>
2026-09-09 08:45:49 +02:00
Tobias Kaminsky 7fd0847296 Rename folders to match repo names
Usually git clone keeps the repo name, thus
android_library -> android-library
same for android-common

Signed-off-by: Tobias Kaminsky <[email protected]>
2026-09-09 08:10:50 +02:00
Nextcloud bot 5ca93caf13 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-09 04:16:43 +00:00
renovate[bot] dee96e0e81 Update dependency fastlane to v2.239.0 (#17591)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-08 21:06:12 +00:00
tobiasKaminsky 8c2decf6f3 fix(tags): apply server theme colors to manage tags UI
The manage tags edit chip icon was hardcoded black, making it
invisible in dark mode, and the bottom sheet's search field,
loading indicator, and checkboxes ignored the server's accent
color, always rendering in Material's default blue.

Closes #17579

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-08 12:51:44 +02:00
Alper Öztürk 493eab1d88 Merge pull request #17567 from nextcloud/fix/limited-file-access-file-selection
fix(upload): limited file access
2026-09-08 10:44:59 +02:00
Alper Öztürk 9cca391dbd Merge pull request #17568 from nextcloud/feat/unified-search-fav-icon
feat(unified-share): show favorite icon
2026-09-08 10:44:43 +02:00
alperozturk96 0e85a81811 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 20ae8cbc3e cover synced folder path cases
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 97eeb9a50a cover synced folder path cases
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 e5ffe3bf1d implement MAX_UPLOADS_PER_QUERY
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 da9938beea exclude unknown upload errors
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 6e3cb94bcb expose new functions for active uploads
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 a31dede44c use new power management field
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 0a9431439a introduce AutoUploadRescanWorker
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 bfede15b81 improve initial auto upload logic, check empty files in loop, register active operation for file upload helper, introduce isResolvedByCurrentCollisionPolicy
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 668a2ade4a use power management factory and add new field for auto upload
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
alperozturk96 296506ce61 add index
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:51:07 +02:00
Alper Öztürk b46e9a89ae Merge pull request #17082 from nextcloud/performance/move-local-file
performance: move local file
2026-09-08 08:50:27 +02:00
alperozturk96 788621ddb4 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 f14f6cb528 fix spotbugs
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 2fade8210a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 11548cd889 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 ee990006b7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 1661888b0d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 e47daa2a07 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 a0a089d0b0 fix tests
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 c8e558fdb2 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 3440c8f431 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 284000a0c2 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 a5e0f4e546 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-08 08:12:20 +02:00
alperozturk96 438c9ca358 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/utils/extensions/FileDataStorageManagerExtensions.kt
2026-09-08 08:12:20 +02:00
alperozturk96 d4931fb71c wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/client/database/dao/FileDao.kt
2026-09-08 08:12:20 +02:00
Nextcloud bot 36894c179f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-08 04:35:38 +00:00
Alper Öztürk c60067146f Merge pull request #17566 from nextcloud/fix/notification-empty-state
fix(notification): empty state
2026-09-07 11:46:49 +02:00
alperozturk96 08bf11fc47 feat(unified-share): show favorite icon
Signed-off-by: alperozturk96 <[email protected]>
2026-09-07 11:39:21 +02:00
alperozturk96 6bc444ae51 fix(upload): limited file access
Signed-off-by: alperozturk96 <[email protected]>
2026-09-07 11:03:37 +02:00
Alper Öztürk 3c00d5e18b Merge pull request #17564 from nextcloud/refactor-thumbnail-loader
refactor(thumbnail-loader): to player thumbnail loader
2026-09-07 10:59:47 +02:00
Alper Öztürk 27c669a319 Merge pull request #17565 from nextcloud/feat/media-player-video-preview-3-dot-menu
fix(player): 3-dot menu
2026-09-07 10:32:17 +02:00
alperozturk96 33d69d5aca fix(notification): empty state
Signed-off-by: alperozturk96 <[email protected]>
2026-09-07 09:26:08 +02:00
alperozturk96 ca514a8a8a fix(player): 3-dot menu
Signed-off-by: alperozturk96 <[email protected]>
2026-09-07 09:16:39 +02:00
alperozturk96 0802ca07f4 refactor(thumbnail-loader): to player thumbnail loader
Signed-off-by: alperozturk96 <[email protected]>
2026-09-07 08:31:05 +02:00
Alper Öztürk 59f3255ecd Merge pull request #16525 from nextcloud/feat/enhance-player
feat(media-player): enhancement
2026-09-07 08:27:55 +02:00
daniele-verducci 52d29c241a Fix detectWrongSettings: Update android-library
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 18:13:52 +02:00
daniele-verducci 16663f9b7b Fix lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:37 +02:00
daniele-verducci 6f85844587 Fix repeated items in viewpager
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:37 +02:00
daniele-verducci 04b9782c57 Working video change in pip mode across different folders
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:37 +02:00
daniele-verducci 36e8870ef1 wip: working video change in pip mode in same folder
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:37 +02:00
daniele-verducci 7db6df6654 Repeat and Random are mutually exclusive
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:37 +02:00
daniele-verducci 6efa55f09a Fix: Better implementation for insets on player controls
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:37 +02:00
daniele-verducci 9eeff8323e WIP
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:37 +02:00
daniele-verducci ddbcdb084c Fix: margins on player controls changing while swiping after rotation
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:37 +02:00
daniele-verducci e802659c0c Fix: now interface clears insets/notch
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 25fe01ab43 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 b20cbbd5f5 disable pip in fragment
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 b4b8614c33 fix leaks, speed-up load
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 c1d23005a7 speedup
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 e102fa6a11 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 bf5400841d fix pip controls
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 219587f1c2 fix pip border, and gallery selection
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 a22bdd387d remove guava
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 aefa37ff2e use non deprecated apis
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 41eb72306c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 50e01fe256 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 bb370e8467 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 46d231fa9b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 4b17913271 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 3eb1c79a3e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 6e16f4874c use PlayerUtil.kt
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 2e51293f70 remove unnecessary tests
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 f5a4983384 fix "null" in the notification
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 06ab182c96 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 dd9c094cc4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 de442fa508 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 9c76de1e72 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 0785bae437 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 e13ecad3a4 fix readCurrentFiles calls
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 e564917cfc fix readCurrentFiles calls
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 8f9eaa90ed update dims
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 e8aee23c33 use kotlinx.serialization instead of java.io
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 6dd6959f5b use view pager 2
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 bbdf6313e7 fix crash playing audio after video
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 dfd6fdfd75 redesign re-use ui components
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 b5e24ae623 update player_audio_file_fragment.xml m3
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:37 +02:00
alperozturk96 61753c6f20 update icons use m3
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 d6ba5b2900 fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 86c0fac7c1 remove unused classes
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 69b48d72f3 simplify approach
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/client/di/ViewModelModule.kt
2026-09-06 17:44:36 +02:00
alperozturk96 c57ad1a52f fix using new players
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 c73ec19aae wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 f60bd6291c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 e28aec5bd4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 0e57cf845d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 70681271a0 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 60d72c9990 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
Alex Kucherenko 61069b36a4 Update license identifier
Signed-off-by: daniele-verducci <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 4e98d9e39e handle stream media operation better
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 6b0ed3f312 handle stream media operation better
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 9873834024 handle stream media operation better
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 c13258371e Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 2a9f17492a onPlaybackError
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 5a3e682cc6 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 f873a1fe65 fix action bar title after playing music
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 e9e9e56841 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 6606fb3867 use m3 icon buttons and add content description
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 2792cb409b remove unused activity
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 9729847c8e remove unused activity
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt
2026-09-06 17:44:36 +02:00
alperozturk96 0314ceb071 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
alperozturk96 2e6f069c18 fix build
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/res/values/strings.xml
2026-09-06 17:44:36 +02:00
alperozturk96 094d7f5129 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
Alex Kucherenko d22c9c8346 Enhanced player implementation
Signed-off-by: alperozturk96 <[email protected]>
2026-09-06 17:44:36 +02:00
Denis Botvin 640206f2a5 Enhanced player implementation
Signed-off-by: Denis Botvin <[email protected]>

# Conflicts:
#	app/src/main/res/values/colors.xml
#	app/src/main/res/values/strings.xml
#	gradle/libs.versions.toml
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverter.kt

# Conflicts:
#	app/src/main/res/values/styles.xml

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/adapter/ListGridItemViewHolder.kt
#	app/src/main/java/com/owncloud/android/ui/adapter/OCFileListItemViewHolder.kt

# Conflicts:
#	app/src/main/res/values/dims.xml
2026-09-06 17:44:36 +02:00
Nextcloud bot 576dc13e8f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-06 04:00:12 +00:00
Nextcloud bot 87b12e8218 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-05 04:08:03 +00:00
Tobias Kaminsky 112318024d Merge pull request #17544 from nextcloud/renovate/spotless
Update dependency com.diffplug.spotless to v8.10.1
2026-09-04 15:14:41 +02:00
tobiasKaminsky bbaf1bfb13 fix some spotbugs findings
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-04 08:51:51 +02:00
renovate[bot] 21add7252c Update dependency com.google.android.gms:play-services-base to v18.10.1 (#17512)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-04 05:29:53 +00:00
renovate[bot] 6a307d4a98 Update dependency org.conscrypt:conscrypt-android to v2.6.3 (#17519)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-04 05:29:17 +00:00
Nextcloud bot 4a8bc91d8c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-04 04:18:34 +00:00
Nextcloud bot 92ef82afbc fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-03 12:47:41 +00:00
Alper Öztürk 2affe52783 Merge pull request #17516 from nextcloud/feature/1475-delete-uploaded-files
Feature to remove already uploaded files in autoupload folders to free up space on the device
2026-09-03 10:48:34 +02:00
daniele-verducci 14a7e87bdd feature/1475-delete-uploaded-files: fix lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 09:49:07 +02:00
alperozturk96 66e1f00d42 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-03 08:59:19 +02:00
alperozturk96 c9917ded8e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 6d9fabb398 feature/1475-delete-uploaded-files: Disabled codacy check for more streamlined flow
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 57311cf2b8 feature/1475-delete-uploaded-files: Replace Toast with Snackbar
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 90ae4ed1e2 feature/1475-delete-uploaded-files: Fix Detekt + lint issues
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 4b4391e145 feature/1475-delete-uploaded-files: Simplified log, removed over engineered formatting function
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 4dfe198732 feature/1475-delete-uploaded-files: Pluralized strings
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 65336213a6 feature/1475-delete-uploaded-files: changed some strings, simpler completion notification
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 5fbc88c212 feature/1475-delete-uploaded-files: enabled real file deletion
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci c74248938a feature/1475-delete-uploaded-files: fixed bug preventing removal of pictures uploaded before enabling subfolders by date
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci e5b56f3d93 feature/1475-delete-uploaded-files: apply to current user or all users, added users in report
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 011d83b508 feature/1475-delete-uploaded-files: more logs & user info, fix
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 0a3d4d559e feature/1475-delete-uploaded-files: show runtime in stats
Signed-off-by: daniele-verducci <[email protected]>

# Conflicts:
#	app/src/main/res/values/strings.xml
2026-09-03 08:59:19 +02:00
daniele-verducci af99094219 feature/1475-delete-uploaded-files: spotless run
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci cb2de5ca71 feature/1475-delete-uploaded-files: Better user notifications
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 12f8c055ac feature/1475-delete-uploaded-files: Fixed untouched files report
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 3b0efbb2a7 feature/1475-delete-uploaded-files: Stats
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci d90384b34b feature/1475-delete-uploaded-files: Fix user race condition
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 5ee406f451 feature/1475-delete-uploaded-files: Manage non-writeable folders
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 880ef3b489 feature/1475-delete-uploaded-files: lint
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci a6cc236992 feature/1475-delete-uploaded-files: notifications
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci cfec844cb8 feature/1475-delete-uploaded-files: Passing needed objects to background worker
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 8a7eb8e96a feature/1475-delete-uploaded-files: Moved logic to background worker, wired up manage space button
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 0f03ff9b36 feature/1475-delete-uploaded-files: Added option to system manage space screen
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci b2bef4a86a feature/1475-delete-uploaded-files: refresh subfolders as needed
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 538347cc47 feature/1475-delete-uploaded-files: Cleanup
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 27793020bc feature/1475-delete-uploaded-files: Working files checks
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 6aec6dd706 feature/1475-delete-uploaded-files: WIP (working folder refresh)
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 59689586c9 feature/1475-delete-uploaded-files: multi folder deletion, refactoring
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 964eda3d5a feature/1475-delete-uploaded-files: working deletion based only on filename
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 1d72b071b5 feature/1475-delete-uploaded-files: WIP proof of concept
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
daniele-verducci 80f3b69c6b feature/1475-delete-uploaded-files: Menu item and popup
Signed-off-by: daniele-verducci <[email protected]>
2026-09-03 08:59:19 +02:00
Alper Öztürk b32b929265 Merge pull request #17545 from nextcloud/refactor/ocfilelistfragment-e2ee
refactor
2026-09-03 08:58:56 +02:00
alperozturk96 72d2968837 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-03 08:27:50 +02:00
alperozturk96 1b845af5d0 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-03 08:25:06 +02:00
alperozturk96 d131d51ac4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-03 08:25:06 +02:00
alperozturk96 155baeba00 refactor
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/schemas/com.nextcloud.client.database.NextcloudDatabase/103.json
#	app/src/main/java/com/nextcloud/client/database/NextcloudDatabase.kt
2026-09-03 08:25:05 +02:00
Alper Öztürk a6717a26a0 Merge pull request #17508 from nextcloud/improve-chunked-upload
Improve chunked upload
2026-09-03 08:12:42 +02:00
Nextcloud bot 9a4474ce11 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-09-03 03:59:11 +00:00
Alper Öztürk c61bbc56b3 Merge pull request #16672 from nextcloud/editTags
edit tags
2026-09-02 14:29:01 +02:00
Alper Öztürk ceb5192d8f Merge pull request #17524 from nextcloud/fix/internal-103394-media-filters-state
Mantain filters state when navigating away from media list
2026-09-02 13:57:33 +02:00
Alper Öztürk b6b4f7402e Merge pull request #17504 from nextcloud/fix/17495
Hide the bottom navigation bar when a text file preview is shown
2026-09-02 13:06:14 +02:00
Alper Öztürk 84d0af9537 Merge pull request #17538 from nextcloud/fix/helpdesk-104634
Fix ordering filter resetting on refresh in Favorites
2026-09-02 13:05:45 +02:00
Alper Öztürk 2387bedc31 Merge pull request #17401 from nextcloud/fix/auto-upload-skip-check
fix(auto-upload): skip check
2026-09-02 12:35:15 +02:00
Alper Öztürk e4de160952 Merge pull request #17539 from nextcloud/fix/media-not-refreshed-after-folder-change
Fix media view not being refreshed when selecting a different media folder
2026-09-02 12:34:52 +02:00
Alper Öztürk 9bedf98111 Merge pull request #17503 from nextcloud/improve-media-provider
Improve media provider
2026-09-02 12:22:13 +02:00
daniele-verducci eb3964e51b fix/17495: hides the bottom navigation bar when a text file preview is shown
Signed-off-by: daniele-verducci <[email protected]>
2026-09-02 11:55:38 +02:00
alperozturk96 e966354e00 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-02 11:24:35 +02:00
tobiasKaminsky 9b72cb711d Tag: sort case-insensitive
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-02 10:53:57 +02:00
tobiasKaminsky 081fd2de3e create TagUiState
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-02 10:53:57 +02:00
tobiasKaminsky a33c9e3984 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-02 10:53:57 +02:00
tobiasKaminsky ab0c803107 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-02 10:53:57 +02:00
tobiasKaminsky c826703a84 edit tags
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-02 10:53:57 +02:00
Alper Öztürk c45225ac76 Merge pull request #14947 from nextcloud/nmc/albums
Albums functionality
2026-09-02 10:34:55 +02:00
renovate[bot] bfdc3fdac0 Update dependency com.diffplug.spotless to v8.10.0 (#17509)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-02 08:14:31 +00:00
renovate[bot] d187b32076 Update dependency com.google.firebase:firebase-messaging to v25.1.2 (#17513)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-02 07:41:15 +00:00
alperozturk96 b31ae1e912 remove logs
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 17:25:38 +02:00
alperozturk96 8a0c586fd9 convert to kotlin and simplify logic
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 17:25:38 +02:00
alperozturk96 a2065c7405 convert to kotlin and simplify logic
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 17:25:38 +02:00
alperozturk96 34b3d8e93a Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 17:25:38 +02:00
alperozturk96 dc29cfa08d revert
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 13:19:51 +02:00
alperozturk96 27f03e293f use local lib temporary
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 13:13:24 +02:00
daniele-verducci d42213bc70 Merge branch 'master' into fix/internal-103394-media-filters-state 2026-09-01 12:16:43 +02:00
daniele-verducci 89ae720bd5 Documented unclear function
Signed-off-by: daniele-verducci <[email protected]>
2026-09-01 11:56:11 +02:00
alperozturk96 40b88b7276 update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:19:45 +02:00
alperozturk96 6261c237fc update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:14:41 +02:00
alperozturk96 3a3e569b2f update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:11:03 +02:00
alperozturk96 cf271fbc86 update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:11:02 +02:00
alperozturk96 38f6b1162d update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:11:00 +02:00
alperozturk96 481bc5034e use user's capabilities to inject serverMaxChunkSize
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java
2026-09-01 10:10:56 +02:00
alperozturk96 a5237804e2 add chunked max upload size
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:10:40 +02:00
alperozturk96 1ca3def0e2 fix video preview
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 71b9587106 fix video preview
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 cdf67ea5d1 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 d794a4ea68 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 bb58bfc867 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 eeb4ee68f8 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 8e493f58f7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 75048833c7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 79a6e4577c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 9515547226 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 4a96afbf0b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 8e2d30121f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 3928505536 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 f003013ab2 remove unused orientation logic
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 711ac95132 unify column count logic
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 855a2b039c unify column count logic
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 a8ad36f74e use empty state
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 0deebb16b2 use thread safe CopyOnWriteArrayList
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 c94921cc90 introduce ThumbnailArguments
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 3de3923dd1 introduce ThumbnailArguments
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 cbf4037f9a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 e19f0f76f7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 3407a43daf wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 100b1cc1bd refactor album sharing bottom sheet
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 092ce03c8c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
Surinder Kumar a0ffc6d808 feat(albums): add link sharing and add-to-album
Add a sharing bottom sheet for albums with public link creation, sharing
and revocation, backed by PublicShareLinkAlbumRemoteOperation.

Add files to an album from the file list, the image preview and the media
preview. Album picking moves into FileOperationsHelper.addFileToAlbum, so
AlbumsPickerActivity now receives the selected paths and performs the copy
itself instead of returning them through an activity result.

Signed-off-by: Surinder Kumar <[email protected]>
Assisted-by: ClaudeCode:claude-opus-5
2026-09-01 10:03:35 +02:00
alperozturk96 f1c4597931 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 cb1540babd wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 bb39a362eb wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 88de01d562 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
Surinder Kumar f0f607b63a upload files to album, hide video overlay icon, minor ui and bug fixes
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
A117870935 977c769171 Albums functionality.
Signed-off-by: A117870935 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java
#	app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt

# Conflicts:
#	app/src/main/res/values/strings.xml

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java

# Conflicts:
#	app/src/main/java/com/nextcloud/client/di/ComponentsModule.java

# Conflicts:
#	app/src/main/java/com/nextcloud/ui/albumItemActions/AlbumItemAction.kt
#	app/src/main/java/com/nextcloud/ui/albumItemActions/AlbumItemActionsBottomSheet.kt
#	app/src/main/java/com/owncloud/android/ui/activity/AlbumsPickerActivity.kt
#	app/src/main/java/com/owncloud/android/ui/adapter/albums/AlbumFragmentInterface.kt
#	app/src/main/java/com/owncloud/android/ui/adapter/albums/AlbumGridItemViewHolder.kt
#	app/src/main/java/com/owncloud/android/ui/adapter/albums/AlbumItemViewHolder.kt
#	app/src/main/java/com/owncloud/android/ui/adapter/albums/AlbumListItemViewHolder.kt
#	app/src/main/java/com/owncloud/android/ui/adapter/albums/AlbumsAdapter.kt
#	app/src/main/java/com/owncloud/android/ui/dialog/CreateAlbumDialogFragment.kt
#	app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java
#	app/src/main/java/com/owncloud/android/ui/fragment/albums/AlbumItemsFragment.kt
#	app/src/main/java/com/owncloud/android/ui/fragment/albums/AlbumsFragment.kt
#	app/src/main/res/layout/albums_fragment.xml
#	app/src/main/res/layout/albums_grid_item.xml
#	app/src/main/res/layout/albums_list_item.xml
#	app/src/main/res/menu/bottom_navigation_menu.xml
#	app/src/main/res/menu/partial_drawer_entries.xml
2026-09-01 10:03:35 +02:00
Surinder Kumar e00e92fe98 rebased with master
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 4897cbf9bc add albumOperationListener
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/verification-metadata.xml
2026-09-01 10:03:35 +02:00
alperozturk96 42a75aba57 adopt overlay manager
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/client/jobs/upload/FileUploadHelper.kt
2026-09-01 10:03:35 +02:00
alperozturk96 fd173bfb0c fix menu item highlighting
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 30a7812896 fix(spotbugs): NAB: Needless Autoboxing
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 42d17f3427 album items fragment code cleanup
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 a8094e5e47 use outlined card
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 c2a87d52cd small typo fixes
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 9e648a209e fix git conflict
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 b3d95bfe86 fix fab button appereance
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 c48a77dcf9 use action bottom sheet for album item actions
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 b38b4b0cda use action bottom sheet for album item actions
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 43f2dd5aa2 use fab
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 cdbd188acc m3 card
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 2e28745f2d m3 card
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 f5810ac82b fix code analytics, simplify
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/preview/PreviewImageFragment.kt
2026-09-01 10:03:35 +02:00
alperozturk96 17193a75b6 use optional generic function to access fragment
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 629fa25f37 simplify album fragment
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 e6273a1093 separate params
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 bf7c204d65 separate worker parameters
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
alperozturk96 48b6bb6c92 simplify upload file calls
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 10:03:35 +02:00
Surinder Kumar 152efbceee album upload worker state handled via localbroadcastmanager
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
Surinder Kumar b0769ee806 code fixes
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
tobiasKaminsky 58a0791874 small fix
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-01 10:03:35 +02:00
Surinder Kumar 049b76d391 upload files to album, hide video overlay icon, minor ui and bug fixes
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
A117870935 0799091a38 Code refactoring and operation migrated to kotlin
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
A117870935 fdd7de2aca Rename .java to .kt
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
A117870935 d6986a84dd Albums functionality.
Signed-off-by: A117870935 <[email protected]>
2026-09-01 10:03:35 +02:00
tobiasKaminsky 6b88b78cf8 wip
Signed-off-by: tobiasKaminsky <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-09-01 10:03:35 +02:00
Surinder Kumar be0d313c17 upload files to album, hide video overlay icon, minor ui and bug fixes
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
Surinder Kumar 9879cb4a4e Fix: preview album items
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
A117870935 6c296c95f2 Fix -> video click event, overflow menu item hide and theming add menu
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
A117870935 c10a951574 Code refactoring and operation migrated to kotlin
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
A117870935 844d8029ae Rename .java to .kt
Signed-off-by: Surinder Kumar <[email protected]>
2026-09-01 10:03:35 +02:00
A117870935 bce8e8e5d3 Albums functionality.
Signed-off-by: A117870935 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java
#	app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt

# Conflicts:
#	app/src/main/res/values/strings.xml

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java

# Conflicts:
#	app/src/main/java/com/nextcloud/client/di/ComponentsModule.java

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/adapter/OCFileListDelegate.kt
2026-09-01 10:03:35 +02:00
alperozturk96 acf08e6b06 fix verification-metadata.xml
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 09:02:56 +02:00
alperozturk96 285f7149ff wip
Signed-off-by: alperozturk96 <[email protected]>
2026-09-01 08:38:28 +02:00
Alper Öztürk 9741714f3c Merge pull request #17396 from nextcloud/feat/bypass-battery-optimization
feat(auto-upload): ignore battery optimization with sync now
2026-09-01 08:34:22 +02:00
tobiasKaminsky 3aca64edc4 Temp fix for chunked upload
Signed-off-by: tobiasKaminsky <[email protected]>
2026-09-01 07:52:32 +02:00
daniele-verducci 9342d513b5 Fix media view not being refreshed when selecting a different media folder
Signed-off-by: daniele-verducci <[email protected]>
2026-08-31 17:14:43 +02:00
daniele-verducci 84f97998de fix/internal-103394-media-filters-state: Mantain filters state when navigating away from media list
Signed-off-by: daniele-verducci <[email protected]>
2026-08-31 15:09:36 +02:00
daniele-verducci 4c98df9982 fix/helpdesk-104634: Fix filter resetting on refresh in Favorites
Signed-off-by: daniele-verducci <[email protected]>
2026-08-31 15:09:03 +02:00
Tobias Kaminsky d5299bb2ec Merge pull request #17518 from nextcloud/renovate/spotbugsgradleplugin
Update dependency com.github.spotbugs to v6.5.11
2026-08-31 14:24:07 +02:00
Tobias Kaminsky 9d6f749260 Merge pull request #17537 from nextcloud/taskList
exclude AI check from task-list check
2026-08-31 12:56:49 +02:00
tobiasKaminsky 3829520576 exclude AI from task-list check
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-31 12:50:30 +02:00
renovate[bot] 4c5e9e9b34 Update androidPluginVersion to v9.3.2 (#17530)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-31 09:58:08 +00:00
Tobias Kaminsky 264fa809ed Merge pull request #17532 from nextcloud/renovate/actions-setup-java-6.x
Update actions/setup-java action to v6
2026-08-31 11:33:38 +02:00
renovate[bot] 1c5736eb09 Update actions/setup-java action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-31 10:42:55 +02:00
renovate[bot] 67e76d7941 Update dependency com.github.spotbugs to v6.5.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-31 10:40:40 +02:00
Tobias Kaminsky 4e6f9388b3 Merge pull request #17536 from nextcloud/updateKeys
export keys
2026-08-31 10:39:56 +02:00
Tobias Kaminsky b179d8a8e4 Merge pull request #17534 from nextcloud/update-library-2026-08-30
Update library to 2026-08-30
2026-08-31 10:09:57 +02:00
tobiasKaminsky 042c726e84 export keys
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-31 09:36:29 +02:00
Tobias Kaminsky 0e19a4fad4 Update library to 2026-08-30
Signed-off-by: Tobias Kaminsky <[email protected]>
2026-08-31 08:53:15 +02:00
Nextcloud bot 357f5ad3a3 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-31 03:54:17 +00:00
Nextcloud bot 4ccb511527 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-30 03:56:02 +00:00
Nextcloud bot 022781bcba fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-29 03:53:19 +00:00
Tobias Kaminsky 0670f5ef96 Merge pull request #17527 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-08-27 10:05:37 +02:00
Tobias Kaminsky 4777331d22 Merge pull request #17511 from nextcloud/renovate/gradle-9.x
Update Gradle to v9.7.1
2026-08-27 10:03:59 +02:00
Tobias Kaminsky f842aee1e7 Merge pull request #17523 from nextcloud/updateLib
Update lib to 26.08.26
2026-08-27 09:16:49 +02:00
nextcloud-android-bot 4c6bef3007 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-08-27 04:48:00 +00:00
Nextcloud bot 26a3d290af fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-27 04:22:00 +00:00
tobiasKaminsky 1e9b3a6c5a Update lib to 26.08.26
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-26 12:26:20 +02:00
renovate[bot] c6ee037696 Update Gradle to v9.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-26 09:17:24 +00:00
Nextcloud bot cf85700306 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-26 04:32:13 +00:00
Andy Scherzinger aea628901b Merge pull request #17517 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-08-25 13:00:17 +02:00
nextcloud-android-bot d572720213 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-08-25 10:44:44 +00:00
Nextcloud bot cf11c59ef5 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-25 04:20:23 +00:00
Andy Scherzinger f4a58d155a Merge pull request #17514 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to 2260313
2026-08-24 00:45:32 +02:00
renovate[bot] 9cda7dba1e Update ubuntu:resolute Docker digest to 2260313
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-23 22:43:41 +00:00
Nextcloud bot 6ec4f5fb43 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-23 03:34:31 +00:00
Andy Scherzinger 36277a1022 Merge pull request #17510 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-08-22 07:24:18 +02:00
nextcloud-android-bot 11cf668518 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-08-22 05:23:37 +00:00
Nextcloud bot 50794f080e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-22 03:50:38 +00:00
alperozturk96 9e76f369b6 auto upload worker already inserts entries no need to use content observer work
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 10:54:16 +02:00
alperozturk96 e3948cac07 auto upload worker already inserts entries no need to use content observer work
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 10:44:12 +02:00
alperozturk96 11f4710d39 instead of using random minutes to prevent sync now use worker
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 09:47:52 +02:00
alperozturk96 433c91c185 instead of using random minutes to prevent sync now use worker
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 09:27:16 +02:00
alperozturk96 53a028b171 instead of using random minutes to prevent sync now use worker
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 09:26:35 +02:00
alperozturk96 cbacc0800a instead of using random minutes to prevent sync now use worker
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 09:07:16 +02:00
alperozturk96 eb9df06870 instead of using random minutes to prevent sync now use worker
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 09:06:06 +02:00
alperozturk96 e9adcdca0c add debounce
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 08:44:42 +02:00
alperozturk96 2b76712b9d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 08:44:42 +02:00
alperozturk96 017d9a8b90 fix button alignment
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 08:44:42 +02:00
alperozturk96 873282de67 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 08:44:42 +02:00
alperozturk96 0837f9308b fix infinite loading indicator
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 08:44:42 +02:00
alperozturk96 950b7defb4 add override power saving option to the content observer work
Signed-off-by: alperozturk96 <[email protected]>
2026-08-21 08:44:42 +02:00
alperozturk96 49ee63ae14 feat(auto-upload): ignore battery optimization with sync now
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/ui/component/UploadWarningCard.kt
2026-08-21 08:44:42 +02:00
Nextcloud bot 3a6ebbc94d fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-21 03:47:25 +00:00
Andy Scherzinger 9e4d1bfeb1 Merge pull request #17507 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-08-20 06:57:32 +02:00
Nextcloud bot 4a8f00156f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-20 03:44:42 +00:00
nextcloud-android-bot 249a86bb63 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-08-20 02:53:16 +00:00
Alper Öztürk 90a979a21e Merge pull request #17479 from nextcloud/handle-oome-read
feat(empty-state): oome
2026-08-19 15:28:14 +02:00
Alper Öztürk d7d77fc31e Merge pull request #17498 from nextcloud/fix/analyze-java
fix analyze java
2026-08-19 14:54:45 +02:00
alperozturk96 8b502a38e1 update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-08-19 10:54:30 +02:00
Alper Öztürkanddaniele-verducci ec81a8f873 Update app/src/main/res/values/strings.xml
Co-authored-by: daniele-verducci <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2026-08-19 10:50:09 +02:00
alperozturk96 e4f92f28ca fix analyze java
Signed-off-by: alperozturk96 <[email protected]>
2026-08-19 09:37:11 +02:00
alperozturk96 54f92773df fix analyze java
Signed-off-by: alperozturk96 <[email protected]>
2026-08-19 09:37:11 +02:00
alperozturk96 9fd7370487 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-08-19 08:58:16 +02:00
alperozturk96 44e085e00d use single syncState
Signed-off-by: alperozturk96 <[email protected]>
2026-08-19 08:47:23 +02:00
alperozturk96 0f1e301a70 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-19 08:19:41 +02:00
alperozturk96 b0d5ac3caf feat(oome): empty state
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-08-19 08:14:16 +02:00
Nextcloud bot b24d3f44a3 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-19 04:10:18 +00:00
Alper Öztürk eed4cbefa8 Merge pull request #17474 from nextcloud/fix/search-encrypted-files-endless-indicator
fix(unified-search): handle slow server search for loader spinner
2026-08-18 13:49:44 +02:00
Alper Öztürk 4a80d4427b Merge pull request #17426 from nextcloud/fix/file-name-extension
fix(file-list): list mode long file names visibility
2026-08-18 13:11:13 +02:00
alperozturk96 dd68a068c5 fix spotless
Signed-off-by: alperozturk96 <[email protected]>
2026-08-18 10:15:15 +02:00
alperozturk96 0396e4ec27 hide more button for encrypted and if device doesn't have activated encryption
Signed-off-by: alperozturk96 <[email protected]>
2026-08-18 10:15:15 +02:00
alperozturk96 afd1ad88bb fix(unified-search): handle slow server search for loader spinner
Signed-off-by: alperozturk96 <[email protected]>
2026-08-18 10:15:15 +02:00
Alper Öztürk 77286696fa Merge pull request #17492 from nextcloud/testRemoveObjenesis
Remove Objenesis
2026-08-18 10:06:38 +02:00
Alper Öztürk e067cd3d68 Merge pull request #17473 from nextcloud/enhancement/files-clients-114-simplify-add-new-menu
Reworked "add new" menu to better support multiple office suites
2026-08-18 10:06:17 +02:00
alperozturk96 609d9b41e2 fix list
Signed-off-by: alperozturk96 <[email protected]>
2026-08-18 09:05:17 +02:00
alperozturk96 f61a14d7bb fix list
Signed-off-by: alperozturk96 <[email protected]>
2026-08-18 09:05:17 +02:00
alperozturk96 cc96746cdf fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-08-18 09:05:17 +02:00
alperozturk96 199e540e33 fix(file-list): list mode long file names visibility
Signed-off-by: alperozturk96 <[email protected]>
2026-08-18 09:05:17 +02:00
tobiasKaminsky ff6a0363a4 remove old version references
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-18 09:04:16 +02:00
tobiasKaminsky 1381b0cb8b 4gb
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-18 09:04:16 +02:00
tobiasKaminsky 690ce0bf17 Remove Objenesis
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-18 09:04:16 +02:00
alperozturk96 b044cf2bf1 fix menu back alignment
Signed-off-by: alperozturk96 <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 480986dd55 files-clients-114: Fixed missing copyright
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci d3b463712d files-clients-114: Back button position
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci dc1302ab08 files-clients-114: Styled 'more' and 'back' buttons with instance theme
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 9552795549 files-clients-114: Show office documents always first, independently from their source
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 714f392b5a files-clients-114: Back button position and changed ripple shape
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 5379bcd904 files-clients-114: Fixed margins, changed ripple shape
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 32b0767bd3 files-clients-114: gradlew spotlessApply
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 6b6e2e3a8d files-clients-114: moved view manipulation to its own function
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 35801debc3 files-clients-114: refactored collabora capabilities
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci c6d22e1b63 files-clients-114: refactored direct editing capabilities
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 694e3d3bf7 files-clients-114: fix codacy issue
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci c9c55b0572 files-clients-114: missing copyright headers
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci aa6639bf15 files-clients-114: capitalize creator names from API
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 8871d275db files-clients-114: if single item from directEditing, show it as a row
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 0b51bd865b files-clients-114: replaced temporary icon
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci cc11ce3b7e files-clients-114: removed slow animation
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 0872984809 files-clients-114: fixed dividers visibility
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 2a9767c966 files-clients-128: removed 'New' (redundant in an item creation menu)
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci aafa21103c files-clients-114: deprecations
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 42ae98f437 files-clients-114: bottom sheet rework: navigation icons
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 3c460db776 files-clients-114: bottom sheet rework: restored collabora icons
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 2319d176ca files-clients-114: bottom sheet rework: ordered creators, working overview, missing icons
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci 20591959ef files-clients-114: bottom sheet rework: navigation
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
daniele-verducci f2778991fa files-clients-114: bottom sheet rework: removed "Add to cloud", rearranged items
Signed-off-by: daniele-verducci <[email protected]>
2026-08-18 09:01:44 +02:00
Alper Öztürk 6562e77bc6 Merge pull request #17496 from nextcloud/fix/lint-3
fix lint
2026-08-18 09:01:21 +02:00
alperozturk96 07ab717b3b fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-08-18 08:07:07 +02:00
Nextcloud bot abb074ba22 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-18 03:40:55 +00:00
renovate[bot]andtobiasKaminsky 50d3f0044b Update dependency org.conscrypt:conscrypt-android to v2.6.2 (#17485)
* Update dependency org.conscrypt:conscrypt-android to v2.6.2

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* update verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tobiasKaminsky <[email protected]>
2026-08-17 12:54:13 +00:00
renovate[bot]andtobiasKaminsky 4f3b19f7a5 Update dependency androidx.webkit:webkit to v1.17.0 (#17490)
* Update dependency androidx.webkit:webkit to v1.17.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* update verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tobiasKaminsky <[email protected]>
2026-08-17 11:50:15 +00:00
Tobias Kaminsky ddb3038dfa Merge pull request #17487 from nextcloud/renovate/composebom
Update dependency androidx.compose:compose-bom to v2026.08.00
2026-08-17 12:31:17 +02:00
Alper Öztürk 6629b69c45 Merge pull request #17399 from nextcloud/fix/handle-parent-existence-for-conflicts
fix(upload): grant parent existence
2026-08-17 11:40:13 +02:00
renovate[bot]andtobiasKaminsky b351b6b4da Update dependency androidx.appcompat:appcompat to v1.8.0 (#17486)
* Update dependency androidx.appcompat:appcompat to v1.8.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* update verification-metadata.xml

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

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: tobiasKaminsky <[email protected]>
2026-08-17 09:40:00 +00:00
Alper Öztürk 50fef3a9b8 Apply suggestion from @alperozturk96
Signed-off-by: Alper Öztürk <[email protected]>
2026-08-17 10:49:03 +02:00
Alper Öztürk 95443beefd Apply suggestion from @alperozturk96
Signed-off-by: Alper Öztürk <[email protected]>
2026-08-17 10:49:03 +02:00
Alper Öztürk bd0e722614 Apply suggestion from @alperozturk96
Signed-off-by: Alper Öztürk <[email protected]>
2026-08-17 10:49:03 +02:00
alperozturk96 32f5dd6f0e add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 10:49:03 +02:00
alperozturk96 a9e9a6703b add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 10:49:03 +02:00
alperozturk96 af06e18a78 fix alignment
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 10:49:03 +02:00
Alper Öztürk 87f28bf582 Merge pull request #17422 from nextcloud/check-web-view
check web view for editor
2026-08-17 09:10:52 +02:00
Alper Öztürk 554707f160 Merge pull request #17438 from nextcloud/fix/list-directory
fix(file-list): list directory 🚀
2026-08-17 08:58:04 +02:00
renovate[bot] 4a69bd6e48 Update dependency androidx.compose:compose-bom to v2026.08.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-17 08:40:10 +02:00
Tobias Kaminsky 5247cdecfb Merge pull request #17488 from nextcloud/renovate/foundationversion
Update dependency androidx.compose.foundation:foundation to v1.12.0
2026-08-17 08:39:59 +02:00
Tobias Kaminsky 2ec93db911 Merge pull request #17489 from nextcloud/renovate/fragmentktxversion
Update dependency androidx.fragment:fragment-ktx to v1.9.0
2026-08-17 08:39:24 +02:00
alperozturk96 abaa4d9837 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:05:11 +02:00
alperozturk96 d3ccc9c5c7 check web view for editor
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java
2026-08-17 08:05:11 +02:00
alperozturk96 d2d6cfb8e6 revert
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 89ee4b053b use ResultParser
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 61236650f3 use ResultParser
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 48028aa95c fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 fcfa8c252d use static variable for dao
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 c0554790be introduce data of type extension
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 c5af1f6f33 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 373977f02a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 49c68ce5fe add doc
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 9438fe1af7 add doc
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 753089b435 add doc
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 46bc3cef2e add doc
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 e06822bcbe add doc
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 2f3455fef8 add doc
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 580a31a158 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 15d4cc3e68 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 6c2b71d556 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 ef80977380 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 35ccaf986b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 331d221195 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
alperozturk96 656de55999 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-17 08:04:51 +02:00
Tobias Kaminsky 67f5bc3374 Merge pull request #17482 from nextcloud/update-library-2026-08-16
Update library to 2026-08-16
2026-08-17 07:41:21 +02:00
Tobias Kaminsky 09f3ad0316 Merge pull request #17456 from nextcloud/renovate/spotbugsgradleplugin
Update dependency com.github.spotbugs to v6.5.10
2026-08-17 07:38:20 +02:00
tobiasKaminsky 09b7841122 update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-17 07:37:04 +02:00
renovate[bot] 5e2fe56b91 Update dependency androidx.compose.foundation:foundation to v1.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-17 07:32:07 +02:00
renovate[bot] 036b6e919c Update dependency androidx.fragment:fragment-ktx to v1.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-17 07:31:18 +02:00
Tobias Kaminsky aac4e654f6 Merge pull request #17480 from nextcloud/fix-ci-3
fix garm
2026-08-17 07:30:27 +02:00
Tobias Kaminsky e060cf5320 Merge pull request #17483 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.238.0
2026-08-17 07:23:40 +02:00
tobiasKaminsky 70695231b7 update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-17 07:20:28 +02:00
renovate[bot] 63426411f8 Update dependency com.github.spotbugs to v6.5.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-17 07:20:25 +02:00
Tobias Kaminsky 1c8d8e906b Merge pull request #17402 from nextcloud/renovate/spotless
Update dependency com.diffplug.spotless to v8.9.0
2026-08-17 07:09:03 +02:00
tobiasKaminsky d06bfccb99 update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-17 07:07:44 +02:00
Nextcloud bot ac2d79489c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-17 03:37:51 +00:00
renovate[bot] ba7702f830 Update dependency fastlane to v2.238.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-16 12:30:42 +00:00
Nextcloud bot dadb642fe4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-16 03:36:17 +00:00
Tobias Kaminsky 9086dc86d2 Update library to 2026-08-16
Signed-off-by: Tobias Kaminsky <[email protected]>
2026-08-16 00:01:04 +02:00
Nextcloud bot b8e462e144 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-15 03:45:34 +00:00
tobiasKaminsky f2c50f269b update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-08-14 15:50:33 +02:00
renovate[bot] e9b7bd48e2 Update dependency com.diffplug.spotless to v8.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-14 15:50:33 +02:00
Alper Öztürk ed7ce28775 Merge pull request #17470 from nextcloud/fix/media-player-when-task-in-background
fix(media): video player returning from background
2026-08-14 15:24:37 +02:00
alperozturk96 591609a0a3 objenesis 3.5
Signed-off-by: alperozturk96 <[email protected]>
2026-08-14 15:15:48 +02:00
alperozturk96 e1bbf8389f objenesis 3.5
Signed-off-by: alperozturk96 <[email protected]>
2026-08-14 15:11:36 +02:00
Alper Öztürk 4ff7957e14 Merge pull request #17467 from nextcloud/file-upload-worker-retry
file upload worker retry policy
2026-08-14 14:50:11 +02:00
Alper Öztürk 7e36db34a0 Merge pull request #17471 from nextcloud/fix/navigation-to-root-from-search-fragment
fix(navigation): search fragment to root
2026-08-14 14:48:42 +02:00
Tobias Kaminsky 6fd946db25 Merge pull request #17442 from nextcloud/renovate/objenesis
Update dependency org.objenesis:objenesis to v3.6
2026-08-14 11:31:24 +02:00
Alper Öztürk c971e5847b Merge pull request #17477 from nextcloud/update-android-lib
update android lib
2026-08-14 11:09:18 +02:00
alperozturk96 7db102d45b update android lib
Signed-off-by: alperozturk96 <[email protected]>
2026-08-14 11:08:47 +02:00
Tobias Kaminsky 369275e93c Merge pull request #17460 from nextcloud/renovate/gradle-9.x
Update Gradle to v9.7.0
2026-08-14 10:25:29 +02:00
Tobias Kaminsky 53c9d6c229 Merge pull request #17331 from nextcloud/renovate/firebasemessagingversion
Update dependency com.google.firebase:firebase-messaging to v25.1.1
2026-08-14 10:21:51 +02:00
Alper Öztürk c6e2077dee Merge pull request #17459 from nextcloud/convert-local-file-list-fragment-to-kt-2
Convert LocalFileListFragment to Kotlin
2026-08-14 10:19:37 +02:00
renovate[bot] ef2bab5195 Update dependency org.objenesis:objenesis to v3.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-14 10:07:47 +02:00
Andy Scherzinger ca9013df4a Merge pull request #17476 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-08-14 07:35:21 +02:00
nextcloud-android-bot d021138d38 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-08-14 05:31:46 +00:00
Nextcloud bot 7be013ca62 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-14 03:49:15 +00:00
alperozturk96 d9d115d59b add search event check to activate search fragment
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 14:30:10 +02:00
Alper Öztürk aad96b8d56 Merge pull request #17465 from nextcloud/fix/initial-load-time
perf(file-list): initial load, refresh 🚀
2026-08-13 13:56:11 +02:00
alperozturk96 16f1612cba fix(media): video player returning from background
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 11:50:45 +02:00
alperozturk96 4928b18d45 fix(media): video player returning from background
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 11:48:06 +02:00
alperozturk96 8acc7855f6 reusePendingUpload
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 11:17:28 +02:00
alperozturk96 30267ee233 fix can exit policy
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 11:17:18 +02:00
alperozturk96 740337e974 separate between permanent failed uploads and retryable uploads
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 10:49:06 +02:00
alperozturk96 04a79a33d5 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 10:49:06 +02:00
Alper Öztürk b984f57a30 Merge pull request #17468 from nextcloud/docs/agent-comment-guidelines
docs(agents): update for adding unnecessary comments
2026-08-13 10:34:44 +02:00
alperozturk96 a8a34e335f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 10:19:53 +02:00
alperozturk96 f18ceee722 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 10:19:34 +02:00
alperozturk96 7abdc65d02 docs(agents): tighten comment guidance for AI contributions
Replace the single-line comment rule with a dedicated Comments section
stating that names carry the explanation, when a comment is warranted,
and an explicit never-list. Comments must not narrate the change or
reference the issue, PR or the conversation that produced it.

Apply the same rule to the java-to-kotlin skill conventions.

Assisted-by: ClaudeCode:claude-opus-5
2026-08-13 10:12:26 +02:00
alperozturk96 03e7d172ee file upload worker retry policy
Signed-off-by: alperozturk96 <[email protected]>
2026-08-13 10:10:01 +02:00
Nextcloud bot 49eac34881 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-13 03:45:18 +00:00
Alper Öztürk c0b4e3fefc Merge pull request #17464 from nextcloud/fix/15236-account-detail-page-empty
Show cached data in account detail view when server is not reachable
2026-08-12 10:28:03 +02:00
Tobias Kaminsky b77e1a2c03 Merge pull request #17448 from nextcloud/fix/thumbail-generation
fix(thumbail): generation
2026-08-12 10:25:17 +02:00
alperozturk96 0212ba87cf remove hardcoded delay use onWindowFocusChanged instead
Signed-off-by: alperozturk96 <[email protected]>
2026-08-12 09:26:02 +02:00
alperozturk96 a8797f7020 update user profile and oc version after refresh events
Signed-off-by: alperozturk96 <[email protected]>
2026-08-12 09:15:21 +02:00
alperozturk96 d4e7e96e0b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-12 08:35:32 +02:00
alperozturk96 dd2b15fcd1 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-12 08:30:31 +02:00
daniele-verducci f819f1ab65 Merge branch 'master' into fix/15236-account-detail-page-empty 2026-08-12 08:22:40 +02:00
alperozturk96 db2b38cc01 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-08-12 08:21:52 +02:00
alperozturk96 6976f78e23 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-08-12 08:21:52 +02:00
alperozturk96 a93cec205f convert to kt
Signed-off-by: alperozturk96 <[email protected]>
2026-08-12 08:21:52 +02:00
alperozturk96 999c8f00c5 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-08-12 08:21:52 +02:00
renovate[bot] a4cc4a365f Update dependency com.google.devtools.ksp to v2.3.11 (#17452)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-12 03:56:10 +00:00
renovate[bot] ffa3a82b82 Update Gradle to v9.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-12 03:13:48 +00:00
renovate[bot] ff0eadbdcf Update dependency com.google.firebase:firebase-messaging to v25.1.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-12 03:06:06 +00:00
daniele-verducci b0eda3af81 15236: show cached data in account detail view
Signed-off-by: daniele-verducci <[email protected]>
2026-08-11 17:39:16 +02:00
renovate[bot] 80682ea362 Update media3 to v1.11.0 (#17461)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-11 09:57:30 +00:00
alperozturk96 0f8aeb75fc wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:04:45 +02:00
alperozturk96 988b272b47 add doc
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:59 +02:00
alperozturk96 ca631c7d29 only use extension
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:58 +02:00
alperozturk96 235541cda3 check and set preview enable before fetching from server blindly
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:58 +02:00
alperozturk96 7492dda92b fix shimmer
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:58 +02:00
alperozturk96 0faf153c40 use ThumbnailGenerator only
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:58 +02:00
alperozturk96 7877ed9d26 introduce ThumbnailGenerator.kt
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:58 +02:00
alperozturk96 8a6cd4f3c9 rename overlay manager to folder thumbnail generator
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:58 +02:00
alperozturk96 584070bd8e clean imports
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:56 +02:00
alperozturk96 1f90ad4cdc fix thumbnail in media tab
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:54 +02:00
alperozturk96 680490179c use display util for upload list
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:54 +02:00
alperozturk96 4f6eda1809 unify file thumbnail generation
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:54 +02:00
alperozturk96 7cf1adc1a6 simplify FileThumbnailGenerator
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:54 +02:00
alperozturk96 ed866f538f introduce FileThumbnailGenerator
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:53 +02:00
alperozturk96 8241cc6e38 fix thumbnail visibility for video file in upload list adapter
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:53 +02:00
alperozturk96 3c5b51c276 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:53 +02:00
alperozturk96 7d9d776f31 unify PREFIX_RESIZED_IMAGE key usages
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:53 +02:00
alperozturk96 02050d4c52 unify PREFIX_THUMBNAIL key usages
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:53 +02:00
alperozturk96 6da797a1ae unify PREFIX_THUMBNAIL key usages
Signed-off-by: alperozturk96 <[email protected]>
2026-08-11 09:00:53 +02:00
alperozturk96 b902cb3d32 unify PREFIX_THUMBNAIL key usages
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/adapter/LocalFileListAdapter.java
2026-08-11 09:00:51 +02:00
Andy Scherzinger 7769ede981 Merge pull request #17453 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to 678c655
2026-08-08 09:53:12 +02:00
renovate[bot] 64598588db Update ubuntu:resolute Docker digest to 678c655
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-08 04:24:35 +00:00
Alper Öztürk 4dd80b6309 Merge pull request #17394 from nextcloud/local-file-list-adapter-kt
convert local file list adapter to Kotlin
2026-08-07 16:15:35 +02:00
alperozturk96 b5ce3be66b fix footer
Signed-off-by: alperozturk96 <[email protected]>
2026-08-07 14:48:49 +02:00
alperozturk96 9c0ea05c8b improve paging
Signed-off-by: alperozturk96 <[email protected]>
2026-08-07 13:41:18 +02:00
alperozturk96 018c2e5468 improve paging
Signed-off-by: alperozturk96 <[email protected]>
2026-08-07 13:41:18 +02:00
alperozturk96 7439335174 convert java to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-08-07 13:41:18 +02:00
alperozturk96 5eed20a24a Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-08-07 13:41:18 +02:00
Andy Scherzinger 4c2f99bc6e Merge pull request #17447 from nextcloud/renovate/gradle-actions-6.x
Update gradle/actions action to v6.3.0
2026-08-07 12:41:29 +02:00
Nextcloud bot 04e0ad39e2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-07 03:47:14 +00:00
renovate[bot] 255b65cd44 Update gradle/actions action to v6.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-07 00:48:01 +00:00
about2crash 1154bdbf06 fix(drawer): open external links with local ID above 100
External link menu items are registered with MENU_ITEM_EXTERNAL_LINK + the link's local database _id. That column is AUTOINCREMENT and the link table is cleared and refilled on every refresh, so the IDs grow without bound. The click handler only accepted an offset of 0-100, so once the IDs passed that window every external link silently stopped responding.

Dispatch on the menu group the items were registered under, and resolve the link by ID instead of by display name.

Signed-off-by: about2crash <[email protected]>
Assisted-by: ClaudeCode:claude-opus-5
2026-08-06 20:39:56 +02:00
Alper Öztürk 78477cffa3 Merge pull request #17389 from nextcloud/fix/upload-error-check
fix(upload): improve error handling
2026-08-06 09:00:39 +02:00
Alper Öztürk 87ac140685 Merge pull request #17418 from nextcloud/fix/fuee-upload-list-adapter
fix(upload-list-adapter): FileUriExposedException
2026-08-06 08:59:56 +02:00
alperozturk96 14390f05e2 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-06 08:59:38 +02:00
Alper Öztürk 57adf0543a Merge pull request #17433 from nextcloud/fix/deep-link-login-ui
style(deep-link-login): ui
2026-08-06 08:54:22 +02:00
Alper Öztürk cd960f06e6 Merge pull request #17437 from nextcloud/unify-alert-dialog-button-theming
unify alert dialog button theming logic
2026-08-06 08:27:38 +02:00
Andy Scherzinger ad6b2c5478 Merge pull request #17432 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-08-05 20:29:35 +02:00
alperozturk96 924bc28e4b simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 10:56:26 +02:00
alperozturk96 8ed4653925 cover nullable dialog as well
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 10:50:49 +02:00
alperozturk96 51cae82224 unify alert dialog button theming logic
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 10:47:56 +02:00
Alper Öztürk 92c51fe802 Merge pull request #17421 from nextcloud/fix/media-metadata-retriever
fix(media-retriever): get thumbnail
2026-08-05 10:33:02 +02:00
Alper Öztürk 69b0761208 Merge pull request #17390 from nextcloud/fix/alphanumeric-comparator
fix(sort): alphanumeric comparator
2026-08-05 10:31:08 +02:00
Alper Öztürk f68b6b4e6c Merge pull request #17383 from nextcloud/fix/unsupported-operation-oc-file
fix(ocfile): unsupported operation shares
2026-08-05 10:30:20 +02:00
alperozturk96 c68752f759 style(deep-link-login): ui
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 09:26:41 +02:00
alperozturk96 5ba5d8a937 use kt helper class
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:55:14 +02:00
alperozturk96 e9d6a461e0 use kt helper class
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:50:40 +02:00
nextcloud-android-bot 9dbc7edd1d 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-08-05 06:47:50 +00:00
alperozturk96 0f38a9de47 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:35:39 +02:00
alperozturk96 2206a6772b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:35:39 +02:00
alperozturk96 8d4ed90a9d simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:35:39 +02:00
alperozturk96 586a351cdc fix(sort): alphanumeric comparator
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:35:39 +02:00
alperozturk96 21e27d625d fix(sort): alphanumeric comparator
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:35:39 +02:00
alperozturk96 97eed58230 fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:30:08 +02:00
alperozturk96 e6652f8bcd speed-up bindSharedAvatars
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:25:35 +02:00
alperozturk96 c50f4bf567 speed-up bindSharedAvatars
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:25:35 +02:00
alperozturk96 5dfc099147 speed-up bindSharedAvatars
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:25:35 +02:00
alperozturk96 7b6ea731f4 make sharees mutable
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:25:35 +02:00
Alper Öztürk 747ff5407b Merge pull request #17431 from nextcloud/update-lib
update android lib
2026-08-05 08:22:26 +02:00
alperozturk96 0f4425ef09 update android lib
Signed-off-by: alperozturk96 <[email protected]>
2026-08-05 08:21:59 +02:00
Alper Öztürk cdfabae001 Merge pull request #17408 from nextcloud/fix/toggle-full-screen-icon
fix(media-preview): toggle full screen icon
2026-08-05 08:12:17 +02:00
Alper Öztürk 890238d1e5 Merge pull request #17425 from nextcloud/fix/ui-color-match
fix(ui): color match
2026-08-05 08:11:43 +02:00
Andy Scherzinger e36e90e8ba Merge pull request #17427 from nextcloud/renovate/actions-setup-java-5.x
Update actions/setup-java action to v5.7.0
2026-08-05 08:09:02 +02:00
Andy Scherzinger 61f07db253 Merge pull request #17428 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-08-05 08:06:59 +02:00
nextcloud-android-bot cff9cdbe3c 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-08-05 05:12:32 +00:00
Nextcloud bot 785177b001 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-05 03:45:47 +00:00
renovate[bot] b0c720b5f4 Update actions/setup-java action to v5.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-04 21:45:41 +00:00
alperozturk96 3dc38fba0e fix theming internal two way sync
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 14:18:56 +02:00
alperozturk96 a9a9910ecd fix theming manage space activity buttons
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 13:57:08 +02:00
alperozturk96 e84f4a246c fix theming upload warning card buttons
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 13:54:10 +02:00
alperozturk96 f738a562ba create extension for dialog buttons
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 13:52:04 +02:00
alperozturk96 494dfb7442 fix app pass code dialog buttons theming
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 13:51:52 +02:00
Alper Öztürk 391e1e6f9b Merge pull request #17245 from nextcloud/fix/conflict-resolve-auto-upload
fix(conflict-resolve): auto upload
2026-08-04 13:26:56 +02:00
alperozturk96 a2206b67cb fix(media-retriever): get thumbnail
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 11:41:13 +02:00
alperozturk96 4f85abe760 fix(media-retriever): get thumbnail
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 11:39:07 +02:00
alperozturk96 eecd63a80b fix(media-retriever): get thumbnail
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 11:35:10 +02:00
alperozturk96 b0b9900dda fix(media-retriever): get thumbnail
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 11:31:19 +02:00
alperozturk96 07926d0f52 fix(media-retriever): get thumbnail
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 11:31:16 +02:00
alperozturk96 4b4ea553dc use single source of truth
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 10:27:18 +02:00
alperozturk96 6955808770 fix toggle issue
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 10:27:18 +02:00
alperozturk96 7bd68c951c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 10:20:28 +02:00
alperozturk96 97b90367a4 fix(upload-list-adapter): FileUriExposedException
Signed-off-by: alperozturk96 <[email protected]>
2026-08-04 08:51:01 +02:00
Alper Öztürk e95ecbae4e Merge pull request #17411 from nextcloud/fix/input-dispatching-time-out-copy-and-upload
fix(copy-and-upload): ANR
2026-08-04 08:16:16 +02:00
Alper Öztürk f83b5dd29a Merge pull request #17410 from nextcloud/fix/send-share-dialog-on-send-click
fix(send-share-dialog): on send button click crash
2026-08-04 08:14:07 +02:00
Nextcloud bot 567c58cc3c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-04 04:21:55 +00:00
alperozturk96 4d87d8712e fix(copy-and-upload): ANR
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 15:12:30 +02:00
alperozturk96 7de8d437f4 implement missing consumer and make arguments non-nullable
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 14:33:35 +02:00
alperozturk96 7a0b5980b1 implement missing consumer and make arguments non-nullable
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 14:33:35 +02:00
alperozturk96 9b47c9a259 fix(send-share-dialog): on send button click crash
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 14:33:35 +02:00
Alper Öztürk 3e49e5d61c Merge pull request #17400 from nextcloud/mark-flaky-tests
mark flaky tests
2026-08-03 13:58:09 +02:00
alperozturk96 42c52e3409 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 11:22:48 +02:00
alperozturk96 23dd26f941 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 11:22:20 +02:00
alperozturk96 f52faf99f2 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 11:22:20 +02:00
alperozturk96 11d20b964d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 11:22:20 +02:00
alperozturk96 4468b4847e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 11:22:20 +02:00
alperozturk96 457c1c35d4 mark flaky tests
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 11:22:20 +02:00
Alper Öztürk 0e25e23aaa Merge pull request #17407 from nextcloud/renovate/constraintlayoutversion
Update dependency androidx.constraintlayout:constraintlayout to v2.2.2
2026-08-03 11:22:00 +02:00
alperozturk96 cbeede01d3 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 11:21:05 +02:00
renovate[bot] d4be9cec2b Update dependency androidx.constraintlayout:constraintlayout to v2.2.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 11:20:16 +02:00
Alper Öztürk 989d97ba90 Merge pull request #17352 from nextcloud/renovate/androidpluginversion
Update androidPluginVersion to v9.3.1
2026-08-03 11:19:34 +02:00
renovate[bot] 88f73e59b4 Update androidPluginVersion to v9.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 11:16:19 +02:00
Alper Öztürk 97dfab9b58 Merge pull request #17351 from nextcloud/renovate/kotlin-monorepo
Update kotlin monorepo to v2.4.10
2026-08-03 11:15:30 +02:00
alperozturk96 35814caf3a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 11:14:20 +02:00
renovate[bot] bac081f83e Update kotlin monorepo to v2.4.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 11:11:32 +02:00
Alper Öztürk b70ed367a9 Merge pull request #17350 from nextcloud/renovate/spotbugsgradleplugin
Update dependency com.github.spotbugs to v6.5.9
2026-08-03 11:11:05 +02:00
alperozturk96 cd6300bf82 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 11:09:59 +02:00
renovate[bot] fe51fd3575 Update dependency com.github.spotbugs to v6.5.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 11:07:59 +02:00
Alper Öztürk c3b9ddbfa7 Merge pull request #17334 from nextcloud/renovate/conscryptandroidversion
Update dependency org.conscrypt:conscrypt-android to v2.6.1
2026-08-03 10:58:20 +02:00
alperozturk96 d5fe88edbb wip
Signed-off-by: alperozturk96 <[email protected]>
2026-08-03 10:56:13 +02:00
renovate[bot] 31ee90680c Update dependency org.conscrypt:conscrypt-android to v2.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 10:48:39 +02:00
Alper Öztürk 5d7cd6cfab Merge pull request #17332 from nextcloud/renovate/glide
Update glide to v5.0.9
2026-08-03 10:47:48 +02:00
renovate[bot] 08ddaf56bf Update glide to v5.0.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 10:42:43 +02:00
Alper Öztürk d42a68d9cf Merge pull request #17330 from nextcloud/renovate/ksp-monorepo
Update dependency com.google.devtools.ksp to v2.3.10
2026-08-03 10:42:02 +02:00
renovate[bot] 518e4d69b9 Update dependency com.google.devtools.ksp to v2.3.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 10:37:02 +02:00
Nextcloud bot 114f85d7b2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-08-03 03:49:23 +00:00
Andy Scherzinger 91763cf627 Merge pull request #17405 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-08-02 09:33:41 +02:00
nextcloud-android-bot 6b8f61db7c 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-08-02 05:24:45 +00:00
Andy Scherzinger e0f674efae Merge pull request #17395 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-08-01 10:14:57 +02:00
Andy Scherzinger 73adcb094c Merge pull request #17403 from nextcloud/renovate/actions-stale-11.x
Update actions/stale action to v11
2026-08-01 10:14:30 +02:00
renovate[bot] f7ef0437f3 Update actions/stale action to v11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-01 05:46:55 +00:00
nextcloud-android-bot b523815982 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-08-01 05:43:47 +00:00
Alper Öztürk eba69374ae Merge pull request #17397 from nextcloud/feat/add-chips-avatars-to-notification-screen
feat(chip): activities list adapter, notification list adapter
2026-07-30 16:23:50 +02:00
alperozturk96 88b8010e3a fix alignment
Signed-off-by: alperozturk96 <[email protected]>
2026-07-30 12:34:13 +02:00
alperozturk96 7d3c27a706 feat(chip): activities list adapter, notification list adapter
Signed-off-by: alperozturk96 <[email protected]>
2026-07-30 12:02:21 +02:00
alperozturk96 2e54324ea4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-30 11:42:09 +02:00
Nextcloud bot ba00e6b22a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-30 03:47:37 +00:00
Alper Öztürk cda250e965 Merge pull request #17385 from nextcloud/remove-visibility-of-debug-functionality
remove visibility of debug functionality
2026-07-29 16:52:54 +02:00
Alper Öztürk 9925efe3a6 Merge pull request #17373 from nextcloud/fix/upload-retry-crash-safety
fix(upload): prevent crash and duplicate retries when retrying failed uploads
2026-07-29 16:36:03 +02:00
Alper Öztürk 377efbe6d5 Merge pull request #17379 from nextcloud/fix/video-preview-fullscreen-and-download
fix(media): download and preview
2026-07-29 16:35:37 +02:00
alperozturk96 56a595b7ef add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 10:04:03 +02:00
alperozturk96 b636f68a84 add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 09:36:10 +02:00
alperozturk96 0cfb3d83e1 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:58:40 +02:00
alperozturk96 365a7a5527 do not recreate same current account
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:52:10 +02:00
alperozturk96 f4dc0650c7 implement client creation to user account manager
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:50:29 +02:00
alperozturk96 c3bd723899 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:35:12 +02:00
alperozturk96 b7b764938e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:28:20 +02:00
alperozturk96 9448d2895d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:27:33 +02:00
alperozturk96 19c6f48f22 use atomic boolean instead of semaphore and remove broken flag since events will be firing
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:27:10 +02:00
alperozturk96 93cdda6799 use lazy for shared instance
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:27:10 +02:00
alperozturk96 3983c8e9cc introduce application scope to DispatcherModule.kt
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:27:10 +02:00
alperozturk96 f9786381f7 fix crash
Signed-off-by: alperozturk96 <[email protected]>
2026-07-29 08:27:10 +02:00
Nextcloud bot b568e75c37 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-29 03:56:54 +00:00
Alper Öztürk 227313012e Merge pull request #17378 from nextcloud/fix/local-file-list-stable-id-collision
fix(upload): prevent crash from duplicate stable IDs in local file list
2026-07-28 09:45:18 +02:00
Alper Öztürk 6de832cd36 Merge pull request #17386 from nextcloud/convert-FileDetailActivitiesFragment-to-kt
convert file detail activities fragment to Kotlin
2026-07-28 09:10:23 +02:00
Nextcloud bot 37daec8028 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-28 03:40:04 +00:00
alperozturk96 f1d3213345 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 15:44:51 +02:00
alperozturk96 80c46e810f FileDetailActivitiesFragment Kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 15:34:34 +02:00
alperozturk96 8bb2211ced Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 15:34:34 +02:00
alperozturk96 2325c7d02e remove visibility of debug functionality
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 15:26:57 +02:00
Alper Öztürk 9824fc995f Merge pull request #17315 from nextcloud/fix/backup-list-fragment-permission-handling
fix(backup-list-fragment): permission handling
2026-07-27 14:30:13 +02:00
Alper Öztürk e79378dd12 Merge pull request #17267 from nextcloud/fix/e2ee-counter-check
fix(e2ee): refresh during crud operations
2026-07-27 14:29:01 +02:00
Alper Öztürk 6c1ba4a038 Merge pull request #17305 from nextcloud/refactor/setup-encryption-dialog-download-key
refactor(setup-encryption-dialog): download key
2026-07-27 14:28:52 +02:00
alperozturk96 0da6f5ebfb wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 14:25:46 +02:00
alperozturk96 65bbf8877b refactor(setup-encryption-dialog): download key
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/dialog/setupEncryption/SetupEncryptionDialogFragment.kt
2026-07-27 14:20:24 +02:00
alperozturk96 56c16156ec fix full-screen button toggle
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 13:59:31 +02:00
alperozturk96 d275d3fade fix(media): download and preview
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 12:07:02 +02:00
alperozturk96 648de3ec59 fix live photo calls
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 12:01:52 +02:00
alperozturk96 08457113a6 fix downloaded video file preview
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 11:52:51 +02:00
alperozturk96 5a890f41d6 replace deprecated view apis
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 11:34:21 +02:00
alperozturk96 49759b383f use insets instead margins
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 11:24:36 +02:00
alperozturk96 1cf49f2cdb fix(upload): prevent crash from duplicate stable IDs in local file list
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 10:49:09 +02:00
alperozturk96 57b55ba02d fix(upload): prevent crash from duplicate stable IDs in local file list
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 10:30:11 +02:00
Alper Öztürk 61deaaa6f5 Merge pull request #17335 from nextcloud/feat/gallery-pagination
feat(gallery): pagination
2026-07-27 10:19:35 +02:00
alperozturk96 01a5bd0935 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 10:06:22 +02:00
alperozturk96 186d23f0ae fix restoring position
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 10:06:22 +02:00
alperozturk96 50bb148a4a fix index
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 10:06:22 +02:00
alperozturk96 43ce841be7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 10:06:22 +02:00
alperozturk96 dc03103f27 feat(gallery): pagination
Signed-off-by: alperozturk96 <[email protected]>
2026-07-27 10:06:22 +02:00
Nextcloud bot f286320209 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-27 03:30:43 +00:00
Andy Scherzinger 68a7e95ea1 Merge pull request #17348 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-07-26 10:56:13 +02:00
nextcloud-android-bot 89233d3144 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-07-26 10:55:34 +02:00
Andy Scherzinger 4e2092234f Merge pull request #17377 from nextcloud/renovate/github-codeql-action-4.x
Update github/codeql-action action to v4.37.3
2026-07-26 10:54:38 +02:00
renovate[bot] f059fdeb90 Update github/codeql-action action to v4.37.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-26 08:27:46 +00:00
Nextcloud bot c0349cc15b fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-26 03:32:24 +00:00
Andy Scherzinger 754265a353 Merge pull request #17376 from nextcloud/renovate/github-codeql-action-4.x
Update github/codeql-action action to v4.37.2
2026-07-25 23:00:52 +02:00
renovate[bot] 96714b7111 Update github/codeql-action action to v4.37.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-25 16:26:35 +00:00
Nextcloud bot 9d4fcd910a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-25 04:01:32 +00:00
Andy Scherzinger 28dd44e2aa Merge pull request #17375 from nextcloud/renovate/actions-checkout-7.x
Update actions/checkout action to v7.0.1
2026-07-24 23:32:48 +02:00
renovate[bot] b4e1634fd4 Update actions/checkout action to v7.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-24 21:30:56 +00:00
Andy Scherzinger 91bb6ce98e Merge pull request #17357 from nextcloud/renovate/github-codeql-action-4.x
Update github/codeql-action action to v4.37.1
2026-07-24 23:30:06 +02:00
Andy Scherzinger d1fc3efbdb Merge pull request #17333 from nextcloud/renovate/actions-setup-java-5.x
Update actions/setup-java action to v5.6.0
2026-07-24 23:29:43 +02:00
renovate[bot] 27f7982966 Update actions/setup-java action to v5.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-24 20:54:59 +00:00
renovate[bot] 6a84fc7f42 Update github/codeql-action action to v4.37.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-24 20:54:44 +00:00
Alper Öztürk 3a9f9d7f6c Merge pull request #17268 from nextcloud/ciTests
Fix CI tests
2026-07-24 11:01:58 +02:00
Alper Öztürk 983d6b52a1 Merge pull request #17344 from nextcloud/feat/e2ee-renew-certificate
feat(e2ee): renew certificate
2026-07-24 10:40:26 +02:00
alperozturk96 40212c30ca add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 10:21:24 +02:00
alperozturk96 c4dd4bdb19 clear confusion between certificate and public key
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 10:21:24 +02:00
alperozturk96 7a9c063d5b fix is matching
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 10:21:24 +02:00
alperozturk96 b9e4c34178 feat(e2ee): renew certificate
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 10:21:24 +02:00
Tobias Kaminsky 05d25d2d2b Merge pull request #17369 from nextcloud/add-java-to-kotlin-conversion-skill
agent: add Java to Kotlin conversion skill
2026-07-24 10:15:06 +02:00
alperozturk96 3b483ea266 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 10:12:26 +02:00
alperozturk96 c087f8e262 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 10:01:11 +02:00
alperozturk96 c9b9f3d770 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 a420292386 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 cd8ef6a3f7 activate FileUploaderIT tests
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 8c82961e2a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 676f9e80e5 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 3f2269146b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 9e866184ed wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 db2c2112e6 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 de2e440b02 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 7197284bb1 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 6c72ebb7c2 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 2fac8c8e75 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 a1fbaca58e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 b54aff2aa9 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 c1c3951e7d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 c0ab6fee79 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 c87874f81d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 a13277103f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 7f008a3720 update library
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-07-24 09:47:23 +02:00
alperozturk96 9540497d5a fix code format
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 f5f178ea63 fix testDeleteTask
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 d2cfb2b582 remove looper for showMnemonic
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 6b3717cb42 use 2.2 hamcrest
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
alperozturk96 b73bdb1550 disable animation for emulator, keep screen awake
Signed-off-by: alperozturk96 <[email protected]>
2026-07-24 09:47:23 +02:00
tobiasKaminsky e1a37e2698 Fix CI tests
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-24 09:47:23 +02:00
Nextcloud bot 956d1fe10f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-24 03:44:28 +00:00
alperozturk96 aa1f83b99d better naming
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 9e38a0650d fix create folder counter update
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 86494403f0 fix remove counter update
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 2fa538d2e6 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 ceca98c31a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 95829a47fb wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 68335ebd7a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 7eb1ffda06 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 d1eb57d3eb wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 4692271cc6 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 40459c97ac wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 391c395e77 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 ebadfc4ddc wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 3f982adab7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 07d254a626 wait until current uploads finish then verify metadata
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 9211fe3045 improve naming
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 1e2b088c31 consolidate usages
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/fragment/FileDetailSharingFragment.java
2026-07-23 15:18:33 +02:00
alperozturk96 5c95cd8fd5 fix(e2ee): refresh during crud operations
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:18:33 +02:00
alperozturk96 5552989bab expand scope from previous conversion examples
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:14:25 +02:00
alperozturk96 ba4fc10e28 expand scope from previous conversion examples
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 15:13:21 +02:00
alperozturk96 0cb22d0d74 reduce scope to files client
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 14:59:17 +02:00
alperozturk96 3cb58f3248 reduce scope to files client
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 14:55:17 +02:00
alperozturk96 9eccfb392a reduce scope to files client
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 14:54:23 +02:00
alperozturk96 932e23c17f reduce scope to files client
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 14:54:01 +02:00
alperozturk96 eb43c927cd wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 14:44:15 +02:00
alperozturk96 81c05d3062 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 14:44:15 +02:00
alperozturk96 fa29933a5f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 14:29:28 +02:00
alperozturk96 e93750abc0 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 14:29:28 +02:00
alperozturk96 5b26ed9ef2 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 14:29:28 +02:00
Alper Öztürk 8ce4ef4316 Merge pull request #17226 from nextcloud/fix/handle-editor-mimetypes
fix(editor): file opening flow
2026-07-23 14:29:12 +02:00
Alper Öztürk a337017dfc Merge pull request #17366 from nextcloud/refactor4
refactor
2026-07-23 11:29:39 +02:00
alperozturk96 770bea24d0 refactor
Signed-off-by: alperozturk96 <[email protected]>
2026-07-23 11:27:26 +02:00
alperozturk96 ffe71cd8ac wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 15:58:33 +02:00
alperozturk96 14377b31b5 Open in web editor
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 15:58:33 +02:00
alperozturk96 cecde81a7f Open in web editor
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 15:58:33 +02:00
alperozturk96 89f86ef921 Open in web editor
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 15:58:33 +02:00
alperozturk96 7356e934af fix spotbugs
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 15:58:33 +02:00
alperozturk96 5b60a58961 fix spotbugs
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 15:58:33 +02:00
alperozturk96 c0ed0fc6cd wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/activity/TextEditorWebView.kt
2026-07-22 15:58:33 +02:00
alperozturk96 e581c54dcd fix(editor): handle mime types
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 15:58:33 +02:00
Alper Öztürk 52ca8ff557 Merge pull request #17364 from nextcloud/refactor3
refactor
2026-07-22 15:05:21 +02:00
alperozturk96 4f92023e2e refactor
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 15:03:35 +02:00
Alper Öztürk eef79d954d Merge pull request #17362 from nextcloud/refactor2
refactor
2026-07-22 13:53:31 +02:00
alperozturk96 fd523d73e2 refactor
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 13:52:56 +02:00
Alper Öztürk b30386c990 Merge pull request #17304 from nextcloud/ical-v4
ical-v4
2026-07-22 11:36:42 +02:00
alperozturk96 a0f784650d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 11:36:26 +02:00
alperozturk96 c37b0001f0 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 11:33:33 +02:00
alperozturk96 f0cdf41eb7 feat(ical-v4)
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 11:33:32 +02:00
renovate[bot] 2b7b05342b Update dependency org.mnode.ical4j:ical4j to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-22 11:33:32 +02:00
Tobias Kaminsky 92209aa473 Merge pull request #17312 from nextcloud/e2ee/copy-passphrase-debug
feat(setup-encryption-dialog): debug copy button
2026-07-22 10:25:05 +02:00
Tobias Kaminsky 347d3c1d20 Merge pull request #17345 from nextcloud/feat/e2ee-show-mnemonic-in-debug-only
feat(e2ee): show mnemonic only in debug
2026-07-22 10:11:22 +02:00
alperozturk96 d3e10c0968 check permissions before load calendar
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 09:26:37 +02:00
alperozturk96 77d8123c14 handle permissions
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 09:26:36 +02:00
alperozturk96 f2ab75b538 expose reloadCalendars method
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 09:26:36 +02:00
alperozturk96 a9c8502eb8 catch security exception
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 09:26:36 +02:00
alperozturk96 adddd35935 fix(conflict-resolve): auto upload
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 09:26:16 +02:00
Alper Öztürk 25c32bf7a3 Merge pull request #17361 from nextcloud/fix-third-party-package-name
rename third party package name
2026-07-22 09:22:05 +02:00
alperozturk96 989038c219 fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 08:39:46 +02:00
alperozturk96 8874973322 rename third party package name
Signed-off-by: alperozturk96 <[email protected]>
2026-07-22 08:17:50 +02:00
Alper Öztürk 65b84696b8 Merge pull request #14634 from nextcloud/showAvatars
Show avatars in activity list
2026-07-22 08:10:54 +02:00
Nextcloud bot 057ac4ce0c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-22 03:24:07 +00:00
Alper Öztürk 28e2fcf5cf Merge pull request #17294 from MaqsudMallick/fix/image-video-grid-items
fix(grid): scale grid thumbnails to fill the available tile width
2026-07-21 13:53:00 +02:00
Alper Öztürk 9cd9245713 Merge pull request #17358 from nextcloud/governanceDots
feat(governance): show color dot in retention and legal hold multi-select
2026-07-21 13:52:46 +02:00
tobiasKaminsky 4b2c74f539 feat(governance): show color dot in retention and legal hold multi-select
Add colored dot indicator to both the multi-select dialog items and the
label text field for file retention and legal hold, consistent with how
sensitivity labels display their color.

Assisted-by: ClaudeCode:claude-sonnet-4-6
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-21 13:48:29 +02:00
MaqsudMallick 95144c6348 constrint square dimensions
Signed-off-by: MaqsudMallick <[email protected]>
2026-07-21 13:43:22 +02:00
MaqsudMallick decbc0d0cf fix(grid): scale grid thumbnails to fill the available tile width
Signed-off-by: MaqsudMallick <[email protected]>
2026-07-21 13:43:22 +02:00
alperozturk96 3912404957 fix restoring empty state
Signed-off-by: alperozturk96 <[email protected]>
2026-07-21 09:54:02 +02:00
alperozturk96 5f021f538b refactor BetterImageSpan
Signed-off-by: alperozturk96 <[email protected]>
2026-07-21 09:41:25 +02:00
alperozturk96 ded1eded33 refactor activity list adapter
Signed-off-by: alperozturk96 <[email protected]>
2026-07-21 09:29:56 +02:00
alperozturk96 ce033bfb04 refactor activity list adapter
Signed-off-by: alperozturk96 <[email protected]>
2026-07-21 09:17:53 +02:00
alperozturk96 36a0b453ae fix infinite spinner
Signed-off-by: alperozturk96 <[email protected]>
2026-07-21 08:57:55 +02:00
alperozturk96 5e913b8dc4 refactor MentionChipSpan
Signed-off-by: alperozturk96 <[email protected]>
2026-07-21 08:27:52 +02:00
alperozturk96 7683ca0d27 remove old Spans.java
Signed-off-by: alperozturk96 <[email protected]>
2026-07-21 08:19:15 +02:00
tobiasKaminsky 2948ae64e9 Show avatars in activity list
Signed-off-by: tobiasKaminsky <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/adapter/ActivityListAdapter.java
#	app/src/main/java/third_parties/fresco/BetterImageSpan.kt
#	app/src/main/res/values/styles.xml
2026-07-21 08:19:15 +02:00
tobiasKaminsky 6d4894d555 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-21 08:19:15 +02:00
tobiasKaminsky 6cc1613cfe fix detekt
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-21 08:19:15 +02:00
tobiasKaminsky ed366057b3 fix spotless
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-21 08:19:15 +02:00
tobiasKaminsky 81ce007748 Rename .java to .kt
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-21 08:19:15 +02:00
tobiasKaminsky ed0e5ccac1 Show avatars in activity list
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-21 08:19:15 +02:00
Nextcloud bot 5c66499031 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-21 03:28:54 +00:00
Tobias Kaminsky d064ec9ee0 Merge pull request #17353 from nextcloud/update-library-2026-07-19
Update library to 2026-07-19
2026-07-20 11:53:20 +02:00
Tobias Kaminsky c613af6945 Update library to 2026-07-19
Signed-off-by: Tobias Kaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-20 09:35:18 +02:00
Nextcloud bot 37e90934ea fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-20 03:19:27 +00:00
Nextcloud bot 09f85c43b2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-19 03:25:55 +00:00
Andy Scherzinger 0b2c271578 Merge pull request #17349 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to 3131b4c
2026-07-18 09:52:58 +02:00
renovate[bot] 1003b354e1 Update ubuntu:resolute Docker digest to 3131b4c
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-18 04:47:51 +00:00
Nextcloud bot 050af1980c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-18 03:23:51 +00:00
MaqsudMallick cd8e2393f8 add branch for email appid in send() profileBottomSheet
Signed-off-by: MaqsudMallick <[email protected]>
2026-07-18 01:07:03 +05:30
alperozturk96 bc2fdba432 feat(e2ee): show mnemonic only in debug
Signed-off-by: alperozturk96 <[email protected]>
2026-07-17 15:43:14 +02:00
Nextcloud bot 6a0b463ed2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-17 03:21:52 +00:00
Andy Scherzinger 927bd632ad Merge pull request #17341 from nextcloud/chore/version-bump-35.0.0
chore: version bump 35.0.0 alpha
2026-07-16 18:40:10 +02:00
alperozturk96 534dc129bd chore: version bump 35.0.0 alpha
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:51:53 +02:00
Alper Öztürk df1ddfa3e5 Merge pull request #16991 from nextcloud/feat/sensivity-label
feat: Sensitivity labels
2026-07-16 15:15:01 +02:00
alperozturk96 3646a40a97 update spotbugs for AssistedFactory
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:14:44 +02:00
alperozturk96 4e89f465c4 update library
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 383f111c69 update library
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky 3162c6f0e9 use one api call for fetching available labels
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky e92ca085cc remove unused files
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky 47dd8a86db update lib
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky 20ff953cdf Sensitivity labels are now an array, but in first iteration only one item is set, thus always use first entry
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 d887c43bf7 refactor(file-info): initialize FileInfoViewModel via AssistedInject
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 c264e95644 remove manual migration
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 b604384d7d remove manual migration
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 a2dc9cd6da make file retention positive button filled tonal button
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 518da6f7e5 revert setting.gradle.kts
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 b598d87317 remove nullable flow data use sealed interface
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 37db1b801b use repository pattern
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky 2df9158b53 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky c4a1b243fd wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky 9c1a7de3cd wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky 12f38b3ab5 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky 928f837b73 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky 4b65bb695a wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky ec304224d1 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky a544aee913 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky 050219a409 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
tobiasKaminsky e6daf81dad show details depending on governance app
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 a760315fb5 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 89e25aa73d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 a9c23fa784 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 bee18e19a5 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 7f73b009d6 use m3 card to distinc between sections
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 f15e473213 split ui, better margins
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 0cd4e964ae simplify, split gov logic
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 56b1904804 simplify, split gov logic
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 505305fe63 introduce file info fragment, separate image detail logic
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 53ad5662f3 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
alperozturk96 bebb1c96e4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-16 15:10:51 +02:00
Tobias Kaminsky 82a4aa0b86 Merge pull request #17270 from nextcloud/fix/permission-denial
fix(document-storage-provider): permission denial
2026-07-16 15:00:17 +02:00
Tobias Kaminsky d47c77e6ad Merge pull request #17309 from nextcloud/fix/upload-marked-as-skip-instead-completed
fix(upload-list): distinguish between skip and complete
2026-07-16 14:50:46 +02:00
Tobias Kaminsky 3f2a7c9c73 Merge pull request #17316 from nextcloud/fix/network-on-main-thread-exception
fix(file-data-storage-manager): save file with parent network on main thread
2026-07-16 14:48:36 +02:00
Tobias Kaminsky 9476844ad8 Merge pull request #17320 from nextcloud/fix/dashboard-widged-configuration-activity-client-creation
fix(dashboard-widget-configuration-activity): client creation
2026-07-16 14:47:15 +02:00
Tobias Kaminsky 39f58f37a8 Merge pull request #17321 from nextcloud/fix/fda-commit-fragment
fix(file-display-activity): commit fragment
2026-07-16 14:44:45 +02:00
Tobias Kaminsky 08e0f43499 Merge pull request #17322 from nextcloud/fix/preview-text-fragment-finish
fix(preview-text-fragment): finish
2026-07-16 14:43:11 +02:00
Tobias Kaminsky 9bc7c1f571 Merge pull request #17323 from nextcloud/fix/gallery-fragment-action
fix(gallery-fragment): action
2026-07-16 14:42:30 +02:00
Tobias Kaminsky ad695f50a4 Merge pull request #17324 from nextcloud/fix/text-editor-web-view-no-such-element
fix(text-editor-web-view): user no such element
2026-07-16 14:41:29 +02:00
Tobias Kaminsky 222bd1d22e Merge pull request #17325 from nextcloud/fix/RetrieveHoverCardAsyncTask-npe
fix(retrieve-hover-card): npe
2026-07-16 14:39:55 +02:00
Andy Scherzinger 63d00366f3 Merge pull request #17338 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to 651ba3f
2026-07-16 08:04:18 +02:00
renovate[bot] e9683847a6 Update ubuntu:resolute Docker digest to 651ba3f
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-16 04:26:52 +00:00
Tobias Kaminsky dca5032bba Merge pull request #17240 from nextcloud/renovate/lifecycleviewmodelktxversion
Update lifecycleViewmodelKtxVersion to v2.11.0
2026-07-15 14:23:00 +02:00
Alper Öztürk ef8890f82a Merge pull request #17328 from nextcloud/enable-paralel-sync
build(parallel-sync): gradle
2026-07-15 10:49:39 +02:00
Alper Öztürk 07cd1edd91 Merge pull request #17266 from nextcloud/fix/e2ee-sub-encrypted-folder-creation
fix(e2ee): sub folder creation
2026-07-15 10:49:09 +02:00
Alper Öztürk de63fe5973 Merge pull request #16468 from nextcloud/jtr/fix-camera2-manifest-build-overrides
fix(manifest): Move camera2 feature declaration to scan-enabled flavors
2026-07-15 10:48:47 +02:00
Tobias Kaminsky 351d08cd1a Merge pull request #17311 from nextcloud/refactor-indeterminate-progress-dialog
refactor(indeterminate-progress-dialog)
2026-07-15 10:19:06 +02:00
Tobias Kaminsky 283ff16926 Merge pull request #17314 from nextcloud/fix/sync-with-server-npe
fix(synchronize-file): sync with server npe
2026-07-15 10:12:21 +02:00
Tobias Kaminsky 31ab3d05b1 Merge pull request #17265 from nextcloud/fix/e2ee-exclude-office-files
fix(e2ee): file and folder actions
2026-07-15 09:57:14 +02:00
Tobias Kaminsky 7b51a44e29 Merge pull request #17235 from nextcloud/fix/re-download-office-files
fix(re-download): office file
2026-07-15 09:44:56 +02:00
Tobias Kaminsky b2acf708e4 Merge pull request #17093 from nextcloud/feat/swipe-video-preview-to-image-from-file-list
feat: swipe video preview to image from file list
2026-07-15 09:43:09 +02:00
Josh ecadcf7544 fix(manifest): Add camera2 override to qa manifest
Signed-off-by: Josh <[email protected]>
2026-07-15 09:34:01 +02:00
Josh ed06a4cf77 fix(manifest): Add camera2 override to huawei manifest
Signed-off-by: Josh <[email protected]>
2026-07-15 09:34:01 +02:00
Josh b00f80b44e fix(manifest): Add camera2 override to gplay manifest
Signed-off-by: Josh <[email protected]>
2026-07-15 09:34:01 +02:00
Josh f90eac0efd test(manifest): Remove camera2 override from main manifest
Moving to flavor-specific manifests to avoid warning about `tools:node="replace"` for builds that don't have scanning/camera2

Signed-off-by: Josh <[email protected]>
2026-07-15 09:34:01 +02:00
Tobias Kaminsky 0be315cc32 Merge pull request #17318 from nextcloud/update-library-2026-07-12
Update library to 2026-07-12
2026-07-15 09:25:52 +02:00
Tobias Kaminsky 7c6d9fbb0c Merge pull request #17329 from nextcloud/fixRenovate
matchDatasources is needed for minimumReleaseAge
2026-07-15 08:48:11 +02:00
tobiasKaminsky ab7b350f4f matchDatasources is needed for minimumReleaseAge
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-15 08:46:22 +02:00
tobiasKaminsky 0ae0bf2ed8 fix: Calling an empty super method
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-15 08:39:48 +02:00
alperozturk96 fa8fbe2694 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-15 08:30:12 +02:00
alperozturk96 6923ac226d build(parallel-sync): gradle
Signed-off-by: alperozturk96 <[email protected]>
2026-07-15 08:16:52 +02:00
alperozturk96 764f1ec2b4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-15 08:12:24 +02:00
alperozturk96 459a46122a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-15 08:12:24 +02:00
alperozturk96 45e730c0d0 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-15 08:12:24 +02:00
alperozturk96 f77da19615 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-15 08:12:24 +02:00
alperozturk96 1e8329ad8e fix(document-storage-provider): permission denial
Signed-off-by: alperozturk96 <[email protected]>
2026-07-15 08:12:24 +02:00
Tobias Kaminsky b03d08efbf Merge pull request #17128 from nextcloud/renovate/mockkversion
Update mockkVersion to v1.14.11
2026-07-15 07:20:15 +02:00
Tobias Kaminsky 694904c33d Merge pull request #17129 from nextcloud/renovate/slf4j-monorepo
Update dependency org.slf4j:jcl-over-slf4j to v2.0.18
2026-07-15 07:19:48 +02:00
Tobias Kaminsky e5476eb235 Merge pull request #17239 from nextcloud/renovate/composebom
Update dependency androidx.compose:compose-bom to v2026.06.01
2026-07-15 07:19:06 +02:00
Tobias Kaminsky 271a9e1156 Merge pull request #17282 from nextcloud/renovate/daggerversion
Update daggerVersion to v2.60.1
2026-07-15 07:18:34 +02:00
tobiasKaminsky f5143776f8 update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-15 07:18:13 +02:00
renovate[bot] 1b24c81318 Update lifecycleViewmodelKtxVersion to v2.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-15 07:18:13 +02:00
renovate[bot] 51948a6d4c Update daggerVersion to v2.60.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-14 13:02:01 +02:00
Tobias Kaminsky 360bd0f0f4 Merge pull request #17284 from nextcloud/renovate/reactivecircus-android-emulator-runner-2.x
Update reactivecircus/android-emulator-runner action to v2.38.0
2026-07-14 13:00:23 +02:00
Tobias Kaminsky 8bead4264f Merge pull request #17278 from nextcloud/renovate/gradle-9.x
Update Gradle to v9.6.1
2026-07-14 12:59:26 +02:00
renovate[bot] c4b5790efd Update Gradle to v9.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-14 12:19:27 +02:00
renovate[bot] bb36468ab9 Update dependency androidx.compose:compose-bom to v2026.06.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-14 12:19:09 +02:00
renovate[bot] 51a347424c Update mockkVersion to v1.14.11
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-14 12:18:46 +02:00
alperozturk96 4a17021b7e fix(retrieve-hover-card): npe
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 16:12:19 +02:00
alperozturk96 4183d45797 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 16:12:18 +02:00
alperozturk96 75bba75db2 fix(text-editor-web-view): user no such element
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 16:01:45 +02:00
alperozturk96 1c99bc602e fix(gallery-fragment): action
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 15:46:22 +02:00
alperozturk96 9a439185d5 fix(preview-text-fragment): finish
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 15:31:24 +02:00
alperozturk96 00ccbf92bc remove callback
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 14:48:43 +02:00
alperozturk96 a09190f264 fix Can not perform this action after onSaveInstanceState
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 14:40:11 +02:00
alperozturk96 7da02afdfc fix(dashboard-widget-configuration-activity): client creation
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 13:57:04 +02:00
alperozturk96 ced57ae113 fix(dashboard-widget-configuration-activity): client creation
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 13:54:21 +02:00
alperozturk96 c7c8bc7489 fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 08:57:51 +02:00
alperozturk96 0be1ed226c fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 08:57:24 +02:00
alperozturk96 4cbd2d3553 refactor(indeterminate-progress-dialog)
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 08:57:24 +02:00
alperozturk96 0792241850 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 08:25:03 +02:00
alperozturk96 4e5ebe2680 fix multi thread correctness spotbugs
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 08:24:54 +02:00
alperozturk96 e38d085594 clear confusion
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 08:19:43 +02:00
alperozturk96 8e79aaf170 fix(upload-list): distinguish between skip and complete
Signed-off-by: alperozturk96 <[email protected]>
2026-07-13 08:19:43 +02:00
Tobias Kaminsky 34fa392afb Update library to 2026-07-12
Signed-off-by: Tobias Kaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-13 07:09:23 +02:00
Andy Scherzinger 2acfa9cc6a Merge pull request #17308 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-07-11 12:09:54 +02:00
nextcloud-android-bot 1c0f90adc4 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-07-11 09:36:00 +00:00
Nextcloud bot 521fd1d8b2 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-11 03:21:42 +00:00
alperozturk96 8b9e2b774f fix(file-data-storage-manager): save file with parent network on main thread exception
Signed-off-by: alperozturk96 <[email protected]>
2026-07-10 15:25:45 +02:00
alperozturk96 170ede9d0b fix(synchronize-file): sync with server npe
Signed-off-by: alperozturk96 <[email protected]>
2026-07-10 14:01:40 +02:00
Alper Öztürk 0f6850e97b Merge pull request #17313 from nextcloud/fix/connectivity-service-it
fix ConnectivityServiceImplIT
2026-07-10 13:06:21 +02:00
alperozturk96 9b103e5ae4 fix ConnectivityServiceImplIT
Signed-off-by: alperozturk96 <[email protected]>
2026-07-10 13:05:56 +02:00
Alper Öztürk d1d24fbab7 Merge pull request #17250 from nextcloud/fix/connectivity-service-too-many-request
fix(connectivity-service): too many attempt
2026-07-10 12:51:48 +02:00
Alper Öztürk 46249a38a8 Merge pull request #17310 from nextcloud/fix/login-loading-ui
fix(login): loading ui
2026-07-10 11:44:11 +02:00
alperozturk96 fcf0e7637b feat(setup-encryption-dialog): debug copy button
Signed-off-by: alperozturk96 <[email protected]>
2026-07-10 11:42:19 +02:00
alperozturk96 d5e56b930b fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-07-10 11:17:30 +02:00
alperozturk96 a4e698bdcf fix(login): loading ui
Signed-off-by: alperozturk96 <[email protected]>
2026-07-10 10:55:05 +02:00
Tobias Kaminsky 203fa433fa Merge pull request #17303 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-07-10 07:13:58 +02:00
Nextcloud bot 7096409d09 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-10 03:23:01 +00:00
Alper Öztürk cc36cfe5bf Merge pull request #17251 from MaqsudMallick/ingestModRewriteWorking
Use clean internal link when server mod_rewrite_working is true
2026-07-09 15:20:24 +02:00
MaqsudMallick 4824325f0d update verification metadata
Signed-off-by: MaqsudMallick <[email protected]>
2026-07-09 14:26:12 +05:30
MaqsudMallick 090ce74268 update android lib version
Signed-off-by: MaqsudMallick <[email protected]>
2026-07-09 14:02:47 +05:30
MaqsudMallick 0ba6d2a541 Merge remote-tracking branch 'origin/master' into ingestModRewriteWorking
Signed-off-by: MaqsudMallick <[email protected]>
2026-07-09 13:59:54 +05:30
nextcloud-android-bot 709ff7ebad 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-07-09 06:02:11 +00:00
Nextcloud bot c2775a1ed8 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-09 03:22:57 +00:00
Nextcloud bot f8b2539bfd fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-08 03:19:38 +00:00
Andy Scherzinger 5eb49226b6 Merge pull request #17299 from nextcloud/renovate/nextcloud-pr-feedback-action-digest
Update nextcloud/pr-feedback-action digest to 4709fa5
2026-07-07 18:17:19 +02:00
Tobias Kaminsky 8e7e02ad82 Merge pull request #17300 from nextcloud/minimumReleaseAge
Minimum release age: 4 days
2026-07-07 15:01:48 +02:00
Tobias Kaminsky cbcabe97f4 Minimum release age: 4 days
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-07 15:00:37 +02:00
renovate[bot] e863e16e75 Update nextcloud/pr-feedback-action digest to 4709fa5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-07 11:33:16 +00:00
Tobias Kaminsky bfe1d1ca14 Merge pull request #17298 from nextcloud/renovate/nextcloud-pr-feedback-action-digest
Update nextcloud/pr-feedback-action digest to c8c97a6
2026-07-07 07:24:37 +02:00
Nextcloud bot 557fb149f4 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-07 03:23:46 +00:00
renovate[bot] 09796499e3 Update nextcloud/pr-feedback-action digest to c8c97a6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-07 01:49:10 +00:00
Tobias Kaminsky f5ffa58470 Merge pull request #17297 from nextcloud/excludeFindbugsU2
Renovate: ignore 3.0.1u2, since we have 3.0.1
2026-07-06 15:51:55 +02:00
tobiasKaminsky c9a192c643 Renovate: ignore 3.0.1u2, since we have 3.0.1
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-06 15:50:13 +02:00
Tobias Kaminsky 14285accce Merge pull request #17296 from nextcloud/excludeJackrabbit
Renovate: do not offer major upgrades to Jackrabbit
2026-07-06 15:45:42 +02:00
tobiasKaminsky b7fb715ba6 Renovate: do not offer major upgrades to Jackrabbit
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-06 15:44:35 +02:00
Tobias Kaminsky 1a2f4f6e1f Merge pull request #17088 from sgallese/mal/nextcloud-string-extension-baseline
test: cover filename extension helpers
2026-07-06 12:47:11 +02:00
alperozturk96 665280315a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-06 11:43:00 +02:00
alperozturk96 d7a25445b0 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-06 11:43:00 +02:00
alperozturk96 779d453573 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-06 11:43:00 +02:00
alperozturk96 353d887089 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-06 11:43:00 +02:00
alperozturk96 9016cc8b5e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-06 11:43:00 +02:00
alperozturk96 c07fabbfc1 fix(re-download): office file
Signed-off-by: alperozturk96 <[email protected]>
2026-07-06 11:43:00 +02:00
Tobias Kaminsky 7fb7bc7493 Merge pull request #17292 from nextcloud/update-library-2026-07-05
Update library to 2026-07-05
2026-07-06 10:14:03 +02:00
Tobias Kaminsky 31fef0a8b5 Update library to 2026-07-05
Signed-off-by: Tobias Kaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-06 07:47:59 +02:00
Nextcloud bot d9d84d4406 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-06 03:18:11 +00:00
Andy Scherzinger 575e74892a Merge pull request #17295 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.237.0
2026-07-05 22:50:35 +02:00
renovate[bot] 94c15d19cf Update dependency fastlane to v2.237.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-05 20:29:56 +00:00
renovate[bot] f80b062e86 Update reactivecircus/android-emulator-runner action to v2.38.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-05 08:25:37 +00:00
Nextcloud bot 41cf782329 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-04 03:19:12 +00:00
Andy Scherzinger daff783ad9 Merge pull request #17288 from nextcloud/renovate/major-github-artifact-actions
Update actions/upload-artifact action to v7
2026-07-03 12:23:57 +02:00
Andy Scherzinger 2f485f4f6e Merge pull request #17286 from nextcloud/renovate/actions-cache-6
Update actions/cache action to v6
2026-07-03 12:23:31 +02:00
Andy Scherzinger 7b86859cb9 Merge pull request #17287 from nextcloud/renovate/actions-checkout-7.x
Update actions/checkout action to v7
2026-07-03 12:22:59 +02:00
renovate[bot] 874ef58c98 Update actions/upload-artifact action to v7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 10:11:21 +00:00
Andy Scherzinger 9fb56484e0 Merge pull request #17280 from nextcloud/renovate/actions-setup-java-5.x
Update actions/setup-java action to v5.4.0
2026-07-03 12:11:18 +02:00
renovate[bot] 4627615b0b Update actions/cache action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 10:11:14 +00:00
Andy Scherzinger c267155499 Merge pull request #17279 from nextcloud/renovate/actions-cache-5.x
Update actions/cache action to v5.1.0
2026-07-03 12:08:54 +02:00
Andy Scherzinger fecbeec5b4 Merge pull request #17281 from nextcloud/renovate/actions-upload-artifact-4.x
Update actions/upload-artifact action to v4.6.2
2026-07-03 12:08:33 +02:00
Andy Scherzinger 9eed2227d7 Merge pull request #17275 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to b7f4819
2026-07-03 12:03:56 +02:00
Andy Scherzinger 7e5fed605a Merge pull request #17285 from nextcloud/tobiasKaminsky-patch-1
Remove schedule for dependency updates
2026-07-03 12:01:25 +02:00
Tobias Kaminsky 21abdb029b Merge pull request #17277 from nextcloud/renovate/annotationsversion
Update dependency com.google.code.findbugs:annotations to v3.0.1
2026-07-03 11:54:32 +02:00
renovate[bot] 3cfd22c4e1 Update actions/checkout action to v7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 09:50:16 +00:00
Tobias Kaminsky 2881e41706 Remove schedule for dependency updates
Removed the schedule for dependency updates.

Signed-off-by: Tobias Kaminsky <[email protected]>
2026-07-03 11:50:07 +02:00
renovate[bot] 4187605d1d Update actions/upload-artifact action to v4.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 09:47:33 +00:00
renovate[bot] f91ac36b08 Update actions/setup-java action to v5.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 09:47:26 +00:00
renovate[bot] 4ff750d0e9 Update actions/cache action to v5.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 09:47:19 +00:00
renovate[bot] 11c7c906d0 Update dependency com.google.code.findbugs:annotations to v3.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 09:43:01 +00:00
renovate[bot] fc854f75d8 Update ubuntu:resolute Docker digest to b7f4819
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 09:39:38 +00:00
Tobias Kaminsky bf81f50f72 Merge pull request #17127 from nextcloud/renovate/media3
Update media3 to v1.10.1
2026-07-03 08:54:52 +02:00
renovate[bot] b3867cbf8a Update slf4j monorepo to v2.0.18
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 08:52:28 +02:00
Tobias Kaminsky 15fdd5b871 Merge pull request #17136 from nextcloud/renovate/spotless
Update dependency com.diffplug.spotless to v8.8.0
2026-07-03 08:51:35 +02:00
tobiasKaminsky b79d3e9b59 update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-03 08:38:41 +02:00
renovate[bot] ecc00ad2d4 Update dependency com.diffplug.spotless to v8.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 08:34:56 +02:00
Tobias Kaminsky df5130ce7b Merge pull request #17134 from nextcloud/renovate/kotlin
Update kotlin to v2.4.0
2026-07-03 08:33:17 +02:00
Andy Scherzinger e063cc1439 Merge pull request #17274 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-07-03 08:02:57 +02:00
Alper Öztürk c914914caf Update WalledCheckCache.kt
Signed-off-by: Alper Öztürk <[email protected]>
2026-07-03 07:56:36 +02:00
nextcloud-android-bot 6412e1d7f3 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-07-03 05:51:12 +00:00
Nextcloud bot 584115cd41 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-03 03:20:55 +00:00
MaqsudMallick 239555ffcd Merge remote-tracking branch 'origin/master' into ingestModRewriteWorking
Signed-off-by: MaqsudMallick <[email protected]>
2026-07-03 00:16:19 +05:30
MaqsudMallick ba09e03058 change manual to auto migration for mod_rewrite
Signed-off-by: MaqsudMallick <[email protected]>
2026-07-02 23:44:32 +05:30
Tobias Kaminsky 4ac164d89f Merge pull request #17238 from nextcloud/renovate/foundationversion
Update dependency androidx.compose.foundation:foundation to v1.11.4
2026-07-02 13:03:43 +02:00
alperozturk96 c90b87d6b1 make client factory accepts non-null context
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 13:03:24 +02:00
alperozturk96 16433a2969 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 12:58:55 +02:00
alperozturk96 89ebe6ee5a use concurrent hash map instead synchronized block
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 12:58:55 +02:00
alperozturk96 5550ddfea0 make connectivity service impl and walled check cache singleton
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 12:58:55 +02:00
alperozturk96 60d1f7a96d convert network module to kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 12:58:55 +02:00
alperozturk96 19dca173e0 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 12:58:55 +02:00
alperozturk96 4fba680728 fix(connectivity-service): too many attempt
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 12:58:55 +02:00
alperozturk96 e717eb51dc fix(connectivity-service): too many attempt
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 12:58:55 +02:00
Tobias Kaminsky d8bba09812 Merge pull request #17224 from nextcloud/renovate/androidgifdrawableversion
Update dependency pl.droidsonroids.gif:android-gif-drawable to v1.2.32
2026-07-02 12:52:34 +02:00
tobiasKaminsky 8f455d8acc update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-02 12:48:05 +02:00
renovate[bot] bf60eda145 Update kotlin to v2.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-02 12:42:38 +02:00
Tobias Kaminsky bf0acdd387 Merge pull request #17257 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-07-02 12:33:06 +02:00
alperozturk96 059b9bd783 use pager
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 11:16:28 +02:00
alperozturk96 17ce20ca5f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 11:16:28 +02:00
alperozturk96 ff90e9c091 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 11:16:28 +02:00
alperozturk96 7ae5968e68 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 11:16:28 +02:00
alperozturk96 c1b5549b9b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 11:16:28 +02:00
Alper Öztürk eb93945265 Merge pull request #17249 from nextcloud/fix/upload-list-conflict-resolve-refresh
fix(upload-list): load list on resume
2026-07-02 11:03:37 +02:00
Alper Öztürk 18cf0f2798 Merge pull request #17263 from nextcloud/fix/activities-fragment-illegal-state-exception
fix(activities-fragment): illegal state exception
2026-07-02 11:03:11 +02:00
Alper Öztürk c6d293e4fa Merge pull request #17194 from nextcloud/fix/document-creation
performance(template-document) creation
2026-07-02 11:02:47 +02:00
Alper Öztürk b38f8b51c7 Merge pull request #17084 from nextcloud/file-detail-sharing-fragment-kt
FileDetailSharingFragment Kotlin
2026-07-02 11:02:17 +02:00
Alper Öztürk f0c413183a Merge pull request #17248 from nextcloud/fix/e2ee-certificate-check
fix(e2ee): check
2026-07-02 11:01:35 +02:00
alperozturk96 570b747460 fix(upload-list): load list on resume
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:28:18 +02:00
alperozturk96 8a89499fa2 fix share visibility
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:24:38 +02:00
alperozturk96 f2af67fa23 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 06e859ea6f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 86568c16c7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 91ff7d2922 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 1c02f8dbdc wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 9ee39c98a1 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 a5985db78e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 e3341cf961 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 f41689b2be wip
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 1eb94182d4 file-detail-sharing-fragment kotlin
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
alperozturk96 40651b0384 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-07-02 08:14:54 +02:00
Alper Öztürk 2d7c68a38b Merge pull request #17236 from nextcloud/fix/auto-upload-permission-banner-update
fix(permission): auto upload overview
2026-07-02 08:14:28 +02:00
Nextcloud bot 81732bbd93 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-07-02 03:21:32 +00:00
nextcloud-android-bot cec3818dcd 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-07-02 03:07:58 +00:00
renovate[bot] 81f388855d Update dependency androidx.compose.foundation:foundation to v1.11.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 20:34:50 +00:00
alperozturk96 48676b02c4 fix(e2ee): sub folder creation
Signed-off-by: alperozturk96 <[email protected]>
2026-07-01 13:24:11 +02:00
Tobias Kaminsky 43fcda60fc Merge pull request #17038 from nextcloud/garm2
Use GARM
2026-07-01 12:35:27 +02:00
alperozturk96 2eab0777c4 fix(e2ee): file and folder actions
Signed-off-by: alperozturk96 <[email protected]>
2026-07-01 11:27:51 +02:00
alperozturk96 6f1fe48bec fix(activities-fragment): illegal state exception
Signed-off-by: alperozturk96 <[email protected]>
2026-07-01 09:24:59 +02:00
renovate[bot] 0f22483d9b Update dependency com.google.devtools.ksp to v2.3.9 (#17110)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 08:41:16 +02:00
tobiasKaminsky ebf708f0ad Use GARM
Signed-off-by: tobiasKaminsky <[email protected]>
2026-07-01 08:38:55 +02:00
Alper Öztürk 68df4adda7 Merge pull request #17254 from nextcloud/AllFilesGoToRoot
"All Files" shows root foledr
2026-07-01 09:20:38 +03:00
Nextcloud bot fda6dfcb06 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-30 03:23:31 +00:00
Nextcloud bot a9bdb8cefe fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-29 03:20:28 +00:00
Nextcloud bot 800e490d6f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-28 03:21:07 +00:00
Nextcloud bot 0d6b024876 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-27 03:18:00 +00:00
Tobias Kaminsky eaa29fbcea Merge pull request #17243 from nextcloud/claude/activity-notification-icons-7wk3py
🎨 Tint leading list icons in dark mode
2026-06-26 07:38:10 +02:00
Nextcloud bot aed6bcb809 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-26 03:18:29 +00:00
Tobias Kaminsky 6a8c4384c3 Merge pull request #17091 from nextcloud/renovate/spotbugsgradleplugin
Update spotbugsGradlePlugin
2026-06-25 11:03:51 +02:00
renovate[bot] dac7fe0cea Update androidGifDrawableVersion to v1.2.32
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-25 10:57:01 +02:00
renovate[bot] e916577545 Update spotbugsGradlePlugin to v6.5.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-25 10:32:08 +02:00
tobiasKaminsky 221ba8917c "All Files" shows root foledr
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-25 09:37:55 +02:00
Nextcloud bot 3a53fdc2e8 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-25 03:20:11 +00:00
Andy Scherzinger 5c16feecc6 fix(activity,notifications): tint leading list icons in dark mode
Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Andy Scherzinger <[email protected]>
2026-06-24 22:28:08 +02:00
MaqsudMallick 331a488744 point android-library at PR2057 for review
Signed-off-by: MaqsudMallick <[email protected]>
2026-06-24 19:49:04 +05:30
MaqsudMallick 496aa4814d fix(sharing): use clean internal link when server mod_rewrite works
Signed-off-by: MaqsudMallick <[email protected]>
2026-06-24 17:41:43 +05:30
alperozturk96 0aced952c2 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 14:08:25 +03:00
alperozturk96 ddb2677c85 simplify check enabling create button
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 14:08:25 +03:00
alperozturk96 bc8eb07905 simplify file creation from template
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 14:08:25 +03:00
alperozturk96 d5e59e84b3 simplify file creation from template
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 14:08:25 +03:00
alperozturk96 618bb47b25 speed up file creation from template
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 14:08:25 +03:00
alperozturk96 72c8e732fd simplify fetch template
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 14:08:25 +03:00
alperozturk96 56a166b1a8 speed up template fetch
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 14:08:25 +03:00
alperozturk96 9be4de842a do not display errors from start
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 14:08:25 +03:00
Alper Öztürk c257ebd77a Merge pull request #17233 from nextcloud/fix/connectivity-service-scope-usages
fix(connectivity-service): usages
2026-06-24 14:07:10 +03:00
alperozturk96 2a526170c3 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 13:01:29 +03:00
alperozturk96 7b52b6d080 fix tests
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 13:00:28 +03:00
alperozturk96 42e57f5295 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 13:00:28 +03:00
alperozturk96 a75f77945c fix(connectivity-service): usages
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 13:00:28 +03:00
alperozturk96 18b446c5b9 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 13:00:28 +03:00
alperozturk96 c1eb0861eb fix(e2ee): download key
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 12:57:30 +03:00
Alper Öztürk cf1f780af0 Merge pull request #17099 from nextcloud/improve-file-download
Improve DownloadFileOperation
2026-06-24 12:03:13 +03:00
alperozturk96 955310baaf wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 12:02:18 +03:00
alperozturk96 145124cc36 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 11:56:28 +03:00
alperozturk96 4ea42f4f9b wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/operations/DownloadFileOperation.kt

# Conflicts:
#	app/src/main/java/com/owncloud/android/operations/DownloadFileOperation.kt
2026-06-24 11:56:25 +03:00
alperozturk96 baf509bb67 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 11:56:19 +03:00
Alper Öztürk e4e9b2375e Merge pull request #17169 from nextcloud/determine-download-file-operation-session-time-out-based-on-file-size
Improve file download worker
2026-06-24 11:55:35 +03:00
Tobias Kaminsky e6fd495abb Merge pull request #17220 from nextcloud/fix/on-rename-finish-refresh-on-shared-or-favorite-root
fix(file-display-activity): on rename finish operation
2026-06-24 08:28:22 +02:00
alperozturk96 0273fc548d wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-06-24 08:15:24 +03:00
alperozturk96 805b270e13 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 08:15:17 +03:00
alperozturk96 485a810b88 fix download progress
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 08:15:17 +03:00
alperozturk96 4b1bee38b4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 08:15:17 +03:00
alperozturk96 8ab4cf662e fix download notification title
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 08:15:17 +03:00
alperozturk96 5eb9fe2021 fix(download): large file
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 08:15:17 +03:00
alperozturk96 0c698c6fb6 fix(download): large file
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 08:15:16 +03:00
alperozturk96 13da52bb32 better comments
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 07:13:03 +02:00
alperozturk96 f79084924f fix refresh collision with search task
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 07:13:03 +02:00
alperozturk96 2f1fd0075f fix directory checking after rename operation completion
Signed-off-by: alperozturk96 <[email protected]>
2026-06-24 07:13:03 +02:00
Andy Scherzinger 73eefb40a7 Merge pull request #17241 from nextcloud/renovate/actions-checkout-7.x
Update actions/checkout action to v7
2026-06-23 19:15:31 +02:00
renovate[bot] 1da2919401 Update actions/checkout action to v7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-23 16:28:59 +00:00
alperozturk96 f2aab0ba60 fix(permission): auto upload overview
Signed-off-by: alperozturk96 <[email protected]>
2026-06-23 18:19:10 +03:00
Tobias Kaminsky 58bcc54ff2 Merge pull request #17230 from nextcloud/previewUsesFileId
Preview endpoint only accepts fileId
2026-06-23 07:25:09 +02:00
Tobias Kaminsky fe381051f6 Merge pull request #17223 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to 53958ec
2026-06-22 15:57:13 +02:00
tobiasKaminsky 3682158058 Preview endpoint only accepts fileId
Reverts part of https://github.com/nextcloud/android/pull/16252

Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-22 15:56:27 +02:00
Alper Öztürk db2cffa188 Merge pull request #17191 from nextcloud/fix/file-upload-worker-better-error-handling
fix(file-upload-worker): better error handling
2026-06-22 12:34:49 +02:00
alperozturk96 de36373512 update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-06-22 11:58:44 +02:00
alperozturk96 d112b8ac19 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-06-22 11:56:09 +02:00
alperozturk96 7461b6ae55 fix(file-upload-worker): better error handling
Signed-off-by: alperozturk96 <[email protected]>
2026-06-22 11:56:03 +02:00
alperozturk96 9a93ec0e1c fix(file-upload-worker): better error handling
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-06-22 11:56:03 +02:00
Tobias Kaminsky e235e1ee55 Merge pull request #17225 from nextcloud/updateLib
Update to Android Lib 22.06.26
2026-06-22 11:21:35 +02:00
tobiasKaminsky 24f4d05daf Update to Android Lib 22.06.26
compileSDK 37

Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-22 09:13:39 +02:00
Nextcloud bot 32e22ddc03 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-22 03:23:36 +00:00
renovate[bot] a608f0189d Update ubuntu:resolute Docker digest to 53958ec
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-22 00:29:51 +00:00
renovate[bot] e17a3f7e7e Update media3 to v1.10.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-19 14:19:18 +00:00
Tobias Kaminsky 8e14a15a16 Merge pull request #17135 from nextcloud/renovate/materialversion
Update materialVersion to v1.14.0
2026-06-19 16:12:53 +02:00
Tobias Kaminsky e5b5999430 Merge pull request #17207 from nextcloud/renovate/firebasemessagingversion
Update firebaseMessagingVersion to v25.1.0
2026-06-19 16:12:40 +02:00
renovate[bot] 0274a101d5 Update firebaseMessagingVersion to v25.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-19 12:42:33 +02:00
renovate[bot] 2c9fb25096 Update materialVersion to v1.14.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-19 12:34:10 +02:00
Tobias Kaminsky 38707e8896 Merge pull request #17126 from nextcloud/renovate/gradle-9.x
Update Gradle to v9.6.0
2026-06-19 12:20:29 +02:00
Tobias Kaminsky 85235d8259 Merge pull request #17218 from nextcloud/droneMaster
e2e: master -> main branch name
2026-06-19 12:19:59 +02:00
Tobias Kaminsky 39acbc7736 Merge pull request #17131 from nextcloud/renovate/documentscannerversion
Update documentScannerVersion to v1.3.0
2026-06-19 12:19:25 +02:00
tobiasKaminsky 2250981ed5 e2e: master -> main branch name
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-19 10:36:23 +02:00
renovate[bot] c12ef341cd Update documentScannerVersion to v1.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-19 10:30:16 +02:00
Tobias Kaminsky 0c81ef3a4c Merge pull request #17197 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-06-19 08:57:27 +02:00
Tobias Kaminsky 3575886bdc Merge pull request #17216 from nextcloud/fixFastlane
Fastlane: apk without version
2026-06-19 07:33:53 +02:00
tobiasKaminsky 0bd21cb320 Fastlane: apk without name
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-19 07:32:42 +02:00
Nextcloud bot e66379a707 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-19 03:22:24 +00:00
nextcloud-android-bot 44ef867e4a 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-06-19 03:11:13 +00:00
renovate[bot] c58cd39be6 Update Gradle to v9.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-19 01:53:51 +00:00
Andy Scherzinger d1c43d4e67 Merge pull request #17195 from sitegui/bugfix-contributing-md
Fix a typo in CONTRIBUTING.md
2026-06-18 17:32:52 +02:00
Nextcloud bot 0c5b3e5e23 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-18 12:42:33 +00:00
Tobias Kaminsky cf41c84e47 Merge pull request #17103 from nextcloud/fix/e2ee-version-detection
fix(e2ee): version detection
2026-06-18 13:16:13 +02:00
tobiasKaminsky 1924e45081 Use latest lib
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 071ddcfc87 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 70794d0414 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 ccbae4ed03 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 cf01cad215 fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 be0ae0261e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 7155b1de5c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 3bedf96afe wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 78d6c2f6f3 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 00d3adf0db use getMaxCompatibleE2EEVersion
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 15cd4bb78e do not use hardcoded v1 always rely on capabilities
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 5586af3803 use capabilities e2e api version instead latest
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
alperozturk96 236a1d2810 fix(e2ee): version detection
Signed-off-by: alperozturk96 <[email protected]>
2026-06-18 12:51:19 +02:00
Nextcloud bot c4afd3da64 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-18 10:50:31 +00:00
Nextcloud bot 297c63010d fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-18 06:54:34 +00:00
Nextcloud bot c22156ec1c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-18 03:25:24 +00:00
Andy Scherzinger c4a9cad3bb Merge pull request #17206 from nextcloud/renovate/actions-setup-java-5.x
Update actions/setup-java action to v5.3.0
2026-06-17 21:07:02 +02:00
renovate[bot] 344c80c145 Update actions/setup-java action to v5.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-17 12:24:24 +00:00
Alper Öztürk 461fded976 Merge pull request #16232 from nextcloud/fix/connectivity-serv
fix: connectivity service
2026-06-17 13:21:32 +02:00
Alper Öztürk 9989592653 Merge pull request #17168 from nextcloud/fix/e2ee-counter
fix(e2ee): counter update
2026-06-17 12:28:38 +02:00
alperozturk96 4fac4979c4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 12:02:45 +02:00
alperozturk96 15bd8f9058 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:53:43 +02:00
alperozturk96 801bf6f713 better file structure
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 3983c06bc6 use kotlin fun interface for get request builder
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 786b805592 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 58f4f4116b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 9e7ceb6a30 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 d003812e3f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
Alper ÖztürkandCopilot Autofix powered by AI 2002bb1d5f Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 d6d3535234 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-06-17 11:51:18 +02:00
alperozturk96 7b723ffcb7 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 c93c6824f0 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-06-17 11:51:18 +02:00
alperozturk96 7d94b19025 cache connectivity per account and address
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 2df0db0b4d cache connectivity per account and address
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 b835aed017 fix tests
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-06-17 11:51:18 +02:00
alperozturk96 38b3c88d55 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 86dd94f545 fix network change listener
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 67db4b3974 fix isNetworkAndServerAvailable logic
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 943044bd17 fix walled logic
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 d9ac83b31f convert to kt
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 227b510307 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 8636cd67fd fix check
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
Alper ÖztürkandTom a4699d4ad7 Update app/src/main/java/com/nextcloud/client/network/ConnectivityService.java
Co-authored-by: Tom <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 3747d3afe5 fixes
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk96 e696f0fa8e fix tests
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk 9188cbe7be add logs
Signed-off-by: alperozturk <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk 262ef577ee add wifi and metered check
Signed-off-by: alperozturk <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk 837c5d628e fix: connection service tests
Signed-off-by: alperozturk <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk d253e0dd32 fix: connection service impl
Signed-off-by: alperozturk <[email protected]>
2026-06-17 11:51:18 +02:00
alperozturk 0550c75f42 fix: connectivity service impl
# Conflicts:
#	app/src/main/java/com/nextcloud/client/network/ConnectivityServiceImpl.java
2026-06-17 11:51:18 +02:00
Alper Öztürk 5263163cc7 Merge pull request #17152 from nextcloud/fix/unsupported-operation-on-bind-list-view-holder
fix(oc-file-list): bind avatars
2026-06-17 11:49:50 +02:00
Alper Öztürk 00a52828f5 Merge pull request #17161 from nextcloud/fix/metadata-worker-e2ee
fix(worker): metadata worker encrypted folder
2026-06-17 11:49:12 +02:00
Alper Öztürk cd6e3695b4 Merge pull request #17173 from nextcloud/fix/folder-refresh-scheduler
fix(folder-refresh-scheduler): updating
2026-06-17 11:48:39 +02:00
Alper Öztürk 0186a3b2fa Merge pull request #17193 from nextcloud/fix/navigator-intent
fix(navigator): notification action
2026-06-17 11:47:44 +02:00
Alper Öztürk 7894d55c14 Merge pull request #17170 from nextcloud/fix/oc-file-list-adapter-local-file-removal
fix(oc-file-list): local file deletion
2026-06-17 11:46:57 +02:00
Alper Öztürk ce15da8309 Merge pull request #17198 from nextcloud/fix/lint-2
chore: fix lint warnings
2026-06-17 08:55:36 +02:00
alperozturk96 1369f002a1 chore: fix lint warnings
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 08:41:36 +02:00
alperozturk96 bdf37b2407 fix(oc-file-list): local file deletion
Signed-off-by: alperozturk96 <[email protected]>
2026-06-17 08:30:01 +02:00
sitegui 978b49eb28 Fix a typo in CONTRIBUTING.md
The code block had the language "bash" written at the end of the block, causing part of the file to be rendered incorrectly.

Signed-off-by: sitegui <[email protected]>
2026-06-16 19:03:46 +02:00
alperozturk96 035c6727b4 fix adapter creation
Signed-off-by: alperozturk96 <[email protected]>
2026-06-16 14:30:56 +02:00
alperozturk96 a4f2cbb5b2 fix adapter creation
Signed-off-by: alperozturk96 <[email protected]>
2026-06-16 14:30:10 +02:00
alperozturk96 7520805351 fix notification work action
Signed-off-by: alperozturk96 <[email protected]>
2026-06-16 14:30:09 +02:00
Alper Öztürk 448b459165 Merge pull request #17165 from nextcloud/fix/notification-ui
fix(notification): ui
2026-06-16 14:29:29 +02:00
Nextcloud bot 7c9c42ff5d fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-16 03:18:42 +00:00
alperozturk96 0a20589207 fix(e2ee): counter update
Signed-off-by: alperozturk96 <[email protected]>
2026-06-15 12:20:35 +02:00
Nextcloud bot d9261c4005 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-15 03:20:00 +00:00
Andy Scherzinger 49ed673ca0 Merge pull request #17176 from nextcloud/renovate/fastlane-2.x-lockfile
chore(deps): update dependency fastlane to v2.236.1
2026-06-15 00:13:31 +02:00
Nextcloud bot 2b84ff514a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-13 03:22:39 +00:00
renovate[bot] 9d280dc058 Update gradle/actions action to v6.1.1 (#17177)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-12 18:39:55 +00:00
Sebastian Gallese d746ac2c58 Merge remote-tracking branch 'upstream/master' into mal/nextcloud-string-extension-baseline 2026-06-11 22:50:50 -07:00
Nextcloud bot 35f189797a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-12 03:43:08 +00:00
renovate[bot] e39f6bce14 Update codecov/codecov-action action to v7 (#17179)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-11 20:56:20 +00:00
renovate[bot] d724d7dc9c Update dependency fastlane to v2.236.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-11 19:45:04 +00:00
alperozturk96 e8246d2bbf fix(folder-refresh-scheduler): updating
Signed-off-by: alperozturk96 <[email protected]>
2026-06-11 16:33:38 +02:00
Nextcloud bot 5bbdc617d5 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-11 03:19:55 +00:00
alperozturk96 f5edaa0b73 fix lifecycle crash for initialize adapter
Signed-off-by: alperozturk96 <[email protected]>
2026-06-10 10:56:04 +02:00
alperozturk96 b387e4b79e by default hide notification bell
Signed-off-by: alperozturk96 <[email protected]>
2026-06-10 10:50:28 +02:00
alperozturk96 7e21f633a9 make dismiss button gray
Signed-off-by: alperozturk96 <[email protected]>
2026-06-10 10:45:13 +02:00
alperozturk96 21cd5e9f2f simplify layout
Signed-off-by: alperozturk96 <[email protected]>
2026-06-10 10:38:52 +02:00
alperozturk96 fab3ed8379 simplify and make remove button more reachable
Signed-off-by: alperozturk96 <[email protected]>
2026-06-10 10:31:50 +02:00
alperozturk96 d9d728bf21 fix notification deletion
Signed-off-by: alperozturk96 <[email protected]>
2026-06-10 10:20:23 +02:00
Alper Öztürk 6c4295efc5 Merge pull request #17157 from nextcloud/fix/file-download
fix(operation): file download
2026-06-10 09:27:49 +02:00
alperozturk96 895012f53e update lib
Signed-off-by: alperozturk96 <[email protected]>
2026-06-10 09:27:10 +02:00
alperozturk96 b6b80d333b fix(operation): file download
Signed-off-by: alperozturk96 <[email protected]>
2026-06-10 09:26:12 +02:00
Nextcloud bot a48226d33f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-10 03:15:57 +00:00
Alper Öztürk b76807f028 Merge pull request #16766 from mykh-hailo/feat/authenticator-browser
feat: use androidx.browser for AuthenticatorActivity
2026-06-09 17:29:03 +02:00
Alper Öztürk ee2190c55f Merge branch 'master' into feat/authenticator-browser 2026-06-09 16:33:04 +02:00
alperozturk96 ae90e038b3 simplify
Signed-off-by: alperozturk96 <[email protected]>
2026-06-09 16:28:35 +02:00
alperozturk96 9c78ae4e86 fix(worker): metadata worker encrypted folder
Signed-off-by: alperozturk96 <[email protected]>
2026-06-09 16:22:40 +02:00
Nextcloud bot d5dc89152d fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-09 03:19:48 +00:00
Andy Scherzinger 1fac6d552b Merge pull request #17130 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.236.0
2026-06-09 00:16:28 +02:00
renovate[bot] bf4fb9e9d5 Update dependency fastlane to v2.236.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-08 17:38:45 +00:00
Nextcloud bot 0e8c226e1f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-06-08 11:43:36 +00:00
Andy Scherzinger 6ab4fb688e Merge pull request #17153 from nextcloud/ci/noid/ai-policy-check
Add AI policy check
2026-06-08 12:58:23 +02:00
Andy Scherzinger f89a6c4686 ci(ai-policy): Add AI policy check
Signed-off-by: Andy Scherzinger <[email protected]>
2026-06-08 12:40:17 +02:00
alperozturk96 f756af376e fix(oc-file-list): bind shared avatars
Signed-off-by: alperozturk96 <[email protected]>
2026-06-08 12:05:23 +02:00
Tobias Kaminsky 50815a361c Merge pull request #17150 from nextcloud/lintTranslation
Add lint check for translations
2026-06-08 11:24:13 +02:00
tobiasKaminsky 8116a123ec fix translation line break
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-08 10:58:41 +02:00
tobiasKaminsky 06192c0907 Add lint check for translations
Signed-off-by: tobiasKaminsky <[email protected]>
2026-06-08 10:55:46 +02:00
Sebastian Gallese 0806a8fb72 Merge branch 'master' into mal/nextcloud-string-extension-baseline 2026-06-07 20:44:40 -07:00
Andy Scherzinger cfc921bf31 Merge pull request #17144 from nextcloud/docs/noid/agent-info
Update agent info
2026-06-06 11:39:57 +02:00
Andy Scherzinger 4d96d50d5b docs: Update agent info
Signed-off-by: Andy Scherzinger <[email protected]>
2026-06-06 11:37:39 +02:00
renovate[bot] e57afed9e6 Update actions/checkout action to v6.0.3 (#17125)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-05 14:08:49 +00:00
alperozturk96 f3a5c59e84 chore: next minor version 34.1.0 alpha 1
Signed-off-by: alperozturk96 <[email protected]>
2026-06-05 16:47:06 +03:00
Alper Öztürk 2c717d9556 Merge pull request #17122 from nextcloud/chore/next-version
chore: version bump 35.0.0
2026-06-05 16:40:57 +03:00
Andy Scherzinger ae9227d4d4 Merge pull request #17124 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-06-04 21:03:35 +02:00
nextcloud-android-bot b93854c291 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-06-04 19:02:08 +00:00
alperozturk96 e4a5311fc4 chore: version bump 35.0.0
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 13:37:06 +03:00
Alper Öztürk 31545077a3 Merge pull request #17004 from nextcloud/fix/oc-file-search-task-data-state
fix(oc-search-task): data consistency
2026-06-03 13:16:12 +03:00
alperozturk96 25c5af3b5a add missing fields
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 12:17:56 +03:00
alperozturk96 e592cbb0cd add missing fields
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 12:17:56 +03:00
alperozturk96 4956c990f8 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 12:17:56 +03:00
alperozturk96 5a9f21e32a fix user file selection order
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-06-03 12:17:55 +03:00
alperozturk96 4e4dddc63f fetch result from search directly
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/owncloud/android/ui/asynctasks/GallerySearchTask.kt
2026-06-03 12:17:53 +03:00
alperozturk96 b410b2fb76 fix(oc-search-task): data consistency
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 12:17:49 +03:00
alperozturk96 737f9fc92f fix(oc-search-task): data consistency
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 12:17:48 +03:00
Alper Öztürk 1b45bdf5cf Merge pull request #17118 from nextcloud/cleanup-settings-gradle
remove unused local libs link
2026-06-03 12:16:32 +03:00
Alper Öztürk 440b22da68 Merge pull request #17117 from nextcloud/fix/ci-v2
fix ci
2026-06-03 12:16:20 +03:00
alperozturk96 5e0c50d6e0 update library hash
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 11:37:21 +03:00
alperozturk96 dae2f5319e remove local libs
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 11:30:46 +03:00
alperozturk96 df5c25d59d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 11:13:53 +03:00
alperozturk96 f94f9b3d74 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 11:13:21 +03:00
Alper Öztürk cb6f8b9b6b Merge pull request #17095 from nextcloud/fix/upload-cancel
improve upload cancellation
2026-06-03 10:40:23 +03:00
Alper Öztürk 5a22bf6727 Merge pull request #17018 from nextcloud/fix/oc-file-list-favorite-refresh
fix(oc-file-list): favorite refresh
2026-06-03 10:26:48 +03:00
Alper Öztürk 2b49e12caf Merge pull request #17025 from nextcloud/fix/file-edit-share
fix(share-activity): ui/ux
2026-06-03 10:26:39 +03:00
Tobias Kaminsky ac67a4a4df Merge pull request #17083 from nextcloud/fix/rich-documents-file-download
fix(rich documents): download as
2026-06-03 09:24:08 +02:00
Tobias Kaminsky 9b760aa4a5 Merge pull request #16744 from nextcloud/feat/sync-all
feat(sync): download folder including all nested files
2026-06-03 08:56:25 +02:00
Tobias Kaminsky 10f006eac8 Merge pull request #17113 from nextcloud/openssl-via-jitpack
chore(openssl): use android-openssl
2026-06-03 08:55:17 +02:00
alperozturk96 25f1820c54 fix user file selection order
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 09:31:29 +03:00
alperozturk96 afb4423987 fix user file selection order
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 09:31:29 +03:00
alperozturk96 aa3897ea38 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 09:31:29 +03:00
alperozturk96 2d16c58f84 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 09:31:29 +03:00
alperozturk96 bba9593676 removeFileIfAlreadyUploaded
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 09:31:29 +03:00
alperozturk96 3ccf8032dc no need to update db in fuw, upload file operation already does
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 09:31:29 +03:00
Alper Öztürk 4835c43082 Merge pull request #17081 from nextcloud/fix/auto-upload-header-alignment
fix(auto-upload): header title
2026-06-03 09:30:36 +03:00
Alper Öztürk 3a7b1940e8 Merge pull request #17094 from nextcloud/improve-backup-list-adapter
improve backup list adapter
2026-06-03 09:30:20 +03:00
Alper Öztürk d055512f81 Merge pull request #17097 from nextcloud/fix/e2ee-folder-shortcut-open
fix: e2ee folder shortcut open
2026-06-03 09:29:27 +03:00
Alper Öztürk 5606676b80 Merge pull request #17100 from nextcloud/update-local-libs-comments
update local lib comment blocks for kts
2026-06-03 09:29:01 +03:00
Alper Öztürk 96a17e1ae8 Merge pull request #17112 from nextcloud/feat/copy-chat
feat(assistant): copy chat
2026-06-03 09:28:49 +03:00
alperozturk96 635d57a399 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:50:18 +03:00
alperozturk96 412e0ee9e8 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:43:13 +03:00
alperozturk96 7e2830227c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:43:13 +03:00
alperozturk96 0b15a1be9c wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:43:13 +03:00
alperozturk96 b31060ede8 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:43:13 +03:00
alperozturk96 94f0283b6b wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:43:13 +03:00
alperozturk96 b7a3fd0d07 fix lint
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:42:34 +03:00
alperozturk96 b457bf2a5b feat(sync-all): show notifications
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 8b93ad4c5e feat(sync-all): show notifications
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 883a319162 feat(sync-all): show notifications
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 a7f8611a78 feat(sync-all): show notifications
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 0c5da7165e feat(sync-all): show notifications
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 be0739e6f1 feat(sync-all): show notifications
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 f855c0db5b feat(sync-all): show notifications
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 16a54df5d0 feat(sync-all): convert to kt simplify sync file operation
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/src/main/java/com/nextcloud/client/jobs/OfflineSyncWork.kt
2026-06-03 08:29:16 +03:00
alperozturk96 a309ad5515 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 a2ec733213 feat(sync-all): fix empty notifications, execution flow
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 9feba5f6a3 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 1e9b174919 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
Alper ÖztürkandLaura Kramolis f0d3c0ca33 Update app/src/main/res/values/strings.xml
Co-authored-by: Laura Kramolis <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 e6c7957abc sync folder operation already handles nested files
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 bbdb4252a3 save files that not exists in db before sync all folder
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 1a01f55ce3 add confirmation dialog for sync all
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 a4d70cd229 simplify sync file calls
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 e5aebfe028 simplify sync file calls
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 51b9799d26 use checkIfEnoughSpace
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
alperozturk96 112dd145c9 feat(sync): download folder including all nested files
Signed-off-by: alperozturk96 <[email protected]>
2026-06-03 08:29:16 +03:00
Andy Scherzinger 22bcf2ff54 Merge pull request #17114 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-06-03 07:17:50 +02:00
nextcloud-android-bot 66f8a41f62 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-06-03 03:11:55 +00:00
Alper Öztürk b329099db8 Merge pull request #17027 from nextcloud/fix/backup
fix(backup-fragment): lifecycle, permission management
2026-06-02 16:00:10 +03:00
alperozturk96 0e44d93760 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-02 11:28:10 +03:00
alperozturk96 783a5c0fab wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-02 11:28:10 +03:00
alperozturk96 aa380fd2a8 fix(backup-fragment): lifecycle, permission management
Signed-off-by: alperozturk96 <[email protected]>
2026-06-02 11:28:10 +03:00
alperozturk96 931ec12e67 fix(backup-fragment): lifecycle, permission management
Signed-off-by: alperozturk96 <[email protected]>
2026-06-02 11:28:10 +03:00
alperozturk96 6ae54a6bd3 fix(backup-fragment): lifecycle, permission management
Signed-off-by: alperozturk96 <[email protected]>
2026-06-02 11:28:10 +03:00
alperozturk96 155440e516 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-06-02 11:15:44 +03:00
alperozturk96 a8526fb933 openssl-via-jitpack
Signed-off-by: alperozturk96 <[email protected]>
2026-06-02 10:46:18 +03:00
alperozturk96 f05ab31068 feat(assistant): copy content
Signed-off-by: alperozturk96 <[email protected]>
2026-06-01 14:37:23 +03:00
alperozturk96 9a865b33a0 feat(assistant): copy content
Signed-off-by: alperozturk96 <[email protected]>
2026-06-01 14:29:39 +03:00
Nextcloud bot 3393948217 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-31 03:16:12 +00:00
Nextcloud bot f89bdf27a9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-30 03:16:33 +00:00
alperozturk96 53f4d1c9f6 update local lib comment blocks
Signed-off-by: alperozturk96 <[email protected]>
2026-05-28 12:56:50 +03:00
Nextcloud bot 1a957bd5e9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-27 19:55:18 +00:00
alperozturk96 d5ed2e13bb wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-27 08:38:39 +03:00
alperozturk96 e057c0d391 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 15:55:57 +03:00
alperozturk96 30e8fceff9 update file name
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 08a9444cdf fix on remove file operation on finish
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
Alper ÖztürkandCopilot Autofix powered by AI a9359c6b6f Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 8162621668 fix spotbugs
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 8d5d146f8d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 9ef33d0a2d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 1e4a6c406e wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 8880402d06 introduce FolderLayout
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 3e9412e45f introduce FolderLayout
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 bef362f265 keep layout style after rename
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 6ac4399c0b fix delete file refresh
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 243ca5d78b fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 9b7c453ea2 fix refresh after rename
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 2a26fe6681 simplify on rename logics
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 7e1f9fb2b4 resolveLocalFileId instead refresh whole directory
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 f477145555 refresh current dir was not mandatory
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 10d9dcbe88 only show loading state first time if app doesn't have active search task
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 5ba22cbbd5 refresh directory to always use latest cached files to prevent duplicate item
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 01cc7db83a fix(oc-file-list): favorite refresh
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:31:05 +03:00
alperozturk96 260edd431a improve performance
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 12:08:27 +03:00
alperozturk96 313fda8f88 improve backup list adapter
Signed-off-by: alperozturk96 <[email protected]>
2026-05-26 11:53:33 +03:00
Nextcloud bot 81e2db50e7 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-26 04:23:48 +00:00
Andy Scherzinger 97e4452432 Merge pull request #17090 from nextcloud/renovate/codecov-codecov-action-6.x
Update codecov/codecov-action action to v6.0.1
2026-05-25 09:00:52 +02:00
Nextcloud bot c0c9119213 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-25 04:23:15 +00:00
renovate[bot] cef9a34d9a Update codecov/codecov-action action to v6.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-25 00:39:33 +00:00
Andy Scherzinger 8ee8580524 Merge pull request #17085 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-05-24 10:14:04 +02:00
nextcloud-android-bot 3518158aef 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-05-24 03:09:19 +00:00
Sebastian Gallese 63bd353690 test: cover filename extension helpers
Add direct unit coverage for filename extension edge cases in the Kotlin string extension helpers.

AI-assistant: Codex (GPT-5)
Signed-off-by: Sebastian Gallese <[email protected]>
2026-05-23 16:44:31 -07:00
Nextcloud bot 488031937e fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-23 11:26:32 +00:00
alperozturk96 4ebf7c62cd fix(auto-upload): header title
Signed-off-by: alperozturk96 <[email protected]>
2026-05-22 09:31:31 +03:00
Alper Öztürk ea77434de4 Merge pull request #17053 from nextcloud/gallery/fixVideoThumbnail
Gallery: fix video thumnail generation
2026-05-22 09:02:29 +03:00
Andy Scherzinger d2e8b985f0 Merge pull request #17080 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-05-22 07:32:58 +02:00
Nextcloud bot 5857c9e685 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-22 03:58:47 +00:00
nextcloud-android-bot 45c8a2ce73 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-05-22 03:10:10 +00:00
Alper Öztürk e16e18189c Merge branch 'master' into feat/authenticator-browser
Signed-off-by: Alper Öztürk <[email protected]>
2026-05-21 16:01:05 +03:00
Alper Öztürk e02b01fbc4 Merge pull request #16986 from nextcloud/fix/gallery-fragment-oome
fix(gallery-fragment): oome
2026-05-21 15:26:17 +03:00
Tobias Kaminsky 7a80672a77 Merge pull request #16688 from nextcloud/renovate/kotlin-monorepo
Update kotlin monorepo to v2.3.21
2026-05-21 13:23:09 +02:00
alperozturk96 270297a542 use dialog
Signed-off-by: alperozturk96 <[email protected]>
2026-05-21 10:59:27 +03:00
alperozturk96 c9932455b3 fix(share-activity): ui/ux
Signed-off-by: alperozturk96 <[email protected]>
2026-05-21 09:05:28 +02:00
alperozturk96 28dbfc9b48 fix(share-activity): ui/ux
Signed-off-by: alperozturk96 <[email protected]>
2026-05-21 09:05:28 +02:00
alperozturk96 2e8ac4a73b fix(share-activity): ui/ux
Signed-off-by: alperozturk96 <[email protected]>
2026-05-21 09:05:28 +02:00
alperozturk96 cd9937adfe Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-05-21 09:05:28 +02:00
renovate[bot] f0ed829192 Update kotlin monorepo to v2.3.21
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-21 08:46:50 +02:00
Tobias Kaminsky 2925d79963 Merge pull request #16683 from nextcloud/renovate/reactivecircus-android-emulator-runner-2.x
Update reactivecircus/android-emulator-runner action to v2.37.0
2026-05-21 07:24:09 +02:00
Tobias Kaminsky 93d91435bc Merge pull request #16738 from nextcloud/renovate/emojigoogleversion
Update dependency com.vanniktech:emoji-google to v0.24.1
2026-05-21 07:23:01 +02:00
Tobias Kaminsky 7ceb420197 Merge pull request #16830 from nextcloud/renovate/annotationversion
Update dependency androidx.annotation:annotation to v1.10.0
2026-05-21 07:22:41 +02:00
Tobias Kaminsky c2c4eb470d Merge pull request #16919 from nextcloud/renovate/foundationversion
Update dependency androidx.compose.foundation:foundation to v1.11.2
2026-05-21 07:22:22 +02:00
Tobias Kaminsky 8c3f02d007 Merge pull request #16923 from nextcloud/renovate/bcpkixjdk18onversion
Update dependency org.bouncycastle:bcpkix-jdk18on to v1.84
2026-05-20 13:22:18 +02:00
renovate[bot] 8537e662d6 Update dependency androidx.compose.foundation:foundation to v1.11.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-20 12:43:25 +02:00
renovate[bot] d2679140d8 Update reactivecircus/android-emulator-runner action to v2.37.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-20 12:30:28 +02:00
renovate[bot] f880881822 Update dependency com.vanniktech:emoji-google to v0.24.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-20 12:30:10 +02:00
renovate[bot] 79381b538b Update dependency androidx.annotation:annotation to v1.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-20 12:30:04 +02:00
Tobias Kaminsky 265b77c6ce Merge pull request #17011 from nextcloud/renovate/composebom
Update dependency androidx.compose:compose-bom to v2026.05.01
2026-05-20 10:06:03 +02:00
tobiasKaminsky dfa6e8acd7 updated keys
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-20 09:06:53 +02:00
renovate[bot] 8611175fae Update dependency androidx.compose:compose-bom to v2026.05.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-20 09:05:57 +02:00
Tobias Kaminsky 6fceab3f7e Merge pull request #17010 from nextcloud/renovate/spotbugsgradleplugin
Update dependency com.github.spotbugs to v6.5.4
2026-05-20 08:50:28 +02:00
Tobias Kaminsky f968788911 Merge pull request #16920 from nextcloud/renovate/gsonversion
Update dependency com.google.code.gson:gson to v2.14.0
2026-05-20 08:49:58 +02:00
Tobias Kaminsky 12ec32cf41 Merge pull request #17012 from nextcloud/renovate/webkitversion
Update dependency androidx.webkit:webkit to v1.16.0
2026-05-20 08:49:14 +02:00
Tobias Kaminsky 690c671e1d Merge pull request #16921 from nextcloud/renovate/commonsioversion
Update dependency commons-io:commons-io to v2.22.0
2026-05-20 08:48:54 +02:00
Tobias Kaminsky 6c6882fc65 Merge pull request #17057 from nextcloud/update-library-2026-05-17
Update library to 2026-05-17
2026-05-19 11:21:21 +02:00
Tobias Kaminsky 5ce50a957c Update library to 2026-05-17
Signed-off-by: Tobias Kaminsky <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-19 10:27:42 +02:00
renovate[bot] dfbcb3f9db Update dependency org.bouncycastle:bcpkix-jdk18on to v1.84
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-19 10:23:30 +02:00
tobiasKaminsky 7b5a56bb03 update verification-metadata.xml
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-19 10:23:21 +02:00
renovate[bot] 1ce04ec446 Update dependency com.github.spotbugs to v6.5.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-19 10:23:21 +02:00
renovate[bot] 854432898f Update dependency androidx.webkit:webkit to v1.16.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-19 10:02:36 +02:00
renovate[bot] b7d7afe302 Update dependency commons-io:commons-io to v2.22.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-19 09:59:55 +02:00
renovate[bot] 16d0d70e5b Update dependency com.google.code.gson:gson to v2.14.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-19 07:00:46 +00:00
Tobias Kaminsky 28eb160954 Merge pull request #16891 from nextcloud/renovate/glide
Update glide to v5.0.7
2026-05-19 08:57:45 +02:00
Tobias Kaminsky 5f24c17952 Merge pull request #17009 from nextcloud/renovate/androidpluginversion
Update androidPluginVersion to v9.2.1
2026-05-19 08:56:41 +02:00
Tobias Kaminsky 1dcd7333da Merge pull request #17064 from nextcloud/lint
Fix lint
2026-05-19 08:54:16 +02:00
tobiasKaminsky 23df7ff059 Fix lint
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-19 08:41:32 +02:00
Tobias Kaminsky 8dc0f993ad Merge pull request #17028 from nextcloud/renovate/firebasemessagingversion
Update dependency com.google.firebase:firebase-messaging to v25.0.2
2026-05-19 08:21:01 +02:00
Nextcloud bot 2fa921bfdb fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-19 03:52:42 +00:00
tobiasKaminsky 35fca3d036 Update androidPluginVersion to v9.2.1
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-18 13:45:01 +02:00
renovate[bot] df74de9579 Update glide to v5.0.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-18 10:02:02 +00:00
renovate[bot] bcff012a34 Update dependency com.google.firebase:firebase-messaging to v25.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-18 10:01:26 +00:00
Tobias Kaminsky a79cb9f351 Merge pull request #17054 from nextcloud/style/noid/exoPlayerControllsRipple
Add primary ripple for full screen exoplayer controls
2026-05-18 08:22:37 +02:00
Nextcloud bot 7132743722 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-18 03:16:55 +00:00
Andy Scherzinger 83da9233b6 Merge pull request #17020 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2026-05-17 09:49:50 +02:00
Nextcloud bot 919e52d796 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-17 03:18:11 +00:00
nextcloud-android-bot 36c5ccf5a3 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
2026-05-17 03:09:04 +00:00
Nextcloud bot a63cdfa19f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-16 03:20:54 +00:00
tobiasKaminsky 02a542dc8f Merge remote-tracking branch 'origin/style/noid/exoPlayerControllsRipple' into style/noid/exoPlayerControllsRipple
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-15 13:15:28 +02:00
tobiasKaminsky 2a66a5f2e5 fix ripple also for video fragment
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-15 13:15:17 +02:00
Andy Scherzinger 6ecebac4c5 style: Add primary ripple for full screen exoplayer controls
AI-assistant: Claude Code v2.1.141 (Claude Sonnet 4.6)
Signed-off-by: Andy Scherzinger <[email protected]>
2026-05-15 13:09:34 +02:00
Andy Scherzinger 6026fa4619 style: Add primary ripple for full screen exoplayer controls
AI-assistant: Claude Code v2.1.141 (Claude Sonnet 4.6)
Signed-off-by: Andy Scherzinger <[email protected]>
2026-05-15 13:02:26 +02:00
tobiasKaminsky 96de5eb0a2 Gallery: fix video thumnail generation
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-15 08:14:02 +02:00
Nextcloud bot 46e45c3d4d fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-15 03:10:19 +00:00
Nextcloud bot aa333af6d6 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-14 03:13:33 +00:00
Alper Öztürk e190b68916 Merge pull request #17024 from nextcloud/fix-pass-code-translation
simplify passcode delay translation
2026-05-13 15:37:26 +02:00
Alper Öztürk cdada2a499 Merge pull request #17039 from nextcloud/check-npe-refresh-details
fix(file-details): refresh from fda
2026-05-13 12:50:36 +02:00
Tobias Kaminsky 3dc628ca8d Merge pull request #17036 from nextcloud/feature/eurooffice-direct-editing
fix: use office user agent for all office direct editing editors
2026-05-13 11:30:38 +02:00
Alper Öztürk 7c802bd416 Merge pull request #16934 from nextcloud/warn-auto-upload-battery-saver-mode-distinquish-between-os-and-app
feat(auto-upload): battery saver, batter optimization indication
2026-05-13 11:28:05 +02:00
alperozturk96 183b834d98 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:50 +02:00
Alper ÖztürkandTobias Kaminsky 4cd3df76da Update app/src/main/res/values/strings.xml
Co-authored-by: Tobias Kaminsky <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2026-05-13 11:27:11 +02:00
Alper ÖztürkandTobias Kaminsky 82b45b0a1e Update app/src/main/res/values/strings.xml
Co-authored-by: Tobias Kaminsky <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2026-05-13 11:27:11 +02:00
Alper ÖztürkandTobias Kaminsky eb6ca92303 Update app/src/main/res/values/strings.xml
Co-authored-by: Tobias Kaminsky <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 a559945da2 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 4fee5c55cf wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 9437676d23 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 af34391f65 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 688fddb2b4 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 e446a8f5d9 add redirection actions
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 f48cec79b8 feat(auto-upload): listen live changes
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 e521f2417c feat(auto-upload): fix sync folder layout
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 39859235a5 feat(auto-upload): fix upload list layout and fix texts
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 a1fd2ca220 feat(auto-upload): manual di
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
alperozturk96 18a686f98c feat(auto-upload): battery saver, batter optimization indication
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:27:11 +02:00
Alper Öztürk 96e63ef25d Merge pull request #17032 from nextcloud/fix/trashbin-back-button-behaviour
fix(trashbin): back button behaviour
2026-05-13 11:26:24 +02:00
alperozturk96 d90f2d81ae fix(file-details): refresh from fda
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:26:12 +02:00
alperozturk96 1c12e73337 fix(file-details): refresh from fda
Signed-off-by: alperozturk96 <[email protected]>
2026-05-13 11:26:12 +02:00
James Manuel 3573668c4e Merge branch 'master' into feature/eurooffice-direct-editing 2026-05-13 10:54:02 +02:00
Tobias Kaminsky aec50ec0d7 Merge pull request #17003 from nextcloud/fix/settings-activity-dialogs
fix(settings-activity): dialogs
2026-05-13 09:36:56 +02:00
James Manuel 1e672b17f5 fix: use office user agent for all office direct editing editors
Signed-off-by: James Manuel <[email protected]>
2026-05-13 00:21:30 +02:00
Andy Scherzinger f8fb1f2fa2 Merge pull request #17030 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.234.0
2026-05-12 19:34:14 +02:00
Andy Scherzinger 4373733df7 Merge pull request #17035 from nextcloud/ci/noid/metaData
ci(chksm): Add meta data
2026-05-12 19:33:54 +02:00
Andy Scherzinger ccd0ee5d72 ci(chksm): Add meta data
Signed-off-by: Andy Scherzinger <[email protected]>
2026-05-12 19:23:46 +02:00
alperozturk96 ac7ec77689 fix(trashbin): action bar back button behaviour
Signed-off-by: alperozturk96 <[email protected]>
2026-05-12 09:53:50 +02:00
Andy Scherzinger 477d971b29 Merge pull request #17029 from nextcloud/renovate/github-codeql-action-4.x
Update github/codeql-action action to v4.35.4
2026-05-12 08:59:48 +02:00
Tobias Kaminsky 4c5a0bf0a4 Merge pull request #17015 from nextcloud/fix/ci-gh
fix: ci
2026-05-12 08:51:58 +02:00
renovate[bot] d05375a9c7 Update dependency fastlane to v2.234.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-12 06:05:34 +00:00
renovate[bot] 6bf6e76bf1 Update github/codeql-action action to v4.35.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-12 06:03:21 +00:00
Nextcloud bot 6de01ecf1a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-12 03:17:01 +00:00
Tobias Kaminsky c2ede80ff0 Merge pull request #17021 from nextcloud/update-library-2026-05-10
Update library to 2026-05-10
2026-05-11 12:31:43 +02:00
alperozturk96 6fc9b5baf2 simplify passcode delay translation
Signed-off-by: alperozturk96 <[email protected]>
2026-05-11 09:55:11 +02:00
alperozturk96 c73a2a0b91 fix(settings-activity): dialogs
Signed-off-by: alperozturk96 <[email protected]>
2026-05-11 07:49:17 +02:00
tobiasKaminsky 2bf493a313 update lib
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-11 07:19:34 +02:00
Nextcloud bot f1fe196b8c fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-11 03:07:14 +00:00
Nextcloud bot 6f73fc5f6f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-10 03:07:53 +00:00
Tobias Kaminsky 73631ec8a6 Update library to 2026-05-10
Signed-off-by: Tobias Kaminsky <[email protected]>
2026-05-10 00:02:03 +02:00
Nextcloud bot 975030e25f fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-09 03:10:46 +00:00
alperozturk96 715971581d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:29:02 +02:00
alperozturk96 84bcbd4cc9 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:08:11 +02:00
alperozturk96 33870377ae wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
alperozturk96 0ddffbbea9 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
alperozturk96 9d6aff9a6d wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
alperozturk96 6259d473ea wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
alperozturk96 984416cc44 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
alperozturk96 b1d0c2becd wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
alperozturk96 e0ab114a78 Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
alperozturk96 cbd3a409fd wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
alperozturk96 4f85ff3cec wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
alperozturk96 8169861cae wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 13:03:10 +02:00
Alper Öztürk 71d06dccd8 Merge pull request #16944 from nextcloud/fix/e2ee-key-creation
fix: e2ee key creation
2026-05-08 11:10:09 +02:00
alperozturk96 8e08bdb122 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:38:09 +02:00
alperozturk96 a22baedc16 fix checksum generation
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:31:21 +02:00
alperozturk96 4520491820 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:31:21 +02:00
alperozturk96 03572c7f62 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:31:18 +02:00
alperozturk96 b3a4bc223a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:31:17 +02:00
alperozturk96 29ce1c9e99 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:31:07 +02:00
alperozturk96 0825493921 wip
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-05-08 10:31:06 +02:00
alperozturk96 d6dd74d95f wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:30:50 +02:00
alperozturk96 0fafd55821 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:30:50 +02:00
alperozturk96 832d31b627 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:30:50 +02:00
alperozturk96 3d473d9776 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-08 10:30:50 +02:00
Alper Öztürk ca3983e04d Merge pull request #16926 from nextcloud/feat/delete-e2ee-files-and-credentials
feat(e2ee): add debug deletion
2026-05-08 10:30:14 +02:00
Tobias Kaminsky e018b80444 Merge pull request #17014 from nextcloud/lintAGP
Lint: do not fail on old AGP version
2026-05-08 09:37:42 +02:00
tobiasKaminsky 541fa5e51c update lib
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-08 09:28:12 +02:00
Nextcloud bot 288de0420a fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-08 03:09:22 +00:00
Alper Öztürk cda33497e2 Merge branch 'master' into feat/delete-e2ee-files-and-credentials
Signed-off-by: Alper Öztürk <[email protected]>
2026-05-07 14:55:52 +02:00
tobiasKaminsky fa76fc2754 Lint: do not fail on old AGP version
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-07 10:51:03 +02:00
Tobias Kaminsky 2f90fef8e6 Merge pull request #16952 from nextcloud/update-library-2026-05-03
Update library to 2026-05-03
2026-05-07 10:41:26 +02:00
alperozturk96 531982df08 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 10:36:09 +02:00
alperozturk96 6e8f46a616 add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 10:36:09 +02:00
alperozturk96 b51c73e6f7 add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 10:36:09 +02:00
alperozturk96 c58771a08d fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 10:36:09 +02:00
alperozturk96 8ddd607cf6 use lib
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	gradle/libs.versions.toml
2026-05-07 10:36:09 +02:00
alperozturk96 04d5758115 fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 10:36:09 +02:00
alperozturk96 b0615d143f feat(e2ee): add debug deletion
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 10:36:09 +02:00
Tobias Kaminsky ed64930e7e Merge pull request #16913 from nextcloud/renovate/ksp-monorepo
Update dependency com.google.devtools.ksp to v2.3.7
2026-05-07 10:17:21 +02:00
Tobias Kaminsky d130f740ac Merge pull request #17008 from nextcloud/renovate/ubuntu-resolute
Update ubuntu:resolute Docker digest to f3d2860
2026-05-07 09:30:31 +02:00
Tobias Kaminsky 7add88c8b9 Merge pull request #16951 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.233.1
2026-05-07 09:29:36 +02:00
Alper Öztürk 3b6a44a9b3 Merge pull request #17006 from nextcloud/fix/e2ee-verify-metadata
CI: install cmake 4.1.2
2026-05-07 09:26:39 +02:00
renovate[bot] 62e0bb6bf9 Update ubuntu:resolute Docker digest to f3d2860
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-07 07:19:15 +00:00
tobiasKaminsky 70219bb639 CI: install cmake 4.1.2
Signed-off-by: tobiasKaminsky <[email protected]>
2026-05-07 08:46:55 +02:00
Alper Öztürk 16fcdbd398 Merge pull request #16916 from nextcloud/fix/e2ee-verify-metadata
fix(end-to-encryption): verify metadata
2026-05-07 08:46:33 +02:00
alperozturk96 bcef379633 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:33:30 +02:00
alperozturk96 d6c7e9c402 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 e0ded6131a wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 a939b3d0ae wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 7cb5902d51 wip
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 3a61679531 open-ssl-3.5.6 lts
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 73ca397f9e open-ssl-3.5.6 lts
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 bdc41ee3c8 openssl-4
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 63a23712c1 add fallback
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 c9d97d2192 add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 ad4bec55cb add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 a8329a8329 add tests
Signed-off-by: alperozturk96 <[email protected]>
2026-05-07 08:25:35 +02:00
alperozturk96 5b6c664538 fix(end-to-encryption): verify metadata
Signed-off-by: alperozturk96 <[email protected]>

# Conflicts:
#	app/.gitignore
#	app/build.gradle.kts
#	ndk.env
2026-05-07 08:25:35 +02:00
Nextcloud bot 6d079664ed fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <[email protected]>
2026-05-07 03:06:04 +00:00
Alper Öztürk 274aadb0ff Merge pull request #16988 from nextcloud/handle/423-locked
handle(auto-upload): LOCKED
2026-05-06 13:52:15 +02:00
Alper Öztürk 96760d10d4 Merge pull request #16995 from nextcloud/improve-remote-file-fetch
Improve remote file fetch
2026-05-06 13:51:54 +02:00
Tobias Kaminsky 2599e0bf8d Merge pull request #16989 from nextcloud/oeap-update
feat(push): Optionally use OAEP padding
2026-05-06 09:51:18 +02:00
mykh-hailo d73b4b6046 fix: replace CustomTabIntent with AuthTabIntent
Signed-off-by: mykh-hailo <[email protected]>
2026-05-05 23:09:10 -04:00
mykh-hailo c290809a79 feat: use androidx.browser for AuthenticatorActivity
Signed-off-by: mykh-hailo <[email protected]>
2026-05-05 23:09:10 -04:00
alperozturk96 7786703d4c improve remote file fetch
Signed-off-by: alperozturk96 <[email protected]>
2026-05-05 12:30:46 +02:00
alperozturk96 2b12f25221 improve remote file fetch
Signed-off-by: alperozturk96 <[email protected]>
2026-05-05 12:27:20 +02:00
alperozturk96 1ebfe40013 improve remote file fetch
Signed-off-by: alperozturk96 <[email protected]>
2026-05-05 11:58:41 +02:00
alperozturk96 7b4ce962ec Rename .java to .kt
Signed-off-by: alperozturk96 <[email protected]>
2026-05-05 11:58:40 +02:00
alperozturk96 bcc46f7ae7 adjust timing
Signed-off-by: alperozturk96 <[email protected]>
2026-05-05 08:22:24 +02:00
Alper ÖztürkandLaura Kramolis 4bbf161151 Update app/src/main/res/values/strings.xml
Co-authored-by: Laura Kramolis <[email protected]>
Signed-off-by: Alper Öztürk <[email protected]>
2026-05-04 15:41:28 +02:00
alperozturk96 e9bb9d5d42 add note
Signed-off-by: alperozturk96 <[email protected]>
2026-05-04 15:17:32 +02:00
alperozturk96 ad42b6cd4c feat(push): Optionally use OAEP padding
Signed-off-by: alperozturk96 <[email protected]>
2026-05-04 14:46:40 +02:00
alperozturk96 36aa6e432d fix codacy
Signed-off-by: alperozturk96 <[email protected]>
2026-05-04 11:23:04 +02:00
alperozturk96 211ec3da25 fix skipped uploads clear function
Signed-off-by: alperozturk96 <[email protected]>
2026-05-04 11:17:00 +02:00
alperozturk96 2efe0d7247 add random delay
Signed-off-by: alperozturk96 <[email protected]>
2026-05-04 11:16:50 +02:00
alperozturk96 688fdea470 handle(auto-upload): LOCKED
Signed-off-by: alperozturk96 <[email protected]>
2026-05-04 11:04:02 +02:00
alperozturk96 2821fe90e5 fix(gallery-fragment): oome
Signed-off-by: alperozturk96 <[email protected]>
2026-05-04 09:47:44 +02:00
alperozturk96 b8912a0224 fix(gallery-fragment): oome
Signed-off-by: alperozturk96 <[email protected]>
2026-05-04 09:43:52 +02:00
alperozturk96 91a37020a9 fix(gallery-fragment): oome
Signed-off-by: alperozturk96 <[email protected]>
2026-05-04 09:39:55 +02:00
Tobias Kaminsky 4ea3834df1 Update library to 2026-05-03
Signed-off-by: Tobias Kaminsky <[email protected]>
2026-05-03 00:02:42 +02:00
renovate[bot] 8da1474279 Update dependency fastlane to v2.233.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-02 13:13:21 +00:00
renovate[bot] 4e4e2d182d Update dependency com.google.devtools.ksp to v2.3.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-02 13:04:48 +00:00
1272 changed files with 84203 additions and 52527 deletions

No files matched your search

@@ -0,0 +1,179 @@
---
name: android-activity-to-navigator-fragment
description: >
Use when converting a standalone Activity (usually a DrawerActivity or FileActivity
subclass such as a drawer destination) into a Fragment hosted by NavigatorActivity, when
the user mentions "navigator", "NavigatorActivity", "NavigatorScreen", "convert activity
to fragment", "move screen into the new navigation", or names a drawer screen that still
has its own Activity. Covers registering the NavigatorScreen, building the fragment and
its layout, decoupling collaborators from the old Activity type, rewiring every entry
point (drawer, PendingIntents, broadcast receivers, deep links), DI and manifest cleanup,
and migrating the instrumented screenshot test.
license: AGPL-3.0-or-later
SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
metadata:
author: Nextcloud Android
version: "1.0.0"
---
# Activity → NavigatorActivity Fragment Conversion
Historically every drawer destination was its own `DrawerActivity` subclass, each with its
own toolbar, `DrawerLayout` and back handling. `NavigatorActivity` replaces them with **one
host Activity** that owns the toolbar and drawer, and swaps **fragments** for the
destinations. Converted so far: Community (#16652), Activities (#16753), Notifications
(#16800), Trashbin (#16879), Upload list.
Read `references/ARCHITECTURE.md` once before the first conversion. It explains how
`Navigator`, `NavigatorScreen`, `NavigatorActivity` and `DrawerActivity.pushFragment` work
together.
## The Prime Directive: Behaviour Must Not Change
The screen must look and behave exactly as before from every entry point: drawer item,
notification tap, notification action, deep link, rotation, back press, drawer toggle and
menu actions. This is a structural refactor. If you find a bug, report it instead of
fixing it in the same change.
## Workflow
### Step 0: Inventory (do not edit yet)
1. Read the whole Activity, its layout and its menu.
2. `git grep -n "<ActivityName>"` across `app/src`, including `AndroidManifest.xml`,
`ComponentsModule.java`, KDoc links, `androidTest` and screenshot file names. Every hit is
either an **entry point** you must rewire or a **reference** you must update.
3. List what the Activity takes from its **base class**. This is the step most likely to go
wrong. `NavigatorActivity` is a `DrawerActivity`, **not** a `FileActivity`. Anything from
`FileActivity` (`fileOperationsHelper`, `OperationsService` binding,
`onRemoteOperationFinish`, `requestCredentialsUpdate`, `showLoadingDialog`,
`connectivityService` field, `backgroundJobManager` field, `EXTRA_FILE`/`EXTRA_USER`
handling in `onCreate`) does not exist in the host. See `references/HOST-CAPABILITIES.md`.
4. List the intent extras the Activity, or its base class, reads. Each one must keep working
when it arrives on the `NavigatorActivity` intent.
5. Note any `onActivityResult`, `BroadcastReceiver`, `OnBackPressedCallback`,
`onOptionsItemSelected`, `ActionMode` or drawer listeners. Each one needs a fragment
equivalent (see `references/ACTIVITY-TO-FRAGMENT-MAPPING.md`).
If a collaborator needs a capability the host does not have, **stop and ask the
developer** whether to (a) move the flow into the fragment and extract the shared pieces
into a helper used by both places, or (b) change the host. Option (a) is the default. It
was chosen for the upload list's credential check (`CredentialsUpdateHelper`).
### Step 1: Register the screen in `NavigatorScreen`
Add the screen in all **five** places in `ui/navigation/NavigatorScreen.kt`. The `when`
expressions are exhaustive, so the compiler catches a missing branch, except in `fromTag`:
1. `@Parcelize object X : NavigatorScreen(X_TAG[, hasDrawer = false])`
2. `private const val X_TAG = "X"` in the companion
3. `fromTag`: `X_TAG -> X` (**not compiler-checked**; missing it breaks restoring after rotation)
4. `menuItemId()`: the drawer item id, or `-1` for screens outside the drawer
5. `actionBarStyle()`: `ActionBarStyle.Plain to R.string.<existing title>`
6. `toFragment()`: `X -> XFragment()`
Use `hasDrawer = false` for screens with a back arrow instead of a hamburger (Notifications).
### Step 2: Fragment layout
Copy the Activity layout to `fragment_<name>.xml` and strip the shell. The host already
provides it:
- remove the root `DrawerLayout`, the `<include layout="@layout/toolbar_standard"/>` and the
`<include layout="@layout/drawer"/>`;
- remove `layout_below="@id/appbar"`. The host's `FragmentContainerView` already sits below
the app bar;
- keep every view id the code or tests use, so the generated binding properties match;
- keep the original SPDX copyright lines and add a line for the current year (derived file).
Delete the old layout once nothing references it.
### Step 3: Write the fragment
Follow `references/ACTIVITY-TO-FRAGMENT-MAPPING.md`. The essentials:
- `class XFragment : Fragment()`, with `@Inject lateinit var` dependencies. Injection is done
by `NavigatorActivity.onAttachFragment`, so `Injectable` is optional.
- Nullable binding: `private var binding: FragmentXBinding? = null`. Set it to `null` in
`onDestroyView`. Use `val binding = binding ?: return` in every function that touches views
(#16783 fixed a crash after a configuration change caused by `_binding!!`).
- Host access: `getTypedActivity(NavigatorActivity::class.java)` (or `DrawerActivity` /
`BaseActivity` when that is all you need) for `user`, `storageManager`, `clientRepository`,
`setUser`, `setDrawerIndicatorEnabled`, `startActionMode`.
- Menu: `requireActivity().addMenuProvider(provider, viewLifecycleOwner, Lifecycle.State.RESUMED)`.
Do **not** handle `android.R.id.home`. The host does that.
- Back press: implement `NavigatorOnBackPressListener` only if the screen has internal
navigation (Trashbin folders).
- Remove `getMenuItemId()`, `setupDrawer()`, `setupToolbar()`, `highlightNavigationViewItem()`
and title setup. `NavigatorScreen` + `NavigatorActivity.setupActionBar` handle all of these.
- Keep files under 300 lines. Extract cohesive flows (conflict handling, credential checks,
the menu provider) into their own classes in the fragment's package.
### Step 4: Decouple collaborators from the old Activity
Adapters, helpers and listeners typed as `XActivity` or `FileActivity` must take the
narrowest type that has what they use. Usually that is `DrawerActivity`, `BaseActivity`,
`NavigatorActivity` or a plain `Context`. Calls to capabilities the host lacks become
callbacks on the click or listener interface, implemented by the fragment
(e.g. `UploadListItemOnClick.onCredentialErrorClick(user)`).
### Step 5: Rewire every entry point
**Always** build the intent with `NavigatorActivity.intent(context, NavigatorScreen.X)`.
`NavigatorActivity.onCreate` calls `requireNotNull` on the screen extra, so a bare
`Intent(context, NavigatorActivity::class.java)` crashes (#17193).
| Old call site | New call site |
|---|---|
| `DrawerActivity.onNavigationItemClicked`: `startActivity(X.class, FLAG_ACTIVITY_CLEAR_TOP)` | `pushFragment(NavigatorScreen.X.INSTANCE)` |
| Buttons in other DrawerActivities: `startActivity(X::class.java)` | `pushFragment(NavigatorScreen.X)` |
| `handleDeepLink`: `startActivity(X.class)` | `pushFragment(NavigatorScreen.X.INSTANCE)` |
| `PendingIntent` / `BroadcastReceiver` / Worker: `Intent(context, X::class.java)` | `NavigatorActivity.intent(context, NavigatorScreen.X).apply { flags = … }` |
| `X.createIntent(...)` factory | inline `NavigatorActivity.intent(...)` + only the extras the fragment reads |
Keep the original flags (`FLAG_ACTIVITY_NEW_TASK`, `FLAG_ACTIVITY_CLEAR_TOP`, …). Extras the
old base class consumed (e.g. `FileActivity.EXTRA_USER` → `setUser`) must now be read by the
fragment from `activity?.intent`, once, when `savedInstanceState == null`.
### Step 6: DI, manifest, cleanup
- `ComponentsModule.java`: remove `abstract XActivity xActivity();` and add
`@ContributesAndroidInjector abstract XFragment xFragment();`. Without this, injection
fails at runtime.
- `AndroidManifest.xml`: remove the `<activity>` entry.
- Delete the Activity, update KDoc/Javadoc `[link]`s that pointed at it, and remove now-unused
imports in files you edited.
### Step 7: Migrate the instrumented test
Rename `XActivityIT` to `XFragmentIT` and launch through the host:
```kotlin
val intent = NavigatorActivity.intent(targetContext, NavigatorScreen.X)
ActivityScenario.launch<NavigatorActivity>(intent).use { scenario -> … }
```
To call into the fragment, find it with `sut.supportFragmentManager.fragments.filterIsInstance<XFragment>()`
(see `TrashbinFragmentIT.launchFragment`). **Rename the reference screenshots with `git mv`**
(`app/screenshots/generic/debug/<pkg>.XActivityIT_*.png` → `XFragmentIT_*.png`) so the
screenshot test compares against the existing images instead of failing.
### Step 8: Verify
1. `./gradlew :app:compileGplayDebugKotlin :app:compileGplayDebugJavaWithJavac :app:compileGplayDebugAndroidTestKotlin`
2. `./gradlew spotlessKotlinCheck detekt lintGplayDebug spotbugsGplayDebug`, then fix findings
in every file you touched.
3. `git grep -n "<ActivityName>\|<old_layout_name>"` returns nothing.
4. Manual checklist (hand it to the developer if you cannot run the app): open from the
drawer, from every notification or PendingIntent, from the deep link; rotate on the
screen; switch to another drawer destination and press back; toggle the drawer with the
hamburger; use every menu action; check light and dark themes.
## References
- `references/ARCHITECTURE.md`: how the navigator works.
- `references/ACTIVITY-TO-FRAGMENT-MAPPING.md`: Activity API → fragment equivalent.
- `references/HOST-CAPABILITIES.md`: what `NavigatorActivity` provides and what it does not.
- `references/PITFALLS.md`: bugs that the earlier conversions ran into.
- `assets/worked-example.md`: the upload list conversion, step by step.
@@ -0,0 +1,81 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Worked Example: `UploadListActivity` → `UploadListFragment`
This conversion was the hardest one so far, because the Activity extended `FileActivity`.
## Inventory findings
- Base class `FileActivity`. The adapter called `activity.fileOperationsHelper.checkCurrentCredentials(user)`
for uploads that failed with `CREDENTIAL_ERROR`. The result came back through
`onRemoteOperationFinish` → `requestCredentialsUpdate` → `CheckRemoteWipeTask` →
`performCredentialsUpdate` → `startActivityForResult(AuthenticatorActivity)` →
`onActivityResult` → `FilesSyncHelper.restartUploadsIfNeeded`.
- Entry points: drawer `nav_uploads`, `FileUploaderIntents.openUploadListIntent` (upload
notifications, with `EXTRA_USER`), `AppWideNotificationManager.getUploadListPendingIntent`,
`SyncConflictNotificationBroadcastReceiver`.
- `EXTRA_USER` was consumed by `FileActivity.onCreate` → `setUser`. `EXTRA_FILE` was
ignored (the Activity set `file = null`).
- Menu: global pause/resume toggle. A `LocalBroadcastManager` receiver for upload events.
`UploadWarningCard` registered in `onCreate` and unregistered in `onDestroy`.
## Decisions
- Host stays a `DrawerActivity`. The credential flow moves into the
fragment.
- To avoid copying `FileActivity` logic, `ui/helpers/CredentialsUpdateHelper.kt` was
extracted. `FileActivity.performCredentialsUpdate`, `CheckRemoteWipeTask` and the fragment
all use it.
## Resulting files
| File | Role |
|---|---|
| `ui/fragment/uploadList/UploadListFragment.kt` | lifecycle, list setup, receiver, warning card, `EXTRA_USER` |
| `ui/fragment/uploadList/UploadListMenuProvider.kt` | global pause toggle |
| `ui/fragment/uploadList/UploadListConflictHandler.kt` | sync-conflict check and retry |
| `ui/fragment/uploadList/UploadListCredentialsHandler.kt` | check credentials → remote wipe → re-login |
| `ui/helpers/CredentialsUpdateHelper.kt` | credential steps shared with `FileActivity` |
| `res/layout/fragment_upload_list.xml` | old layout without `DrawerLayout`/toolbar/drawer |
## Collaborator changes
- `UploadListAdapter(activity: FileActivity)` → `DrawerActivity`.
`fileOperationsHelper.checkCurrentCredentials(user)` → `itemOnClick.onCredentialErrorClick(user)`.
- `UploadListAdapterHelper(activity: FileActivity)` → `DrawerActivity`;
`activity.accountManager` → `activity.userAccountManager`.
- `UploadListItemOnClick` gained `onCredentialErrorClick(user: User)`.
## Entry point changes
```kotlin
// FileUploaderIntents
val intent = NavigatorActivity.intent(context, NavigatorScreen.UploadList).apply {
addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
putExtra(FileActivity.EXTRA_USER, operation?.user)
}
// AppWideNotificationManager, SyncConflictNotificationBroadcastReceiver
val intent = NavigatorActivity.intent(context, NavigatorScreen.UploadList).apply {
flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TOP
}
```
```java
// DrawerActivity.onNavigationItemClicked
} else if (itemId == R.id.nav_uploads) {
resetOnlyPersonalAndOnDevice();
pushFragment(NavigatorScreen.UploadList.INSTANCE);
```
## Cleanup
- `ComponentsModule`: `uploadListActivity()` removed, `uploadListFragment()` added.
- Manifest entry removed. `UploadListActivity.kt` and `upload_list_layout.xml` deleted.
- `FileUploadEventBroadcaster` KDoc links updated.
- `UploadListActivityActivityIT` → `UploadListFragmentIT`, with screenshots `git mv`'d.
@@ -0,0 +1,52 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Activity API → Navigator Fragment Equivalent
| In the Activity | In the fragment |
|---|---|
| `class X : DrawerActivity()` / `FileActivity()` | `class XFragment : Fragment()` |
| `onCreate`: `setContentView(binding.root)` | `onCreateView`: `binding = FragmentXBinding.inflate(inflater, container, false)` |
| View setup in `onCreate` | `onViewCreated` |
| Non-view setup in `onCreate` (intent extras, config) | `onCreate` (guard extras with `savedInstanceState == null`) |
| `onDestroy` cleanup tied to views/receivers registered in `onCreate` | `onDestroyView` |
| `onStart`/`onStop`/`onResume` | same callbacks on the fragment |
| `setupToolbar()`, `updateActionBarTitleAndHomeButtonByString`, `setupDrawer(menuItemId)` | delete; `NavigatorScreen.actionBarStyle()` + host |
| `getMenuItemId()`, `highlightNavigationViewItem()` | delete; `NavigatorScreen.menuItemId()` + host |
| `onCreateOptionsMenu` / `onOptionsItemSelected` | `MenuProvider` added with `viewLifecycleOwner, Lifecycle.State.RESUMED`; return `false` for ids you do not own |
| `android.R.id.home` → toggle drawer | delete; the host handles it |
| `OnBackPressedCallback` for internal navigation | `NavigatorOnBackPressListener` |
| `mDrawerToggle.isDrawerIndicatorEnabled = x` | `navigatorActivity?.setDrawerIndicatorEnabled(x)` |
| `addDrawerListener(l)` | `activity?.findViewById<DrawerLayout>(R.id.drawer_layout)?.addDrawerListener(l)` |
| `startActionMode(cb)` | `navigatorActivity?.startActionMode(cb)` |
| `findViewById(R.id.sort_button)` (toolbar views) | `activity?.findViewById(...)`; the toolbar belongs to the host |
| `supportFragmentManager` for dialogs | `childFragmentManager`, or `requireActivity().supportFragmentManager` when the dialog calls back into the activity |
| `this` as `Context` | `requireContext()` (inside callbacks: capture before launching) |
| `this` as `Activity` (snackbars, PopupMenu, adapters) | `requireActivity()` / typed host |
| `lifecycleScope` | `lifecycleScope` (fragment lifetime; survives while on back stack) or `viewLifecycleOwner.lifecycleScope` (view work only) |
| `user`, `storageManager`, `clientRepository`, `capabilities` | `navigatorActivity?.user`, `.storageManager`, `.clientRepository`, `.capabilities` |
| `setUser(user)` | `navigatorActivity?.setUser(user)` (`BaseActivity.setUser` is public) |
| `startActivityForResult` + `onActivityResult` | `registerForActivityResult(StartActivityForResult())` as a fragment property |
| `finish()` | `activity?.finish()` |
| `DisplayUtils.showSnackMessage(this, …)` | `DisplayUtils.showSnackMessage(requireView(), …)` / `SnackbarUtil.show(this, …)` |
| inner `BroadcastReceiver` class | `private val receiver = object : BroadcastReceiver() { … }`, avoids an extra type in the file |
| `@Inject var x: T? = null` with `@JvmField` | `@Inject lateinit var x: T` |
| Activity fields inherited from the base (`viewThemeUtils`, `preferences`, `connectivityService`, `accountManager`, `backgroundJobManager`) | `@Inject lateinit var` them in the fragment |
## Dialog listener lookups
Dialogs that cast `activity as Listener` break when the listener is now a fragment.
Trashbin fixed `SortingOrderDialogFragment` with this fallback chain:
```kotlin
val listener = parentFragment as? OnSortingOrderListener
?: activity as? OnSortingOrderListener
?: requireActivity().supportFragmentManager.fragments
.firstOrNull { it is OnSortingOrderListener } as? OnSortingOrderListener
```
Check every dialog the screen opens for the same pattern.
@@ -0,0 +1,89 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Navigator Architecture
All classes live in `app/src/main/java/com/owncloud/android/ui/navigation/`.
```
NavigatorActivity (DrawerActivity) activity_navigator.xml
├─ toolbar_standard (appbar) DrawerLayout
├─ FragmentContainerView ◄── Navigator ──► ├─ CoordinatorLayout
└─ drawer │ ├─ appbar
│ └─ fragment_container_view
└─ drawer
```
## `NavigatorScreen`: the destination registry
A `sealed class NavigatorScreen(val tag: String, val hasDrawer: Boolean = true) : Parcelable`.
Each destination is a `@Parcelize object`, so it can travel in an `Intent` extra and is
compared by identity in `when`.
| Member | Purpose |
|---|---|
| `tag` | Used as the fragment back-stack entry name. Must be unique |
| `hasDrawer` | `true`: hamburger + unlocked drawer. `false`: back arrow + `LOCK_MODE_LOCKED_CLOSED` |
| `fromTag(tag)` | Turns a back-stack entry name back into a screen. Used after configuration changes |
| `menuItemId()` | Drawer item to highlight (`-1` for none) |
| `actionBarStyle()` | `ActionBarStyle.Plain` → `setupToolbar()`, `Search` → `setupHomeSearchToolbarWithSortAndListButtons()`, plus title res |
| `toFragment()` | Creates a fresh fragment instance |
## `Navigator`: the fragment stack
- `push(screen)`: ignores the call if a fragment with that tag already exists. Otherwise it
does `replace(container, screen.toFragment())` + `addToBackStack(screen.tag)`.
- `pop()`: `popBackStack()` and returns the new top screen.
- `getTopScreen()`: reads the name of the last back-stack entry and maps it with `fromTag`.
This keeps working after process death or rotation, because the `FragmentManager`
restores the back stack. The in-memory `stack` does not survive that.
## `NavigatorActivity`: the host
- `onCreate`: inflates `ActivityNavigatorBinding`, then `requireNotNull`s the
`EXTRA_SCREEN` extra. It either `push`es the screen (first launch) or restores the action
bar from `getTopScreen()` (re-creation).
- `onAttachFragment`: `AndroidSupportInjection.inject(fragment)` for **every** attached
fragment. This is why converted fragments need a `@ContributesAndroidInjector` entry in
`ComponentsModule`, even when they do not implement `Injectable`.
- `setupActionBar(screen)`: toolbar style, title, drawer or back arrow, drawer lock mode.
Called on every `push`/`pop`.
- Back press (`OnBackPressedCallback`): close the drawer → let the top
`NavigatorOnBackPressListener` intercept → `finish()` if only one entry is left → `pop()`.
- Home button (`onOptionsItemSelected(android.R.id.home)`): listener intercept → back if
`!hasDrawer` → toggle the drawer otherwise.
- `getMenuItemId()` / `onResume`: highlight the drawer item of the top screen.
- `NavigatorActivity.intent(context, screen)`: the **only** correct way to build a launch
intent.
## `DrawerActivity.pushFragment(screen)`
```java
public void pushFragment(NavigatorScreen screen) {
if (this instanceof NavigatorActivity navigatorActivity) {
navigatorActivity.push(screen); // already in the navigator: swap fragment
} else {
startActivity(NavigatorActivity.Companion.intent(this, screen)); // e.g. from FileDisplayActivity
}
}
```
Drawer item clicks call this, so moving between converted screens swaps fragments
inside a single `NavigatorActivity` instead of starting a new Activity each time.
## `NavigatorOnBackPressListener`
```kotlin
interface NavigatorOnBackPressListener {
fun canInterceptBackPress(): Boolean
fun interceptBackPress()
}
```
Implement it in a fragment that has its own navigation inside the screen. For example,
`TrashbinFragment` goes up one folder while `trashbinPresenter.isRoot == false`. The host
checks it for both the system back gesture and the toolbar home button.
@@ -0,0 +1,44 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# What `NavigatorActivity` Provides
`NavigatorActivity` extends `DrawerActivity → ToolbarActivity → BaseActivity`. It does
**not** extend `FileActivity`. Decided to keep it that way: making every
navigator screen a `FileActivity` would bind `OperationsService` for all of them and show
`FileActivity`'s offline info box on screens that never had one.
## Available from the host
- `BaseActivity`: `user`, `setUser(user)`, `capabilities`, `storageManager`,
`clientRepository`, `userAccountManager`, `account`.
- `ToolbarActivity`: toolbar setup, `showInfoBox`/`hideInfoBox` (only called by
`FileActivity`), sort and grid toolbar buttons (`R.id.sort_button`,
`R.id.switch_grid_view_button`).
- `DrawerActivity`: `appPreferences`, `openDrawer`/`closeDrawer`/`isDrawerOpen`,
`setDrawerIndicatorEnabled`, `pushFragment`, `fetchExternalLinks`.
## Not available: `FileActivity`-only features
| `FileActivity` feature | How to replace it in a fragment |
|---|---|
| `fileOperationsHelper.*` (queues operations on `OperationsService`) | Run the `RemoteOperation`/`SyncOperation` directly in `lifecycleScope` on `Dispatchers.IO` with a client for the right user |
| `onRemoteOperationFinish(op, result)` override | Handle the result inline after the coroutine returns |
| `requestCredentialsUpdate(account)` → `CheckRemoteWipeTask` → `performCredentialsUpdate` | `CredentialsUpdateHelper` (`isRemoteWipeRequested`, `invalidateCredentials`, `createUpdateCredentialsIntent`) + `registerForActivityResult` |
| `onActivityResult(REQUEST_CODE__UPDATE_CREDENTIALS, RESULT_OK)` | the `ActivityResultLauncher` callback |
| `showLoadingDialog` / `dismissLoadingDialog` | `LoadingDialog.newInstance(msg).show(childFragmentManager, TAG)` and `dismissAllowingStateLoss()` |
| `EXTRA_USER` → `setUser` in `onCreate` | fragment reads `activity?.intent` and calls `navigatorActivity?.setUser` |
| `EXTRA_FILE` → `file` | read it in the fragment if it is used, otherwise drop it from the callers |
| `connectivityService`, `backgroundJobManager`, `accountManager` fields | `@Inject lateinit var` in the fragment |
## De-duplication rule
When a fragment needs logic that a base Activity implements privately, **do not copy it**.
Extract the reusable steps into a Kotlin helper (e.g. `ui/helpers/CredentialsUpdateHelper.kt`).
Have the original Activity code call the helper too, so there is one implementation.
Only the orchestration specific to the fragment (coroutines, result launcher, dialog) should
live in the fragment's package.
@@ -0,0 +1,71 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Pitfalls Found in Earlier Conversions
## Bare intents crash the host (#17193)
`NotificationWork` was changed to `Intent(context, NavigatorActivity::class.java)` without
a screen. `NavigatorActivity.onCreate` calls `requireNotNull` on `EXTRA_SCREEN`, so tapping
the notification crashed. Always use `NavigatorActivity.intent(context, NavigatorScreen.X)`.
Check **every** `PendingIntent`, `BroadcastReceiver`, Worker and notification manager that
referenced the old Activity.
## `binding!!` after a configuration change (#16783)
The `_binding!!` / `val binding get() = _binding!!` pattern crashed when a callback
(presenter, coroutine, receiver) fired after `onDestroyView`. Use a nullable
`private var binding` and `val binding = binding ?: return` in each function.
## Screen not restored after rotation (#16783)
`NavigatorActivity` only re-applies the action bar and drawer highlight if
`NavigatorScreen.fromTag` knows the tag. `fromTag` is not an exhaustive `when` over the
sealed class, so the compiler does not catch a missing entry.
## Dependency injection
`NavigatorActivity.onAttachFragment` injects every fragment. That only works if
`ComponentsModule` has a `@ContributesAndroidInjector abstract XFragment xFragment();`.
Without it you get an `IllegalArgumentException: No injector factory bound` at runtime, not at
compile time. `addFragmentOnAttachListener` / lifecycle callbacks did not behave the same,
which is why the deprecated `onAttachFragment` is used.
## Toolbar views belong to the host
Sort and grid buttons, the info box and the search bar live in the host's `toolbar_standard`.
Reach them with `activity?.findViewById`. Set their visibility explicitly, because the
previous screen may have changed it.
## Dialog callbacks
Dialogs that do `activity as Listener` silently stop working when the listener is now a
fragment (see the `SortingOrderDialogFragment` fix in `ACTIVITY-TO-FRAGMENT-MAPPING.md`).
## Lifecycle scope choice
Long-running work started by the user (retrying an upload, executing an action) should use
the fragment's `lifecycleScope`. That keeps it running while the fragment sits on the back
stack with its view destroyed. Only pure view work should use
`viewLifecycleOwner.lifecycleScope`. Always null-check the binding when the work returns.
## Receivers and registrations
Anything registered in the Activity's `onCreate` and released in `onDestroy` (e.g.
`UploadWarningCard.register/unregister`) must move to `onViewCreated`/`onDestroyView`.
Otherwise it leaks across back-stack transitions or registers twice.
## Screenshot tests
Renaming `XActivityIT` → `XFragmentIT` changes the screenshot names. `git mv` the PNGs in
`app/screenshots/generic/debug/` to match, or CI reports missing references.
## File size and type rules
`AGENTS.md` caps files at 300 lines and wants one type per file. Activities converted to
fragments often exceed 300 lines. Split cohesive flows (menu provider, conflict handler,
credentials handler) into separate classes in the fragment's package.
@@ -0,0 +1,135 @@
---
name: android-eventbus-to-workmanager-flow
description: >
Use when replacing a GreenRobot EventBus event that a WorkManager worker posts (progress,
state, completion) with WorkManager's own observation APIs, consumed through a ViewModel
Flow; when the user mentions "event bus", "EventBus", "EventBusFactory", "@Subscribe",
"worker progress", "setProgress", "observe worker", "getWorkInfosForUniqueWorkFlow" or
"listen to the worker through the viewmodel". Covers publishing progress from the worker,
building the ViewModel Flow keyed by the work name, DI registration, collecting the Flow
from Kotlin or legacy Java fragments/activities, and deleting the event classes.
license: AGPL-3.0-or-later
SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
metadata:
author: Nextcloud Android
version: "1.0.0"
---
# EventBus → WorkManager Flow via ViewModel
Workers used to tell the UI what they were doing by posting GreenRobot EventBus events
(`EventBusFactory.downloadProgressEventBus.post(FileDownloadProgressEvent(percent))`). That
has three problems: the event is global (every subscriber gets every worker's events,
whatever file it is about), it is lost when nobody is registered, and the subscriber has to
register and unregister by hand in `onStart`/`onStop`.
WorkManager already stores each worker's state and progress and exposes them as `Flow`s. The
UI asks WorkManager about **one specific piece of work**, through a ViewModel, and collects
the Flow with the lifecycle. Official guide:
https://developer.android.com/develop/background-work/background-tasks/persistent/how-to/observe
Converted so far: `FileDownloadProgressEvent` → `FileDetailFragmentViewModel.downloadProgress`
(see `assets/worked-example.md`). The earlier `FileDisplayActivityViewModel.observeOfflineWorker`
is the simplest form of the same pattern (state only, Kotlin consumer).
## The Prime Directive: Behaviour Must Not Change
The screen must show the same thing at the same moments as before. The only intended
differences are the ones the global bus got wrong: a screen now only reacts to the work it is
about. Write them down for the PR description. If you find an unrelated bug, report it
instead of fixing it in the same change.
## Workflow
### Step 0: Inventory (do not edit yet)
1. `git grep -n "<EventName>"` across `app/src`. List every **poster** (usually a worker) and
every **subscriber** (`@Subscribe fun on…(event: <EventName>)`).
2. If the event lives on a dedicated bus (`EventBusFactory.<x>EventBus`), also grep for the
bus. When it has no other users, delete it together with the event.
3. For each poster, find how its work is enqueued in `BackgroundJobManagerImpl`: the
**unique work name** (`enqueueUniqueWork(name, …)`) and the **tags** (`oneTimeRequestBuilder`
adds `formatNameTag`, `formatClassTag`, `formatUserTag`, plus any custom tag). The UI
must be able to rebuild exactly one of these from what it already knows (user, file id…).
4. List what each event field carries and what the subscriber does with it. Decide whether
it is **progress** (while running → `setProgress`), a **result** (at the end →
`Result.success(outputData)`), or only **state** (`WorkInfo.state`, nothing to publish).
5. Look for older parallel mechanisms the subscriber also uses for the same purpose (bound
listeners, `LocalBroadcastManager`). If you can prove one is dead (e.g. a field that is
only ever set to `null`), remove it with all its plumbing, including test doubles in
`app/src/debug` and mocks in `androidTest`. Otherwise leave it and mention it in the summary.
### Step 1: Make the work addressable
If the unique work name / tag builder is `private` in `BackgroundJobManagerImpl`, move it
into the `companion object` next to `formatNameTag`/`formatClassTag` as a public
`format…Tag(...)` function, and have the enqueue and cancel call sites use it. The UI and
the scheduler must build the name with the same function, never with a copied string.
### Step 2: Publish from the worker
- Add the `Data` key as a `const val` in the worker's `companion object`
(`const val PROGRESS_PERCENT = "PROGRESS_PERCENT"`).
- From a `suspend` context call `setProgress(workDataOf(KEY to value))`. From a non-suspend
callback (e.g. `OnDatatransferProgressListener.onTransferProgress`) call
`setProgressAsync(...)`.
- **Throttle it.** WorkManager writes progress to its database. Publish only when the value
changed, and reuse an existing throttle (the notification update interval) when the
worker has one.
- Results go in `Result.success(workDataOf(...))` and are read from `WorkInfo.outputData`.
- Delete the `post(...)` call and the event imports.
### Step 3: ViewModel
One ViewModel per screen, in a package next to the screen
(`ui/fragment/<screen>/<Screen>FragmentViewModel.kt`, mirroring
`ui/activity/filedisplayactivity/FileDisplayActivityViewModel.kt`). Template:
`references/VIEWMODEL-TEMPLATE.md`.
- Constructor-inject `WorkManager` (`@Inject constructor(private val workManager: WorkManager)`).
- Hold the work name the screen is interested in a `MutableStateFlow<String?>`. A setter
function (`observeDownloadProgress(user, file)`) builds it with the Step 1 function.
- Expose a **cold** `Flow<T>`: `filterNotNull()` → `flatMapLatest { getWorkInfosForUniqueWorkFlow(it) }`
→ map the `WorkInfo` list to the UI value → `distinctUntilChanged()`. Use
`getWorkInfoByIdFlow(id)` when you have the request id, `getWorkInfosByTagFlow(tag)` when
the work is not unique.
- Progress is only present while `state == RUNNING`. It is empty after the work finishes, so
filter on `RUNNING` and drop missing keys (`progress.keyValueMap[KEY] as? Int`).
- Register it in `di/ViewModelModule.kt` with `@Binds @IntoMap @ViewModelKey(X::class)`.
Without this, `ViewModelFactory` throws at runtime.
### Step 4: Consumer
- Get the ViewModel from `ViewModelFactory`: Kotlin `by viewModels { vmFactory }`, Java
`new ViewModelProvider(this, vmFactory).get(X.class)` in `onCreate`. Injection of
`Injectable` fragments happens before `onAttach`, so `vmFactory` is ready in `onCreate`.
- Tell the ViewModel what to watch where the screen learns its subject (`onViewCreated`,
and every public "show this other file" method such as `updateFileDetails(file, user)`).
- Collect with the **view** lifecycle in fragments:
- Kotlin: `viewLifecycleOwner.lifecycleScope.launch { viewLifecycleOwner.repeatOnLifecycle(STARTED) { vm.flow.collect { … } } }`
- Java: `LifecycleOwnerExtensionsKt.collectWhenStarted(getViewLifecycleOwner(), viewModel.getX(), this::onX);`
(`utils/extensions/LifecycleOwnerExtensions.kt`). Do not switch to `LiveData` for Java
callers. See `references/PITFALLS.md` for why.
- Turn the old `@Subscribe public void onX(Event e)` into `private void onX(T value)`. Keep
its body unchanged apart from reading the value directly.
- Remove the `register`/`unregister` lines for the bus. Keep `EventBus.getDefault()` registration
if the class still has other `@Subscribe` methods.
### Step 5: Delete and verify
1. Delete the event class (and the dedicated bus if it has no users left).
2. `git grep -n "<EventName>\|<busName>"` returns nothing.
3. `./gradlew :app:compileGplayDebugJavaWithJavac spotlessKotlinCheck detekt`, then
`lintGplayDebug spotbugsGplayDebug`. Fix findings in every file you touched.
4. Manual check (hand it to the developer if you cannot run the app): start the work and
open the screen, so the value shows up; open the screen first, then start the work; rotate
while it runs; leave the screen for more than 5 s, let the work finish, come back (no stale
value); open the screen for a *different* subject while work runs for another one (it must
not react).
## References
- `references/VIEWMODEL-TEMPLATE.md`: ViewModel, worker and consumer snippets.
- `references/PITFALLS.md`: what went wrong or nearly went wrong.
- `assets/worked-example.md`: `FileDownloadProgressEvent` → `FileDetailFragmentViewModel`.
@@ -0,0 +1,56 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Worked Example: `FileDownloadProgressEvent` → `FileDetailFragmentViewModel`
## Inventory findings
- Event: `ui/events/FileDownloadProgressEvent(percent: Int)` on a dedicated bus,
`ui/events/EventBusFactory.downloadProgressEventBus`. Neither had other users.
- Poster: `FileDownloadWorker.onTransferProgress`, on every transfer chunk, unthrottled, with
no file information.
- Subscriber: `FileDetailFragment` (Java). It registered the bus in `onStart`, unregistered
it in `onStop`, and `@Subscribe(threadMode = MAIN) onDownloadProgress` showed the progress
block with the "downloading" text and the percent.
- Enqueue: `BackgroundJobManagerImpl.startFileDownloadJob` →
`enqueueUniqueWork(startFileDownloadJobTag(accountName, fileId), KEEP, request)`, and the
same string as a tag. The builder was `private`.
- Parallel mechanism: `containerActivity.getFileDownloadProgressListener()` /
`FileDownloadWorker.FileDownloadProgressListener`. The field in `FileActivity` is never
assigned, so it is always `null`, which is why the bus was added (commit `37df0dca9d`).
Removed in the same change, since the ViewModel replaces it.
- Folders use `FolderDownloadWorker`, which never posted the event.
## Changes
| File | Change |
|---|---|
| `jobs/BackgroundJobManagerImpl.kt` | `startFileDownloadJobTag` → public companion `formatFileDownloadTag`, used by start and cancel |
| `jobs/download/FileDownloadWorker.kt` | `PROGRESS_PERCENT` key; `setProgressAsync(workDataOf(PROGRESS_PERCENT to percent))` inside the notification throttle; bus post removed |
| `ui/fragment/filedetail/FileDetailFragmentViewModel.kt` | new; `downloadProgress: Flow<Int>` keyed by `formatFileDownloadTag` |
| `di/ViewModelModule.kt` | `@Binds @IntoMap @ViewModelKey(FileDetailFragmentViewModel::class)` |
| `utils/extensions/LifecycleOwnerExtensions.kt` | new; `collectWhenStarted(flow, Consumer)` for Java consumers |
| `ui/fragment/FileDetailFragment.java` | `ViewModelFactory` inject, VM in `onCreate`, `observeDownloadProgress` in `onViewCreated` and `updateFileDetails(file, user)`, `collectWhenStarted` on the view lifecycle, `@Subscribe` → `private void onDownloadProgress(int)`, bus register/unregister removed |
| `ui/events/FileDownloadProgressEvent.kt`, `ui/events/EventBusFactory.kt` | deleted |
| `FileDownloadWorker.FileDownloadProgressListener` and its plumbing | deleted: inner class, worker field, `ComponentsGetter.getFileDownloadProgressListener()`, `FileActivity` field and getter, the two `= null` assignments in `FileDisplayActivity`, the download branches of `FileDetailFragment.listenForTransferProgress`/`leaveTransferProgress`, the `TestActivity` override and the `FileMenuFilterIT` mock |
## Intended behaviour differences
- Progress is shown only for the file the details screen is about, not for whichever file is
downloading.
- The UI updates at the notification throttle (750 ms) instead of on every chunk.
## Decisions
- **Cold `Flow` + `collectWhenStarted`, not `LiveData`.** `LiveData` replayed a stale
percent after a finish that happened while the view was stopped (see `PITFALLS.md`).
- **The ViewModel is created in `onCreate`, not `onViewCreated`.** The activity can call
`updateFileDetails(file, user)` before the view exists, and the ViewModel must survive view
re-creation from the back stack.
- **The finished state is still handled by the existing broadcast path.**
`FileDisplayActivity` calls `updateFileDetails(false, true)` on `ACTION_DOWNLOAD_COMPLETED`.
Moving that to `WorkInfo.State.SUCCEEDED` is a possible follow-up, not part of this change.
@@ -0,0 +1,67 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Pitfalls
## `LiveData` replays a stale value
The first draft exposed `asLiveData()` so the Java fragment could `observe(...)`. `LiveData`
keeps its last value and stops collecting upstream 5 s after the last observer goes away. If
the download finishes during those 5 s, the cached value is the last running percent, and
the next observer gets it right away. The progress block is shown again for a download that
has already finished. A cold `Flow` collected with `repeatOnLifecycle` asks WorkManager again
on every start and only gets the current state. Use `collectWhenStarted` from Java instead
of `LiveData`.
## Progress disappears when the work finishes
`WorkInfo.progress` is empty as soon as the state leaves `RUNNING`. Do not read progress
from `SUCCEEDED`/`FAILED` infos, and do not treat the missing key as `0`. Use `mapNotNull`
and let the existing "finished" path (broadcast, `updateFileDetails(false, true)`) hide the
UI, as it did before. Put final values in `Result.success(outputData)` if the UI needs them.
## Every `setProgress` is a database write
WorkManager persists progress. Calling it on every transfer chunk writes to the database
hundreds of times per file. Publish only on change and inside the worker's existing
throttle (`minProgressUpdateInterval`).
## Unique work name vs tag
`getWorkInfosForUniqueWorkFlow(name)` matches the `enqueueUniqueWork` name.
`getWorkInfosByTagFlow(tag)` matches `addTag`. In `startFileDownloadJob` the same string
is used for both, but that is not true for every job. Check the enqueue call. Never build the
string by hand in the ViewModel. Make the builder public in the
`BackgroundJobManagerImpl` companion.
## The bus was global; the Flow is not
`FileDownloadProgressEvent` reached `FileDetailFragment` for **any** running download, so
the details of file A could show the progress of file B. The ViewModel is keyed by
account + file id, so it only reacts to its own file. This is the intended change; mention it
in the PR. Check which worker really runs for each subject: folders are downloaded by
`FolderDownloadWorker`, not `FileDownloadWorker`, and never posted the event.
## The subject can change without a new view
`FileDetailFragment.updateFileDetails(OCFile, User)` swaps the file on a live fragment. Call
`viewModel.observeX(...)` there too. Thanks to `flatMapLatest`, the old work's Flow is
cancelled automatically. Guard with `viewModel != null` because the activity can call it on a
fragment that has not reached `onCreate` yet.
## Missing ViewModel binding
Forgetting `@Binds @IntoMap @ViewModelKey(X::class)` in `ViewModelModule` compiles, but
`ViewModelFactory` throws `IllegalArgumentException` when the screen opens.
## Keep other `@Subscribe` methods registered
`FileDetailFragment` still receives `FavoriteEvent` on `EventBus.getDefault()`. Remove only
the registration for the bus you are replacing. Removing the default registration silently
stops the remaining events. The other way round fails too: if the last `@Subscribe` method
goes away but `register(this)` stays, EventBus throws `EventBusException` ("has no public
methods with the @Subscribe annotation") when the screen starts.
@@ -0,0 +1,126 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Templates
## Worker
```kotlin
companion object {
const val PROGRESS_PERCENT = "PROGRESS_PERCENT"
}
// suspend context
setProgress(workDataOf(PROGRESS_PERCENT to percent))
// non-suspend callback, inside the existing throttle
if (percent != lastPercent && (currentTime - lastUpdateTime) >= minProgressUpdateInterval) {
notificationManager.updateDownloadProgress(percent, totalToTransfer)
setProgressAsync(workDataOf(PROGRESS_PERCENT to percent))
lastUpdateTime = currentTime
}
```
## Work name (BackgroundJobManagerImpl companion)
```kotlin
fun formatFileDownloadTag(accountName: String, fileId: Long): String =
JOB_FOLDER_DOWNLOAD + accountName + fileId
```
Use it in `startXJob` (`enqueueUniqueWork(tag, …)`), in `cancelXJob`, and in the ViewModel.
## ViewModel
```kotlin
class FileDetailFragmentViewModel @Inject constructor(private val workManager: WorkManager) : ViewModel() {
private val downloadWorkName = MutableStateFlow<String?>(null)
@OptIn(ExperimentalCoroutinesApi::class)
val downloadProgress: Flow<Int> = downloadWorkName
.filterNotNull()
.flatMapLatest { workManager.getWorkInfosForUniqueWorkFlow(it) }
.mapNotNull { workInfos -> workInfos.firstOrNull { it.state == WorkInfo.State.RUNNING }?.downloadPercent() }
.distinctUntilChanged()
fun observeDownloadProgress(user: User, file: OCFile) {
downloadWorkName.value = BackgroundJobManagerImpl.formatFileDownloadTag(user.accountName, file.fileId)
}
private fun WorkInfo.downloadPercent(): Int? = progress.keyValueMap[FileDownloadWorker.PROGRESS_PERCENT] as? Int
}
```
State-only variant (no progress published), from `FileDisplayActivityViewModel`:
```kotlin
suspend fun observeOfflineWorker(onComplete: () -> Unit) {
workManager
.getWorkInfosByTagFlow(BackgroundJobManagerImpl.formatClassTag(OfflineOperationsWorker::class))
.collect { workInfos ->
if (workInfos.any { it.state == WorkInfo.State.SUCCEEDED }) {
onComplete()
}
}
}
```
Prefer exposing a `Flow` property over a `suspend fun` with a callback: the consumer decides
the lifecycle, and Java can collect it through `collectWhenStarted`.
## DI (`di/ViewModelModule.kt`)
```kotlin
@Binds
@IntoMap
@ViewModelKey(FileDetailFragmentViewModel::class)
abstract fun fileDetailFragmentViewModel(vm: FileDetailFragmentViewModel): ViewModel
```
## Kotlin consumer (fragment)
```kotlin
@Inject lateinit var vmFactory: ViewModelFactory
private val viewModel by viewModels<FileDetailFragmentViewModel> { vmFactory }
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
viewModel.observeDownloadProgress(user, file)
viewLifecycleOwner.lifecycleScope.launch {
viewLifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) {
viewModel.downloadProgress.collect(::onDownloadProgress)
}
}
}
```
## Java consumer (fragment)
```java
@Inject ViewModelFactory vmFactory;
private FileDetailFragmentViewModel viewModel;
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
viewModel = new ViewModelProvider(this, vmFactory).get(FileDetailFragmentViewModel.class);
}
@Override
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
viewModel.observeDownloadProgress(user, getFile());
LifecycleOwnerExtensionsKt.collectWhenStarted(getViewLifecycleOwner(),
viewModel.getDownloadProgress(),
this::onDownloadProgress);
}
private void onDownloadProgress(int percent) { … }
```
`collectWhenStarted` (`utils/extensions/LifecycleOwnerExtensions.kt`) wraps
`lifecycleScope.launch { repeatOnLifecycle(STARTED) { flow.collect(collector::accept) } }`
and takes an `androidx.core.util.Consumer`, so a Java method reference fits.
@@ -0,0 +1,130 @@
---
name: android-java-to-kotlin
description: >
Use when finishing a Java-to-Kotlin conversion in an Android project, when the user
mentions "java to kotlin", "j2k", "convert java", "migrate java to kotlin", "finish the
conversion", "make it idiomatic", or when a freshly IDE-converted .kt file needs to be
turned into clean, modern, idiomatic Kotlin. The developer first runs the IDE converter
(Android Studio: Code > Convert Java File to Kotlin File), then this skill drives the
second pass: idiomatic cleanup, fail-fast control flow, coroutines/lifecycleScope,
modern Android APIs, function decomposition, and a behaviour-locking test.
license: AGPL-3.0-or-later
SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
metadata:
author: Nextcloud Android
version: "1.0.0"
---
# Android Java to Kotlin Conversion (Second Pass)
The IDE converter produces Kotlin that *compiles* but is not *idiomatic*: platform types
everywhere, one giant function per lifecycle callback, nested `if`/`else`, `new Thread`,
`switch`, `TextUtils.isEmpty`, magic numbers. This skill drives the disciplined second
pass that turns that output into clean, modern, testable Kotlin — **without changing
observable behaviour** — and then writes a test that proves behaviour is unchanged.
## The Two-Person Workflow
This skill assumes a hand-off:
1. **Developer** runs the mechanical IDE conversion (`Code > Convert Java File to Kotlin
File`, or ⌥⇧⌘K), producing a `.kt` file that compiles but is not idiomatic.
2. **You (Claude)** drive everything after that:
Step 0 Baseline → Step 1 Idiomatic pass → Step 2 Behaviour-locking test → Step 3
Verify. If Step 3 fails or behaviour drifts, loop back to Step 1.
If you are handed a `.java` file instead, first apply a faithful 1:1 translation to reach
the same starting point, then continue.
## The Prime Directive: Behaviour Must Not Change
Every transformation in this skill is **behaviour-preserving**. You are refactoring for
readability, safety, and modern API usage — not adding features or fixing bugs. If you
spot a real bug, surface it to the developer; do not silently "fix" it inside a
conversion. The behaviour-locking test in Step 3 exists to keep you honest.
## Step 0: Establish Baseline
Before editing anything:
1. Read the whole `.kt` file (and, if you can, the original `.java` via
`git show <rev>:<path>.java` or the IDE's local history) to understand *what it does*.
2. Write down the **public/observable surface** you must keep intact:
- Lifecycle callbacks (`onCreate`, `onViewCreated`, `onSaveInstanceState`, …) and their
ordering of side-effects.
- Any Parcelable/Bundle keys, intent extras, and `newInstance(...)` factory shapes.
3. Note threading: which work runs off the main thread today (`Thread`, `AsyncTask`,
`runOnUiThread`, executors) — this maps to coroutines in Step 2.
## Step 1: Idiomatic Pass
Apply, in this order, then re-check the invariants:
1. **Kill platform types.** Give every `!` platform type an explicit nullable/non-null
type based on the Java source and call sites.
2. **Fail fast.** Replace nested `if`/`else` pyramids and null-checks with guard clauses
and `require`/`requireNotNull`/`?: return`. See [FAIL-FAST.md](references/FAIL-FAST.md).
3. **Decompose.** Break each oversized lifecycle callback / `setupView`-style method into
small, single-purpose private functions named for their intent. See
[ANDROID-IDIOMS.md](references/ANDROID-IDIOMS.md).
4. **Modern concurrency.** Replace `new Thread`, `AsyncTask`, `runOnUiThread`, and
callback pairs with `lifecycleScope` + `suspend` + `withContext`. See
[CONCURRENCY.md](references/CONCURRENCY.md).
5. **Modern Android + Kotlin idioms.** Scope functions (`run`/`apply`/`let`), extension
functions, `when`/`partition`/`filter` over `switch`, string templates, `isNullOrEmpty`,
view/KTX extensions. See [ANDROID-IDIOMS.md](references/ANDROID-IDIOMS.md). Retire
deprecated Android APIs (`onActivityResult`, options-menu overrides,
`java.util.Observable`) — see [DEPRECATED-APIS.md](references/DEPRECATED-APIS.md).
6. **Project conventions.** SPDX header, no magic numbers (`companion object` +
`const val`), resources not hardcoded strings, ≤300 lines/file, ≤120 cols. See
[PROJECT-CONVENTIONS.md](references/PROJECT-CONVENTIONS.md).
7. **Testability seams.** Extract pure logic (URL building, permission math, partitioning)
into functions you can unit-test; mark with `@VisibleForTesting` where they must stay
`internal`/`private`-ish but be reachable from tests.
Do NOT expand scope. Unrelated files stay untouched (AGENTS.md / AI policy).
## Step 2: Write a Behaviour-Locking Test (Mandatory)
A conversion is not complete until a test proves behaviour is unchanged. See
[TESTING.md](references/TESTING.md) for the decision tree. In short:
- **Pure functions you extracted** (e.g. link builders, `isReshareForbidden`,
partitioning) → fast JVM unit tests in `app/src/test/` (JUnit4 + mockito-kotlin).
- **Fragment/Activity/DB behaviour** → instrumented test in `app/src/androidTest/`
extending the project's base test class, or a Robolectric test where the project uses it.
- Prefer testing the **seams you just created**. If the Java original had no test, your
new test is the characterization test that locks current behaviour.
Every test file gets the SPDX header and follows the project's test conventions.
## Step 3: Verify
Run and report real output — never claim green without evidence:
```bash
# Formatting + static analysis on the changed files
./gradlew spotlessKotlinCheck detektGplayDebug lintGplayDebug spotbugsGplayDebug
# Unit tests
./gradlew jacocoTestGplayDebugUnitTest
# Instrumented tests (if you wrote one), scoped to the class
./gradlew createGplayDebugCoverageReport -Pcoverage=true \
-Pandroid.testInstrumentationRunnerArguments.class=<fully.qualified.TestClass>
```
## Worked Example
[assets/worked-example.md](assets/worked-example.md) is a real before/after from
`FileDetailSharingFragment` (871-line Java fragment → idiomatic Kotlin) showing each
transformation class in context. Read it when you need a concrete pattern.
## Batch Conversion
Convert one file at a time, leaf dependencies first. Report progress per file. Warn the
developer before a change set grows into several thousand lines — split into focused PRs
(AGENTS.md). Each commit needs `Assisted-by: <agent>:<model>`; only the human adds
`Signed-off-by`.
@@ -0,0 +1,163 @@
# Worked Example: FileDetailSharingFragment
A real conversion of an 871-line Java fragment
(`com.owncloud.android.ui.fragment.FileDetailSharingFragment`) into idiomatic Kotlin. Each
section shows one transformation class from the skill, in context. Behaviour is unchanged
throughout; the only new capability (`@VisibleForTesting createInternalLink`) is a
testability seam that returns the same URL the Java produced.
## A. SPDX Header Rewrite
```diff
-/*
- * Nextcloud Android client application
- *
- * @author Andy Scherzinger
- * ...
- * Copyright (C) 2018 Andy Scherzinger
- * SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
- */
+/*
+ * Nextcloud - Android Client
+ *
+ * SPDX-FileCopyrightText: 2026 Alper Ozturk <[email protected]>
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
```
## B. Fail-Fast Preconditions
```diff
-if (file == null) throw new IllegalArgumentException("File may not be null");
-if (user == null) throw new IllegalArgumentException("Account may not be null");
-fileActivity = (FileActivity) getActivity();
-if (fileActivity == null) throw new IllegalArgumentException("FileActivity may not be null");
+fileActivity = (activity as FileActivity?)
+requireNotNull(file) { "File may not be null" }
+requireNotNull(user) { "Account may not be null" }
+requireNotNull(fileActivity) { "FileActivity may not be null" }
```
## C. Decomposition of `onViewCreated`
The Java `onViewCreated` inlined adapter creation (duplicated for internal/external),
layout managers, listeners, and the fetch kick-off. It became a readable sequence plus
extracted helpers `getUserId()`, `setupInternalShares()`, `setupExternalShares()`,
`createShareListAdapter(userId, type)`, `startAnimation()`. The two near-identical adapter
blocks collapsed into one parameterized factory:
```kotlin
private fun createShareListAdapter(userId: String, type: SharesType): ShareeListAdapter =
ShareeListAdapter(
fileActivity!!, ArrayList(), this, userId, user, viewThemeUtils,
(file?.isEncrypted == true), type
).apply { setHasStableIds(true) }
```
## D. `new Thread` + `runOnUiThread` → `lifecycleScope` + `suspend`
```diff
-private void fetchE2EECounter(Runnable onComplete) {
- new Thread(() -> {
- try { ... fileDataStorageManager.saveFile(file); }
- catch (Exception e) { Log_OC.e(TAG, "..." + e.getMessage()); }
- Activity a = getActivity();
- if (a != null) a.runOnUiThread(onComplete);
- }).start();
-}
+private suspend fun fetchE2EECounter(): Boolean = withContext(Dispatchers.IO) {
+ return@withContext try {
+ val client = clientFactory.create(user)
+ val metadata = RefreshFolderOperation.getDecryptedFolderMetadata(true, file, client, user, requireContext())
+ if (metadata is DecryptedFolderMetadataFile) {
+ file?.setE2eCounter(metadata.metadata.counter)
+ fileDataStorageManager?.saveFile(file)
+ }
+ true
+ } catch (e: Exception) {
+ Log_OC.e(TAG, "Error refreshing E2E counter: " + e.message)
+ false
+ }
+}
```
Caller now `lifecycleScope.launch { if (!fetchE2EECounter()) return@launch; withContext(Main){ ... } }`.
The callback-pair `fetchSharees(onSuccess, onError)` was likewise turned into a `suspend`
call returning `Boolean`.
## E. `switch` Bucketing → `partition` + Set
```diff
-for (OCShare share : shares) {
- if (share.getShareType() != null) {
- switch (share.getShareType()) {
- case PUBLIC_LINK: case FEDERATED_GROUP: case FEDERATED: case EMAIL:
- externalShares.add(share); break;
- default: internalShares.add(share); break;
- }
- }
-}
+private val externalShareTypes = setOf(
+ ShareType.PUBLIC_LINK, ShareType.FEDERATED_GROUP, ShareType.FEDERATED, ShareType.EMAIL
+)
+val (external, internal) = shares
+ .filter { it.shareType != null }
+ .partition { it.shareType in externalShareTypes }
```
## F. Nested `if` Cursor Handling → Guard Clauses
The three-level-nested `handleContactResult` became flat sequential guards, each showing
the snackbar + log and returning, with `cursor.close()` preserved on every path. See
[FAIL-FAST.md](../references/FAIL-FAST.md) section "Deeply Nested".
## G. Scope Functions & KTX
```diff
-final LinearLayout shimmerLayout = binding.shimmerLayout.getRoot();
-shimmerLayout.clearAnimation();
-shimmerLayout.setVisibility(View.GONE);
-binding.shareContainer.setVisibility(View.VISIBLE);
+binding?.run {
+ shimmerLayout.root.run { clearAnimation(); visibility = View.GONE }
+ shareContainer.visibility = View.VISIBLE
+}
```
```diff
-for (int i = 0; i < viewGroup.getChildCount(); i++) { toggleSearchViewEnable(viewGroup.getChildAt(i), enable); }
+for (i in 0..<view.size) { toggleSearchViewEnable(view.getChildAt(i), enable) } // androidx.core.view.size
```
## H. Constants + Companion + `@JvmStatic`
```diff
-private static final String TAG = "FileDetailSharingFragment";
-ViewExtensionsKt.setVisibleIf(binding.sharesListInternalShowAll, adapter.shares.size() > 3);
+companion object {
+ private const val TAG = "FileDetailSharingFragment"
+ private const val MIN_SHOW_ALL_VISIBLE_ITEM_COUNT = 3
+ @JvmStatic fun newInstance(file: OCFile?, user: User?) = FileDetailSharingFragment().apply { ... }
+}
+binding.sharesListInternalShowAll.setVisibleIf(internalShares.size > MIN_SHOW_ALL_VISIBLE_ITEM_COUNT)
```
## I. Testability Seam
`createInternalLink` was inlined string concatenation in Java. It was extracted to a pure
`@VisibleForTesting internal fun createInternalLink(user, file, capabilities): String` that
returns the identical URL — enabling the unit test in
[TESTING.md](../references/TESTING.md) without a device.
## J. Detekt Suppression (Last Resort)
The class is genuinely large and can't be fully split within one conversion, so a
file-level suppression documents the debt honestly:
```kotlin
@Suppress("TooManyFunctions", "LargeClass", "TooGenericExceptionCaught", "ReturnCount")
class FileDetailSharingFragment : Fragment(), ... {
```
Prefer real decomposition; use this only when splitting is out of scope, and tell the
developer.
@@ -0,0 +1,170 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Android + Kotlin Idioms
Transformations applied during the idiomatic pass. Every one is behaviour-preserving.
Examples are drawn from a real fragment conversion.
## 1. Decompose Oversized Functions
The IDE keeps the Java structure: one enormous `onViewCreated`/`setupView` that inflates,
themes, wires listeners, and kicks off loading in a single 80-line block. Split by
intent into small private functions. The lifecycle callback becomes a readable table of
contents.
```kotlin
// BEFORE: onViewCreated does everything inline (adapters, layout managers, listeners, fetch)
// AFTER
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
fileActivity ?: return
fileDataStorageManager = fileActivity?.storageManager
fileOperationsHelper = fileActivity?.fileOperationsHelper
startAnimation()
val userId = getUserId()
setupInternalShares(userId)
setupExternalShares(userId)
binding?.pickContactEmailBtn?.setOnClickListener { checkContactPermission() }
fetchSharees()
setupView()
}
```
Rules:
- One function = one reason to change. Name it for *what it accomplishes*
(`setupInternalShares`, `themeView`, `disableE2EEShareForV1`), not *how*.
- Factor duplicated blocks into a parameterized helper
(`createShareListAdapter(userId, SharesType.INTERNAL)`).
- Keep files ≤300 lines (project rule). Heavy decomposition sometimes means splitting a
god-class into collaborators — raise that with the developer rather than exceeding 300.
## 2. Scope Functions Over Repetition
Replace repeated `binding.x` / `viewThemeUtils.material.y` chains with `run`/`apply`/`with`.
```kotlin
// BEFORE
viewThemeUtils.material.themeSearchCardView(binding.searchCardWrapper);
viewThemeUtils.material.colorMaterialButtonPrimaryOutlined(binding.sendCopyBtn);
viewThemeUtils.material.colorMaterialButtonPrimaryBorderless(binding.sharesListInternalShowAll);
// AFTER
binding.run {
viewThemeUtils.material.run {
themeSearchCardView(searchCardWrapper)
colorMaterialButtonPrimaryOutlined(sendCopyBtn)
colorMaterialButtonPrimaryBorderless(sharesListInternalShowAll)
}
}
```
Use `apply {}` when configuring and returning the receiver:
```kotlin
ShareeListAdapter(fileActivity!!, ArrayList(), this, userId, user, viewThemeUtils, encrypted, type)
.apply { setHasStableIds(true) }
```
## 3. `switch` → `when` / `filter` + `partition`
Collapse a `switch` that sorts items into buckets into a declarative pipeline with a
constant `Set`.
```kotlin
// BEFORE: for-loop with switch(shareType) adding to internalShares / externalShares
// AFTER
private val externalShareTypes = setOf(
ShareType.PUBLIC_LINK, ShareType.FEDERATED_GROUP, ShareType.FEDERATED, ShareType.EMAIL
)
val (external, internal) = shares
.filter { it.shareType != null }
.partition { it.shareType in externalShareTypes }
```
## 4. Extension Functions & KTX
Import members directly and lean on AndroidX KTX instead of verbose Java utilities.
| Java / verbose | Idiomatic Kotlin |
|---|---|
| `TextUtils.isEmpty(s)` | `s.isNullOrEmpty()` |
| `BundleExtensionsKt.getParcelableArgument(b, k, T.class)` | `b.getParcelableArgument(k, T::class.java)` |
| `for (int i = 0; i < vg.getChildCount(); i++)` | `for (i in 0..<view.size)` (`androidx.core.view.size`) |
| manual getter/setter methods | Kotlin property access (`view.visibility = View.GONE`) |
| `private int x; public int getX()` (read-only to callers) | `var columnsCount = 0; private set` |
| empty override method body | `= Unit` single-expression body |
| free-standing util call | receiver extension (`externalShares.mergeDistinctByToken(publicShares)`) |
Domain-specific extensions read best as receivers on the relevant type:
```kotlin
private fun OCCapability?.isPasswordEnforced(): Boolean =
this?.filesSharingPublicPasswordEnforced?.isTrue == true &&
filesSharingPublicAskForOptionalPassword.isTrue
```
## 5. Null Safety Instead of Platform Types
The IDE leaves `!` platform types and defensive Java null-checks. Replace with `?.`,
`?:`, and Kotlin's `require`/`requireNotNull`. A nullable `binding` (cleared in
`onDestroyView`) is the canonical Android case — guard it with `?.` / `?: return`.
```kotlin
// BEFORE
if (binding == null) return;
final LinearLayout shimmer = binding.shimmerLayout.getRoot();
shimmer.clearAnimation();
// AFTER
binding?.run {
shimmerLayout.root.run {
clearAnimation()
visibility = View.GONE
}
shareContainer.visibility = View.VISIBLE
}
```
## 6. Constants & Companion Object
Move `static final` and magic literals into a `companion object`; use `const val` for
compile-time constants. Add `@JvmStatic` to factory methods still called from Java.
```kotlin
companion object {
private const val TAG = "FileDetailSharingFragment"
private const val ARG_FILE = "FILE"
private const val MIN_SHOW_ALL_VISIBLE_ITEM_COUNT = 3
private const val INTERNAL_LINK_PATH_PRETTY = "/f/"
@JvmStatic
fun newInstance(file: OCFile?, user: User?) = FileDetailSharingFragment().apply {
arguments = Bundle().apply {
putParcelable(ARG_FILE, file)
putParcelable(ARG_USER, user)
}
}
}
```
## 7. Detekt Suppressions Are a Last Resort
If a legacy god-class genuinely cannot be split within the conversion's scope, a
file/class-level `@Suppress("TooManyFunctions", "LargeClass", ...)` is acceptable — but
prefer real decomposition and tell the developer what you suppressed and why.
## 8. `// region` Organization
For large classes, grouping members under `// region <name>` / `// endregion` (lifecycle,
private methods, overrides, companion) aids IDE folding. This is IDE structure, not a
decorative divider. Match the surrounding file's existing style; do not introduce ASCII
banner comments (`// ==== ====`), which the project forbids.
@@ -0,0 +1,213 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Concurrency: Java Threads → Coroutines & `lifecycleScope`
Replace `new Thread`, `AsyncTask`, executors, and `runOnUiThread`/`Handler.post`
callback-passing with structured coroutines scoped to the component lifecycle. This is
behaviour-preserving *and* fixes leaks: `lifecycleScope`/`viewModelScope` cancel
automatically when the owner is destroyed, so no work touches a dead view.
## Choose the Right Scope
| Context | Scope |
|---|---|
| `Fragment` (UI work tied to view) | `viewLifecycleOwner.lifecycleScope` (preferred) or `lifecycleScope` |
| `Activity` | `lifecycleScope` |
| `ViewModel` | `viewModelScope` |
| No lifecycle owner | inject a `CoroutineScope` / use a repository suspend fun |
Use `Dispatchers.IO` for disk/network/DB, `Dispatchers.Main` (or `withContext(Main)`) to
touch views.
## `AsyncTask` → Coroutines
`AsyncTask` is deprecated. Map its callbacks onto a single `launch`:
| `AsyncTask` | Coroutine |
|---|---|
| `onPreExecute()` | code before `withContext(IO)` (runs on Main) |
| `doInBackground()` | `withContext(Dispatchers.IO) { ... }` |
| `onPostExecute(result)` | code after, back on `Dispatchers.Main` |
| `isCancelled()` | `isActive` (or `ensureActive()`) |
| `cancel(true)` | `job.cancel()` |
| the `AsyncTask` instance field | the returned `Job` |
A self-contained task class stops extending `AsyncTask` and holds the lifecycle owner so
its scope cancels with the screen:
```kotlin
// BEFORE: class GallerySearchTask extends AsyncTask<Void, Void, Result> { ... }
class GallerySearchTask(
private val fragment: GalleryFragment,
private val user: User,
private val storageManager: FileDataStorageManager,
private val endDate: Long,
private val limit: Int
) {
fun execute(): Job = fragment.lifecycleScope.launch(Dispatchers.IO) {
if (!isActive) return@launch
val context = fragment.context ?: return@launch
val result = performSearch(context)
withContext(Dispatchers.Main) {
fragment.searchCompleted(result.emptySearch, result.lastTimestamp)
}
}
}
```
The caller keeps the `Job` and cancels it with the view:
```kotlin
private var photoSearchTask: Job? = null
// ...
photoSearchTask = GallerySearchTask(this, user, storageManager, endDate, limit).execute()
override fun onDestroyView() {
photoSearchTask?.cancel()
photoSearchTask = null
}
```
Because `lifecycleScope` cancels on destroy, the old `WeakReference<Fragment>` leak-guard
disappears — a direct `fragment` reference plus `fragment.context ?: return@launch` is
enough. (PR #16908)
## `AsyncTask` Behind a Callback API → `runCatching` + `fold`
When a service method hid an `AsyncTask` that set mutable fields (a boolean success flag,
`errorMessage`, result fields) and dispatched them in `onPostExecute`, keep the public
callback signature but drive it from a coroutine. Return an **immutable** result from the
background function and branch with `fold`:
```kotlin
private data class ActivitiesResult(
val activities: List<Any>,
val client: NextcloudClient,
val lastGiven: Long
)
override fun getActivities(lastGiven: Long, callback: ActivitiesServiceCallback) {
scope.launch {
runCatching { withContext(Dispatchers.IO) { fetchActivities(lastGiven) } }
.fold(
onSuccess = { (activities, client, updated) ->
callback.onLoaded(activities, client, updated)
},
onFailure = { callback.onError(it.message ?: "") }
)
}
}
```
`runCatching` / `fold` replaces the boolean-success + `errorMessage`-field idiom; the
background function `fetchActivities` throws on failure instead of returning `false`, and
the immutable `ActivitiesResult` destructures straight into `onSuccess`. (PR #16654)
> **Scope caveat:** that PR launched on an ad-hoc `CoroutineScope(Dispatchers.Main)` with
> no lifecycle owner — it never cancels and can leak. Prefer an injected `CoroutineScope`
> or expose a `suspend` function the presenter runs on `lifecycleScope` / `viewModelScope`.
> Flag ad-hoc scopes in review.
## `new Thread { ... runOnUiThread(...) }` → `lifecycleScope.launch` + `withContext`
```kotlin
// BEFORE
private void fetchE2EECounter(Runnable onComplete) {
new Thread(() -> {
try {
OwnCloudClient client = clientFactory.create(user);
Object metadata = RefreshFolderOperation.getDecryptedFolderMetadata(true, file, client, user, ctx);
if (metadata instanceof DecryptedFolderMetadataFile m) {
file.setE2eCounter(m.getMetadata().getCounter());
fileDataStorageManager.saveFile(file);
}
} catch (Exception e) { Log_OC.e(TAG, "..." + e.getMessage()); }
Activity a = getActivity();
if (a != null) a.runOnUiThread(onComplete);
}).start();
}
// AFTER: background work is a suspend fun on IO; the UI reaction runs on Main
private suspend fun fetchE2EECounter(): Boolean = withContext(Dispatchers.IO) {
return@withContext try {
val context = requireContext()
val client = clientFactory.create(user)
val metadata = RefreshFolderOperation.getDecryptedFolderMetadata(true, file, client, user, context)
if (metadata is DecryptedFolderMetadataFile) {
file?.setE2eCounter(metadata.metadata.counter)
fileDataStorageManager?.saveFile(file)
}
true
} catch (e: Exception) {
Log_OC.e(TAG, "Error refreshing E2E counter: " + e.message)
false
}
}
// caller
lifecycleScope.launch {
val ok = fetchE2EECounter()
if (!ok) return@launch
withContext(Dispatchers.Main) { /* update views */ }
}
```
Notes:
- The old code returned nothing and drove the UI via a `Runnable`. The idiomatic version
returns a `Boolean` result and lets the caller decide — same observable outcome, no
callback threading.
- `getActivity() != null` guard becomes `lifecycleScope` cancellation + `binding?`/`?:
return` guards. Preserve any "is the view still alive?" check as a `binding == null`
guard inside `launch`.
## Callback-Pair API → `suspend` Result
Repositories that took `onSuccess`/`onError` lambdas become `suspend` functions returning
a result, awaited inside a coroutine.
```kotlin
// BEFORE
shareRepository.fetchSharees(remotePath, onSuccess = { ... }, onError = { ... });
// AFTER
lifecycleScope.launch {
val result = shareRepository.fetchSharees(remotePath)
if (binding == null) return@launch
if (result) { refreshSharesFromDB(); stopLoadingAnimationAndShowShareContainer() }
else { stopLoadingAnimationAndShowShareContainer(); showError() }
}
```
## Moving DB/IO off the Main Thread
Wrap the blocking DB read in `withContext(Dispatchers.IO)` and hop back to `Main` to touch
adapters/views. This can be a *behaviour improvement* (fewer main-thread stalls) — flag it
to the developer if the Java version was doing DB work on the main thread synchronously,
since timing changes can be observable (e.g. tests that assumed synchronous population).
```kotlin
private suspend fun loadAndPartitionShares(): Pair<List<OCShare>, List<OCShare>> =
withContext(Dispatchers.IO) {
val shares = fileDataStorageManager?.getSharesWithForAFile(file?.remotePath, user?.accountName)
?: emptyList()
val (external, internal) = shares.filter { it.shareType != null }
.partition { it.shareType in externalShareTypes }
internal to external
}
```
## Pitfalls
- Never launch on `GlobalScope` — it outlives the screen and leaks.
- An ad-hoc `CoroutineScope(Dispatchers.Main)` created inside a service/presenter has the
same problem: no lifecycle owner, no cancellation, a leak. Use an injected scope or a
`suspend` function the caller runs on `lifecycleScope` / `viewModelScope`.
- Keep `try/catch` semantics: coroutine cancellation throws `CancellationException`;
rethrow it (don't swallow in a broad `catch (e: Exception)` that logs and continues) or
catch `Exception` only around the real work, not around the whole `launch`.
- Preserve exception-to-UI mapping exactly (same snackbar, same log tag/message).
@@ -0,0 +1,85 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Retiring Deprecated Android APIs During Conversion
A Java→Kotlin conversion is the right moment to replace deprecated Android APIs the IDE
converter leaves untouched. Each replacement below is behaviour-preserving. Examples are
real conversions (nextcloud/android PRs #16878, #16792).
## `startActivityForResult` / `onActivityResult` → Activity Result API
The request-code + `onActivityResult` protocol is deprecated. Register a launcher at
construction time and receive the result in its callback.
```kotlin
// BEFORE
startActivityForResult(action, SELECT_LOCATION_REQUEST_CODE)
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
if (requestCode == SELECT_LOCATION_REQUEST_CODE && data != null) { handle(data) }
}
// AFTER
private val folderPickerLauncher = registerForActivityResult(
ActivityResultContracts.StartActivityForResult()
) { result ->
if (result.resultCode == Activity.RESULT_OK) {
handle(result.data)
}
}
// launch it:
folderPickerLauncher.launch(intent)
```
Type-safe, no manual request-code bookkeeping, and it survives process death because
registration is declarative. Register during initialization (a field initializer or
`onCreate`/`onViewCreated`) — never inside a click handler, or the registration is lost.
## `onCreateOptionsMenu` / `onOptionsItemSelected` → `MenuProvider`
`setHasOptionsMenu(true)` plus the two menu overrides are deprecated on `Fragment`. Add a
`MenuProvider` bound to the view lifecycle instead.
```kotlin
// AFTER
val menuHost: MenuHost = requireActivity()
menuHost.addMenuProvider(object : MenuProvider {
override fun onCreateMenu(menu: Menu, inflater: MenuInflater) =
inflater.inflate(R.menu.gallery_menu, menu)
override fun onMenuItemSelected(item: MenuItem): Boolean = when (item.itemId) {
R.id.action_select_all -> { selectAll(); true }
else -> false
}
}, viewLifecycleOwner, Lifecycle.State.RESUMED)
```
Passing `viewLifecycleOwner` + `Lifecycle.State.RESUMED` auto-adds and removes the menu as
the view's lifecycle changes — no leak, no manual `setHasOptionsMenu`. (PR #16878)
## `java.util.Observable` — Keep or Migrate?
`java.util.Observable` / `Observer` are deprecated (Java 9+). But a conversion is
behaviour-locked, so **do not** silently swap the notification mechanism — existing Java
observers rely on `setChanged()` / `notifyObservers()`. PR #16792 deliberately KEPT it:
```kotlin
class UploadsStorageManager(...) : Observable() {
fun notifyObserversNow() {
Handler(Looper.getMainLooper()).post {
setChanged()
notifyObservers()
}
}
}
```
Migrating to `StateFlow` / `SharedFlow` changes the observation contract and every call
site — that is a separate, opt-in refactor, not part of a 1:1 conversion. Note the
deprecation, propose the flow migration as a follow-up, and keep the current mechanism
unless the developer scopes the larger change.
@@ -0,0 +1,115 @@
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
~ SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Fail Fast: Guard Clauses Over Nested `if`/`else`
The IDE preserves Java's nested-`if` pyramids. Invert them into guard clauses that return
(or throw) early, leaving the happy path at the lowest indentation. Behaviour is
identical — the branches are the same, only the shape changes.
## Precondition Checks → `require` / `requireNotNull`
`requireNotNull` returns the smart-cast non-null value AND throws
`IllegalArgumentException` with the message — exactly matching the Java `if (x == null)
throw new IllegalArgumentException(...)`.
```kotlin
// BEFORE
if (file == null) throw IllegalArgumentException("File may not be null");
if (user == null) throw IllegalArgumentException("Account may not be null");
fileActivity = (FileActivity) getActivity();
if (fileActivity == null) throw IllegalArgumentException("FileActivity may not be null");
// AFTER
fileActivity = activity as? FileActivity
requireNotNull(file) { "File may not be null" }
requireNotNull(user) { "Account may not be null" }
requireNotNull(fileActivity) { "FileActivity may not be null" }
```
Use `require(condition) { msg }` for boolean preconditions:
```kotlin
require(activity is FileActivity) { "Calling activity must be of type FileActivity" }
```
`check`/`checkNotNull` are the `IllegalStateException` equivalents — use them when the Java
threw `IllegalStateException`. Match the original exception type; that is observable
behaviour.
## Early Return Over Nested Success Path
```kotlin
// BEFORE
private void checkShareViaUser() {
if (!MDMConfig.INSTANCE.shareViaUser(requireContext())) {
binding.searchContainer.setVisibility(View.GONE);
}
}
// AFTER
private fun checkShareViaUser() {
if (shareViaUser(requireContext())) return
binding?.searchContainer?.visibility = View.GONE
}
```
## Deeply Nested `if`/`else` → Sequential Guards
The most valuable transformation. A cursor-handling method nested three levels deep
becomes a flat sequence of guard clauses, each handling one failure and returning.
```kotlin
// BEFORE: if (cursor != null) { if (moveToFirst()) { if (columnIndex != -1) {...} else ... } else ... } else ...
// AFTER
private fun handleContactResult(contactUri: Uri) {
val cursor = fileActivity?.contentResolver?.query(contactUri, projection, null, null, null)
if (cursor == null) {
DisplayUtils.showSnackMessage(this, R.string.email_pick_failed)
Log_OC.e(TAG, "Failed to pick email address as Cursor is null.")
return
}
if (!cursor.moveToFirst()) {
DisplayUtils.showSnackMessage(this, R.string.email_pick_failed)
Log_OC.e(TAG, "Failed to pick email address as no Email found.")
return
}
val columnIndex = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Email.ADDRESS)
if (columnIndex == -1) {
DisplayUtils.showSnackMessage(this, R.string.email_pick_failed)
Log_OC.e(TAG, "Failed to pick email address.")
cursor.close()
return
}
val email = cursor.getString(columnIndex)
// ... happy path at base indentation
cursor.close()
}
```
Watch the cleanup: if the Java relied on falling through to a single `cursor.close()`,
each early return must still close it (or wrap in `use {}`). Missing that changes
behaviour (resource leak) — verify it.
## Nullable-Guard Idioms
```kotlin
val activity = fileActivity ?: return
val clientRepository = activity.clientRepository ?: return
val remotePath = file?.remotePath ?: return
```
Each `?: return` collapses one Java `if (x == null) return;`. Chain them at the top of the
function so the body works with non-null smart-cast locals.
## When NOT to Invert
- Do not turn a genuine two-branch decision (both branches do real work) into a guard if
it obscures the symmetry — a `when`/`if-else` expression is clearer there.
- Do not change the *order* of side-effects while inverting; the snackbar/log calls above
must fire in the same cases as before.
@@ -0,0 +1,79 @@
# Project Conventions (Nextcloud Android)
Apply these during Step 2 so the converted file passes review and the quality gates. They
are enforced by `spotlessKotlinCheck`, `detekt`, `lint`, and `spotbugsGplayDebug`.
## SPDX Header (every new/renamed file)
The IDE keeps the old license block. Replace it with the current template. The year is the
year the Kotlin file is created. New contributions are `AGPL-3.0-or-later`; keep
`OR GPL-2.0-only` only if the original file carried it.
```kotlin
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: <YEAR> Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
```
If the developer wants personal attribution (as in the real conversion), the form
`SPDX-FileCopyrightText: <YEAR> <Name> <email>` is also used — match what the developer
asks for; default to the "Nextcloud GmbH and Nextcloud contributors" line.
## Structural Rules
- **≤300 lines per file.** If decomposition pushes past it, split responsibilities into
separate files/collaborators and tell the developer. A file/class-level
`@Suppress("LargeClass", "TooManyFunctions")` is a last resort for legacy god-classes.
- **≤120 columns per line.**
- **One top-level type per file.** Extract models, states, sealed classes, and listener
interfaces into their own files rather than nesting many types in one.
- **Exactly one trailing newline** at end of file.
## No Magic Numbers / Hardcoded Resources
- Extract literals into named `const val` in a `companion object`
(`MIN_SHOW_ALL_VISIBLE_ITEM_COUNT = 3`, `INTERNAL_LINK_PATH_PRETTY = "/f/"`).
- Strings, colors, dimens come from resources (`R.string.*`, `R.dimen.*`), never inline.
- Only `app/src/main/res/values/strings.xml` may be edited for strings; never touch
`values-*` translation folders.
## Comments & Naming
- No decorative divider comments (`// ==== ====`, `// ---- Title ----`). `// region` /
`// endregion` for IDE folding is allowed and should match the file's existing style.
- Names carry the explanation, not comments. If a name needs a comment to be understood,
rename or decompose instead. Do not add KDoc to a function just because it is new.
- Preserve genuinely informative Javadoc as KDoc (invariant 4); drop noise. A comment
earns its place only for a non-obvious invariant, a platform/server workaround, or an
ordering requirement — and it explains **why**, never **what**.
- Never narrate the conversion itself: no "was a Java thread, now a coroutine", no
"changed from X to Y", no references to the PR, the issue, or this conversation.
Comments describe the code as it stands. That history belongs in the commit message.
- Do not use multiple boolean flags to model state — use an `enum`/sealed class.
## Modern Java Interop
When the file still has Java callers, keep the Java-facing API clean:
`@JvmStatic` for factory/companion functions, `@JvmField` for exposed constants,
`@JvmOverloads` for defaulted params, `@Throws` for checked exceptions.
## Git & Commits (developer-driven)
- Preserve history: the rename `git mv Foo.java Foo.kt` should be a **separate commit**
from the content change so `git blame` follows through.
- Conventional Commits (`refactor(sharing): convert FileDetailSharingFragment to Kotlin`).
- Every AI-assisted commit needs an `Assisted-by: <agent>:<model>` trailer.
- Only the human contributor adds `Signed-off-by` (DCO). You must never add it, and never
open PRs/issues autonomously (AI policy).
## Quality Gate
```bash
./gradlew spotlessKotlinCheck detektGplayDebug lintGplayDebug spotbugsGplayDebug \
jacocoTestGplayDebugUnitTest
```
Fix every finding in the files you changed before declaring done.
@@ -0,0 +1,107 @@
# Behaviour-Locking Tests (Mandatory Step)
A conversion is not done until a test proves behaviour did not change. If the Java class
already had tests, they are your primary safety net — run them and keep them green. If it
had none, you must add a **characterization test** that pins the current behaviour so the
refactor is provably safe.
## Decision Tree
```dot
digraph test_choice {
rankdir=LR;
"What are you locking?" -> "Pure logic (no Android SDK)" [label="fn returns a value"];
"What are you locking?" -> "Component behaviour" [label="Fragment/Activity/DB/View"];
"Pure logic (no Android SDK)" -> "JVM unit test app/src/test/ (JUnit4 + mockito-kotlin)";
"Component behaviour" -> "Robolectric unit test (if project uses it)";
"Component behaviour" -> "Instrumented test app/src/androidTest/ extends base IT class";
}
```
**Prefer the seams you just created.** The idiomatic pass extracts pure functions
(link builders, permission math, partitioning, `isReshareForbidden`) specifically so they
can be unit-tested fast without a device. Test those first; they give the most behaviour
coverage per second.
## 1. JVM Unit Tests — Pure Functions
Location: `app/src/test/`. Fast, no emulator. Command:
`./gradlew jacocoTestGplayDebugUnitTest`.
Mark the function `@VisibleForTesting internal` so the test module can reach it while it
stays out of the public API.
```kotlin
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.owncloud.android.ui.fragment
import com.owncloud.android.lib.resources.status.OCCapability
import org.junit.Assert.assertEquals
import org.junit.Test
import org.mockito.kotlin.mock
import org.mockito.kotlin.whenever
class FileDetailSharingFragmentTest {
@Test
fun `internal link uses pretty path when modRewrite is on`() {
val user = mock<User> { whenever(it.server.uri).thenReturn(URI("https://cloud.example")) }
val file = mock<OCFile> { whenever(it.localId).thenReturn(42L) }
val caps = mock<OCCapability> { whenever(it.modRewriteWorking.isTrue).thenReturn(true) }
val link = FileDetailSharingFragment().createInternalLink(user, file, caps)
assertEquals("https://cloud.example/f/42", link)
}
@Test
fun `internal link falls back to index php path when modRewrite is off`() {
// ... same setup with modRewriteWorking.isTrue == false
// assertEquals("https://cloud.example/index.php/f/42", link)
}
}
```
The point: run this test's logic against **both** the pre-conversion and post-conversion
code paths mentally (or, if the Java is still on disk, literally) and confirm the assertion
holds for both. That is what "behaviour must not change" means concretely.
## 2. Instrumented Tests — Component Behaviour
Location: `app/src/androidTest/`. For Fragment/Activity/DB behaviour that needs the Android
runtime. Extend the project's base test class (`AbstractOnServerIT` when server
communication is required) and follow its conventions (separate test user, etc.).
```bash
./gradlew createGplayDebugCoverageReport -Pcoverage=true \
-Pandroid.testInstrumentationRunnerArguments.class=com.owncloud.android.ui.fragment.FileDetailSharingFragmentIT
```
Use `@VisibleForTesting` hooks the original exposed (e.g. a `search(query)` or
`showSharingMenuActionSheet(share)` method) to drive and assert UI state, exactly as the
existing IT suite does. Do not weaken visibility further than the Java original did.
## 3. What to Assert
Lock the observable contract, not the implementation:
- Same return values / thrown exception types for the same inputs (including the
`require`/`requireNotNull` messages if callers depend on them).
- Same Bundle keys, intent extras, and `newInstance` argument wiring.
- Same branch outcomes (e.g. "reshare forbidden when FEDERATED", "show-all button visible
only when > 3 shares").
- For coroutine conversions, assert the end state, and use the project's test dispatcher /
`runTest` so async work is deterministic — never assert on wall-clock timing.
## 4. Guardrails
- Every new test file gets the SPDX header and ends with exactly one trailing newline.
- Do not modify unrelated tests to make yours pass.
- Report actual test output. If a test reveals the conversion changed behaviour, fix the
conversion — do not adjust the test to match the drift.
- If a genuine pre-existing bug is uncovered, surface it to the developer separately; do
not fold a behaviour change into the conversion.
+1 -1
View File
@@ -1,4 +1,4 @@
FROM ubuntu:resolute@sha256:5e275723f82c67e387ba9e3c24baa0abdcb268917f276a0561c97bef9450d0b4
FROM ubuntu:resolute@sha256:6a06111c3b0a8600feadb270aec771dc239bf407b25625f93f44ab00e11f4d3c
ARG DEBIAN_FRONTEND=noninteractive
ENV ANDROID_HOME=/usr/lib/android-sdk
-192
View File
@@ -1,192 +0,0 @@
---
kind: pipeline
type: docker
name: tests-stable
# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
steps:
- name: gplay
image: ghcr.io/nextcloud/continuous-integration-android16:latest
privileged: true
environment:
LOG_USERNAME:
from_secret: LOG_USERNAME
LOG_PASSWORD:
from_secret: LOG_PASSWORD
GIT_USERNAME:
from_secret: GIT_USERNAME
GITHUB_TOKEN:
from_secret: GIT_TOKEN
commands:
- scripts/checkIfRunDrone.sh $DRONE_PULL_REQUEST || exit 0
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- ./gradlew assembleGplayDebugAndroidTest
- scripts/wait_for_emulator.sh
- ./gradlew installGplayDebugAndroidTest
- scripts/wait_for_server.sh "server"
- scripts/deleteOldComments.sh "stable" "IT" $DRONE_PULL_REQUEST
- ./gradlew createGplayDebugCoverageReport -Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST
services:
- name: server
image: ghcr.io/nextcloud/continuous-integration-shallow-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
SERVER_VERSION: 'stable30'
commands:
- BRANCH="$SERVER_VERSION" /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
- rm /etc/apt/sources.list.d/php.list
- apt-get update && apt-get install -y composer
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
- su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G"
- su www-data -c "php /var/www/html/occ group:add users"
- su www-data -c "php /var/www/html/occ group:adduser users user1"
- su www-data -c "php /var/www/html/occ group:adduser users user2"
- su www-data -c "git clone --depth 1 -b $SERVER_VERSION https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "php /var/www/html/occ app:enable activity"
- su www-data -c "git clone --depth 1 -b $SERVER_VERSION https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "php /var/www/html/occ app:enable text"
- su www-data -c "git clone --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 --no-dev"
- su www-data -c "php /var/www/html/occ app:enable -f photos"
- su www-data -c "php /var/www/html/occ config:system:set ratelimit.protection.enabled --value false --type bool"
- /usr/local/bin/run.sh
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: tests-master
steps:
- name: gplay
image: ghcr.io/nextcloud/continuous-integration-android16:latest
privileged: true
environment:
LOG_USERNAME:
from_secret: LOG_USERNAME
LOG_PASSWORD:
from_secret: LOG_PASSWORD
GIT_USERNAME:
from_secret: GIT_USERNAME
GITHUB_TOKEN:
from_secret: GIT_TOKEN
commands:
- scripts/checkIfRunDrone.sh $DRONE_PULL_REQUEST || exit 0
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- scripts/runCombinedTest.sh $DRONE_PULL_REQUEST $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER
services:
- name: server
image: ghcr.io/nextcloud/continuous-integration-shallow-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
- /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
- rm /etc/apt/sources.list.d/php.list
- apt-get update && apt-get install -y composer
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
- su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G"
- su www-data -c "php /var/www/html/occ group:add users"
- su www-data -c "php /var/www/html/occ group:adduser users user1"
- su www-data -c "php /var/www/html/occ group:adduser users user2"
- su www-data -c "git clone --depth 1 -b master https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "php /var/www/html/occ app:enable activity"
- su www-data -c "git clone --depth 1 -b main https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "php /var/www/html/occ app:enable text"
- su www-data -c "git clone --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 --no-dev"
- su www-data -c "php /var/www/html/occ app:enable -f photos"
- su www-data -c "php /var/www/html/occ config:system:set ratelimit.protection.enabled --value false --type bool"
- /usr/local/bin/run.sh
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: allScreenshots
steps:
- name: runAllScreenshots
image: ghcr.io/nextcloud/continuous-integration-android16:latest
privileged: true
environment:
GIT_USERNAME:
from_secret: GIT_USERNAME
GITHUB_TOKEN:
from_secret: GIT_TOKEN
LOG_USERNAME:
from_secret: LOG_USERNAME
LOG_PASSWORD:
from_secret: LOG_PASSWORD
commands:
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- sed -i s'#showOnlyFailingTestsInReports = ciBuild#showOnlyFailingTestsInReports = false#' build.gradle.kts
- scripts/wait_for_emulator.sh
- scripts/runAllScreenshotCombinations noCI false
- scripts/screenshotSummary.sh
- name: notify
image: drillster/drone-email
settings:
port: 587
from: [email protected]
recipients_only: true
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
recipients:
from_secret: EMAIL_RECIPIENTS
host:
from_secret: EMAIL_HOST
when:
event:
- push
status:
- failure
branch:
- master
- stable-*
trigger:
event:
- cron
cron:
- allscreenshots
---
kind: secret
name: GIT_TOKEN
data: XIoa9IYq+xQ+N5iln8dlpWv0jV6ROr7HuE24ioUr4uQ8m8SjyH0yognWYLYLqnbTKrFWlFZiEMQTH/sZiWjRFvV1iL0=
---
kind: signature
hmac: de23b70b660e9f78e936d89699fd24777a83c8caaad97d086bbc0c8a0373aa91
...
+8 -1
View File
@@ -16,4 +16,11 @@ B | A
### 🏁 Checklist
- [ ] Tests written, or not not needed
- [ ] ⛑️ Tests (unit and/or integration) are included or not needed
- [ ] 🔙 Backport requests are created or not needed: `/backport to stable-xx.x`
- [ ] 📅 Milestone is set
- [ ] 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)
## 🤖 AI (if applicable)
- [ ] The content of this PR was partly or fully generated using AI (N/A)
+179
View File
@@ -0,0 +1,179 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: AI Policy
on:
pull_request:
types: [opened, synchronize, reopened]
branches: [master, main]
permissions:
contents: read
# Required to add the "AI assisted" label via `gh pr edit --add-label`
pull-requests: write
# Required to create the "AI assisted" label via the REST labels endpoint
# (labels are an issues-scoped resource in the GitHub API)
issues: write
concurrency:
group: ai-policy-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check-ai-trailers:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Collect PR commit messages
id: collect
env:
BASE_REF: ${{ github.base_ref }}
run: |
set -euo pipefail
git fetch origin "${BASE_REF}"
MERGE_BASE=$(git merge-base "origin/${BASE_REF}" HEAD)
git log --format="%B" "${MERGE_BASE}..HEAD" > /tmp/pr_commits.txt
echo "--- PR commit messages ---"
cat /tmp/pr_commits.txt
echo "--------------------------"
- name: Define shared agent detection patterns
run: |
set -euo pipefail
# Email addresses known to be used by coding agents.
# These should never appear in Signed-off-by because the DCO can only be attested by a human.
EMAIL_PATTERN="copilot@github\.com\
|noreply@anthropic\.com\
|devin@cognition\.ai\
|devin@cognition-labs\.com\
|aider@aider\.chat\
|noreply@aider\.chat\
|codex@openai\.com\
|cursor@anysphere\.com\
|windsurf@codeium\.com\
|codeium@codeium\.com\
|amazon-q@amazon\.com\
|codewhisperer@amazon\.com\
|gemini-code-assist@google\.com\
|openhands@all-hands\.dev\
|swe-agent@princeton\.edu"
# Strip embedded whitespace (used above only for readability)
EMAIL_PATTERN=$(echo "$EMAIL_PATTERN" | tr -d ' \n')
echo "AGENT_EMAIL_PATTERN=${EMAIL_PATTERN}" >> "$GITHUB_ENV"
# Display-name prefixes used by known coding agents (shared by Signed-off-by and Co-Authored-By checks)
# shellcheck disable=SC2016
echo 'AGENT_NAMES=GitHub Copilot|Claude( [A-Za-z0-9. -]+)?|Devin( AI)?|aider( \(.*\))?|OpenAI Codex|Cursor( AI)?|Windsurf|Amazon Q|CodeWhisperer|Gemini Code Assist|OpenHands|SWE-agent|AutoCodeRover|Tabnine' >> "$GITHUB_ENV"
- name: Check for AI-assistant / Assisted-by trailers
id: ai_trailers
run: |
set -euo pipefail
AI_ASSISTED=false
if grep -qiE '^(AI-assistant|Assisted-by):' /tmp/pr_commits.txt; then
AI_ASSISTED=true
echo "Found AI-assistant/Assisted-by trailer(s):"
grep -iE '^(AI-assistant|Assisted-by):' /tmp/pr_commits.txt
fi
echo "ai_assisted=${AI_ASSISTED}" >> "$GITHUB_OUTPUT"
- name: Check for coding-agent Signed-off-by trailers
id: agent_signoff
run: |
set -euo pipefail
EMAIL_HITS=$(grep -iE "^Signed-off-by:.*<(${AGENT_EMAIL_PATTERN})>" /tmp/pr_commits.txt 2>/dev/null || true)
NAME_HITS=$(grep -iE "^Signed-off-by: *(${AGENT_NAMES}) *[<(]" /tmp/pr_commits.txt 2>/dev/null || true)
AGENT_LINES=$(printf '%s\n%s' "$EMAIL_HITS" "$NAME_HITS" | sort -u | sed '/^[[:space:]]*$/d')
AGENT_SIGNOFF=false
if [ -n "$AGENT_LINES" ]; then
AGENT_SIGNOFF=true
fi
echo "agent_signoff=${AGENT_SIGNOFF}" >> "$GITHUB_OUTPUT"
{
echo "agent_lines<<AGENT_EOF"
echo "${AGENT_LINES}"
echo "AGENT_EOF"
} >> "$GITHUB_OUTPUT"
- name: Check for coding-agent Co-Authored-By trailers
id: co_authored
run: |
set -euo pipefail
EMAIL_HITS=$(grep -iE "^Co-Authored-By:.*<(${AGENT_EMAIL_PATTERN})>" /tmp/pr_commits.txt 2>/dev/null || true)
NAME_HITS=$(grep -iE "^Co-Authored-By: *(${AGENT_NAMES}) *[<(]" /tmp/pr_commits.txt 2>/dev/null || true)
CO_AUTHORED=false
if [ -n "$EMAIL_HITS" ] || [ -n "$NAME_HITS" ]; then
CO_AUTHORED=true
echo "Found coding-agent Co-Authored-By trailer(s):"
printf '%s\n%s' "$EMAIL_HITS" "$NAME_HITS" | sort -u | sed '/^[[:space:]]*$/d'
fi
echo "co_authored=${CO_AUTHORED}" >> "$GITHUB_OUTPUT"
- name: Create 'AI assisted' label if absent
if: steps.ai_trailers.outputs.ai_assisted == 'true' || steps.agent_signoff.outputs.agent_signoff == 'true' || steps.co_authored.outputs.co_authored == 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh api "repos/${{ github.repository }}/labels" \
--method POST \
-f name="AI assisted" \
-f color="d93f0b" \
-f description="This PR contains AI-assisted commits" \
2>/dev/null || true
- name: Label PR as AI assisted
if: steps.ai_trailers.outputs.ai_assisted == 'true' || steps.agent_signoff.outputs.agent_signoff == 'true' || steps.co_authored.outputs.co_authored == 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr edit "${{ github.event.pull_request.number }}" \
--repo "${{ github.repository }}" \
--add-label "AI assisted"
echo "Added 'AI assisted' label to PR #${{ github.event.pull_request.number }}"
- name: Fail on coding-agent Signed-off-by
if: steps.agent_signoff.outputs.agent_signoff == 'true'
env:
AGENT_LINES: ${{ steps.agent_signoff.outputs.agent_lines }}
AGENTS_MD_URL: https://github.com/${{ github.repository }}/blob/${{ github.base_ref }}/AGENTS.md
run: |
echo "::error title=Coding-agent sign-off detected::A Signed-off-by trailer from a known coding agent was found in one or more commits."
echo ""
echo "Offending trailer(s):"
echo "${AGENT_LINES}"
echo ""
echo "The 'Signed-off-by' trailer represents the Developer Certificate of Origin (DCO)"
echo "and must only be attested by a human contributor."
echo "Please amend the affected commit(s) to remove the coding-agent sign-off"
echo "and replace it with an 'Assisted-by' trailer, for example:"
echo ""
echo " Assisted-by: Claude Code:claude-sonnet-4-6"
echo ""
echo "References:"
echo " • AGENTS.md (this repository)"
echo " ${AGENTS_MD_URL}"
echo " • AI Contribution Policy"
echo " https://github.com/nextcloud/.github/blob/master/AI_POLICY.md"
echo " • Contribution Guidelines"
echo " https://github.com/nextcloud/.github/blob/master/CONTRIBUTING.md"
exit 1
+5 -5
View File
@@ -26,7 +26,7 @@ concurrency:
jobs:
analysis:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-max
steps:
- name: Disabled on forks
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }}
@@ -51,16 +51,16 @@ jobs:
echo "repo=${{ github.event.pull_request.head.repo.full_name }}"
} >> "$GITHUB_OUTPUT"
fi
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
repository: ${{ steps.get-vars.outputs.repo }}
ref: ${{ steps.get-vars.outputs.branch }}
- name: Set up JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: "temurin"
java-version: 21
java-version: 25
- name: Install dependencies
run: |
sudo apt install python3-defusedxml
@@ -70,7 +70,7 @@ jobs:
run: |
mkdir -p "$HOME/.gradle"
{
echo "org.gradle.jvmargs=-Xmx1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
echo "org.gradle.configureondemand=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 }}"
+22 -9
View File
@@ -6,6 +6,8 @@ name: "Assemble"
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master ]
# Declare default permissions as read only.
permissions: read-all
@@ -16,23 +18,34 @@ concurrency:
jobs:
flavor:
name: flavor (${{ matrix.flavor }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
flavor: [ Generic, Gplay, Huawei ]
include:
- flavor: Generic
tasks: assembleGenericDebug
- flavor: Gplay
tasks: assembleGplayDebug assembleGplayRelease
- flavor: Huawei
tasks: assembleHuaweiDebug
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: set up JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: "temurin"
java-version: 21
- uses: gradle/actions/wrapper-validation@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
- uses: gradle/actions/wrapper-validation@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
- name: Setup Gradle
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
- name: Build ${{ matrix.flavor }}
run: |
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
./gradlew assemble${{ matrix.flavor }}
{
echo "org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=768m"
echo "kotlin.daemon.jvmargs=-Xmx3g -XX:+UseParallelGC -XX:MaxMetaspaceSize=512m"
echo "org.gradle.workers.max=2"
} >> gradle.properties
./gradlew ${{ matrix.tasks }}
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
auto-approve:
name: Auto approve sync
runs-on: ubuntu-latest
runs-on: ubuntu-latest-low
if: ${{ contains(github.event.pull_request.labels.*.name, 'sync') && github.actor == 'nextcloud-android-bot' }}
steps:
- name: Disabled on forks
+6 -2
View File
@@ -6,6 +6,8 @@ name: Check
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master ]
# Declare default permissions as read only.
permissions: read-all
@@ -22,11 +24,13 @@ jobs:
matrix:
task: [ detekt, spotlessKotlinCheck, lint ]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: "temurin"
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
- name: Check ${{ matrix.task }}
run: ./gradlew ${{ matrix.task }}
+13 -7
View File
@@ -1,6 +1,7 @@
# synced from @nextcloud/android-config
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2026 Alper Ozturk <[email protected]>
# SPDX-FileCopyrightText: 2023-2024 Andy Scherzinger <[email protected]>
# SPDX-FileCopyrightText: 2022 Tobias Kaminsky <[email protected]>
# SPDX-FileCopyrightText: 2022 Álvaro Brey <[email protected]>
@@ -20,10 +21,15 @@ on:
permissions:
contents: read
concurrency:
group: codeql-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-latest-max
timeout-minutes: 90
permissions:
actions: read
contents: read
@@ -34,7 +40,7 @@ jobs:
language: [ 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set Swap Space
@@ -43,18 +49,18 @@ jobs:
with:
swap-size-gb: 10
- name: Initialize CodeQL
uses: github/codeql-action/init@e46ed2cbd01164d986452f91f178727624ae40d7 # v4.35.3
uses: github/codeql-action/init@1fc58d04a4d4374f921bdac573c3811c240f9c26 # v4.39.2
with:
languages: ${{ matrix.language }}
- name: Set up JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: "temurin"
java-version: 21
java-version: 25
- name: Assemble
run: |
mkdir -p "$HOME/.gradle"
echo "org.gradle.jvmargs=-Xmx3g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
echo "org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
./gradlew --no-daemon assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e46ed2cbd01164d986452f91f178727624ae40d7 # v4.35.3
uses: github/codeql-action/analyze@1fc58d04a4d4374f921bdac573c3811c240f9c26 # v4.39.2
+86
View File
@@ -0,0 +1,86 @@
#!/bin/sh
# Nextcloud Android Library
#
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
#
if [ $1 = "master" ]; then
SERVER_VERSION_MAIN="main"
SERVER_VERSION_MASTER="master"
else
SERVER_VERSION_MAIN=$1
SERVER_VERSION_MASTER=$1
fi
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
. ~/.bashrc; nvm install node
php /var/www/html/occ log:manage --level warning
OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1
OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2
OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3
OC_PASS=test php /var/www/html/occ user:add --password-from-env --display-name='Test@Test' test@test
OC_PASS=test php /var/www/html/occ user:add --password-from-env --display-name='Test Spaces' 'test test'
php /var/www/html/occ user:setting user2 files quota 1G
php /var/www/html/occ group:add users
php /var/www/html/occ group:adduser users user1
php /var/www/html/occ group:adduser users user2
php /var/www/html/occ group:adduser users test
git clone --depth=1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/activity.git /var/www/html/apps/activity/
php /var/www/html/occ app:enable -f activity
git clone --depth=1 -b $SERVER_VERSION_MAIN https://github.com/nextcloud/text.git /var/www/html/apps/text/
php /var/www/html/occ app:enable -f text
git clone --depth=1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/
php /var/www/html/occ app:enable -f end_to_end_encryption
git clone --depth=1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/password_policy.git /var/www/html/apps/password_policy/
php /var/www/html/occ app:enable -f password_policy
git clone --depth=1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/external.git /var/www/html/apps/external/
cd /var/www/html/apps/external; composer install --no-dev
php /var/www/html/occ app:enable -f external
php /var/www/html/occ config:app:set external sites --value="{\"1\":{\"id\":1,\"name\":\"Nextcloud\",\"url\":\"https:\/\/www.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false},\"2\":{\"id\":2,\"name\":\"Forum\",\"url\":\"https:\/\/help.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false}}"
git clone --depth=1 -b $SERVER_VERSION_MAIN https://github.com/nextcloud/files_lock.git /var/www/html/apps/files_lock/
php /var/www/html/occ app:enable -f files_lock
git clone --depth=1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/notifications.git /var/www/html/apps/notifications/
cd /var/www/html/apps/notifications; composer install --no-dev
php /var/www/html/occ app:enable -f notifications
if [ $1 = 'stable22' ]; then
php /var/www/html/occ notification:generate test test
else
php /var/www/html/occ notification:generate test -d test
fi
git clone --depth=1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/photos.git /var/www/html/apps/photos/
cd /var/www/html/apps/photos; composer install --no-dev
php /var/www/html/occ app:enable -f photos
git clone --depth=1 -b $SERVER_VERSION_MAIN https://github.com/nextcloud/assistant.git /var/www/html/apps/assistant/
cd /var/www/html/apps/assistant; . ~/.bashrc; make
php /var/www/html/occ app:enable -f assistant
php /var/www/html/occ app:enable -f testing
git clone --depth 1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/files_downloadlimit.git /var/www/html/apps/files_downloadlimit/
php /var/www/html/occ app:enable -f files_downloadlimit
git clone --depth 1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/recommendations.git /var/www/html/apps/recommendations/
cd /var/www/html/apps/recommendations; composer install --no-dev
php /var/www/html/occ app:enable -f recommendations
git clone --depth 1 -b $SERVER_VERSION_MASTER https://github.com/nextcloud/viewer.git /var/www/html/apps/viewer/
php /var/www/html/occ app:enable -f viewer
php /var/www/html/occ config:system:set ratelimit.protection.enabled --value false --type bool
+20
View File
@@ -0,0 +1,20 @@
#!/bin/sh
# Nextcloud Android Library
#
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
#
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
apt-get update && apt-get install -y composer
mkdir /var/www/.nvm /var/www/.npm
mkdir /var/www/.cache/
touch /var/www/.bashrc
chown -R 33:33 /var/www/.nvm /var/www/.npm /var/www/.bashrc /var/www/.cache
cd /var/www/html/
rm data -rf
rm config/config.php
su www-data -c "git reset --hard"
BRANCH="$1" /usr/local/bin/initnc.sh
+1 -1
View File
@@ -20,7 +20,7 @@ concurrency:
jobs:
detectNewJavaFiles:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-low
steps:
- id: file_changes
uses: trilom/file-changes-action@a6ca26c14274c33b15e6499323aac178af06ad4b # v1.2.4
+3 -3
View File
@@ -17,12 +17,12 @@ concurrency:
jobs:
detectWrongSettings:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: "temurin"
java-version: 21
+103
View File
@@ -0,0 +1,103 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: "Garm"
on:
pull_request:
branches: [ master, stable-* ]
permissions:
contents: read
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-26.04
services:
server:
image: ${{ matrix.server == 'stable22' && 'ghcr.io/nextcloud/continuous-integration-shallow-server-php8.0:1' || 'ghcr.io/nextcloud/continuous-integration-shallow-server-php8.3:latest' }}
options: --name server
ports:
- 80:80
strategy:
fail-fast: false
matrix:
server: [ stable22, stable35, master ]
api-level: [ 29 ] # [ 21, 36 ]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: configure server
run: |
sudo apt-get update && sudo apt-get install unzip cpu-checker qemu-system-x86 --yes
sudo chmod 666 /dev/kvm
docker cp .github/workflows/configServer.sh server:/tmp/
docker exec server chmod +x /tmp/configServer.sh
docker exec server /tmp/configServer.sh ${{ matrix.server }}
docker cp .github/workflows/configNC.sh server:/tmp/
docker exec server chmod +x /tmp/configNC.sh
docker exec --user www-data server /tmp/configNC.sh ${{ matrix.server }}
docker exec server /usr/local/bin/run.sh
- name: set up JDK 21
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: "temurin"
java-version: 21
- name: Configure gradle daemon
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
- name: Config gplay
run: |
sed -i s#http://server#http://10.0.2.2# gradle.properties
sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- name: wait and ping server
run: |
while ! curl http://localhost/status.php 2>&1 | grep installed; do
echo "wait…"
sleep 5
done
- name: gplay
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
uses: reactivecircus/android-emulator-runner@a421e43855164a8197daf9d8d40fe71c6996bb0d # v2.38.0
with:
api-level: ${{ matrix.api-level }}
cmake: 4.1.2
force-avd-creation: false
arch: x86_64
sdcard-path-or-size: 100M
ram-size: 4096M
heap-size: 512M
target: google_apis
emulator-options: -no-metrics -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: scripts/runCombinedTest.sh ${{github.event.number}} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} ${{github.event.number}} ${{ matrix.server }}
- name: upload failing results
if: ${{ failure() }}
env:
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} ${{ matrix.server }} "IT" ${{github.event.number}}
- name: Archive Espresso results
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
if: ${{ always() }}
with:
name: Report-${{ matrix.server }}-${{ matrix.api-level }}
path: app/build/reports
retention-days: 4
+39
View File
@@ -0,0 +1,39 @@
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Lint translation files
on:
pull_request:
branches: [ master, main, stable-* ]
push:
branches: [ master, main, stable-* ]
permissions:
contents: read
concurrency:
group: lint-php-cs-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest-low
name: translations-string-xml
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Check for new lines in translation strings
id: counter
run: |
grep -P '<string name' app/src/main/res/values/strings.xml | grep -vcP '</string>' | grep '^0$'
- name: Output
if: failure()
run: |
grep -P '<string name' app/src/main/res/values/strings.xml | grep -vP '</string>'
+2 -2
View File
@@ -22,7 +22,7 @@ permissions:
jobs:
pr-feedback:
if: ${{ github.repository_owner == 'nextcloud' }}
runs-on: ubuntu-latest
runs-on: ubuntu-latest-low
steps:
- name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@06b2239db0a48fe1484ba0bfd966a3ab81a08308 # v1.0.1
@@ -36,7 +36,7 @@ jobs:
blocklist=$(curl https://raw.githubusercontent.com/nextcloud/.github/master/non-community-usernames.txt | paste -s -d, -)
echo "blocklist=$blocklist" >> "$GITHUB_OUTPUT"
- uses: nextcloud/pr-feedback-action@5227c55be184087d0aef6338bee210d8620b6297 # main
- uses: nextcloud/pr-feedback-action@4738cf661995d96df3512409ec17c900a4081d33 # main
with:
feedback-message: |
Hello there,
+41 -10
View File
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2026 Alper Ozturk <[email protected]>
# SPDX-FileCopyrightText: 2023 Andy Scherzinger <[email protected]>
# SPDX-License-Identifier: MIT
name: "QA"
@@ -17,26 +18,27 @@ concurrency:
jobs:
qa:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-max
steps:
- name: Check if secrets are available
run: echo "ok=${{ secrets.KS_PASS != '' }}" >> "$GITHUB_OUTPUT"
id: check-secrets
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
with:
persist-credentials: false
- name: set up JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
with:
distribution: "temurin"
java-version: 21
java-version: 25
- name: Build QA
id: build-qa
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
env:
KS_PASS: ${{ secrets.KS_PASS }}
@@ -46,14 +48,24 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p "$HOME/.gradle"
echo "org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" > "$HOME/.gradle/gradle.properties"
echo "org.gradle.caching=true; org.gradle.parallel=true; org.gradle.configureondemand=true" >> "$HOME/.gradle/gradle.properties"
{
echo "org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g"
echo "org.gradle.caching=true"
echo "org.gradle.parallel=true"
echo "org.gradle.configureondemand=true"
} > "$HOME/.gradle/gradle.properties"
[ -e app/build.gradle ] && sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" "app/build.gradle"
[ -e app/build.gradle ] && sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" "app/build.gradle"
[ -e app/build.gradle.kts ] && sed -i "/qa/,/\}/ s/versionCode .*/versionCode = ${{github.event.number}} /" "app/build.gradle.kts"
[ -e app/build.gradle.kts ] && sed -i "/qa/,/\}/ s/versionName .*/versionName = \"${{github.event.number}}\"/" "app/build.gradle.kts"
./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 ".github/workflows/QA_keystore.jks" app/build/outputs/apk/qa/debug/*qa-debug*.apk
apk=$(find app/build/outputs/apk/qa/debug -name '*qa-debug*.apk' | head -n1)
{
echo "apk-path=$apk"
echo "apk-name=$(basename "$apk")"
echo "apk-size=$(du -h "$apk" | cut -f1)"
} >> "$GITHUB_OUTPUT"
- name: Upload APK
id: upload-apk
@@ -64,22 +76,41 @@ jobs:
archive: false
- name: Create QR Code
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
env:
ARTIFACT_URL: ${{ steps.upload-apk.outputs.artifact-url }}
run: |
sudo apt-get -y install qrencode
qrencode -o qr.png "${{ steps.upload-apk.outputs.artifact-url }}"
qrencode -s 8 -o qr.png "$ARTIFACT_URL"
- name: Upload QR
id: upload-qr
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
with:
path: qr.png
if-no-files-found: error
retention-days: 7
archive: false
- name: Comment PR
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
uses: thollander/actions-comment-pull-request@e4a76dd2b0a3c2027c3fd84147a67c22ee4c90fa
with:
comment-tag: qa-apk
mode: upsert
message: |
APK file: ${{ steps.upload-apk.outputs.artifact-url }}
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
![qrcode](${{ steps.upload-qr.outputs.artifact-url }}) (please click on link to get QR code displayed)
### :iphone: QA build
| | |
|---|---|
| **Download** | [${{ steps.build-qa.outputs.apk-name }}](${{ steps.upload-apk.outputs.artifact-url }}) |
| **QR code** | [Open the QR code for this download](${{ steps.upload-qr.outputs.artifact-url }}) |
| **Commit** | ${{ github.event.pull_request.head.sha }} |
| **Version** | `${{ github.event.number }}` |
| **Available until** | 7 days after this build |
The QA build installs alongside a released Nextcloud app, so you can keep
using your existing install while testing.
Downloading the file requires a GitHub account, so open this link on the
device you want to test on, or transfer the APK to it.
+2 -2
View File
@@ -25,7 +25,7 @@ concurrency:
jobs:
auto-approve-merge:
if: github.event.pull_request.user.login == 'renovate[bot]'
runs-on: ubuntu-latest
runs-on: ubuntu-latest-low
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write
@@ -48,7 +48,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.head_ref }}
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest-low
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
+3 -3
View File
@@ -29,12 +29,12 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
with:
results_file: results.sarif
results_format: sarif
@@ -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@e46ed2cbd01164d986452f91f178727624ae40d7 # v4.35.3
uses: github/codeql-action/upload-sarif@1fc58d04a4d4374f921bdac573c3811c240f9c26 # v4.39.2
with:
sarif_file: results.sarif
-109
View File
@@ -1,109 +0,0 @@
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
name: "Screenshot Test"
on:
pull_request:
branches: [ master, stable-* ]
permissions:
contents: read
pull-requests: write
concurrency:
group: screenshot-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
screenshot:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
scheme: [ Light ]
color: [ blue ]
api-level: [ 28 ]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Gradle cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: AVD cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: "temurin"
java-version: 21
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@b530d96654c385303d652368551fb075bc2f0b6b # v2.35.0
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
arch: x86
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: echo "Generated AVD snapshot for caching."
- name: Configure gradle daemon
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
- name: Build generic flavor
run: ./gradlew assembleGenericDebug
- name: Delete old comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ always() }}
run: scripts/deleteOldComments.sh "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
- name: Run screenshot tests
env:
SHOT_TEST: "true"
uses: reactivecircus/android-emulator-runner@b530d96654c385303d652368551fb075bc2f0b6b # v2.35.0
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
arch: x86
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: ./gradlew uninstallAll genericDebugExecuteScreenshotTests -Dorg.gradle.jvmargs="--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.nio.channels=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED" -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
- name: upload failing results
if: ${{ failure() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
- name: Archive Espresso results
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
path: app/build/reports
retention-days: 4
+2 -2
View File
@@ -15,12 +15,12 @@ permissions: read-all
jobs:
stale:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-low
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
with:
days-before-stale: 28
days-before-close: 14
+5 -5
View File
@@ -22,10 +22,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: "temurin"
java-version: 21
@@ -37,7 +37,7 @@ jobs:
run: scripts/deleteOldComments.sh "test" "Unit" ${{github.event.number}}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
- name: Run unit tests with coverage
run: ./gradlew jacocoTestGplayDebugUnitTest
@@ -49,7 +49,7 @@ jobs:
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@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit
@@ -58,7 +58,7 @@ jobs:
- name: Upload jacoco artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: test-results
path: app/build/reports/jacoco/jacocoTestGplayDebugUnitTestReport/html/
+1
View File
@@ -60,6 +60,7 @@ build
/gradle.properties
.attach_pid*
fastlane/Fastfile
fastlane/ruby
*.hprof
# NDK / C++
-25
View File
@@ -2,31 +2,6 @@
<code_scheme name="Project" version="173">
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="99" />
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
<value />
</option>
<option name="IMPORT_LAYOUT_TABLE">
<value>
<package name="android" withSubpackages="true" static="false" />
<emptyLine />
<package name="com" withSubpackages="true" static="false" />
<emptyLine />
<package name="junit" withSubpackages="true" static="false" />
<emptyLine />
<package name="net" withSubpackages="true" static="false" />
<emptyLine />
<package name="org" withSubpackages="true" static="false" />
<emptyLine />
<package name="java" withSubpackages="true" static="false" />
<emptyLine />
<package name="javax" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="false" />
<emptyLine />
<package name="" withSubpackages="true" static="true" />
<emptyLine />
</value>
</option>
<option name="RIGHT_MARGIN" value="120" />
<JavaCodeStyleSettings>
<option name="IMPORT_LAYOUT_TABLE">
+78 -14
View File
@@ -30,6 +30,21 @@ Java, Kotlin, XML, Jetpack Compose are the key technologies used for building th
- `./app/src/test/` Unit tests (small, isolated tests without Android SDK)
- `./app/src/androidTest/` Instrumented tests (require Android SDK)
- `./app/src/main/res/values/` Translations. Only update `./app/src/main/res/values/strings.xml`. Do not modify any other translation files or folders. Ignore all `values-*` directories (e.g., `values-es`, `values-fr`).
- `./.claude/skills/` Reusable agent skills. Each subdirectory is one skill with a `SKILL.md` entry point plus `references/` and `assets/`.
## Agent Skills
Project-specific skills live in `./.claude/skills/<skill-name>/`. Load a skill when the task matches its trigger.
- **`android-java-to-kotlin`** (`./.claude/skills/android-java-to-kotlin/SKILL.md`) — Completes a Java-to-Kotlin conversion in this Android app. Use it when finishing a conversion, when the user mentions "java to kotlin", "j2k", "convert java", or "make it idiomatic", or when a freshly IDE-converted `.kt` file needs cleanup. The workflow is two-person: the developer first runs the Android Studio converter (`Code > Convert Java File to Kotlin File`), then the agent drives the idiomatic second pass — fail-fast control flow, function decomposition, `lifecycleScope`/coroutines instead of Java threads, modern Android APIs, and project conventions (SPDX headers, no magic numbers, `@JvmStatic`). The conversion must preserve behaviour, and the agent must write a behaviour-locking test before declaring it done.
- **`android-activity-to-navigator-fragment`** (`./.claude/skills/android-activity-to-navigator-fragment/SKILL.md`) — Converts a standalone Activity (typically a drawer destination) into a Fragment hosted by `NavigatorActivity`. Use it when the user mentions "navigator", `NavigatorActivity`, `NavigatorScreen`, or "convert activity to fragment". It covers registering the `NavigatorScreen`, the fragment and its layout, decoupling collaborators from `FileActivity`, rewiring every entry point with `NavigatorActivity.intent(...)`, DI and manifest cleanup, and migrating the screenshot test.
- **`android-eventbus-to-workmanager-flow`** (`./.claude/skills/android-eventbus-to-workmanager-flow/SKILL.md`) — Replaces an EventBus event posted by a WorkManager worker with WorkManager observation through a ViewModel `Flow`. Use it when the user mentions "event bus", `EventBusFactory`, `@Subscribe`, "worker progress", or "observe worker". It covers publishing with `setProgress`, a ViewModel keyed by the unique work name, `ViewModelModule` registration, collecting from Kotlin or Java (`collectWhenStarted`) and deleting the event. The live example is `FileDetailFragmentViewModel`.
### Android Skills
Agent skills for Android development at https://github.com/android/skills (overview: https://developer.android.com/tools/agents/android-skills). Use them when a task matches their trigger and no project-specific skill above covers it. Install one with the Android CLI (`android skills add <skill-name>`) or read its `SKILL.md` directly from the repository. Project-specific skills and the rules in this file take precedence over the official skills.
- **`r8-analyzer`** (https://github.com/android/skills/tree/main/performance/r8-analyzer) — Analyzes the R8 configuration and keep rules for redundant, overly broad, or library-subsumed rules. Use it when changing the keep rules in `app/src/main/keepRules/` or the `optimization {}` blocks in `app/build.gradle.kts`.
## General Guidance
@@ -88,6 +103,16 @@ Use `StateFlow` and `MutableStateFlow` in ViewModels for state management. Colle
Uses Dagger 2 for major Android components (`Activity`, `Fragment`, `Service`, `BroadcastReceiver`, `ContentProvider`). Manual constructor injection for other components.
### Network Clients
Get `OwnCloudClient` and `NextcloudClient` instances from `ClientRepository` (`com.nextcloud.repository`), never from `ClientFactory`.
`ClientFactory` is deprecated and being phased out; do not add new usages of it, and replace it with `ClientRepository` when touching code that still uses it.
- Inject `ClientRepository` with Dagger (`@Inject lateinit var clientRepository: ClientRepository`); it is bound to `RemoteClientRepository`, which resolves the current user via `UserAccountManager` on every call.
- Activities extending `BaseActivity` already expose it via `getClientRepository()`.
- Prefer the `suspend` functions `getOwncloudClient()` / `getNextcloudClient()` from a lifecycle-aware scope (`lifecycleScope`, `viewModelScope`); they switch to `Dispatchers.IO` and return `null` on failure, so handle `null` instead of catching exceptions.
- Do not construct `RemoteClientRepository` manually.
### Extension Functions
The `com.nextcloud.utils.extensions` package contains helper extensions organized by type (e.g., `FileExtensions.kt`, `StringExtensions.kt`, `ViewExtensions.kt`). Create focused extension files rather than putting multiple types in one file.
@@ -124,6 +149,32 @@ All code is validated with the following tools. Fix findings in modified files:
Run all checks with: `./gradlew check`
## Nextcloud Contribution Policy
All contributions generated or assisted by this agent must fully comply with:
- **[AI Contribution Policy](https://github.com/nextcloud/.github/blob/master/AI_POLICY.md)** - the primary reference for AI-specific rules, covering disclosure, author accountability, communication, security, licensing, code quality, and autonomous agent behavior.
- **[Contribution Guidelines](https://github.com/nextcloud/.github/blob/master/CONTRIBUTING.md)** - covering testing requirements, the Developer Certificate of Origin (DCO), license headers, conventional commits, and translations. These apply in full to all contributions regardless of how they were produced.
### What this agent must always do
- Add an `Assisted-by: AGENT_NAME:MODEL_VERSION` git trailer to every commit containing AI-assisted content.
- Ensure every pull request includes a disclosure of AI tool use in the PR description.
- Produce focused, scoped pull requests that address exactly one concern. Do not touch unrelated files or introduce incidental refactors.
- Verify all dependencies against actual package registries before suggesting them. Do not use hallucinated or unverified package names.
- Explicitly inform the contributor when any action they are about to take, or have taken, would violate the AI Contribution Policy or the Contribution Guidelines. Do not silently proceed. State which rule is at risk and what the contributor should do instead.
- Warn the contributor if a pull request is growing too large. A PR approaching several thousand lines of changed code is a signal that it should be split into smaller, focused PRs. Suggest a logical split before the PR is opened, not after.
- Recommend opening a ticket for discussion before starting implementation whenever a feature or change is sufficiently complex - for example when it touches multiple subsystems, requires architectural decisions, or the right approach is not yet clear. A ticket allows maintainers and the contributor to align on direction before code is written, avoiding wasted effort on a PR that may be rejected or require fundamental rework.
### What this agent must never do
- Open issues, submit pull requests, post review comments, or send security reports autonomously. Every contribution must be reviewed and submitted by a human.
- Add `Signed-off-by` tags to commits. Only the human contributor can certify the Developer Certificate of Origin.
- Generate or submit security reports without independent human verification. Report verified vulnerabilities via [HackerOne](https://hackerone.com/nextcloud), not as GitHub issues.
- Write PR descriptions, review comments, or issue reports on behalf of the contributor. These must be in the contributor's own words.
- Fully automate the resolution of issues labeled [`good first issue`](https://github.com/issues?q=org%3Anextcloud+label%3A%22good+first+issue%22) or similar beginner-friendly labels.
- Submit code that has not been reviewed and cleaned up by the contributor. Dead code, redundant logic, excessive comments, and unrelated changes must be removed before submission.
## Commit and Pull Request Guidelines
### Commits
@@ -132,22 +183,14 @@ Run all checks with: `./gradlew check`
- Commit messages must follow the [Conventional Commits v1.0.0 specification](https://www.conventionalcommits.org/en/v1.0.0/#specification) — e.g. `feat(chat): add voice message playback`, `fix(call): handle MCU disconnect gracefully`.
- Every commit made with AI assistance must include an `AI-assistant` trailer identifying the coding agent, its version, and the model(s) used:
- Every commit made with AI assistance must include an `Assisted-by: AGENT_NAME:MODEL_VERSION` git trailer identifying the coding agent and model used:
```
AI-assistant: Claude Code 2.1.80 (Claude Sonnet 4.6)
AI-assistant: Copilot 1.0.6 (Claude Sonnet 4.6)
Assisted-by: ClaudeCode:claude-sonnet-4-6
Assisted-by: Copilot:claude-sonnet-4-6
```
General pattern: `AI-assistant: <coding-agent> <agent-version> (<model-name> <model-version>)`
If multiple models are used for different roles, extend the trailer with named roles:
```
AI-assistant: OpenCode v1.0.203 (plan: Claude Opus 4.5, edit: Claude Sonnet 4.5)
```
Pattern with roles: `AI-assistant: <coding-agent> <agent-version> (<role>: <model-name> <model-version>, <role>: <model-name> <model-version>)`
General pattern: `Assisted-by: <coding-agent>:<model-version>`
### Pull Requests
@@ -160,9 +203,7 @@ Run all checks with: `./gradlew check`
- Line length: **120 characters**
- Standard Android Studio formatter with EditorConfig.
- Kotlin preferred for new code; legacy Java still present.
- Do not use decorative section-divider comments of any kind (e.g. `// ── Title ───`, `// ------`, `// ======`).
- Every new file must end with exactly one empty trailing line (no more, no less).
- Do not add comments, documentation for every function you created instead make it self explanatory as much as possible.
- Create models, states in different files instead of doing it one single file.
- Do not use magic numbers.
- Apply fail fast principle instead of using nested if-else statements.
@@ -170,3 +211,26 @@ Run all checks with: `./gradlew check`
- Use modern Java for Java classes. Optionals, virtual threads, records, streams if necessary.
- Avoid hardcoded strings, colors, dimensions. Use resources.
- Run lint, spotbugsGplayDebug, detekt, spotlessKotlinCheck and fix findings inside the files that have been changed.
## Comments
Names carry the explanation, not comments. A function or variable whose purpose is not obvious from its
name is a naming problem or a decomposition problem — rename it or split it, do not describe it in a comment.
Assume the reader knows Kotlin, Java and the Android framework.
Write a comment only when the code cannot carry the information itself: a non-obvious invariant, a workaround
for a platform or server bug, an ordering requirement, or a decision whose alternatives look equally valid and
are not. When you do write one, explain **why**, never **what**.
Never write:
- Comments that restate the code (`// increase the counter` above `counter++`).
- KDoc/Javadoc added to a function just because the function is new.
- Narration of the change or its history: "changed from X to Y", "previously this failed", "this is not a
permanent failure so we now retry", "fixes the crash reported in the issue". Comments describe the code as
it is today. A reader six months from now has no access to the issue, the PR discussion, or the conversation
that produced the change — that context belongs in the commit message and the PR description.
- Decorative section-divider comments of any kind (e.g. `// ── Title ───`, `// ------`, `// ======`).
`// region` / `// endregion` for IDE folding is allowed where the file already uses it.
Existing comments that are still accurate stay. Delete the ones the change makes wrong or obsolete.
+1
View File
@@ -0,0 +1 @@
@AGENTS.md
+2 -2
View File
@@ -224,9 +224,9 @@ Source code of app:
- small, isolated tests, with no need of Android SDK
- code coverage can be directly shown via right click on test and select "Run Test with Coverage"
```
./gradlew jacocoTestGplayDebugUnitTest
```bash
./gradlew jacocoTestGplayDebugUnitTest
```
#### Instrumented tests
- tests to see larger code working in correct way
+3 -6
View File
@@ -1,10 +1,7 @@
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!
source "https://rubygems.org"
gem 'fastlane'
gem "fastlane"
gem "abbrev"
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
plugins_path = File.join(File.dirname(__FILE__), '.', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
+133 -101
View File
@@ -8,8 +8,8 @@ GEM
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.4.0)
aws-partitions (1.1241.0)
aws-sdk-core (3.246.0)
aws-partitions (1.1290.0)
aws-sdk-core (3.257.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
@@ -17,203 +17,235 @@ GEM
bigdecimal
jmespath (~> 1, >= 1.6.1)
logger
aws-sdk-kms (1.123.0)
aws-sdk-core (~> 3, >= 3.244.0)
rexml (~> 3.4, >= 3.4.2)
aws-sdk-kms (1.132.0)
aws-sdk-core (~> 3, >= 3.256.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.220.0)
aws-sdk-core (~> 3, >= 3.244.0)
aws-sdk-s3 (1.232.2)
aws-sdk-core (~> 3, >= 3.256.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.12.1)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
base64 (0.3.0)
bigdecimal (3.3.1)
cgi (0.4.2)
benchmark (0.5.0)
bigdecimal (4.1.3)
cgi (0.5.2)
claide (1.1.0)
colored (1.2)
colored2 (3.1.2)
commander (4.6.0)
highline (~> 2.0.0)
csv (3.3.5)
csv (3.3.6)
declarative (0.0.20)
digest-crc (0.7.0)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.6.20240107)
domain_name (0.6.20260921)
dotenv (2.8.1)
emoji_regex (3.2.3)
excon (0.112.0)
faraday (1.10.5)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
erb (6.0.7)
excon (1.7.1)
logger
faraday (2.14.4)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-cookie_jar (0.0.8)
faraday (>= 0.8.0)
http-cookie (>= 1.0.0)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.1)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-follow_redirects (0.5.0)
faraday (>= 1, < 3)
faraday-multipart (1.2.0)
multipart-post (~> 2.0)
faraday-net_http (1.0.2)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.4)
faraday_middleware (1.2.1)
faraday (~> 1.0)
faraday-net_http (3.4.4)
net-http (~> 0.5)
faraday-retry (2.4.0)
faraday (~> 2.0)
fastimage (2.4.1)
fastlane (2.229.0)
CFPropertyList (>= 2.3, < 4.0.0)
abbrev (~> 0.1.2)
addressable (>= 2.8, < 3.0.0)
fastlane (2.240.1)
CFPropertyList (>= 2.3, < 5.0.0)
abbrev (~> 0.1)
addressable (>= 2.9.0, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
aws-sdk-s3 (~> 1.197)
babosa (>= 1.0.3, < 2.0.0)
bundler (>= 1.12.0, < 3.0.0)
base64 (~> 0.2)
benchmark (>= 0.1.0)
bundler (>= 2.4.0, < 5.0.0)
cgi (~> 0.4)
colored (~> 1.2)
commander (~> 4.6)
csv (~> 3.3)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
excon (>= 0.71.0, < 1.0.0)
faraday (~> 1.0)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 1.0)
excon (>= 0.71.0, < 2.0.0)
faraday (~> 2.7)
faraday-cookie_jar (~> 0.0.8)
faraday-follow_redirects (~> 0.3)
faraday-multipart (~> 1.0)
faraday-retry (~> 2.0)
fastimage (>= 2.1.0, < 3.0.0)
fastlane-sirp (>= 1.0.0)
fastlane-sirp (>= 1.1.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-apis-androidpublisher_v3 (~> 0.3)
google-apis-androidpublisher_v3 (~> 0.99)
google-apis-playcustomapp_v1 (~> 0.1)
google-cloud-env (>= 1.6.0, < 2.0.0)
google-cloud-env (>= 1.6.0, < 2.4.0)
google-cloud-storage (~> 1.31)
highline (~> 2.0)
http-cookie (~> 1.0.5)
irb (>= 1.8)
json (< 3.0.0)
jwt (>= 2.1.0, < 3)
jwt (>= 2.10.3, < 4)
logger (>= 1.6, < 2.0)
mini_magick (>= 4.9.4, < 5.0.0)
multi_json (~> 1.12)
multipart-post (>= 2.0.0, < 3.0.0)
mutex_m (~> 0.3.0)
mutex_m (~> 0.3)
naturally (~> 2.2)
nkf (~> 0.2)
optparse (>= 0.1.1, < 1.0.0)
ostruct (>= 0.1.0)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.5)
rubyzip (>= 3.4.0, < 4.0.0)
security (~> 0.3)
simctl (~> 1.6.3)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (~> 3)
terminal-table (~> 4)
tty-screen (>= 0.6.3, < 1.0.0)
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.4.1)
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
fastlane-plugin-huawei_appgallery_connect (1.0.31)
cgi
fastlane-sirp (1.1.0)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.54.0)
google-apis-core (>= 0.11.0, < 2.a)
google-apis-core (0.11.3)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
mini_mime (~> 1.0)
google-apis-androidpublisher_v3 (0.109.0)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-core (1.2.5)
addressable (~> 2.9)
faraday (~> 2.13)
faraday-follow_redirects (~> 0.3)
googleauth (~> 1.14)
mini_mime (~> 1.1)
multi_json (~> 1.11)
representable (~> 3.0)
retriable (>= 2.0, < 4.a)
rexml
google-apis-iamcredentials_v1 (0.17.0)
google-apis-core (>= 0.11.0, < 2.a)
google-apis-playcustomapp_v1 (0.13.0)
google-apis-core (>= 0.11.0, < 2.a)
google-apis-storage_v1 (0.31.0)
google-apis-core (>= 0.11.0, < 2.a)
google-cloud-core (1.8.0)
retriable (>= 3.1, < 5.0)
google-apis-iamcredentials_v1 (0.28.0)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-playcustomapp_v1 (0.18.0)
google-apis-core (>= 0.15.0, < 2.a)
google-apis-storage_v1 (0.68.0)
google-apis-core (>= 0.15.0, < 2.a)
google-cloud-core (1.9.0)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.6.0)
google-cloud-storage (1.47.0)
google-cloud-env (2.3.1)
base64 (~> 0.2)
faraday (>= 1.0, < 3.a)
google-cloud-errors (1.7.0)
google-cloud-storage (1.62.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.31.0)
google-apis-core (>= 0.18, < 2)
google-apis-iamcredentials_v1 (~> 0.18)
google-apis-storage_v1 (>= 0.42)
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
googleauth (~> 1.9)
mini_mime (~> 1.0)
googleauth (1.8.1)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
multi_json (~> 1.11)
google-logging-utils (0.2.0)
googleauth (1.17.4)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.2)
google-logging-utils (~> 0.1)
jwt (>= 1.4, < 4.0)
os (>= 0.9, < 2.0)
pstore (~> 0.1)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.8)
http-cookie (1.1.6)
domain_name (~> 0.5)
httpclient (2.9.0)
mutex_m
io-console (0.9.4)
irb (1.18.0)
pp (>= 0.6.0)
prism (>= 1.3.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
jmespath (1.6.2)
json (2.19.4)
jwt (2.10.2)
json (2.21.2)
jwt (3.3.0)
base64
logger (1.7.0)
mini_magick (4.13.2)
mini_mime (1.1.5)
multi_json (1.20.1)
multi_json (1.21.2)
multipart-post (2.4.1)
mutex_m (0.3.0)
nanaimo (0.4.0)
naturally (2.3.0)
net-http (0.9.1)
uri (>= 0.11.1)
nkf (0.3.0)
optparse (0.8.1)
os (1.1.4)
ostruct (0.6.3)
plist (3.7.2)
public_suffix (6.0.2)
pp (0.6.4)
prettyprint
prettyprint (0.2.0)
prism (1.9.0)
pstore (0.2.1)
public_suffix (7.0.5)
rake (13.4.2)
representable (3.2.0)
rbs (4.2.0)
logger
prism (>= 1.6.0)
tsort
rdoc (8.0.0)
erb
prism (>= 1.6.0)
rbs (>= 4.0.0)
tsort
reline (0.7.0)
io-console (~> 0.5)
representable (3.3.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.4.1)
retriable (4.2.0)
rexml (3.4.4)
rouge (3.28.0)
ruby2_keywords (0.0.5)
rubyzip (2.4.1)
security (0.1.5)
signet (0.21.0)
rubyzip (3.7.0)
security (0.3.0)
signet (0.22.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 4.0)
multi_json (~> 1.10)
simctl (1.6.10)
CFPropertyList
naturally
terminal-notifier (2.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
terminal-table (4.0.0)
unicode-display_width (>= 1.1.1, < 4)
trailblazer-option (0.1.2)
tsort (0.2.0)
tty-cursor (0.7.1)
tty-screen (0.8.2)
tty-spinner (0.9.3)
tty-cursor (~> 0.7)
uber (0.1.0)
unicode-display_width (2.6.0)
unicode-display_width (3.3.0)
unicode-emoji (~> 4.3)
unicode-emoji (4.3.0)
uri (1.1.1)
word_wrap (1.0.0)
xcodeproj (1.27.0)
xcodeproj (1.28.1)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
base64
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.4.0)
nkf
rexml (>= 3.3.6, < 4.0)
xcpretty (0.4.1)
rouge (~> 3.28.0)
@@ -224,8 +256,8 @@ PLATFORMS
x86_64-linux
DEPENDENCIES
abbrev
fastlane
fastlane-plugin-huawei_appgallery_connect
BUNDLED WITH
2.5.4
+1 -1
View File
@@ -4,7 +4,7 @@
-->
# [Nextcloud](https://nextcloud.com) Android app :iphone:
[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud/android)](https://api.reuse.software/info/github.com/nextcloud/android) [![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/fb4cf26336774ee3a5c9adfe829c41aa)](https://app.codacy.com/gh/nextcloud/android/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud/android)](https://api.reuse.software/info/github.com/nextcloud/android) [![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png"
alt="Download from Google Play"
+6
View File
@@ -29,6 +29,12 @@ precedence = "aggregate"
SPDX-FileCopyrightText = "2015-2016 ownCloud Inc."
SPDX-License-Identifier = "GPL-2.0-only"
[[annotations]]
path = ["CLAUDE.md", "app/libs/local-maven/**/*.aar", "app/libs/local-maven/**/*.pom"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "AGPL-3.0-or-later"
[[annotations]]
path = ["app/src/**/res/mipmap-**dpi/ic_launcher.png", "app/src/**/ic_launcher-web.png", "src/**/fastlane/metadata/en-US/images/*.png", "src/generic/fastlane/metadata/android/en-US/images/icon.png", "src/versionDev/fastlane/metadata/android/en-US/images/icon.png", "app/src/main/ic_launcher-web-round.png"]
precedence = "aggregate"
-1
View File
@@ -6,7 +6,6 @@
[![حالة REUSE](https://api.reuse.software/badge/github.com/nextcloud/android)](https://api.reuse.software/info/github.com/nextcloud/android)
[![حالة البناء](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android)
[![تقييم Codacy](https://app.codacy.com/project/badge/Grade/fb4cf26336774ee3a5c9adfe829c41aa)](https://app.codacy.com/gh/nextcloud/android/dashboard)
[![الإصدارات](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" alt="تحميل من Google Play" height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client)
+75 -58
View File
@@ -1,6 +1,7 @@
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2026 Alper Ozturk <[email protected]>
* SPDX-FileCopyrightText: 2025 Jimly Asshiddiqy <[email protected]>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
@@ -12,13 +13,17 @@ import com.github.spotbugs.snom.SpotBugsTask
import com.karumi.shot.ShotExtension
import org.gradle.internal.jvm.Jvm
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import java.io.FileInputStream
import java.util.Properties
val shotTest = System.getenv("SHOT_TEST") == "true"
val ciBuild = System.getenv("CI") == "true"
val perfAnalysis = project.hasProperty("perfAnalysis")
val allAbis = listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
val localDebugAbis = when (System.getProperty("os.arch")) {
"aarch64", "arm64" -> listOf("arm64-v8a")
else -> listOf("arm64-v8a", "x86_64")
}
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.compose)
@@ -43,27 +48,30 @@ configurations.configureEach {
exclude(group = "org.jetbrains", module = "annotations-java5")
resolutionStrategy {
force(libs.objenesis)
eachDependency {
if (requested.group == "org.checkerframework" && requested.name != "checker-compat-qual") {
useVersion(libs.versions.checker.get())
because("https://github.com/google/ExoPlayer/issues/10007")
} else if (requested.group == "org.jacoco") {
useVersion(libs.versions.jacoco.get())
} else if (requested.group == "commons-logging" && requested.name == "commons-logging") {
useTarget(libs.slfj)
when (requested.group) {
"org.checkerframework" if requested.name != "checker-compat-qual" -> {
useVersion(libs.versions.checker.get())
because("https://github.com/google/ExoPlayer/issues/10007")
}
"org.jacoco" -> {
useVersion(libs.versions.jacoco.get())
}
"commons-logging" if requested.name == "commons-logging" -> {
useTarget(libs.slfj)
}
"org.hamcrest" -> {
useVersion("2.2")
because(
"Align hamcrest on compile and runtime. 1.3 (via junit) exposes fixed-arity " +
"anyOf/allOf overloads that 2.2 (via androidx.test) removed, causing NoSuchMethodError."
)
}
}
}
}
}
// semantic versioning for version code
val versionMajor = 33
val versionMinor = 2
val versionPatch = 0
val versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
val ndkEnv = buildMap {
file("${project.rootDir}/ndk.env").readLines().forEach {
val (key, value) = it.split("=")
@@ -71,14 +79,9 @@ val ndkEnv = buildMap {
}
}
val configProps = Properties().apply {
val file = rootProject.file("gradle.properties")
if (file.exists()) load(FileInputStream(file))
}
val ncTestServerUsername = configProps["NC_TEST_SERVER_USERNAME"]
val ncTestServerPassword = configProps["NC_TEST_SERVER_PASSWORD"]
val ncTestServerBaseUrl = configProps["NC_TEST_SERVER_BASEURL"]
val ncTestServerUsername = providers.gradleProperty("NC_TEST_SERVER_USERNAME").get()
val ncTestServerPassword = providers.gradleProperty("NC_TEST_SERVER_PASSWORD").get()
val ncTestServerBaseUrl = providers.gradleProperty("NC_TEST_SERVER_BASEURL").get()
android {
// install this NDK version and CMake to produce smaller APKs. Build will still work if not installed
@@ -86,6 +89,7 @@ android {
externalNativeBuild {
cmake {
version = "${ndkEnv["CMAKE_VERSION"]}"
path = file("src/main/cpp/CMakeLists.txt")
}
}
@@ -103,12 +107,12 @@ android {
)
applicationId = "com.nextcloud.client"
minSdk = 28
compileSdk = 37
targetSdk = 36
compileSdk = 36
ndk {
abiFilters += listOf("arm64-v8a", "x86_64", "x86")
}
// mayor.minor.hotfix.increment (for increment: 01-50=Alpha / 51-89=RC / 90-99=stable)
// xx .xxx .xx .xx
versionCode = 350010050
versionName = "35.1.0 Alpha 51"
buildConfigField("boolean", "CI", ciBuild.toString())
buildConfigField("boolean", "RUNTIME_PERF_ANALYSIS", perfAnalysis.toString())
@@ -117,13 +121,6 @@ android {
testInstrumentationRunner = if (shotTest) "com.karumi.shot.ShotTestRunner"
else "com.nextcloud.client.TestRunner"
versionCode = versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
versionName = when {
versionBuild > 89 -> "${versionMajor}.${versionMinor}.${versionPatch}"
versionBuild > 50 -> "${versionMajor}.${versionMinor}.${versionPatch} RC" + (versionBuild - 50)
else -> "${versionMajor}.${versionMinor}.${versionPatch} Alpha" + (versionBuild + 1)
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
@@ -131,13 +128,21 @@ android {
buildTypes {
release {
optimization {
enable = true
}
buildConfigField("String", "NC_TEST_SERVER_DATA_STRING", "\"\"")
ndk {
abiFilters += allAbis
}
}
debug {
enableUnitTestCoverage = project.hasProperty("coverage")
enableAndroidTestCoverage = project.hasProperty("coverage")
resConfigs("xxxhdpi")
ndk {
abiFilters += if (ciBuild) allAbis else localDebugAbis
}
}
}
@@ -188,10 +193,10 @@ android {
buildFeatures {
buildConfig = true
dataBinding = true
viewBinding = true
aidl = true
compose = true
prefab = true
}
compileOptions {
@@ -218,7 +223,8 @@ android {
"IconXmlAndPng",
"SelectedPhotoAccess",
"UnsafeIntentLaunch",
"OldTargetApi"
"OldTargetApi",
"AndroidGradlePluginVersion"
)
)
htmlOutput = layout.buildDirectory.file("reports/lint/lint.html").get().asFile
@@ -263,6 +269,7 @@ spotbugs {
}
tasks.register<Checkstyle>("checkstyle") {
description = "Runs Checkstyle static analysis on the Java sources to enforce the project's coding style."
configFile = file("${rootProject.projectDir}/checkstyle.xml")
setConfigProperties(
"checkstyleSuppressionsPath" to file("${rootProject.rootDir}/suppressions.xml").absolutePath
@@ -274,6 +281,7 @@ tasks.register<Checkstyle>("checkstyle") {
}
tasks.register<Pmd>("pmd") {
description = "Runs PMD static analysis on the Java sources to detect common programming flaws and bad practices."
ruleSetFiles = files("${rootProject.rootDir}/ruleset.xml")
ignoreFailures = true // should continue checking
ruleSets = emptyList()
@@ -309,10 +317,7 @@ tasks.withType<SpotBugsTask>().configureEach {
}
}
// Run the compiler as a separate process
tasks.withType<JavaCompile>().configureEach {
options.isFork = true
// Enable Incremental Compilation
options.isIncremental = true
}
@@ -329,6 +334,17 @@ tasks.named("check").configure {
dependsOn("checkstyle", "spotbugsGplayDebug", "pmd", "lint", "spotlessKotlinCheck", "detekt")
}
val kspConfiguration = "ksp"
val kspAndroidTestConfiguration = "kspAndroidTest"
val gplayImplementationConfiguration = "gplayImplementation"
val huaweiImplementationConfiguration = "huaweiImplementation"
val qaImplementationConfiguration = "qaImplementation"
val appScanConfigurations = listOf(
gplayImplementationConfiguration,
huaweiImplementationConfiguration,
qaImplementationConfiguration
)
dependencies {
// region Nextcloud library
implementation(libs.android.library) {
@@ -373,6 +389,7 @@ dependencies {
// region UI
implementation(libs.bundles.ui)
implementation(libs.browser)
// endregion
// region Worker
@@ -382,6 +399,7 @@ dependencies {
// region Lifecycle
implementation(libs.lifecycle.viewmodel.ktx)
implementation(libs.lifecycle.process)
implementation(libs.lifecycle.service)
implementation(libs.lifecycle.runtime.ktx)
// endregion
@@ -391,12 +409,14 @@ dependencies {
androidTestImplementation(libs.rules)
androidTestImplementation(libs.runner)
androidTestUtil(libs.orchestrator)
androidTestImplementation(libs.test.core)
androidTestImplementation(libs.core.ktx)
androidTestImplementation(libs.core.testing)
// endregion
testImplementation(libs.kotlinx.coroutines.test)
// region other libraries
compileOnly(libs.org.jbundle.util.osgi.wrapped.org.apache.http.client)
implementation(libs.commons.httpclient.commons.httpclient) // remove after entire switch to lib v2
implementation(libs.jackrabbit.webdav) // remove after entire switch to lib v2
implementation(libs.constraintlayout)
@@ -408,24 +428,22 @@ dependencies {
implementation(libs.commons.io)
implementation(libs.eventbus)
implementation(libs.ez.vcard)
implementation(libs.nnio)
implementation(libs.bcpkix.jdk18on)
implementation(libs.gson)
implementation(libs.sectioned.recyclerview)
implementation(libs.photoview)
implementation(libs.android.gif.drawable)
implementation(libs.qrcodescanner) // "com.github.blikoon:QRCodeScanner:0.1.2"
implementation(libs.flexbox)
implementation(libs.androidsvg)
implementation(libs.annotation)
implementation(libs.emoji.google)
// endregion
// region AppScan, document scanner not available on FDroid (generic) due to OpenCV binaries
// To enable the feature for another variant, add it here.
"gplayImplementation"(project(":appscan"))
"huaweiImplementation"(project(":appscan"))
"qaImplementation"(project(":appscan"))
// To enable the feature for another variant, add its "<variant>Implementation" here.
appScanConfigurations.forEach { configuration ->
add(configuration, project(":appscan"))
}
// endregion
// region SpotBugs
@@ -437,13 +455,15 @@ dependencies {
implementation(libs.dagger)
implementation(libs.dagger.android)
implementation(libs.dagger.android.support)
ksp(libs.dagger.compiler)
ksp(libs.dagger.processor)
kspAndroidTest(libs.dagger.compiler)
listOf(kspConfiguration, kspAndroidTestConfiguration).forEach { configuration ->
add(configuration, libs.dagger.compiler)
}
// endregion
// region Crypto
implementation(libs.conscrypt.android)
implementation(libs.android.openssl)
// endregion
// region Library
@@ -468,7 +488,7 @@ dependencies {
// region iCal4j
implementation(libs.ical4j) {
listOf("org.apache.commons", "commons-logging").forEach { groupName -> exclude(group = groupName) }
exclude(group = "commons-logging")
}
// endregion
@@ -494,14 +514,11 @@ dependencies {
// region Kotlin
implementation(libs.kotlin.stdlib)
// endregion
// region Stateless
implementation(libs.stateless4j)
implementation(libs.kotlinx.coroutines.core)
// endregion
// region Google Play dependencies, upon each update first test: new registration, receive push
"gplayImplementation"(libs.bundles.gplay)
add(gplayImplementationConfiguration, libs.bundles.gplay)
// endregion
// region common
+10 -10
View File
@@ -53,9 +53,9 @@ complexity:
active: false
threshold: 10
includeStaticDeclarations: false
ComplexMethod:
CyclomaticComplexMethod:
active: true
threshold: 10
threshold: 15
ignoreSingleWhenExpression: false
ignoreSimpleWhenEntries: false
excludes: ['**/androidTest/**']
@@ -67,10 +67,10 @@ complexity:
threshold: 600
LongMethod:
active: true
threshold: 60
threshold: 120
excludes: ['**/androidTest/**']
LongParameterList:
active: true
active: false
functionThreshold: 7
constructorThreshold: 6
ignoreDefaultParameters: false
@@ -87,7 +87,7 @@ complexity:
excludeStringsWithLessThan5Characters: true
ignoreStringsRegex: '$^'
TooManyFunctions:
active: true
active: false
thresholdInFiles: 15
thresholdInClasses: 15
thresholdInInterfaces: 15
@@ -158,7 +158,7 @@ exceptions:
ThrowingNewInstanceOfSameException:
active: false
TooGenericExceptionCaught:
active: true
active: false
exceptionNames:
- ArrayIndexOutOfBoundsException
- Error
@@ -170,7 +170,7 @@ exceptions:
- Throwable
allowedExceptionNameRegex: "^(_|(ignore|expected).*)"
TooGenericExceptionThrown:
active: true
active: false
exceptionNames:
- Error
- Exception
@@ -226,7 +226,7 @@ naming:
active: true
packagePattern: '^[a-z]+(\.[a-z][A-Za-z0-9]*)*$'
TopLevelPropertyNaming:
active: true
active: false
constantPattern: '[A-Z][_A-Z0-9]*'
propertyPattern: '[A-Za-z][_A-Za-z0-9]*'
privatePropertyPattern: '(_)?[A-Za-z][A-Za-z0-9]*'
@@ -346,7 +346,7 @@ style:
NestedClassesVisibility:
active: false
NewLineAtEndOfFile:
active: true
active: false
NoTabs:
active: false
OptionalAbstractKeyword:
@@ -362,7 +362,7 @@ style:
RedundantVisibilityModifierRule:
active: false
ReturnCount:
active: true
active: false
max: 2
excludedFunctions: [equals]
excludeLabeled: false
+10 -1
View File
@@ -15,7 +15,6 @@
</issue>
<issue id="InvalidPackage">
<ignore path="**/freemarker-2.*.*.jar" />
<ignore path="**/nnio-0.2.jar"/>
<ignore path="**/bcpkix-jdk15on-1.69.jar" />
</issue>
@@ -76,6 +75,11 @@
<ignore path="build" />
</issue>
<!-- Dagger factories generated for media3 @UnstableApi types cannot carry an @OptIn annotation. -->
<issue id="UnsafeOptInUsageError" severity="error">
<ignore path="build" />
</issue>
<issue id="ObsoleteLintCustomCheck" severity="warning">
<ignore path="**/fragment-1.2.5/**/lint.jar" />
<ignore path="**/work-runtime-2.**/**/lint.jar" />
@@ -86,6 +90,11 @@
<ignore path="**/appcompat-1.**/**/lint.jar" />
</issue>
<!-- Lint reads abiFilters as source text and cannot resolve allAbis; local debug builds skip x86 on purpose. -->
<issue id="ChromeOsAbiSupport">
<ignore path="build.gradle.kts" />
</issue>
<issue id="Aligned16KB">
<ignore path="**/arm64-v8a/libmockkjvmtiagent.so" />
</issue>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -99,7 +99,7 @@ class ActivitiesFragmentIT : AbstractIT() {
fun showActivities() {
val capability = OCCapability()
capability.versionMayor = 20
fileDataStorageManager.saveCapabilities(capability)
storageManager.saveCapabilities(capability)
val date = GregorianCalendar()
date.set(2005, 4, 17, 10, 35, 30)
@@ -8,37 +8,51 @@
*/
package com.nextcloud.client
import android.content.Intent
import android.os.Looper
import android.view.View
import androidx.appcompat.app.AlertDialog
import androidx.test.core.app.launchActivity
import androidx.test.core.app.ActivityScenario
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.isRoot
import com.nextcloud.client.preferences.SubFolderRule
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.datamodel.MediaFolderType
import com.owncloud.android.datamodel.SyncedFolder
import com.owncloud.android.datamodel.SyncedFolderDisplayItem
import com.owncloud.android.ui.activity.SyncedFoldersActivity
import com.owncloud.android.ui.dialog.SyncedFolderPreferencesDialogFragment.Companion.newInstance
import com.owncloud.android.ui.fragment.autoUpload.AutoUploadFragment
import com.owncloud.android.ui.navigation.NavigatorActivity
import com.owncloud.android.ui.navigation.NavigatorScreen
import com.owncloud.android.utils.ScreenshotTest
import org.junit.Test
class SyncedFoldersActivityIT : AbstractIT() {
private val testClassName = "com.nextcloud.client.SyncedFoldersActivityIT"
class AutoUploadFragmentIT : AbstractIT() {
private val testClassName = "com.nextcloud.client.AutoUploadFragmentIT"
private fun findFragment(sut: NavigatorActivity): AutoUploadFragment =
sut.supportFragmentManager.fragments.filterIsInstance<AutoUploadFragment>().firstOrNull()
?: throw IllegalStateException("AutoUploadFragment not found in NavigatorActivity!")
private fun launch(block: (ActivityScenario<NavigatorActivity>) -> Unit) {
val intent = NavigatorActivity.intent(targetContext, NavigatorScreen.AutoUpload)
ActivityScenario.launch<NavigatorActivity>(intent).use(block)
}
@Test
@ScreenshotTest
fun open() {
launchActivity<SyncedFoldersActivity>().use { scenario ->
launch { scenario ->
val screenShotName = createName(testClassName + "_" + "open", "")
onView(isRoot()).check(matches(isDisplayed()))
scenario.onActivity { sut ->
sut.adapter.clear()
screenshotViaName(sut.binding.emptyList.emptyListView, screenShotName)
val fragment = findFragment(sut)
fragment.adapter.clear()
val emptyListView = fragment.requireView().findViewById<View>(R.id.empty_list_view)
screenshotViaName(emptyListView, screenShotName)
}
}
}
@@ -67,15 +81,15 @@ class SyncedFoldersActivityIT : AbstractIT() {
SyncedFolder.NOT_SCANNED_YET
)
val intent = Intent(targetContext, SyncedFoldersActivity::class.java)
launchActivity<SyncedFoldersActivity>(intent).use { scenario ->
launch { scenario ->
val screenShotName = createName(testClassName + "_" + "testSyncedFolderDialog", "")
onView(isRoot()).check(matches(isDisplayed()))
scenario.onActivity { sut ->
val fragment = newInstance(item, 0)
fragment!!.show(sut.supportFragmentManager, "")
screenshot(fragment.requireDialog().window?.decorView, screenShotName)
val dialog = newInstance(item, 0) ?: throw IllegalStateException("Dialog could not be created")
dialog.show(findFragment(sut).childFragmentManager, "")
findFragment(sut).childFragmentManager.executePendingTransactions()
screenshot(dialog.requireDialog().window?.decorView, screenShotName)
}
}
}
@@ -87,18 +101,17 @@ class SyncedFoldersActivityIT : AbstractIT() {
Looper.prepare()
}
val intent = Intent(targetContext, SyncedFoldersActivity::class.java)
launchActivity<SyncedFoldersActivity>(intent).use { scenario ->
launch { scenario ->
var dialog: AlertDialog? = null
scenario.onActivity { sut ->
dialog = sut.buildPowerCheckDialog()
sut.showPowerCheckDialog()
val fragment = findFragment(sut)
dialog = fragment.buildPowerCheckDialog()
fragment.showPowerCheckDialog()
}
val screenShotName = createName(testClassName + "_" + "showPowerCheckDialog", "")
onView(isRoot()).check(matches(isDisplayed()))
screenshot(dialog!!.window?.decorView, screenShotName)
screenshot(dialog?.window?.decorView, screenShotName)
}
}
}
@@ -37,7 +37,7 @@ import com.owncloud.android.lib.resources.shares.OCShare
import com.owncloud.android.lib.resources.shares.ShareType
import com.owncloud.android.operations.CreateFolderOperation
import com.owncloud.android.ui.activity.FileDisplayActivity
import com.owncloud.android.ui.adapter.OCFileListItemViewHolder
import com.owncloud.android.ui.adapter.filelist.item.OCFileListItemViewHolder
import com.owncloud.android.utils.EspressoIdlingResource
import org.hamcrest.Matchers.allOf
import org.junit.After
@@ -23,6 +23,7 @@ import com.owncloud.android.R
import com.owncloud.android.lib.common.utils.Log_OC
import com.owncloud.android.ui.activity.FileDisplayActivity
import com.owncloud.android.ui.fragment.EmptyListState
import com.owncloud.android.ui.fragment.FabState
import com.owncloud.android.utils.ScreenshotTest
import org.junit.Assert
import org.junit.Rule
@@ -33,8 +34,7 @@ class FileDisplayActivityScreenshotIT : AbstractIT() {
@get:Rule
val permissionRule: GrantPermissionRule = GrantPermissionRule.grant(
Manifest.permission.WRITE_EXTERNAL_STORAGE,
Manifest.permission.POST_NOTIFICATIONS
Manifest.permission.WRITE_EXTERNAL_STORAGE
)
companion object {
@@ -49,7 +49,7 @@ class FileDisplayActivityScreenshotIT : AbstractIT() {
scenario.onActivity { sut ->
sut.run {
listOfFilesFragment?.let {
it.setFabEnabled(false)
it.setFabState(FabState.DISABLED)
resetScrolling(true)
it.setEmptyListMessage(EmptyListState.LOADING)
it.isLoading = false
@@ -79,7 +79,7 @@ class FileDisplayActivityScreenshotIT : AbstractIT() {
activity = sut
val fragment = sut.listOfFilesFragment
Assert.assertNotNull(fragment)
fragment!!.setFabEnabled(false)
fragment!!.setFabState(FabState.DISABLED)
fragment.setEmptyListMessage(EmptyListState.LOADING)
fragment.isLoading = false
}
@@ -92,7 +92,7 @@ class FileDisplayActivityScreenshotIT : AbstractIT() {
.perform(NavigationViewActions.navigateTo(R.id.nav_all_files))
val fragment = activity!!.listOfFilesFragment
fragment!!.setFabEnabled(false)
fragment!!.setFabState(FabState.DISABLED)
fragment.setEmptyListMessage(EmptyListState.LOADING)
fragment.isLoading = false
@@ -118,7 +118,7 @@ class FileDisplayActivityScreenshotIT : AbstractIT() {
resetScrolling(true)
listOfFilesFragment?.let {
it.setFabEnabled(false)
it.setFabState(FabState.DISABLED)
it.setEmptyListMessage(EmptyListState.LOADING)
it.isLoading = false
}
@@ -9,13 +9,11 @@
package com.nextcloud.client
import android.content.Intent
import android.os.Looper
import androidx.test.core.app.launchActivity
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.isRoot
import com.nextcloud.test.GrantStoragePermissionRule.Companion.grant
import com.owncloud.android.AbstractIT
import com.owncloud.android.datamodel.ArbitraryDataProviderImpl
import com.owncloud.android.ui.activity.RequestCredentialsActivity
@@ -23,17 +21,12 @@ import com.owncloud.android.ui.activity.SettingsActivity
import com.owncloud.android.utils.EncryptionUtils
import com.owncloud.android.utils.ScreenshotTest
import org.junit.Assert
import org.junit.Rule
import org.junit.Test
import org.junit.rules.TestRule
@Suppress("FunctionNaming")
class SettingsActivityIT : AbstractIT() {
private val testClassName = "com.nextcloud.client.SettingsActivityIT"
@get:Rule
var storagePermissionRule: TestRule = grant()
@Test
@ScreenshotTest
fun open() {
@@ -61,12 +54,8 @@ class SettingsActivityIT : AbstractIT() {
}
}
@Suppress("DEPRECATION")
@Test
fun showMnemonic() {
if (Looper.myLooper() == null) {
Looper.prepare()
}
val intent = Intent().apply {
putExtra(RequestCredentialsActivity.KEY_CHECK_RESULT, RequestCredentialsActivity.KEY_CHECK_RESULT_TRUE)
}
@@ -76,13 +65,10 @@ class SettingsActivityIT : AbstractIT() {
}
launchActivity<SettingsActivity>().use { scenario ->
onView(isRoot()).check(matches(isDisplayed()))
scenario.onActivity { sut ->
sut.handleMnemonicRequest(intent)
}
Looper.myLooper()?.quitSafely()
Assert.assertTrue(true)
}
}
@@ -8,7 +8,7 @@
*/
package com.nextcloud.client
import androidx.test.core.app.launchActivity
import androidx.test.core.app.ActivityScenario
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.contrib.DrawerActions
@@ -17,17 +17,19 @@ import androidx.test.espresso.matcher.ViewMatchers.isRoot
import androidx.test.espresso.matcher.ViewMatchers.withId
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.ui.activity.UploadListActivity
import com.owncloud.android.ui.navigation.NavigatorActivity
import com.owncloud.android.ui.navigation.NavigatorScreen
import com.owncloud.android.utils.ScreenshotTest
import org.junit.Test
class UploadListActivityActivityIT : AbstractIT() {
private val testClassName = "com.nextcloud.client.UploadListActivityActivityIT"
class UploadListFragmentIT : AbstractIT() {
private val testClassName = "com.nextcloud.client.UploadListFragmentIT"
@Test
@ScreenshotTest
fun openDrawer() {
launchActivity<UploadListActivity>().use { scenario ->
val intent = NavigatorActivity.intent(targetContext, NavigatorScreen.UploadList)
ActivityScenario.launch<NavigatorActivity>(intent).use { scenario ->
onView(isRoot()).check(matches(isDisplayed()))
onView(withId(R.id.drawer_layout)).perform(DrawerActions.open())
@@ -8,6 +8,7 @@
package com.nextcloud.client.assistant
import com.nextcloud.client.assistant.repository.remote.AssistantRemoteRepositoryImpl
import com.nextcloud.test.SinceServer
import com.owncloud.android.AbstractOnServerIT
import com.owncloud.android.lib.resources.assistant.v2.model.TaskTypeData
import com.owncloud.android.lib.resources.status.NextcloudVersion
@@ -17,20 +18,21 @@ import org.junit.Before
import org.junit.Test
@Suppress("MagicNumber")
@SinceServer(majorVersion = 28)
class AssistantRepositoryTests : AbstractOnServerIT() {
private var sut: AssistantRemoteRepositoryImpl? = null
@Before
fun setup() {
sut = AssistantRemoteRepositoryImpl(nextcloudClient, capability)
sut = AssistantRemoteRepositoryImpl(nextcloudClient, getCapability())
}
@Test
fun testGetTaskTypes() {
testOnlyOnServer(NextcloudVersion.nextcloud_28)
if (capability.assistant.isFalse) {
if (getCapability().assistant.isFalse) {
return
}
@@ -44,7 +46,7 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
fun testGetTaskList() {
testOnlyOnServer(NextcloudVersion.nextcloud_28)
if (capability.assistant.isFalse) {
if (getCapability().assistant.isFalse) {
return
}
@@ -58,7 +60,7 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
fun testCreateTask() {
testOnlyOnServer(NextcloudVersion.nextcloud_28)
if (capability.assistant.isFalse) {
if (getCapability().assistant.isFalse) {
return
}
@@ -81,23 +83,19 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
fun testDeleteTask() {
testOnlyOnServer(NextcloudVersion.nextcloud_28)
if (capability.assistant.isFalse) {
if (getCapability().assistant.isFalse) {
return
}
testCreateTask()
sleep(120)
runBlocking {
val taskList = sut?.getTaskList("assistant")
assertTrue(taskList != null)
sleep(120)
val taskId = taskList?.firstOrNull()?.id ?: return@runBlocking
assert((taskList?.size ?: 0) > 0)
val result = sut?.deleteTask(taskList!!.first().id)
val result = sut?.deleteTask(taskId)
assertTrue(result?.isSuccess == true)
}
}
@@ -101,7 +101,7 @@ class ContactsBackupIT : AbstractOnServerIT() {
fail("folderPath cannot be empty")
}
val folder = fileDataStorageManager.getFileByDecryptedRemotePath(folderPath)
val folder = storageManager.getFileByDecryptedRemotePath(folderPath)
if (folder == null) {
fail("folder cannot be null")
}
@@ -115,9 +115,9 @@ class ContactsBackupIT : AbstractOnServerIT() {
fail("ocFile.storagePath cannot be null")
}
assertTrue(DownloadFileOperation(user, ocFile, targetContext).execute(client).isSuccess)
assertTrue(DownloadFileOperation(user, ocFile!!, targetContext).execute(client).isSuccess)
val file = ocFile?.storagePath?.let { File(it) }
val file = ocFile.storagePath?.let { File(it) }
if (file == null) {
fail("file cannot be null")
}
@@ -16,7 +16,6 @@ import java.util.TreeMap
*
* The implementation is not thread-safe.
*/
@Suppress("TooManyFunctions")
class MockSharedPreferences : SharedPreferences {
class MockEditor(val store: MutableMap<String?, Any?>) : SharedPreferences.Editor {
@@ -9,10 +9,9 @@ package com.nextcloud.client.network
import android.accounts.AccountManager
import android.content.Context
import android.net.ConnectivityManager
import com.nextcloud.client.account.UserAccountManagerImpl
import com.nextcloud.client.core.ClockImpl
import com.nextcloud.client.network.ConnectivityServiceImpl.GetRequestBuilder
import com.nextcloud.operations.GetMethod
import com.owncloud.android.AbstractOnServerIT
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
@@ -21,15 +20,14 @@ import org.junit.Test
class ConnectivityServiceImplIT : AbstractOnServerIT() {
@Test
fun testInternetWalled() {
val connectivityManager = targetContext.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager
val accountManager = targetContext.getSystemService(Context.ACCOUNT_SERVICE) as AccountManager
val userAccountManager = UserAccountManagerImpl(targetContext, accountManager)
val clientFactory = ClientFactoryImpl(targetContext)
val requestBuilder = GetRequestBuilder()
val walledCheckCache = WalledCheckCache(ClockImpl())
val requestBuilder = GetRequestBuilder { url -> GetMethod(url, false) }
val walledCheckCache = WalledCheckCache()
val sut = ConnectivityServiceImpl(
connectivityManager,
targetContext,
userAccountManager,
clientFactory,
requestBuilder,
@@ -37,6 +35,6 @@ class ConnectivityServiceImplIT : AbstractOnServerIT() {
)
assertTrue(sut.connectivity.isConnected)
assertFalse(sut.isInternetWalled)
assertFalse(sut.isInternetWalled())
}
}
@@ -0,0 +1,138 @@
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2026 Daniele Verducci <[email protected]>
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.extensions
import android.graphics.Bitmap
import com.nextcloud.utils.extensions.areImageDimensionsSame
import com.owncloud.android.lib.resources.files.model.ImageDimension
import com.owncloud.android.lib.resources.files.model.RemoteFile
import org.junit.After
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Test
import java.io.File
import java.io.OutputStream
import java.nio.file.Files
import java.nio.file.Path
import kotlin.io.path.exists
class RemoteFileExtensionsImageTest {
private lateinit var tempDir: Path
private val remoteFileWithDimensions = RemoteFile().apply {
mimeType = "image/jpeg"
imageDimension = ImageDimension(IMAGE_WIDTH.toFloat(), IMAGE_HEIGHT.toFloat())
}
private val remoteFileWithoutDimensions = RemoteFile().apply {
mimeType = "image/jpeg"
imageDimension = null
}
@Test
fun testAreImageDimensionsSameWhenLocalFileIsNotImage_ShouldReturnTrue() {
// local not an image
assertTrue(
"comparing with non-image",
remoteFileWithDimensions.areImageDimensionsSame(getPath(TEXT_FILENAME).toString())
)
}
@Test
fun testAreImageDimensionsSame_ShouldReturnTrue() {
// same dimensions
assertTrue(
"comparing with same-size image",
remoteFileWithDimensions.areImageDimensionsSame(getPath(IMAGE_FILENAME).toString())
)
}
@Test
fun testAreImageDimensionsSame_ShouldReturnFalse() {
// different dimensions
val biggerRemoteImage = RemoteFile().apply {
mimeType = "image/jpeg"
imageDimension = ImageDimension((IMAGE_WIDTH * 2).toFloat(), IMAGE_HEIGHT.toFloat())
}
assertFalse(
"comparing with different-size image",
biggerRemoteImage.areImageDimensionsSame(getPath(IMAGE_FILENAME).toString())
)
}
@Test
fun testAreImageDimensionsSameWhenLocalFileHasNoDimensions_ShouldReturnTrue() {
// local file with null dimensions
assertTrue(
"comparing null-dimensions local file with valid remote file",
remoteFileWithoutDimensions.areImageDimensionsSame(getPath(TEXT_FILENAME).toString())
)
}
@Test
fun testAreImageDimensionsSameWhenRemoteFileHasNoDimensions_ShouldReturnTrue() {
// remote file with null dimensions
assertTrue(
"comparing with null-dimensions remote file",
remoteFileWithoutDimensions.areImageDimensionsSame(getPath(IMAGE_FILENAME).toString())
)
}
@Test
fun testAreImageDimensionsSameWhenBothFilesHaveNoDimensions_ShouldReturnTrue() {
// both files with null dimensions
assertTrue(
"comparing null-dimensions local file with null-dimensions remote file",
remoteFileWithoutDimensions.areImageDimensionsSame(getPath(TEXT_FILENAME).toString())
)
}
@After
fun cleanup() {
val tf = File(getPath(TEXT_FILENAME).toUri())
val imgf = File(getPath(IMAGE_FILENAME).toUri())
tf.delete()
imgf.delete()
}
@Before
fun setup() {
tempDir = Files.createTempDirectory(TMP_DIR)
assertTrue("Temp directory should exist", tempDir.exists())
createImageFile()
createTextFile()
}
private fun getPath(filename: String): Path = tempDir.resolve("test_$filename")
private fun createImageFile() {
val bitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_HEIGHT, Bitmap.Config.ARGB_8888)
val imagePath = getPath(IMAGE_FILENAME)
Files.newOutputStream(imagePath).use { out: OutputStream ->
bitmap.compress(Bitmap.CompressFormat.JPEG, 90, out)
}
assertTrue(imagePath.exists())
}
private fun createTextFile() {
val f = File(getPath(TEXT_FILENAME).toUri())
f.writeText("Lorem ipsum")
}
companion object {
val TMP_DIR = "remoteFileExtensionsTest"
val TEXT_FILENAME = "text.txt"
val IMAGE_FILENAME = "image.jpg"
val IMAGE_WIDTH = 123
val IMAGE_HEIGHT = 45
}
}
@@ -11,7 +11,6 @@ import junit.framework.TestCase.assertFalse
import junit.framework.TestCase.assertTrue
import org.junit.Test
@Suppress("TooManyFunctions")
class StringExtensionTests {
@Test
fun testIsNotBlankAndEqualsWhenGivenBothStringsAreNull() {
@@ -1,23 +0,0 @@
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2025 Philipp Hasper <[email protected]>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.test
import com.nextcloud.client.network.Connectivity
import com.nextcloud.client.network.ConnectivityService
/** A mocked connectivity service returning that the device is offline **/
class ConnectivityServiceOfflineMock : ConnectivityService {
override fun isNetworkAndServerAvailable(callback: ConnectivityService.GenericCallback<Boolean>) {
callback.onComplete(false)
}
override fun isConnected(): Boolean = false
override fun isInternetWalled(): Boolean = false
override fun getConnectivity(): Connectivity = Connectivity.CONNECTED_WIFI
}
@@ -0,0 +1,51 @@
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.test
import android.os.ParcelFileDescriptor
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.rules.TestRule
import org.junit.runner.Description
import org.junit.runners.model.Statement
/**
* Disables system animations for the duration of the test.
*
* Espresso requires that no view keeps requesting layout while it waits for the root window. Animated components such
* as [com.google.android.material.snackbar.Snackbar] keep animating unless the global animation scales are set to zero.
* The Gradle `animationsDisabled` option only passes `--no-window-animation`, which leaves `animator_duration_scale`
* untouched, so animations still run on CI. This rule zeroes all scales directly via a shell command.
*/
class DisableAnimationsRule : TestRule {
override fun apply(base: Statement, description: Description): Statement = object : Statement() {
override fun evaluate() {
setAnimationScale("0.0")
try {
base.evaluate()
} finally {
setAnimationScale("1.0")
}
}
}
private fun setAnimationScale(scale: String) {
val uiAutomation = InstrumentationRegistry.getInstrumentation().uiAutomation
SCALE_SETTINGS.forEach { setting ->
val descriptor = uiAutomation.executeShellCommand("settings put global $setting $scale")
ParcelFileDescriptor.AutoCloseInputStream(descriptor).use { it.readBytes() }
}
}
companion object {
private val SCALE_SETTINGS = listOf(
"window_animation_scale",
"transition_animation_scale",
"animator_duration_scale"
)
}
}
@@ -22,22 +22,20 @@ import org.junit.Test
import java.io.File
import kotlin.random.Random
@Suppress("TooManyFunctions", "MagicNumber")
@Suppress("MagicNumber")
class FileDeletionTests : AbstractIT() {
private lateinit var tempDir: File
private val createdFilePaths = mutableListOf<String>()
@Before
fun setup() {
val parent = System.getProperty("java.io.tmpdir")
val childPath = "file_deletion_test_${System.currentTimeMillis()}"
tempDir = File(parent, childPath)
tempDir.mkdirs()
createdFilePaths.clear()
}
@After
fun cleanup() {
tempDir.deleteRecursively()
createdFilePaths.forEach { File(it).delete() }
createdFilePaths.clear()
}
private fun getRandomRemoteId(): String = Random
@@ -45,6 +43,17 @@ class FileDeletionTests : AbstractIT() {
.toString()
.padEnd(32, '0')
private fun createFileAtExpectedPath(ocFile: OCFile, content: String = "Temporary test content"): File {
val expectedPath = FileStorageUtils.getDefaultSavePathFor(user.accountName, ocFile)
val localFile = File(expectedPath).apply {
parentFile?.mkdirs()
createNewFile()
writeText(content)
}
createdFilePaths.add(localFile.absolutePath)
return localFile
}
private fun createAndSaveSingleFileWithLocalCopy(): OCFile {
val now = System.currentTimeMillis()
@@ -59,11 +68,7 @@ class FileDeletionTests : AbstractIT() {
permissions = "RWDNV"
}
val localFile = File(tempDir, "TestFile_${file.fileId}.txt").apply {
parentFile?.mkdirs()
createNewFile()
writeText("Temporary test content")
}
val localFile = createFileAtExpectedPath(file)
file.storagePath = localFile.absolutePath
storageManager.saveFile(file)
@@ -117,11 +122,11 @@ class FileDeletionTests : AbstractIT() {
listOf(rootFolder, subFolder, file1, file2).forEach { storageManager.saveFile(it) }
val file1Path = File(tempDir, "file1_${file1.fileId}.txt").apply { createNewFile() }
val file2Path = File(tempDir, "file2_${file2.fileId}.txt").apply { createNewFile() }
val localFile1 = createFileAtExpectedPath(file1)
val localFile2 = createFileAtExpectedPath(file2)
file1.storagePath = file1Path.absolutePath
file2.storagePath = file2Path.absolutePath
file1.storagePath = localFile1.absolutePath
file2.storagePath = localFile2.absolutePath
storageManager.saveFile(file1)
storageManager.saveFile(file2)
@@ -132,69 +137,85 @@ class FileDeletionTests : AbstractIT() {
private fun getMixedOcFiles(): List<OCFile> {
val now = System.currentTimeMillis()
fun createFolder(id: Long, parentId: Long, path: String): OCFile = OCFile(path).apply {
fileId = id
fun saveFolder(parentId: Long, path: String): OCFile = OCFile(path).apply {
this.parentId = parentId
remoteId = getRandomRemoteId()
mimeType = MimeType.DIRECTORY
creationTimestamp = now
modificationTimestamp = now
permissions = "RWDNVCK"
}
}.also { storageManager.saveFile(it) }
fun createFile(id: Long, parentId: Long, path: String, size: Long, mime: String): OCFile = OCFile(path).apply {
fileId = id
this.parentId = parentId
remoteId = getRandomRemoteId()
fileLength = size
creationTimestamp = now
mimeType = mime
modificationTimestamp = now
permissions = "RWDNV"
}
val list = mutableListOf<OCFile>()
list.add(createFolder(1, 0, "/"))
list.add(createFolder(5, 2, "/Documents/Projects"))
list.add(createFile(9, 5, "/Documents/Projects/spec.txt", 12000, MimeType.TEXT_PLAIN))
list.add(createFolder(2, 1, "/Documents"))
list.add(createFile(11, 7, "/Photos/Vacation/img2.jpg", 300000, MimeType.JPEG))
list.add(createFolder(7, 3, "/Photos/Vacation"))
list.add(createFile(4, 2, "/Documents/example.pdf", 150000, MimeType.PDF))
list.add(createFolder(3, 1, "/Photos"))
list.add(createFile(12, 3, "/Photos/cover.png", 80000, MimeType.PNG))
list.add(createFile(6, 5, "/Documents/Projects/readme.txt", 2000, MimeType.TEXT_PLAIN))
list.add(createFolder(8, 5, "/Documents/Projects/Archive"))
list.add(createFile(13, 8, "/Documents/Projects/Archive/old.bmp", 900000, MimeType.BMP))
list.add(createFile(10, 7, "/Photos/Vacation/img1.jpg", 250000, MimeType.JPEG))
list.add(createFolder(14, 1, "/Temp"))
list.add(createFile(15, 14, "/Temp/tmp_file_1.txt", 400, MimeType.TEXT_PLAIN))
list.add(createFile(16, 14, "/Temp/tmp_file_2.txt", 800, MimeType.TEXT_PLAIN))
list.add(createFolder(17, 14, "/Temp/Nested"))
list.add(createFile(18, 17, "/Temp/Nested/deep.txt", 100, MimeType.TEXT_PLAIN))
list.add(createFile(19, 2, "/Documents/notes.txt", 1500, MimeType.TEXT_PLAIN))
list.add(createFolder(20, 3, "/Photos/EmptyFolder"))
list.forEach { ocFile ->
if (!ocFile.isFolder) {
val localFile = File(tempDir, ocFile.remoteId).apply {
parentFile?.mkdirs()
createNewFile()
writeText("test content")
}
ocFile.storagePath = localFile.absolutePath
storageManager.saveFile(ocFile)
} else {
// For folders, create the folder in tempDir
val localFolder = File(tempDir, ocFile.remoteId).apply { mkdirs() }
ocFile.storagePath = localFolder.absolutePath
storageManager.saveFile(ocFile)
fun saveFileWithLocalCopy(parentId: Long, path: String, size: Long, mime: String): OCFile {
val ocFile = OCFile(path).apply {
this.parentId = parentId
remoteId = getRandomRemoteId()
fileLength = size
creationTimestamp = now
mimeType = mime
modificationTimestamp = now
permissions = "RWDNV"
storagePath = FileStorageUtils.getDefaultSavePathFor(user.accountName, this)
}
val localFile = File(ocFile.storagePath).apply {
parentFile?.mkdirs()
createNewFile()
writeText("test content")
}
createdFilePaths.add(localFile.absolutePath)
storageManager.saveFile(ocFile)
return ocFile
}
return list
val root = saveFolder(0, "/")
val documents = saveFolder(root.fileId, "/Documents")
val photos = saveFolder(root.fileId, "/Photos")
val temp = saveFolder(root.fileId, "/Temp")
val projects = saveFolder(documents.fileId, "/Documents/Projects")
val vacation = saveFolder(photos.fileId, "/Photos/Vacation")
val archive = saveFolder(projects.fileId, "/Documents/Projects/Archive")
val nested = saveFolder(temp.fileId, "/Temp/Nested")
val emptyFolder = saveFolder(photos.fileId, "/Photos/EmptyFolder")
val allEntries = mutableListOf(root, documents, photos, temp, projects, vacation, archive, nested, emptyFolder)
allEntries.add(
saveFileWithLocalCopy(
projects.fileId,
"/Documents/Projects/spec.txt",
12000,
MimeType.TEXT_PLAIN
)
)
allEntries.add(saveFileWithLocalCopy(vacation.fileId, "/Photos/Vacation/img2.jpg", 300000, MimeType.JPEG))
allEntries.add(saveFileWithLocalCopy(documents.fileId, "/Documents/example.pdf", 150000, MimeType.PDF))
allEntries.add(saveFileWithLocalCopy(photos.fileId, "/Photos/cover.png", 80000, MimeType.PNG))
allEntries.add(
saveFileWithLocalCopy(
projects.fileId,
"/Documents/Projects/readme.txt",
2000,
MimeType.TEXT_PLAIN
)
)
allEntries.add(
saveFileWithLocalCopy(
archive.fileId,
"/Documents/Projects/Archive/old.bmp",
900000,
MimeType.BMP
)
)
allEntries.add(saveFileWithLocalCopy(vacation.fileId, "/Photos/Vacation/img1.jpg", 250000, MimeType.JPEG))
allEntries.add(saveFileWithLocalCopy(temp.fileId, "/Temp/tmp_file_1.txt", 400, MimeType.TEXT_PLAIN))
allEntries.add(saveFileWithLocalCopy(temp.fileId, "/Temp/tmp_file_2.txt", 800, MimeType.TEXT_PLAIN))
allEntries.add(saveFileWithLocalCopy(nested.fileId, "/Temp/Nested/deep.txt", 100, MimeType.TEXT_PLAIN))
allEntries.add(saveFileWithLocalCopy(documents.fileId, "/Documents/notes.txt", 1500, MimeType.TEXT_PLAIN))
return allEntries.sortedWith(
compareBy<OCFile> { it.isFolder }
.thenByDescending { it.remotePath.count { c -> c == '/' } }
)
}
@Test
@@ -9,7 +9,6 @@ package com.nextcloud.test
import androidx.test.espresso.IdlingResource
import com.owncloud.android.datamodel.FileDataStorageManager
import com.owncloud.android.datamodel.OCFile
import java.util.concurrent.atomic.AtomicLong
import java.util.concurrent.atomic.AtomicReference
/**
@@ -0,0 +1,11 @@
/*
* Nextcloud - Android Client
*
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
package com.nextcloud.test
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
annotation class Flaky(val reason: String)
Loaded 100 of 1272 files, more files were not shown because too many files have changed in this diff. Show more