Commit graph

5741 commits

Author SHA1 Message Date
alperozturk
7b6a659517
Fix delete behaviour
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:22 +02:00
alperozturk
8deb506e5d
Add FileOperationHelper
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:22 +02:00
alperozturk
153fd9b049
Add FileOperationHelper
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:22 +02:00
alperozturk
98bab61143
Fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:22 +02:00
alperozturk
9dcdb7d05b
Simplify ConflictResolveDialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:22 +02:00
alperozturk
ae5064d9a5
Simplify usage of ConflictResolveDialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:22 +02:00
alperozturk
15997940a6
Rename conflict dialog resolver binding variables
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:21 +02:00
alperozturk
dfd13650d6
Add KEEP_OFFLINE_FOLDER click
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:21 +02:00
alperozturk
7aac89d1d7
Add KEEP_SERVER_FOLDER click
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:21 +02:00
alperozturk
986d0848fc
Add KEEP_BOTH_FOLDER click
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:21 +02:00
alperozturk
2f4ee1f392
Add handleFolderConflict
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:21 +02:00
alperozturk
05f6aaa94c
Add folder conflict UI for ConflictResolveDialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:21 +02:00
alperozturk
5382c89aa5
Prevent multiple action and unnecessary folder check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:21 +02:00
alperozturk
d5747ab028
Use hashmap rather than pair of arraylist string
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:20 +02:00
alperozturk
3401386920
Add OfflineFolderConflictManager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:20 +02:00
alperozturk
1f8ca36f53
Remove global scope
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:20 +02:00
alperozturk
95599bc4de
Handle offline operations better
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:20 +02:00
alperozturk
a9f847ead4
Remove static network checker function use connectivity service
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:20 +02:00
alperozturk
26b0e685a0
Add notification for conflict resolve
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:20 +02:00
alperozturk
230f65a158
Add folderSyncConflictEventReceiver
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:20 +02:00
alperozturk
2aa5312410
Add RemoteOperationResultExtensions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
5fa1168394
Add retry button for offline operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
0b5736e3d7
Handle error case and notification for it
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
12e47bb290
Remove unnecessary update function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
e247cf1a08
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
33e2257d5a
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
5b85d6d349
Add notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:18 +02:00
alperozturk
22732c99f4
Add notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:18 +02:00
alperozturk
738188942a
Fix nested folder creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:18 +02:00
alperozturk
0d8a44fb3a
solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:18 +02:00
alperozturk
a83c51124f
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:16 +02:00
alperozturk
c2a6f5da86
Add rename logic for create offline operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:01 +02:00
alperozturk
02c4968a51
Prevent copy and move for offline operation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:01 +02:00
alperozturk
957bca4936
Simplify oc file list adapter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
8f0da11fb6
Rename view holder interface for prevent confusion
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
5dab3e81fb
Use dagger for file data storage manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
e8ad814870
Simplify
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
6b77f06e09
add remove feature for offline operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
b3e71bd4e1
add folder conflict check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
9968a6ec04
add folder conflict check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:08:59 +02:00
alperozturk
ea8d9878be
Fix Refresh folder after worker completed
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:08:59 +02:00
alperozturk
8b170c7358
Refresh folder after worker completed
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:08:57 +02:00
alperozturk
976187c44a
Better approach to check table columns
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:07:40 +02:00
alperozturk
2dbc46406a
Refactor async await logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:07:40 +02:00
alperozturk
f44d89c7ec
Use async await for better handling operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:07:29 +02:00
alperozturk
1af6b4b89f
Remove network constrait for periodically offline operation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:59 +02:00
alperozturk
c8a6d819d3
Remove network constrait for periodically offline operation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:59 +02:00
alperozturk
27897950fe
Change interval time
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:59 +02:00
alperozturk
bf198392e6
Add startPeriodicallyOfflineOperation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
6f8d4bacb2
fix color filter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
e43c29fae5
not use type converter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
2a9b995461
Use non-static variables
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
016b0fd4d6
Add OfflineOperationsWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
3dd21f84f6
add filterActionsForOfflineOperations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
570984adf0
add filterActionsForOfflineOperations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
4ab29f0cd3
applyVisualsForOfflineOperations for grid mode
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
efbd8202a3
applyVisualsForOfflineOperations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
9a47b05b17
Refresh folder after offline folder creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
bdfa64ee2d
Simplify extension
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
b2a8481124
Simplify extension
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
9b64d7bed2
Check visibility of buttons depends on remote id
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
d5f8513857
Complete addCreateFolderOfflineOperation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
bc12270740
Add addCreateFolderOfflineOperation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
8fb67102c5
Add TypeConverters for Offline Operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
231b35477d
Add OfflineOperationEntity dao
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
e5dcf45e06
Add OfflineOperationEntity
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
8c2750a4c1
rebase to master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
cb7c47ea54
Add global boolean value to observe network status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
e0776d8c37
Check internet connection on MainApp
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:54 +02:00
Andy Scherzinger
9c21d8ef74
Merge pull request #13472 from nextcloud/bugfix/launcher-activity-it-tests
BugFix - LauncherActivityIT Tests
2024-09-03 12:02:29 +02:00
Andy Scherzinger
ff356197e3
Merge pull request #13487 from nextcloud/bugfix/check-shimmering-effect
BugFix - Check Thumbnail Existence and Shimmering
2024-09-03 12:01:43 +02:00
Andy Scherzinger
87b2e81cde
Merge pull request #13471 from nextcloud/bugfix/observe-worker-state
BugFix - Observe Worker State
2024-09-03 12:01:24 +02:00
Tobias Kaminsky
7b1f0bb4e0 daily dev 20240903
Update Nextcloud Android library
2024-09-03 03:50:28 +02:00
Tobias Kaminsky
a4181adf21 Merge remote-tracking branch 'origin/master' into dev 2024-09-03 03:42:14 +02:00
renovate[bot]
8fb304a6b1
fix(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.21
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 17:03:43 +00:00
Nextcloud bot
28484420c4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-02 02:51:14 +00:00
Nextcloud bot
6f0ff1115d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-01 02:56:21 +00:00
Tobias Kaminsky
cbf14860ba daily dev 20240831
Update Nextcloud Android library
2024-08-31 03:46:39 +02:00
Tobias Kaminsky
33db9e5eca Merge remote-tracking branch 'origin/master' into dev 2024-08-31 03:39:37 +02:00
Nextcloud bot
70ac224a25
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-30 05:18:43 +00:00
alperozturk
79481fc0e1
Delete comment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-29 12:31:44 +02:00
alperozturk
8d5fe93192
Check thumbnail existence and shimmering
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-29 12:31:44 +02:00
Nextcloud bot
45e3febb96
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-29 02:50:14 +00:00
Nextcloud bot
f590a3b65e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-28 02:51:27 +00:00
alperozturk
8dbe86ab34 Code analytics fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-27 10:15:52 +02:00
alperozturk
b1d4850736 Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-27 10:15:52 +02:00
Nextcloud bot
4e9d6ac1dd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-27 02:49:51 +00:00
Tobias Kaminsky
fa4dd3af39 daily dev 20240827
Update Nextcloud Android library
2024-08-27 03:46:34 +02:00
Tobias Kaminsky
3cdd2f0fa2 Merge remote-tracking branch 'origin/master' into dev 2024-08-27 03:39:42 +02:00
alperozturk
7a12346abc
Revert test class names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-26 16:38:53 +02:00
alperozturk
39771fb319
Refresh list when upload is finished
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-26 16:29:37 +02:00
alperozturk
34acd9fb66
Observe worker state properly
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-26 16:05:44 +02:00
tobiasKaminsky
82c6956566 Internal two way sync
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-26 08:58:41 +02:00
Nextcloud bot
24eb7f02e8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-26 02:45:06 +00:00
Nextcloud bot
b14bc1d19e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-25 03:15:18 +00:00
Tobias Kaminsky
3d6cc7fb99 daily dev 20240825
Update Nextcloud Android library
2024-08-25 02:41:29 +02:00
Tobias Kaminsky
63ce46ad06 Merge remote-tracking branch 'origin/master' into dev 2024-08-25 02:34:23 +02:00
Andy Scherzinger
af880a4c3e
Merge pull request #13456 from nextcloud/refactor/setup-dialog
Refactor Setup Dialog
2024-08-24 07:42:56 +02:00
Nextcloud bot
fd09a82f62
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-24 02:48:39 +00:00
Tobias Kaminsky
cda8e52cd5 daily dev 20240824
Update Nextcloud Android library
2024-08-24 03:48:37 +02:00