Commit graph

4773 commits

Author SHA1 Message Date
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
alperozturk
f547e50e4e Add FileNameValidatorTests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
1ba56bdf20 Simplify
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
d77af05969 Simplify logic for ChooseTemplateDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
b5e7946569 Remove duplicated logics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
5ae25ec56d Invalid characters added into error message
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
47a4ac4191 Use New Validator inside ChooseTemplateDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
52d258ae9d Use New Validator inside RenameFileDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
90c495ff5e Use New Validator inside CreateFolderDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
f2f28a0262 solve git conflict
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
afb63961d1
Remove code format
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 10:26:33 +02:00
alperozturk
96058c7072
Dont start account creation if user is anonymous in fetchExternalLinks function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 10:23:26 +02:00
alperozturk
1bbbb95493
revert changes for sync operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 09:48:44 +02:00
alperozturk
9c2f7e4642
Dont show toast
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 09:14:01 +02:00
alperozturk
27b8787ad6 Check account type before sync operation execution and instead crash app warn user
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 09:13:00 +02:00
Andy Scherzinger
e0cc4131b2
Merge pull request #13347 from nextcloud/renovate/com.google.devtools.ksp-2.x
chore(deps): update plugin com.google.devtools.ksp to v2.0.20-1.0.24
2024-08-23 07:46:01 +02:00
Nextcloud bot
47c8b36255
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-23 02:45:45 +00:00
renovate[bot]
10fa67b343
chore(deps): update plugin com.google.devtools.ksp to v2.0.20-1.0.24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 00:48:53 +00:00
Andy Scherzinger
d02dbc02e7
Merge pull request #13442 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
fix(deps): update dependency androidx.compose:compose-bom to v2024.08.00
2024-08-22 21:42:15 +02:00
renovate[bot]
a6b7bd7929
fix(deps): update dependency androidx.compose:compose-bom to v2024.08.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 17:27:33 +00:00
renovate[bot]
b5234ff150
chore(deps): update kotlin monorepo to v2.0.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 17:24:08 +00:00
Andy Scherzinger
bd217d9ac2
Merge pull request #13424 from nextcloud/renovate/androidx.test-runner-1.x
fix(deps): update dependency androidx.test:runner to v1.6.2
2024-08-22 11:39:31 +02:00
tobiasKaminsky
a23049c9fd use preview endpoint instead of thumbnail
do not use path, but fileid for previews

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-22 09:10:20 +02:00
renovate[bot]
ca678a8eca Update dependency androidx.test:runner to v1.6.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 17:56:10 +02:00
Alper Öztürk
92c7968203
Merge pull request #13426 from nextcloud/bugfix/ActivitiesActivityIT-ss-tests
Fix - ActivitiesActivityIT Screentshot Tests
2024-08-21 17:47:53 +02:00
Andy Scherzinger
26dfc556d0
Merge pull request #13432 from nextcloud/renovate/org.osmdroid-osmdroid-android-6.x
fix(deps): update dependency org.osmdroid:osmdroid-android to v6.1.20
2024-08-21 17:47:21 +02:00
renovate[bot]
2303cac9df
Update plugin org.jetbrains.kotlin.plugin.compose to v2.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 13:55:39 +02:00
renovate[bot]
a8ffc584b5
chore(deps): update plugin com.google.devtools.ksp to v2.0.10-1.0.24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 13:55:03 +02:00
renovate[bot]
a4bafde864
Update plugin org.jetbrains.kotlin.kapt to v2.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 13:53:42 +02:00
renovate[bot]
7608142a4d
fix(deps): update dependency org.osmdroid:osmdroid-android to v6.1.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 07:43:01 +00:00
renovate[bot]
7891b82bd9
fix(deps): update dependency org.conscrypt:conscrypt-android to v2.5.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 07:40:56 +00:00
Nextcloud bot
ac1b28ed3c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-21 02:46:44 +00:00
Nextcloud bot
66dd1b135b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-20 02:51:57 +00:00
alperozturk
58d104a100 Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-19 12:50:15 +02:00
Andy Scherzinger
35fb0a1899
Merge pull request #13108 from nextcloud/mdm
mdm only needs to provide server address
2024-08-19 11:47:07 +02:00
tobiasKaminsky
af9a63a29e mdm only needs to provide server address
fallback to normal login

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-19 10:50:17 +02:00
renovate[bot]
71cb3cdbe8 Update dependency com.vanniktech:android-image-cropper to v4.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 10:36:23 +02:00
Andy Scherzinger
4ded07f57d
Merge pull request #13232 from dipshit-enterprises/patch-1
Set content length to -1 for InputStream request bodies from the nextcloud/Android-SingleSignOn library
2024-08-19 09:18:04 +02:00
alperozturk
7c7b91c40e Add app id
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-19 08:52:06 +02:00
alperozturk
29e431e270 Add separate block generated by App Links Assistant
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-19 08:52:06 +02:00
alperozturk
321717f3cd catch deeplink in empty action
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-19 08:52:06 +02:00
alperozturk
348e1ce415 Add autoverify
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-19 08:52:06 +02:00
Nextcloud bot
9c151fe648
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-19 02:45:07 +00:00
renovate[bot]
62f5eb4f5e Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-18 19:49:25 +02:00
Andy Scherzinger
6c597c893d
Merge pull request #13257 from TibboddiT/master
Fix auto upload not working when "Also upload existing files" not checked
2024-08-18 19:38:15 +02:00
Alper Öztürk
faa3ec6d99
Merge pull request #13414 from nextcloud/bugfix/pass-code-activity-fix-keyboard-appereance
BugFix - Resolve Keyboard Not Showing After Lock and Re-enable Password Entry After Delay
2024-08-18 19:35:17 +02:00
Alper Öztürk
bf61f94832
Merge pull request #13415 from nextcloud/bugfix/drawer-layout-selection-when-app-in-background-and-foreground
BugFix - Preserve Selected Drawer Tab State When App Returns to Foreground
2024-08-18 19:34:34 +02:00
Alper Öztürk
4ebe3be692
Merge pull request #13416 from nextcloud/bugfix/npe-common-adapter
BugFix - NPE CommonAdapter
2024-08-18 19:33:50 +02:00
Alper Öztürk
799a943ff9
Merge pull request #13419 from nextcloud/bugfix/double-popup-setup-encryption-dialog
BugFix - Setup Encryption Dialog Pop Up Twice
2024-08-18 19:33:11 +02:00
Nextcloud bot
0a44dfed96
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-18 03:12:43 +00:00
Nextcloud bot
65656c617f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-17 02:48:15 +00:00
TibboddiT
cd1dbf5924 Update FilesSyncWork.kt
Don't exit early from sync background worker for a folder with "Also upload existing files" unchecked.

