Commit graph

4728 commits

Author SHA1 Message Date
alperozturk
ab4b63f327 Check isFileNameAlreadyExist when existedFileNames available
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
eeb711052e Add dot and space strings globally
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
aa67830941 Add todos
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
27774fca78 Check file names for upload content from other apps
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
63e7c298ca add documentation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
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