Commit graph

6123 commits

Author SHA1 Message Date
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
Tobias Kaminsky
ef06a0c298 daily dev 20240926
Update Nextcloud Android library
2024-09-26 03:45:16 +02:00
Tobias Kaminsky
c132553521 Merge remote-tracking branch 'origin/master' into dev 2024-09-26 03:38:32 +02: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
Tobias Kaminsky
30834e6476 daily dev 20240925 2024-09-25 02:37:29 +02:00
Tobias Kaminsky
15d74b5d2c Merge remote-tracking branch 'origin/master' into dev 2024-09-25 02:31:10 +02: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
Tobias Kaminsky
e470fdcc65 daily dev 20240924
Update Nextcloud Android library
2024-09-24 03:48:21 +02:00
Tobias Kaminsky
11542bc0c8 Merge remote-tracking branch 'origin/master' into dev 2024-09-24 03:39:52 +02: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
Tobias Kaminsky
cfea8e7e20 daily dev 20240922
Update Nextcloud Android library
2024-09-22 02:40:09 +02:00
Tobias Kaminsky
4d06428284 daily dev 20240920 2024-09-20 02:37:03 +02:00
Tobias Kaminsky
73adb880c7 Merge remote-tracking branch 'origin/master' into dev 2024-09-20 02:30:59 +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
Tobias Kaminsky
8b9ab189a3 daily dev 20240919 2024-09-19 02:37:52 +02:00
Tobias Kaminsky
3b9cb2e9ad Merge remote-tracking branch 'origin/master' into dev 2024-09-19 02:31:16 +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
Tobias Kaminsky
a13b9f9a80 daily dev 20240916 2024-09-16 02:41:28 +02:00
Tobias Kaminsky
7bd99a98e9 Merge remote-tracking branch 'origin/master' into dev 2024-09-16 02:31:09 +02: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
Tobias Kaminsky
fcfd083542 daily dev 20240914
Update Nextcloud Android library
2024-09-14 03:45:25 +02:00
Tobias Kaminsky
3486bd85b9 Merge remote-tracking branch 'origin/master' into dev 2024-09-14 03:37:49 +02: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
Tobias Kaminsky
eda3a1aa3f daily dev 20240913
Update Nextcloud Android library
2024-09-13 03:45:27 +02:00
Tobias Kaminsky
a564ba9c4e Merge remote-tracking branch 'origin/master' into dev 2024-09-13 03:37:53 +02: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
Tobias Kaminsky
0e5f76c2fa daily dev 20240912
Update Nextcloud Android library
2024-09-12 03:46:05 +02:00
Tobias Kaminsky
ad2f7da891 Merge remote-tracking branch 'origin/master' into dev 2024-09-12 03:39:57 +02: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
alperozturk
c184ead210
Delete unused legacy code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 11:43:31 +02:00
alperozturk
ce721ad693
Fix broken ss test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 10:27:33 +02:00
alperozturk
7bc5a71c99
Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 10:27:32 +02:00
alperozturk
7b8e3cfe0f
Fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 09:52:57 +02:00
alperozturk
1a1c6e52b7
update ss with internet connection
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 09:39:50 +02:00
alperozturk
0d5161647c remove clearCachedResult function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 08:58:47 +02:00
alperozturk
25f75114fb dont set cache value when base server address is empty
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 08:58:47 +02:00
alperozturk
53e70282b1 Add missing function for test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 08:58:47 +02:00
alperozturk
0731ab414b Clear connectivity cache
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-11 08:58:47 +02:00
Tobias Kaminsky
ff6220fd5a
Merge pull request #13517 from nextcloud/bugfix/ss-test-after-offline-folder-creation
Fix ScreenShot Tests After Offline Folder Creation Operations
2024-09-11 08:57:48 +02:00
Nextcloud bot
2abc4c1c2f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 02:54:56 +00:00
Tobias Kaminsky
8eca73599e daily dev 20240911
Update Nextcloud Android library
2024-09-11 03:43:37 +02:00
Tobias Kaminsky
0c20b5f635 Merge remote-tracking branch 'origin/master' into dev 2024-09-11 03:37:26 +02:00
alperozturk
5ef15aa9b5
sq
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 16:59:01 +02:00
alperozturk
9b4154153f Replace ss with server file's decrypted remote path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
12ec1533c9 Use full path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
109fed87fa Update ss
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
adc66f7be5 Add title for conflict resolve dialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
94306a7ed1 Update ss
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
dd74191201 Add remote ids to make oc file not offline operation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
38feaba10e Update screenshots
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
c533b2e8d5 set remote it for bottom sheet action visibility
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
3ed92f3055 NPE fix for decryptedRemotePath
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
2ec0f2950a check file existence before
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
aec0838977 clearer messages
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
d9721eb2f8 Remove deprecated apis
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
210a96936e Simplify ContactsBackupIT tests, make errors more clear
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
alperozturk
4abba845d0 Adopt tests for offline operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-10 11:24:40 +02:00
Nextcloud bot
5a7dc716fc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 04:15:59 +00:00
Nextcloud bot
76a805c8d6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 10:32:59 +00:00
Nextcloud bot
86a96a3650
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 10:19:35 +00:00
Tobias Kaminsky
963b84c53f daily dev 20240909
Update Nextcloud Android library
2024-09-09 03:44:54 +02:00
Tobias Kaminsky
3e9dbbe7ef Merge remote-tracking branch 'origin/master' into dev 2024-09-09 03:37:20 +02:00
renovate[bot]
2cfe0d254c
fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.23.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 17:00:55 +00:00
Tobias Kaminsky
81b6f73f35 daily dev 20240907 2024-09-07 02:37:55 +02:00
Tobias Kaminsky
04efa44a72 Merge remote-tracking branch 'origin/master' into dev 2024-09-07 02:31:22 +02:00
rakekniven
34f542a088
chore(i18n): Adapted spelling of URL
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-06 19:30:29 +02:00
Nextcloud bot
fd7c74d1d4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 03:16:30 +00:00
Tobias Kaminsky
79dbfa5b6f daily dev 20240906
Update Nextcloud Android library
2024-09-06 03:46:58 +02:00
Tobias Kaminsky
85cdc750c1 Merge remote-tracking branch 'origin/master' into dev 2024-09-06 03:38:36 +02:00
Andy Scherzinger
ccecd56f48
Merge pull request #13520 from nextcloud/renovate/androidx.fragment-fragment-ktx-1.x
Update dependency androidx.fragment:fragment-ktx to v1.8.3
2024-09-05 21:18:03 +02:00
renovate[bot]
254f8e8069
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.22
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 15:28:36 +00:00
renovate[bot]
e4b4dbfed0
Update dependency androidx.fragment:fragment-ktx to v1.8.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 15:24:24 +00:00
Nextcloud bot
48c9addcb2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-05 02:57:59 +00:00
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