Commit graph

25951 commits

Author SHA1 Message Date
alperozturk
07db2f09f4
Remove top dir checks
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:25 +02:00
alperozturk
25679b3edb
Add getAllSubdirectories
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:25 +02:00
alperozturk
883897eda2
try id
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:25 +02:00
alperozturk
d779ee1c8c
Cleanup extensions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:25 +02:00
alperozturk
5fcebaef70
Update sub-directories after rename
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:25 +02:00
alperozturk
a9e3ef99d0
Fix parent path finding
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:25 +02:00
alperozturk
85582d48b0
Dont show if any file is offline
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:24 +02:00
alperozturk
03ea98c3e0
deleteSubDirIfParentPathMatches
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:24 +02:00
alperozturk
a83ab214ce
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:24 +02:00
alperozturk
a71593a712
Remove unused resource
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:24 +02:00
alperozturk
514a0225f4
Remove unused resource
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:24 +02:00
alperozturk
ef5520f164
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:24 +02:00
alperozturk
3a8ebaf871
Fix git conflicts for converted kt file
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:23 +02:00
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