Commit graph

25672 commits

Author SHA1 Message Date
alperozturk
c4f9579447
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:59 +02:00
alperozturk
60aa0a0b99
Add doc for buildOCFilesFromShares
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:59 +02:00
alperozturk
9a32ddb508
Add doc for addOfflineOperations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:58 +02:00
alperozturk
55a48c1caf
Fix license header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:58 +02:00
alperozturk
be56a27f08
Fix license for new icon
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:58 +02:00
alperozturk
4c65078a47
Fix delete function for file
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:58 +02:00
alperozturk
1e61fdeb4e
fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:58 +02:00
alperozturk
8e89a46c4c
better worker impl
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:58 +02:00
alperozturk
fd01a10f28
Check e2e setup only via internet
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:58 +02:00
alperozturk
40b5821762
Add SearchType.OFFLINE_MODE
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:57 +02:00
alperozturk
086378f8d9
remove unused variable
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:57 +02:00
alperozturk
a8551fa456
optimization for addOfflineOperations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:57 +02:00
alperozturk
51380469a1
Remove parent path, no need to check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:57 +02:00
alperozturk
b9284641ea
add todo
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:57 +02:00
alperozturk
da2e083684
Fix concurrent modification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:57 +02:00
alperozturk
7e035847a2
Fix paths
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:56 +02:00
alperozturk
21333d16a0
Add offlineOperations to the adapter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:56 +02:00
alperozturk
f1374368ad
Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:56 +02:00
alperozturk
e1def9b20b
use refreshCurrentDirectory for create folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:56 +02:00
alperozturk
b2829124eb
Add callback for isNetworkAndServerAvailable, remove repeated thread handling logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:56 +02:00
alperozturk
8605bacf0e
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:56 +02:00
alperozturk
9ab36dd052
Add rename support for file itself
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:56 +02:00
alperozturk
844aff3211
Add rename support for file itself
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:55 +02:00
alperozturk
66cef346e2
Fix rename for uploading files
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:55 +02:00
alperozturk
764b20e50a
wont user let open the file when device is offline
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:55 +02:00
alperozturk
929b674dab
Fix duplication
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:55 +02:00
alperozturk
16809a654a
Fix type conversions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:53 +02:00
alperozturk
091a01590b
setParentPath only for already created folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:36:31 +02:00
alperozturk
ca56dcaacd
Filter menu action for file
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:36:31 +02:00
alperozturk
7086859be9
Add offline file entity creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:36:31 +02:00
alperozturk
0a09e55ded
Enable upload files when device dont have internet
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:36:31 +02:00
alperozturk
86bc1d950a
Add mime type for create file
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:36:31 +02:00
alperozturk
b0e7a2e5e8
Add type adapter to get sealed class variables
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:36:30 +02:00
alperozturk
25484803bb
Add file creation operation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:36:30 +02:00
tobiasKaminsky
a7af4fae42 allow to copy a file/folder into its own folder -> makes a copy
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-10-08 14:34:40 +02:00
Tobias Kaminsky
8fdba73b92
Merge pull request #13599 from nextcloud/bugfix/filter-root
BugFix - Filter Root
2024-10-08 14:13:42 +02:00
alperozturk
484d45f6c4
reduce lint
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:40 +02:00
alperozturk
d903b9151e
handle exceptions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:40 +02:00
alperozturk
cfd5bc29c0
fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:39 +02:00
alperozturk
4d234dc3d1
do db operations in background thread
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:39 +02:00
alperozturk
fbb7317664
rename functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:39 +02:00
alperozturk
6690352b08
add getTopParent function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:39 +02:00
alperozturk
7ea3fa7909
split onBrowseUp into functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:39 +02:00
alperozturk
0906c33bc1
optimize browse up
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:39 +02:00
alperozturk
daecdbfbaa
fix parent finding
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:39 +02:00
alperozturk
17d97f11c7
add getParentByFilterType
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:38 +02:00
alperozturk
9b40ac89ca
remove duplicated code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:38 +02:00
alperozturk
514fd7e8ce
fix root filtering after press back
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:38 +02:00
alperozturk
730b06eda7
Fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:38 +02:00
alperozturk
5eb0d206a2
Add TODO comments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:38 +02:00