Fix #13251

Signed-off-by: TibboddiT <leclercq.thibault@yahoo.fr>
2024-08-16 10:08:42 +00:00
dipshit-enterprises
8087f1d06a Set content-length to -1 for InputStream request bodies
This prevents large request bodies from crashing the app. Without this the entire request body would be buffered and the app would out of memory.

Signed-off-by: dipshit-enterprises <160212554+dipshit-enterprises@users.noreply.github.com>
2024-08-16 10:08:18 +00:00
alperozturk
1dd691b349
Use new ss
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-16 11:56:50 +02:00
tobiasKaminsky
70da3680c5 Sharing to our app can cause troubles and is not needed (use copy)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-16 11:09:30 +02:00
Nextcloud bot
15b3380314
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-16 02:48:29 +00:00
alperozturk
a167a279dc
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-15 16:50:24 +02:00
alperozturk
82b43a8416
Use buildMaterialAlertDialog and prevent create earlier
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-15 16:43:16 +02:00
alperozturk
6acbcd7b1e Fix showDelay function logic.
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-15 13:25:14 +02:00
alperozturk
35bde0b68c Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-15 13:25:14 +02:00
alperozturk
487bb7b46a Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-15 12:32:23 +02:00
alperozturk
f0e3572a05
Reduce lints
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-15 11:44:48 +02:00
alperozturk
739e20c0d9
Add EspressoIdlingResource
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-15 09:25:27 +02:00
alperozturk
3c6402ed1c
Dont use thread sleep
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-15 09:24:27 +02:00
alperozturk
55221d230d
Fix potential NPE for localFileListAdapter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-15 09:16:06 +02:00
tobiasKaminsky
73bdf9bc3d
add screenshot
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-15 08:36:18 +02:00
tobiasKaminsky
cd6fe1e26f
Local search/filter works again
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-15 08:36:16 +02:00
Nextcloud bot
bd95739fee
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-15 02:59:38 +00:00
alperozturk
b8ab9a4010
Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-14 14:39:42 +02:00
Alper Öztürk
45104b5b40
Merge pull request #13409 from nextcloud/shift-empty-view-for-preview-media-activity
Shift Empty View for Preview Media Activity
2024-08-14 07:15:41 +02:00
alperozturk
5ad19960d7
Shift empty view
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-13 11:25:32 +02:00
alperozturk
ec14e5e921 Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-13 10:14:43 +02:00
Alper Öztürk
4387c4c1f8
Revert "BugFix - Change Layout Gravity Of Empty View To The Center"
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-12 12:26:39 +02:00
Nextcloud bot
f765b871da
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-12 02:44:44 +00:00
Nextcloud bot
3d94bda723
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-10 02:47:17 +00:00
Nextcloud bot
4819fdaa35
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-09 02:51:28 +00:00
alperozturk
927be6ec9e
Change gravity to the center
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 15:02:45 +02:00
alperozturk
a9203f9157
Use EspressoIdlingResource for only tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:15:43 +02:00
alperozturk
d843794d26 Use increment and decrement inside test not in production code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
1ba24ce999 Use correct thread and fix idling logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
e713bef9d2 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
1859aad087 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
612eecec8e use idling resources
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
12d105bf65 Add onCompleted for loading
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
de2799170e Update ss
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
750681181c fix java.lang.IndexOutOfBoundsException: getChars (-1 ... 0) starts before 0 for login test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
f4c92e7758 use test class name for fix unknown class name
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
a2a6d331f1 test hardcoded names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00
alperozturk
9929f3084f use screenshotViaName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-08 10:10:37 +02:00