Commit graph

5882 commits

Author SHA1 Message Date
Tobias Kaminsky
411f70ab42 daily dev 20240905 2024-09-05 02:37:32 +02:00
Tobias Kaminsky
ec228a3179 Merge remote-tracking branch 'origin/master' into dev 2024-09-05 02:31:14 +02:00
Andy Scherzinger
8f42be49cc
Merge pull request #13408 from nextcloud/feature/offline-create-folder-operation
Feature - Create Folder When Device Don't Have Internet Connection
2024-09-04 09:42:43 +02:00
Nextcloud bot
3f2c5172f5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-04 02:52:44 +00:00
Tobias Kaminsky
53698a2387 daily dev 20240904 2024-09-04 02:37:28 +02:00
Tobias Kaminsky
afaef3bc3b Merge remote-tracking branch 'origin/master' into dev 2024-09-04 02:31:25 +02:00
alperozturk
b02e46aa84
Fix NPE for info box
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 13:15:41 +02:00
alperozturk
39728f5783
Fix wrong interface name
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:23:01 +02:00
alperozturk
3a93e37158
Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:13:18 +02:00
alperozturk
abc85a87e8
Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:27 +02:00
alperozturk
212edbf888
handle while loop better
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:27 +02:00
alperozturk
c59a3ea577
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:27 +02:00
alperozturk
05b0ab040c
performance optimization
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:27 +02:00
alperozturk
4eda0ef296
apply KT Spotless
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:27 +02:00
alperozturk
6af4c3c397
Only update necessary sub-dirs
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:27 +02:00
alperozturk
c74818464e
Fix listDirectory call
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:27 +02:00
alperozturk
3812f8cbfc
Fix keep both without path manipulation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:26 +02:00
alperozturk
f0179d86f8
Faster currentDir refresh
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:26 +02:00
alperozturk
ed7a1bfc15
Use repository instead extensions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:26 +02:00
alperozturk
9913519f72
Fix duplicated old dir recreation after rename
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:26 +02:00
alperozturk
2011f6a155
Remove path manipulation for rename
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:26 +02:00
alperozturk
1f58ef1e04
Remove extension tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:26 +02:00
alperozturk
dd36d0bb83
Remove path checks for deleteOperation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:25 +02:00
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
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
Tobias Kaminsky
979297e9d2 Merge remote-tracking branch 'origin/master' into dev 2024-08-24 03:40:00 +02:00
alperozturk
374f5c72fb Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
a411e38ae7 Remove unused class
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
2028cda66d update license headers
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
2e8e71d783 refactor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
4a72438a7e refactor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
44948e5945 solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
Tobias Kaminsky
e43bf10053
Merge pull request #13455 from nextcloud/refactor/general-code-cleanup
Refactor - Utils Code Cleanup
2024-08-23 16:44:14 +02:00
tobiasKaminsky
7cf25cfdbe Gplay: do not allow to download APK/AAB
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-23 15:43:08 +02:00
alperozturk
68a6f9f774 refactor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 15:42:13 +02:00
alperozturk
425288eb17
Fix license header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 14:47:56 +02:00
alperozturk
f34a8763bf
Update screenshots
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 14:30:43 +02:00
alperozturk
9cc13cced3
Suppress codacy checks
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:47:50 +02:00
tobiasKaminsky
3e0bb40a1b fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-23 13:24:21 +02:00
alperozturk
cfa5e96aeb Update error texts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
3889dab1f7 Add check to share
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
ff32c0a8c8 Add check to folderOnItemClick
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
edb9deeea1 Show specific one invalid file name before move or copy if file name is wrong
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
6ac22071cf Fix click effect
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
bcd9941a11 Highlight selected template
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
50f7639c37 Check url emptiness
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
72fc1d0def During folder creating wont allow to user to press create button when folder name empty in initial phase
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
bcfde98cd1 Browse to root if file in incorrect folder path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
cbf9d869a9 Check file name before move or copy
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
cf607f4ca4 Add folder path check for choose auto upload directory and move or copy. And check button states
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
3831343514 Only show alert dialog for sharing invalid file
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
1725538400 Fix test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
e197d8733a Remove unnecessary check for move or copy
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
f0cd067b5f Update new names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
a845acf187 Lowercase to backend response
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
c52ee55adc Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
d472a92e32 Update tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
577ee33c43 Add base names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
d22beb6c5b Fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
15bf9d4f31 Use backend response for validation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
436f0de8d1 Add test for forbidden file name extension
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
53650b92c7 Add forbidden file name extensions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
b373e249d9 Remove unnecessary assingment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
a5552a635b Add checks for copy, move, rename from file manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
0a802e8833 Check template creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
ec3e9cfc0c Check folder creation from other file manager apps
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
03281fa85e Check folder creation from other file manager apps
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
ab4b63f327 Check isFileNameAlreadyExist when existedFileNames available
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
eeb711052e Add dot and space strings globally
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
aa67830941 Add todos
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
27774fca78 Check file names for upload content from other apps
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
63e7c298ca add documentation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
59683a25e1 Refactor current logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
c74254918a Fix folderPaths check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
15f9fcce25 Check file name before add new file
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
5c6439f111 Convert to Kotlin
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
34055bbfea Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
b6a732cdfd Add checks for move or copy
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
7e85d80d8e Simplify checkInvalidCharacters
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
94b6e91909 Extract checkInvalidCharacters
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
366a384653 Add new capability to the local DB
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
5800a45c22 Add forbiddenFilenameCharacterList values coming from server
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
5d36d76175 Add New OCCapabilities
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
d48b043e02 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00