Commit graph

24811 commits

Author SHA1 Message Date
Tobias Kaminsky
6d324936e7
Merge pull request #13220 from nextcloud/feature/compatible-file-names
Feature Compatible File Names
2024-08-23 15:39:35 +02:00
alperozturk
425288eb17
Fix license header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 14:47:56 +02:00
alperozturk
f34a8763bf
Update screenshots
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 14:30:43 +02:00
tobiasKaminsky
007f28b684
better check
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-23 14:13:03 +02:00
alperozturk
9cc13cced3
Suppress codacy checks
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:47:50 +02:00
alperozturk
e3069b744b
Update library
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:32:49 +02:00
tobiasKaminsky
453dbe3158 empty line is needed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-23 13:24:21 +02:00
tobiasKaminsky
3e0bb40a1b fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-23 13:24:21 +02:00
github-actions
49b23d2a96 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2024-08-23 13:24:21 +02:00
tobiasKaminsky
a10413d8a5 use library commit
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-23 13:24:21 +02:00
alperozturk
cfa5e96aeb Update error texts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
3889dab1f7 Add check to share
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
ff32c0a8c8 Add check to folderOnItemClick
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
edb9deeea1 Show specific one invalid file name before move or copy if file name is wrong
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
6ac22071cf Fix click effect
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
bcd9941a11 Highlight selected template
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
50f7639c37 Check url emptiness
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
72fc1d0def During folder creating wont allow to user to press create button when folder name empty in initial phase
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
bcfde98cd1 Browse to root if file in incorrect folder path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
cbf9d869a9 Check file name before move or copy
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
cf607f4ca4 Add folder path check for choose auto upload directory and move or copy. And check button states
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
3831343514 Only show alert dialog for sharing invalid file
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
1725538400 Fix test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
e197d8733a Remove unnecessary check for move or copy
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
f0cd067b5f Update new names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
a845acf187 Lowercase to backend response
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
c52ee55adc Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
d472a92e32 Update tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
577ee33c43 Add base names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
d22beb6c5b Fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
15bf9d4f31 Use backend response for validation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
436f0de8d1 Add test for forbidden file name extension
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
53650b92c7 Add forbidden file name extensions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
b373e249d9 Remove unnecessary assingment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
a5552a635b Add checks for copy, move, rename from file manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
0a802e8833 Check template creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
ec3e9cfc0c Check folder creation from other file manager apps
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
alperozturk
03281fa85e Check folder creation from other file manager apps
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:24:21 +02:00
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