Commit graph

5386 commits

Author SHA1 Message Date
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
renovate[bot]
cc4db45fcc Update dependency androidx.compose:compose-bom to v2024.09.02
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 09:03:49 +02:00
Tobias Kaminsky
edb2a4a4d3
Merge pull request #13469 from nextcloud/renovate/com.google.firebase-firebase-messaging-24.x
Update dependency com.google.firebase:firebase-messaging to v24.0.2
2024-10-02 08:51:40 +02:00
Tobias Kaminsky
b0fd5539da
Merge pull request #13383 from nextcloud/renovate/androidx.annotation-annotation-1.x
Update dependency androidx.annotation:annotation to v1.8.2
2024-10-02 08:51:22 +02:00
Tobias Kaminsky
70be606f80
Merge pull request #13499 from nextcloud/videoPlaypack
pause audio/video when swiping away
2024-10-02 08:50:54 +02:00
Nextcloud bot
05a05b007d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-02 02:48:42 +00:00
renovate[bot]
c84caf240c
Update dependency com.google.firebase:firebase-messaging to v24.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 22:36:08 +00:00
alperozturk
b057344e46 change check order
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-01 16:52:00 +02:00
alperozturk
8434a4887c remove variable assignments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-01 16:52:00 +02:00
alperozturk
3cf66f1c94 Simplify onBackPressed
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-01 16:52:00 +02:00
alperozturk
bf5f92bd49
fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-01 16:13:15 +02:00
alperozturk
e1756fd351 fix build
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-01 14:45:38 +02:00
tobiasKaminsky
fd6809c127 pause audio/video when swiping away
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-10-01 14:45:38 +02:00
Tobias Kaminsky
cd716b218d
Merge pull request #13525 from nextcloud/renovate/androidx.compose.ui-ui-tooling-preview-1.x
Update dependency androidx.compose.ui:ui-tooling-preview to v1.7.2
2024-10-01 14:42:17 +02:00
Tobias Kaminsky
69a3ef3032
Merge pull request #8704 from nextcloud/dav
Move remote.php/webdav to remote.php/dav
2024-10-01 11:55:20 +02:00
Tobias Kaminsky
7d88a41b3b
Merge pull request #13602 from nextcloud/renovate/androidx.webkit-webkit-1.x
Update dependency androidx.webkit:webkit to v1.12.0
2024-10-01 11:38:09 +02:00
Tobias Kaminsky
d80612ba57
Merge pull request #13610 from nextcloud/notification
check and show notification bell
2024-10-01 09:47:55 +02:00
alperozturk
38d2b6e2e2
fix build
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-01 09:33:26 +02:00
tobiasKaminsky
b0cc02d8cd Move remote.php/webdav to remote.php/dav
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-10-01 09:30:44 +02:00
Nextcloud bot
d458523e20
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-01 02:50:51 +00:00
Alper Öztürk
d562034381
Merge pull request #12924 from nextcloud/newVersion
Test new NC versions
2024-09-30 16:05:12 +02:00
Tobias Kaminsky
48ec7a916f
Merge pull request #12998 from Mouzzamsddq/8617-re-enable-auto-fill
Removed Autofill Attribute from account setup xml file
2024-09-30 15:52:33 +02:00
renovate[bot]
a468eacc91
Update dependency androidx.annotation:annotation to v1.8.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 12:37:39 +00:00
renovate[bot]
08634e5146
Update dependency androidx.webkit:webkit to v1.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 12:31:33 +00:00
tobiasKaminsky
7bd0de6cda
Fix typo?
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-30 09:28:37 +02:00
Tobias Kaminsky
43095500e6
Merge pull request #13603 from nextcloud/renovate/commons-io-commons-io-2.x
Update dependency commons-io:commons-io to v2.17.0
2024-09-30 09:07:37 +02:00
Tobias Kaminsky
348bc9e0d2
Merge pull request #13583 from nextcloud/feature/auto-rename
Feature - Auto Rename
2024-09-30 08:58:11 +02:00
tobiasKaminsky
ca429f9246
add description
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-30 08:53:12 +02:00
Tobias Kaminsky
ae1be9bbbb
Merge pull request #13613 from nextcloud/simplify-file-name-validator-check
Simplify FileNameValidator Check
2024-09-30 08:36:45 +02:00
Nextcloud bot
557af15ba1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-29 03:06:55 +00:00
Nextcloud bot
ecd08a87c7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-28 02:46:15 +00:00
Nextcloud bot
57f85a2071
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 02:47:53 +00:00
alperozturk
cdeca39c4a
Update ss tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 10:45:43 +02:00
alperozturk
af3a9c839b
remove drawer layout
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 10:22:45 +02:00
tobiasKaminsky
201d61736b
Test new NC versions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-26 10:20:06 +02:00
alperozturk
f5dc72ac4c Fix layout margin
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 10:14:32 +02:00
alperozturk
b04c0c1526 remove unused resources
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 10:14:32 +02:00
alperozturk
e5a107a44d Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 10:14:32 +02:00
alperozturk
b1734b377f Remove drawer activity inheritance
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 10:14:32 +02:00
tobiasKaminsky
25d984d281 try to show correct back button
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-26 10:14:32 +02:00
tobiasKaminsky
1858674eed try to show correct back button
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-26 10:14:32 +02:00
tobiasKaminsky
d42e066f90 remove navigation from drawer
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-26 10:14:32 +02:00
tobiasKaminsky
339168582f check and show notification bell
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-26 10:14:32 +02:00
alperozturk
401b67e812 add FIXME for localPath thumbnail generation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
1aebf6a8f3 remove unnecessary autoRenameFile, ocupload already renaming, fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
d093e67adb clean imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
ce41617086 Handle thumbnail generation for invalid local path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
7e0e59fadb Update remoteParentPath before grantFolderExistence
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
6058433e4a Simplify return
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
3f4edd02eb Remove filename check for share
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
285ee9cd4c revert changes use pathsegments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
ad15aca2f8 add new tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
363ae4311a Remove path segment logic, auto-rename and test only with nextcloud_30 and above
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
3ee22251fc remove random invalid character and extension use constant value for test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
b0082d26f9 Auto rename oc upload
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
c10c97bf22 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
46120dff60 fix kt spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
57b8ffb087 add auto rename for e2e
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
67e59a5c18 revert changes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
502016c7ff Add new tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
0e6b97a427 Remove unused resources
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
b3de1dc99f Add more tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
e87e11b8c0 Check folder paths
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
66e7c63a88 Convert to UTF-8
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
cb3bbbfdbd Add auto rename for e2e
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
896d159034 fix trimming issue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
31f0d434ba removeNonPrintableUnicodeCharacters
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
209bdd9ccb revert changes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
4edc6c00ac Add auto rename for normal uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
alperozturk
c06052a49b Add auto rename object and tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-26 09:56:00 +02:00
Nextcloud bot
aebf5499a8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-26 02:52:01 +00:00
alperozturk
4ccc773efa
Revert license changes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-25 15:22:25 +02:00
alperozturk
c4ed8fe7d8
Fix flaky tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-25 13:55:29 +02:00
Nextcloud bot
d85ecc55b9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-25 02:49:27 +00:00
alperozturk
4687f7c4bd
Use find instead for loop
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-24 12:03:49 +02:00
Nextcloud bot
65cb9c0fe8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-24 08:17:39 +00:00
alperozturk
08024d54d5
Check file name not path in uri uploader
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-23 17:05:55 +02:00
renovate[bot]
f195836826
Update dependency commons-io:commons-io to v2.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 09:57:22 +00:00
parneet-guraya
6b5e3e903c always download unsupported image
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-23 09:31:02 +02:00
Alper Öztürk
7dadbc74c4
Merge pull request #13575 from nextcloud/bugfix/use-activity-when-fragment-added
BugFix - Use Activity When Fragment Added
2024-09-19 11:57:10 +02:00
Alper Öztürk
9317863f70
Merge pull request #13580 from nextcloud/show-new-notification-for-only-file-specific-errors
Show New Notifications Only For File Specific Errors
2024-09-19 11:56:56 +02:00
Alper Öztürk
2145f52e0c
Merge pull request #13578 from nextcloud/fix/anr-during-file-upload
Fix ANR During Uploads
2024-09-19 11:42:34 +02:00
Alper Öztürk
c5ca19e029
Merge pull request #13512 from nextcloud/fix-image-pager
[Bug Fix] Attach snackbar only to respective fragment item in viewpager
2024-09-19 10:37:44 +02:00
renovate[bot]
83a0d0053e
Update dependency androidx.compose.ui:ui-tooling-preview to v1.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 19:10:51 +00:00
renovate[bot]
34f3456a96
Update dependency androidx.lifecycle:lifecycle-viewmodel-ktx to v2.8.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 19:07:02 +00:00
alperozturk
3fb48c00ee Fix kt spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-18 20:36:36 +02:00
alperozturk
e6ed12830d Show new notifications only for file specific errors
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-18 20:36:36 +02:00
rakekniven
d259376638
Precise wording for spaces in filenames
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-18 15:01:31 +02:00
Alper Öztürk
90ca031210 Update app/src/main/res/values/strings.xml
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2024-09-18 09:57:21 +02:00
Alper Öztürk
f62f7bcdef Update app/src/main/res/values/strings.xml
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2024-09-18 09:57:21 +02:00
alperozturk
1473d80edd Update tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-18 09:57:21 +02:00
alperozturk
d35fbbf973 Version check needed no need try to parse empty array
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-18 09:57:21 +02:00
rakekniven
0a18c6b79d Update app/src/main/res/values/strings.xml
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-18 09:57:21 +02:00
alperozturk
71b7e18c6a Code analytic fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-18 09:57:21 +02:00
alperozturk
e78f0f59d6 Translation improvements, no need nx version checks
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-18 09:57:21 +02:00
Tom
74fe8cf30b
Merge pull request #13514 from nextcloud/bugfix/npe-e2e-conflict-resolve
BugFix - E2E Solve File Conflict NPE
2024-09-18 09:41:21 +02:00
Nextcloud bot
fae6d15572
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 02:49:35 +00:00
alperozturk
6654001437 Get parent file via id and check existence of parent file
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-17 09:29:24 +02:00
Nextcloud bot
1abcb497bc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 02:51:35 +00:00
alperozturk
7167916db9
getUploadByRemotePath in background thread
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-16 14:47:52 +02:00
alperozturk
4af24f1fb1
Use Activity When Fragment Added
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-16 11:33:22 +02:00
Nextcloud bot
8320c12949
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 02:41:46 +00:00
Nextcloud bot
b5b6aafd2b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 03:30:54 +00:00
Nextcloud bot
122d466353
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 02:52:17 +00:00
Alper Öztürk
9c590e616b
Merge pull request #13556 from nextcloud/bugfix/fix-thread-issue-for-dialog
BugFix - Loading Dialog Must Run On Main Thread
2024-09-13 08:40:09 +02:00
Nextcloud bot
7bb16f53fb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 02:49:39 +00:00
tobiasKaminsky
8248f5ef58 TextWebView: allow to upload multiple attachements
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-12 16:14:58 +02:00
Alper Öztürk
2f4dcbd503
Merge pull request #13552 from nextcloud/bugfix/wcf-limitations
BugFix - Check Filename Limitation With Correct Server Version and Configuration
2024-09-12 14:46:10 +02:00
alperozturk
585831838d
Run on ui thread
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-12 14:14:45 +02:00
Alper Öztürk
233d8a9567
Merge pull request #13467 from nextcloud/improve-media
Improve Media Player
2024-09-12 11:20:41 +02:00
Alper Öztürk
3929a34425
Merge pull request #13533 from nextcloud/fix-secure-flag
Flag FLAG_SECURE should only be active when in passcode screen
2024-09-12 10:51:55 +02:00
Alper Öztürk
5116cdcca9
Merge pull request #13518 from nextcloud/bugfix/share-link
BugFix - Share Link
2024-09-12 10:13:36 +02:00
Alper Öztürk
af3b19d947
Merge pull request #13513 from nextcloud/bugfix/unify-drawer-menu-item-handling
BugFix - Unify Drawer Menu Item Handling
2024-09-12 09:19:32 +02:00
Tobias Kaminsky
295814b953
Merge pull request #13493 from nextcloud/enforceServers
Enforced servers
2024-09-12 09:16:26 +02:00
ZetaTom
89d6cf36e9
Improve robustness of fragment transactions for loading dialogue
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-09-12 08:09:42 +02:00
Nextcloud bot
1497f93584
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 02:46:06 +00:00
alperozturk
d17018beb6
remove unused resource
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 16:36:44 +02:00
parneet-guraya
9f176b4208
fix static code warning
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:29:00 +05:30
parneet-guraya
d8ed2ce5c7
apply patch
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:27:29 +05:30
alperozturk
f1e1459759
remove extra dot from translations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 15:57:09 +02:00
parneet-guraya
b9855e8a86
lint checks solved
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:06 +05:30
parneet-guraya
8e2525e0e6
release media controller
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:06 +05:30
parneet-guraya
e75ccb328f
notification workaround
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:06 +05:30
parneet-guraya
167a8a5f3c
fix session conflict
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:06 +05:30
parneet-guraya
3f6e66f81a
cleanup
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:05 +05:30
parneet-guraya
009909c38a
fixups
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:05 +05:30
parneet-guraya
8f1b56c5be
handle player error
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:05 +05:30
parneet-guraya
f02a997ed0
hide stub view when player ready
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:05 +05:30
parneet-guraya
fbb51b0935
use file name from file instead of metadata
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:05 +05:30
parneet-guraya
c14886c36a
stop media player to reset state to fresh start for another media
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:05 +05:30
parneet-guraya
9488fa207b
add seek back/forw buttons in notification
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:05 +05:30
parneet-guraya
fb6f80aa7c
release background session if exists
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:04 +05:30
parneet-guraya
a98fd63460
add media session for video playback
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:04 +05:30
parneet-guraya
d71c2f3d4a
hide loading when player's Ready
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:04 +05:30
parneet-guraya
01a9042913
remove audio support in media fragment
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:04 +05:30
parneet-guraya
47479d5745
setup media player service with session
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 19:17:03 +05:30
alperozturk
c5fda230b4
fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 15:34:32 +02:00
parneet-guraya
ec8902229b use coordinator layout to keep the snackbar attached to fragment in pager
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 14:56:29 +02:00
parneet-guraya
3c6db3819e clear the flag after passcode screen exits
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-11 14:49:24 +02:00
tobiasKaminsky
b0e1d9aa25 extract to function
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-11 14:47:34 +02:00
tobiasKaminsky
8d0741062b fix license
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-11 14:47:34 +02:00
tobiasKaminsky
60ec148154 - no need for linearlayout
- correct license

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-11 14:47:34 +02:00
tobiasKaminsky
4d587d3bf4 Enforced servers
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-09-11 14:47:34 +02:00
alperozturk
9f247231bb
Update forbiddenFilenameExtensionJson for test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 14:35:40 +02:00
alperozturk
dee7f33dc9
add testOnlyOnServer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:52:49 +02:00
alperozturk
dd7dab9525
Remove version check for test separately
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:47:55 +02:00
alperozturk
072b59ec5f
Remove version check for test separately
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:47:55 +02:00
alperozturk
5f03caeac5 Fix for AOSP version
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
530ea26cde Compare content and selected drawer menu item
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
cab8c790ef Optimize imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
79d6c7ca41 Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
45d363a417 Remove workaround
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
92c720e49f Change back behaviour of SettingsActivity due to not extending from DrawerActivity
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
ae5cee7056 Remove drawer open event
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
cb0e8baf60 Use getMenuItemIdFromTitle
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
1543685b5c Better flow and menu item selection before opening
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
403b34e8cf Reduce lint
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
06ad7d0239 Allow to set Menu.NONE
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
5cb2e3a410 Only highlight new menu item
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
9f9f89b2f3 Remove duplicated logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
e065127ad2 Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:38:11 +02:00
alperozturk
6076aca850 Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:37:52 +02:00
alperozturk
eb8ecce3aa Allow user to create file with ending with space or period
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:37:20 +02:00
alperozturk
72183a57af checkFileName according to correct version and configuration
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 12:37:20 +02:00