Commit graph

24929 commits

Author SHA1 Message Date
alperozturk
9879e17a98
Fixes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:23 +02:00
alperozturk
e470b5577d
Fix nested folder creation inside the existed folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:23 +02:00
alperozturk
efaaaba93a
Fix parent path for keep_both decision
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:23 +02:00
alperozturk
501f139716
updatePathsIfParentPathMatches
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:23 +02:00
alperozturk
0a87eeba88
Fix nested folder creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:23 +02:00
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