Commit graph

5247 commits

Author SHA1 Message Date
alperozturk
c5c7e9f305
no need migration, just drop not used column
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:51 +02:00
alperozturk
3463124f6f
revert 84 changes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:51 +02:00
alperozturk
0f9b27e184
remove unnecessary 86 db version
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:51 +02:00
alperozturk
be14914bcf
remove unnecessary migration
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:51 +02:00
alperozturk
3f8644ecd5
Add Migration 85 to 86
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:51 +02:00
alperozturk
70b689a548
fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:51 +02:00
alperozturk
f00a896bd5
renaming handler variable
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:51 +02:00
alperozturk
775b1f6975
Fixes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:50 +02:00
alperozturk
be309d53cc
Refresh list if internet connection is back
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:50 +02:00
alperozturk
b5c935c4c6
Add thumbnail for offline operation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:48 +02:00
alperozturk
5265782e16
Fix creation and modification date
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:00 +02:00
alperozturk
0a250857bf
Fix testConfirmationDialogWithThreeActionRTL ss-test
java.lang.IllegalStateException: Fragment OCFileListFragment{e3507e5} (fc14c972-6cfd-4593-af3a-5a1b0bcbc8a8) not attached to an activity.

Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:00 +02:00
alperozturk
6d06f9ecdf
Better translations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:38:00 +02:00
alperozturk
9984571aaa
Rebase, Add Migration84to85
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:59 +02:00
alperozturk
1c41a1f6cb
fix ss test -- require activity crash
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:59 +02:00
alperozturk
4b5a901be2
Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:59 +02:00
alperozturk
72f86fce20
fix codacy
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 14:37:59 +02:00
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
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
alperozturk
a20c6b9922
Add TODO comments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:38 +02:00
alperozturk
f0cefec252
Add TODO comments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:37 +02:00
alperozturk
08bf32a39f
Revert changes, only bug-fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:37 +02:00
alperozturk
d6f57ed97a
Revert changes, only bug-fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:36 +02:00
alperozturk
25f203c5d1
Simplify onBrowseUp() and onBackPress() logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-08 11:32:17 +02:00
Alper Öztürk
dd78d22178
Merge pull request #13695 from nextcloud/removeFido
Remove fido since we do not need it with login flow v2
2024-10-08 10:27:49 +02:00
renovate[bot]
bc8cf80953 Update dependency com.mebigfatguy.fb-contrib:fb-contrib to v7.6.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 08:17:46 +02:00
Nextcloud bot
0bfff99f9e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-08 02:45:50 +00:00
Alper Öztürk
ff3a3bfff6
Merge pull request #13624 from nextcloud/simplify-on-back-pressed-logic
Simplify FileDisplayActivity onBackPressed
2024-10-07 09:18:52 +02:00
Nextcloud bot
05ed5fe71e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-07 02:45:49 +00:00
Nextcloud bot
7391fe60c0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-06 02:53:18 +00:00
Nextcloud bot
53eded67cd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-05 02:47:13 +00:00
renovate[bot]
a4bf961806
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 13:45:21 +00:00
Tobias Kaminsky
395ef6e1c6
Merge pull request #13527 from nextcloud/renovate/com.google.devtools.ksp-2.x
Update plugin com.google.devtools.ksp to v2.0.20-1.0.25
2024-10-04 09:30:16 +02:00
tobiasKaminsky
92e822c8f4
Remove fido since we do not need it with login flow v2
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-10-04 09:01:25 +02:00
renovate[bot]
88992d643e
Update dependency androidx.lifecycle:lifecycle-service to v2.8.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 06:04:42 +00:00
renovate[bot]
b49b876ca5
Update plugin com.google.devtools.ksp to v2.0.20-1.0.25
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 05:57:11 +00:00
Tobias Kaminsky
84cf07d728
Merge pull request #13522 from nextcloud/renovate/androidx.lifecycle-lifecycle-viewmodel-ktx-2.x
Update dependency androidx.lifecycle:lifecycle-viewmodel-ktx to v2.8.6
2024-10-04 07:52:21 +02:00
Tobias Kaminsky
6d996f12da
Merge pull request #13612 from nextcloud/bugfix/npe-isInternalFolderSync
BugFix - NPE internalFolderSyncTimestamp & File Existence Check
2024-10-04 07:51:23 +02:00
Tobias Kaminsky
0801284f23
Merge pull request #13664 from nextcloud/bugfix/assistant-screen
Update Dependency & Fix UI - Assistant Screen
2024-10-04 07:49:55 +02:00
Nextcloud bot
352fb2d034
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-04 02:48:35 +00:00
Nextcloud bot
51781c788e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-03 02:47:01 +00:00
Alper Öztürk
9cd8605536
Merge pull request #13671 from nextcloud/fix/FileDisplayActivityScreenshotIT-test
Fix - FileDisplayActivityScreenshotIT Tests
2024-10-02 23:26:30 +02:00
Tobias Kaminsky
84d4fae781
Merge pull request #13546 from nextcloud/textAttachements
TextWebView: allow to upload multiple attachements
2024-10-02 14:07:16 +02:00
alperozturk
a258734da9
use MainApp.getStoragePath()
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 12:13:23 +02:00
alperozturk
f90daae868 catch exceptions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 12:11:55 +02:00
alperozturk
5b2d49e5e9 check file existence due to not cause worker fails
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 12:11:55 +02:00
alperozturk
4ead8a4eb7 dont check file existence
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 12:11:55 +02:00
alperozturk
697a1981f8 fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 12:11:55 +02:00
alperozturk
f7d262ca0d check folder.storagePath existence
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 12:11:55 +02:00
alperozturk
33e61a5e0f Add file existence check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 12:11:55 +02:00
alperozturk
90be7e66b1 dont let setInternalFolderSyncTimestamp via null value, dont return nullable value
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 12:11:55 +02:00
alperozturk
5056428ea3 fix code static analysis
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 09:03:49 +02:00
alperozturk
1897034077 remove deprecated api usage
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 09:03:49 +02:00
alperozturk
b0d7848601 Fix build error and colors
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-02 09:03:49 +02:00