Commit graph

24923 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
199cd2bbd8 revert
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
1aedf275d9 local lib support
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
Alper Öztürk
5002593ab5
Merge pull request #13440 from nextcloud/bugfix/check-user-type-for-sync-operation
BugFix - Check Account Type Before Sync Operation Execution and Instead Crashing The App Inform User
2024-08-23 10:49:11 +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
skjnldsv
d3326704c7 chore: update workflows from templates
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-22 22:00:01 +02: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
Andy Scherzinger
ac92c9f27d
Merge pull request #13441 from nextcloud/renovate/kotlin-monorepo
chore(deps): update kotlin monorepo to v2.0.20
2024-08-22 21:40:49 +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
Alper Öztürk
c79597f132
Merge pull request #13164 from nextcloud/fileid
use preview endpoint instead of thumbnail
2024-08-22 10:13:26 +02:00
Andy Scherzinger
00679ed036
Merge pull request #13422 from nextcloud/update-library-2024-08-18
Update library to 2024-08-18
2024-08-22 09:48:16 +02:00
Tobias Kaminsky
379e365b6a Update library to 2024-08-18
Signed-off-by: Tobias Kaminsky <tobias@kaminsky.me>
2024-08-22 09:15:08 +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
Andy Scherzinger
a2ea8faee0
Merge pull request #13436 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-08-22 08:25:40 +02:00
nextcloud-android-bot
d41a67dd45 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-08-22 02:35:01 +00: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