Commit graph

5146 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
alperozturk
230f65a158
Add folderSyncConflictEventReceiver
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:20 +02:00
alperozturk
2aa5312410
Add RemoteOperationResultExtensions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
5fa1168394
Add retry button for offline operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
0b5736e3d7
Handle error case and notification for it
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
12e47bb290
Remove unnecessary update function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
e247cf1a08
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
33e2257d5a
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:19 +02:00
alperozturk
5b85d6d349
Add notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:18 +02:00
alperozturk
22732c99f4
Add notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:18 +02:00
alperozturk
738188942a
Fix nested folder creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:18 +02:00
alperozturk
0d8a44fb3a
solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:18 +02:00
alperozturk
a83c51124f
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:16 +02:00
alperozturk
c2a6f5da86
Add rename logic for create offline operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:01 +02:00
alperozturk
02c4968a51
Prevent copy and move for offline operation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:01 +02:00
alperozturk
957bca4936
Simplify oc file list adapter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
8f0da11fb6
Rename view holder interface for prevent confusion
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
5dab3e81fb
Use dagger for file data storage manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
e8ad814870
Simplify
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
6b77f06e09
add remove feature for offline operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
b3e71bd4e1
add folder conflict check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:09:00 +02:00
alperozturk
9968a6ec04
add folder conflict check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:08:59 +02:00
alperozturk
ea8d9878be
Fix Refresh folder after worker completed
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:08:59 +02:00
alperozturk
8b170c7358
Refresh folder after worker completed
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:08:57 +02:00
alperozturk
976187c44a
Better approach to check table columns
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:07:40 +02:00
alperozturk
2dbc46406a
Refactor async await logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:07:40 +02:00
alperozturk
f44d89c7ec
Use async await for better handling operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:07:29 +02:00
alperozturk
1af6b4b89f
Remove network constrait for periodically offline operation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:59 +02:00
alperozturk
c8a6d819d3
Remove network constrait for periodically offline operation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:59 +02:00
alperozturk
27897950fe
Change interval time
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:59 +02:00
alperozturk
bf198392e6
Add startPeriodicallyOfflineOperation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
6f8d4bacb2
fix color filter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
e43c29fae5
not use type converter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
2a9b995461
Use non-static variables
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
016b0fd4d6
Add OfflineOperationsWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:58 +02:00
alperozturk
3dd21f84f6
add filterActionsForOfflineOperations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
570984adf0
add filterActionsForOfflineOperations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
4ab29f0cd3
applyVisualsForOfflineOperations for grid mode
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
efbd8202a3
applyVisualsForOfflineOperations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
9a47b05b17
Refresh folder after offline folder creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:57 +02:00
alperozturk
bdfa64ee2d
Simplify extension
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
b2a8481124
Simplify extension
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
9b64d7bed2
Check visibility of buttons depends on remote id
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
d5f8513857
Complete addCreateFolderOfflineOperation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
bc12270740
Add addCreateFolderOfflineOperation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:56 +02:00
alperozturk
8fb67102c5
Add TypeConverters for Offline Operations
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
231b35477d
Add OfflineOperationEntity dao
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
e5dcf45e06
Add OfflineOperationEntity
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
8c2750a4c1
rebase to master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
cb7c47ea54
Add global boolean value to observe network status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:55 +02:00
alperozturk
e0776d8c37
Check internet connection on MainApp
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-09-03 12:06:54 +02:00
Andy Scherzinger
9c21d8ef74
Merge pull request #13472 from nextcloud/bugfix/launcher-activity-it-tests
BugFix - LauncherActivityIT Tests
2024-09-03 12:02:29 +02:00
Andy Scherzinger
ff356197e3
Merge pull request #13487 from nextcloud/bugfix/check-shimmering-effect
BugFix - Check Thumbnail Existence and Shimmering
2024-09-03 12:01:43 +02:00
Andy Scherzinger
87b2e81cde
Merge pull request #13471 from nextcloud/bugfix/observe-worker-state
BugFix - Observe Worker State
2024-09-03 12:01:24 +02:00
renovate[bot]
8fb304a6b1
fix(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.21
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 17:03:43 +00:00
Nextcloud bot
28484420c4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-02 02:51:14 +00:00
Nextcloud bot
6f0ff1115d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-01 02:56:21 +00:00
Nextcloud bot
70ac224a25
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-30 05:18:43 +00:00
alperozturk
79481fc0e1
Delete comment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-29 12:31:44 +02:00
alperozturk
8d5fe93192
Check thumbnail existence and shimmering
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-29 12:31:44 +02:00
Nextcloud bot
45e3febb96
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-29 02:50:14 +00:00
Nextcloud bot
f590a3b65e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-28 02:51:27 +00:00
alperozturk
8dbe86ab34 Code analytics fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-27 10:15:52 +02:00
alperozturk
b1d4850736 Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-27 10:15:52 +02:00
Nextcloud bot
4e9d6ac1dd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-27 02:49:51 +00:00
alperozturk
7a12346abc
Revert test class names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-26 16:38:53 +02:00
alperozturk
39771fb319
Refresh list when upload is finished
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-26 16:29:37 +02:00
alperozturk
34acd9fb66
Observe worker state properly
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-26 16:05:44 +02:00
tobiasKaminsky
82c6956566 Internal two way sync
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-26 08:58:41 +02:00
Nextcloud bot
24eb7f02e8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-26 02:45:06 +00:00
Nextcloud bot
b14bc1d19e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-25 03:15:18 +00:00
Andy Scherzinger
af880a4c3e
Merge pull request #13456 from nextcloud/refactor/setup-dialog
Refactor Setup Dialog
2024-08-24 07:42:56 +02:00
Nextcloud bot
fd09a82f62
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-24 02:48:39 +00:00
alperozturk
374f5c72fb Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
a411e38ae7 Remove unused class
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
2028cda66d update license headers
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
2e8e71d783 refactor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
4a72438a7e refactor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
alperozturk
44948e5945 solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 16:44:33 +02:00
Tobias Kaminsky
e43bf10053
Merge pull request #13455 from nextcloud/refactor/general-code-cleanup
Refactor - Utils Code Cleanup
2024-08-23 16:44:14 +02:00
tobiasKaminsky
7cf25cfdbe Gplay: do not allow to download APK/AAB
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-08-23 15:43:08 +02:00
alperozturk
68a6f9f774 refactor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 15:42:13 +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
alperozturk
9cc13cced3
Suppress codacy checks
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-08-23 13:47:50 +02:00
tobiasKaminsky
3e0bb40a1b fix test
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
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