Commit graph

1094 commits

Author SHA1 Message Date
tobiasKaminsky
7f308fd940 apply spotless
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-10-20 17:14:22 +02:00
alperozturk
c517781e7f Use M3 ChooseTemplateDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-20 17:14:22 +02:00
Andy Scherzinger
bba7ee136c
Merge pull request #12036 from nextcloud/feature/use-m3-conflict-resolve-dialog
Use Material Design 3 For ConflictResolve Dialog
2023-10-20 17:07:57 +02:00
alperozturk
5ec7f8df52
Merge remote-tracking branch 'origin/feature/use-m3-files-export-notification' into feature/use-m3-files-export-notification
# Conflicts:
#	app/src/main/java/com/nextcloud/client/jobs/FilesExportWork.kt
2023-10-20 13:40:24 +02:00
alperozturk
f8309d0791
Fix code analytics warnings
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-20 13:40:02 +02:00
alperozturk
1ffbca4fb5 Remove extra info from files export
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-19 10:52:44 +00:00
alperozturk
f642ced023
Merge master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-19 11:20:54 +02:00
alperozturk
e6dc89671c
Merge master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-19 11:16:33 +02:00
alperozturk
ef31d02f9e
Merge master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-19 11:08:07 +02:00
alperozturk
de4ee9bf33
Merge master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-19 11:06:20 +02:00
tobiasKaminsky
7da1156753 use androidX annotations
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-10-19 07:36:38 +02:00
tobiasKaminsky
5b527929ea make tests more robust
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-10-19 07:36:38 +02:00
Tobias Kaminsky
429f98444f
Merge pull request #12035 from nextcloud/feature/use-m3-rename-public-share-dialog
Use Material Design For Rename Public Share Dialog
2023-10-18 12:38:59 +02:00
Andy Scherzinger
1b30013311
Merge pull request #12050 from nextcloud/feature/use-m3-StoragePermissionDialogFragment
Use Material Design 3 for StoragePermissionDialogFragment
2023-10-18 12:02:01 +02:00
Tobias Kaminsky
f67f8be003
Merge pull request #12034 from nextcloud/feature/use-m3-remove-file-dialog
Use Material Design 3 for RemoveFilesDialog
2023-10-18 11:43:33 +02:00
Tobias Kaminsky
154796b7cb
Merge pull request #12045 from nextcloud/feature/use-m3-ExpirationDatePickerDialogFragment
Use Material Design 3 For Expiration Date Picker Dialog
2023-10-18 07:22:37 +02:00
Tobias Kaminsky
553ab107e6
Merge pull request #12043 from nextcloud/feature/use-m3-ChooseRichDocumentsTemplateDialogFragment
Use M3 for ChooseRichDocumentsTemplateDialogFragment
2023-10-18 07:20:35 +02:00
Tobias Kaminsky
c6795ddba4
Merge pull request #12048 from nextcloud/refactor/remove-unused-ssl-validator-dialog
Remove SSL Validator Dialog
2023-10-18 07:17:58 +02:00
Tobias Kaminsky
8d3f7239a7
Merge pull request #12042 from nextcloud/feature/use-m3-account-removal-confirmation-dialog
Use Material Design 3 for AccountRemovalConfirmationDialog
2023-10-18 07:12:19 +02:00
alperozturk
df4f93af02
Use M3 for RemoveFilesDialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-17 14:53:37 +02:00
Tobias Kaminsky
7bde51bb7e
Merge pull request #12033 from nextcloud/feature/use-m3-create-folder-dialog
Use M3 for CreateFolderDialog
2023-10-17 14:52:10 +02:00
alperozturk
71706f79c2
Remove extra info from files export
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-17 12:44:33 +02:00
alperozturk
9729b931b6
Apply tint to dialog background
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-17 12:13:25 +02:00
alperozturk
751fa5690d
Merge master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-17 09:03:17 +02:00
alperozturk
4ba11247cf Use M3 for ChooseRichDocumentsTemplateDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 14:49:14 +00:00
alperozturk
a6085680bd Change button order for date picker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 14:47:43 +00:00
alperozturk
8a60b0e0f1
Merge master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 16:32:13 +02:00
alperozturk
01dc1a51f8
Use M3 for StoragePermissionDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 15:52:59 +02:00
alperozturk
58e985a35b
Add setText for buttons
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 15:00:49 +02:00
alperozturk
b25a82aee9
Update button order
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 14:53:57 +02:00
alperozturk
4f40ecdfb5
Use M3 for SyncedFolderPreferencesDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 14:29:46 +02:00
alperozturk
34bea23b3b
Remove unused code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 13:56:39 +02:00
alperozturk
c4d2ffd462 Change move or copy file action icon
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 11:43:12 +00:00
alperozturk
1f885158a5 Limit login test for only Android 10 and above
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 11:43:12 +00:00
alperozturk
e5174b37a7 Fix UI
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 11:43:12 +00:00
alperozturk
a0ede76437 Fix logic for move and copy
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 11:43:12 +00:00
alperozturk
3657488332 Combine Move and Copy feature
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 11:43:12 +00:00
alperozturk
78fa3851fd Add move and copy button to folder picker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 11:43:12 +00:00
alperozturk
e4d9c91674
Replace button click functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 13:31:41 +02:00
alperozturk
0a11d4519f
Use M3 for SharePasswordDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 13:25:03 +02:00
alperozturk
0861cae353
Remove Unused Note Dialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 12:02:32 +02:00
alperozturk
c687369971
Use M3 NoteDialogFragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 11:56:47 +02:00
alperozturk
228c2159c7
Add tests for ConfirmationDialog RTL
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 11:03:40 +02:00
alperozturk
24f536ca40
Remove button order logic from dialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 10:44:55 +02:00
alperozturk
9e57976892
Use M3 for AccountRemovalConfirmationDialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 09:50:58 +02:00
alperozturk
80323a7bcb
Trigger screenshot test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 09:45:50 +02:00
alperozturk
df395de821
Fix action for neutral button
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 09:23:09 +02:00
alperozturk
3fc0a1bf86
Change order or buttons according to M3
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 09:19:23 +02:00
alperozturk
35079e7106
Rename button arguments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 09:04:35 +02:00
alperozturk
d86421f743
Use M3 for buttons
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-16 08:54:42 +02:00
Andy Scherzinger
303950d9a4
Merge pull request #12014 from nextcloud/fix/softkeyboard
Fix softKeyboard not appearing
2023-10-13 17:40:43 +02:00
Andy Scherzinger
3f575bd4ea
Merge pull request #12032 from nextcloud/feature/use-m3-rename-dialog
Feature/use-material-design-3-for-rename-dialog
2023-10-13 17:18:29 +02:00
alperozturk
ce43146170
Use M3 For ConflictResolve Dialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-13 16:26:39 +02:00
alperozturk
e5a30c5e22
Use M3 For Rename Public Share Dialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-13 16:17:11 +02:00
alperozturk
c8dde925f6
Use M3 for CreateFolderDialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-13 14:15:08 +02:00
alperozturk
48f700e7e0
Extract methods
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-13 13:53:05 +02:00
alperozturk
79cff491c1
Update rename dialog to M3
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-13 13:34:42 +02:00
alperozturk
727d0a7a8b
Check system uiMode
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-12 15:02:19 +02:00
alperozturk
dfee4ef7b6
Optimize imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-11 16:55:34 +02:00
alperozturk
88e4b60486
Fix missing appPreferences
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-11 16:54:03 +02:00
alperozturk
cde7edba5f
Fix Codacy Spotbugs
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-11 14:44:20 +02:00
alperozturk
887c197287
Fix SplashScreen title tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-11 10:43:43 +02:00
alperozturk
ff6919124a
fix nullability of getDarkThemeMode function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-10 16:37:53 +02:00
ZetaTom
774f4d6c45
Fix softKeyboard not appearing
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-10-10 10:50:59 +02:00
alperozturk
1e4e417077
Fix autoUploadFolder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:34 +02:00
alperozturk
ffdf859bac
Fix spotlessKotlinCheck
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
a24609f534
Fix code analysis
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
3ab49e4acc
Fix spotlessKotlinCheck
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
a3014ad1d3
Fix Static code analysis warnings
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
c94a190388
Fix spotlessKotlinCheck
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
dbbe6de800
Add licence header for new files
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
bbeccfb4f8
Change overlaying mechanism
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
7458ba3d60
Fix detekt findings
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
68f3c6e273
Update usage of addDrawableAsOverlay function
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
a0083b9afb
Change overlay icon size according to density
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
6ae12b0e49
Add extensions package under utils
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
c618b20511
Reset overlay icon size
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
59cacab150
Use isDarkModeEnabled function
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
9e4bac2aad
Add isDarkModeEnabled function
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
b0c584b9f2
Support overlay drawable icon for Dark mode
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
be543f66d4
Change top margin to 3 due to ss tests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
88de0a2bd2
Change top margin to 4
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
8b9361f310
Use getDefaultFolderIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
8105a02766
Add default folder icon function added due to apply color primary
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
15f5856646
Move getFileIcon into the MimeTypeUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
c570c4f2a5
Add viewThemeUtils for different primary colors
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
48bdbac2a3
Replace null check with assert due to ContextCompat.getDrawable nullability
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
6fc9970329
Rename getFileOverlayIcon to getFileOverlayIconId
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
f745db1188
Extract getFileOverlayIcon function from getFileIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
23cd9f91c7
Rename OCFile function name to getFileIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
ca09000327
Use overlay method for GroupfolderListAdapter
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
9870a80e87
Remove duplicated default folder icon func from MimeTypeUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
3aa9c8aa32
Remove ViewThemeUtils usage to provide correct folder color
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
44e38c671f
Use overlay method for EditorWebView
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
aee3ffd7da
Change drawable to layer drawable
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
16db8c01b6
Use overlay method for ShareActivity
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
929b704425
Use overlay method for ShortcutUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
bbea0e00d0
Apply color changes for folder
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
4b35088377
Use overlay method for UploadAdapter
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
32b8993331
Add DrawableUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
80cf6f04bd
Use new method for get thumbnail image
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
c7cb4fa7c4
Use overlay method to get file icon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
65461a7d87
Use folder key icon for encrypted state
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00
Alper Ozturk
b351c57d31
Use getFileIcon for thumbnailView
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Alper Ozturk
0358dce204
Add isAutoUploadFolder function to SyncedFolderProvider
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Alper Ozturk
22e1f7ed45
Add getFileIcon function inside OCFile
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Andy Scherzinger
4fc90f3dab
Merge pull request #11919 from PhilLab/move-to-next-image-after-deletion
When deleting image in preview activity, move to the next image
2023-09-25 16:42:36 +02:00
tobiasKaminsky
623590ba6c
show outdated warning also on very old servers
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-09-08 15:10:59 +02:00
tobiasKaminsky
add0c1acc1
hide add account if multi account is disabled
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-09-08 11:53:23 +02:00
ZetaTom
fc5994c243
Move photo pin drawable to xml layout
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-09-04 18:21:40 +02:00
ZetaTom
7212b092d6
Improve appearance of addresses in ImageDetailFragment
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-09-04 18:21:36 +02:00
tobiasKaminsky
f32cb61f59
rebased
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-08-30 12:10:01 +02:00
Andy Scherzinger
920c69dc15
remove unused variables
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-08-30 11:30:21 +02:00
Dean Birch
768171c37b
Hide subfolder options when not using subfolders
Instead of greying out the subfolder rules when not active, hide them.
Also reverts changes to make a function out of getAlpha.

Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:21 +02:00
Dean Birch
13b61e82d6
Convert java to kotlin and add header
Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:21 +02:00
Dean Birch
a687ca68d3
gradle spotless check formatting
Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:21 +02:00
Dean Birch
dcabaf2a7d
Extra options for uploading subfolders
Adds some extra options for uploading photos into various patterns of
subfolders. yyyy or yyyy/MM or yyyy/MM/dd supported.

Currently just adds an extra field for this, and has to be used in
conjunction with the "use subfolder" checkbox, the new option is greyed
out and disabled when "use subfolder" is not checked.

Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-08-30 11:30:20 +02:00
Tobias Kaminsky
c4d454fbc3
Merge pull request #11928 from nextcloud/spotbugsGarm
Let analysis.yml do not run on GARM
2023-08-30 11:26:24 +02:00
tobiasKaminsky
29227fc00f
fix 18n
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-08-30 10:54:23 +02:00
Tobias Kaminsky
5af5350536
Merge pull request #11522 from nextmcloud/nmc/1943-avoidSearchCollapse
Avoid search collapse after page refresh
2023-08-30 09:51:32 +02:00
ZetaTom
f57be44343
- overhaul metadata capture and processing
- exception handling in NominatimClient
- set map boundaries
- format strings according to locale
- overlay drawables for photo pin correctly
- refactored ImageDetailFragment
- add copyright notices
- add support for metadata from server
- tint icons for dark mode

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-29 09:28:23 +02:00
A200073727
905222c930 After screen refresh search is no longer collapsing. 2023-08-29 02:31:36 +05:30
A117870935
f01aa28fc2 Avoid search collapsing after refresh. 2023-08-29 02:31:35 +05:30
Philipp Hasper
e0519e841a When deleting image in preview activity, move to the next image
Instead of closing the preview after the deletion of an image file, the
next image is shown. This allows to conveniently go through a list of
images and delete unwanted ones, without the flow being interrupted.

Closes #11918

Signed-off-by: Philipp Hasper <vcs@hasper.info>
2023-08-28 08:47:28 +02:00
Andy Scherzinger
e872d4efbc
Fix kt formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-08-17 12:17:37 +02:00
ZetaTom
ad5379021f Fix multi-selection in shared tab
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-12 17:00:52 +02:00
ZetaTom
1c64a42025
Colour ecosystem app icons
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:15 +02:00
ZetaTom
591129eb3c
Clean up lint
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:15 +02:00
ZetaTom
f05ec0589a
Invert logic to hide app switcher
- add summary to toggle in preferences

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:15 +02:00
ZetaTom
8239b73e48
Colour ecosystem app icons
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
d158a49cb8
Refactor DrawerActivity.java
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
6a07bac0eb
Switch accounts on intent
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
88a5884b26
Use R-strings in DeepLinkLoginActivity
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
4a5b39ff5b
Switch accounts on intent
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:14 +02:00
ZetaTom
18ad832610
Clean up
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:13 +02:00
ZetaTom
2e1f756210
Add preference to hide ecosystem apps
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:13 +02:00
ZetaTom
f1c76614c2
Fix intent to open ecosystem apps
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:12 +02:00
ZetaTom
b978e03f9f
Adapt layout in drawer_header
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:12 +02:00
ZetaTom
8506251cb6
Add actions for ecosystem apps
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:12 +02:00
ZetaTom
2b1b163b53
Add ecosystem apps to drawer_header.xml
- introduce is_branded_client variable
  - ecosystem apps will only be displayed in vanilla client
- fix layout of drawer_header.xml

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-08 10:21:11 +02:00
tobiasKaminsky
b1daecac70
Set minSdkVersion to 24 + remove checks
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-08-03 10:53:51 +02:00
ZetaTom
0aeda68451
Fix preview of previously offline images
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-08-01 16:10:03 +02:00
Andy Scherzinger
e7ee6534d9
Merge pull request #11769 from nextcloud/fix/back-icon
Fix back arrow appearing as hamburger icon
2023-07-28 17:47:55 +02:00
ZetaTom
db3a38a4c7 Fix 'Host your own server' button
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 17:02:58 +02:00
ZetaTom
9ad31fd707 Update branch
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 17:02:58 +02:00
ZetaTom
2387e2ff75 Minor refactoring
- use DisplayUtils.startLinkIntent instead of DisplayUtils.startIntentIfAppAvailable where applicable

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 17:02:58 +02:00
ZetaTom
0e13fe2c4d
Fix typo
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 16:58:13 +02:00
ZetaTom
0b28a889ea
Fix file actions available in BottomSheet
- reintroduce isSingleFileFragment
  - hides *Select all* and *Deselect all*
- hide *Pin to Home screen* where not applicable
- generally prefer *Send/Share* option over *Send*
  - only show *Send* when all files are downloaded

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 16:58:13 +02:00
Andy Scherzinger
8f18be1333
Merge pull request #11689 from nextcloud/fix/folderpicker-actions
Fix actions in folder picker
2023-07-28 16:41:30 +02:00
ZetaTom
83df8c5ed7 Move error snackbars to parent activity.
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 15:34:13 +02:00
ZetaTom
cb59aeb875 Show dialogue when creating document from template
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-28 15:34:13 +02:00
Dean Birch
5c32938f34 When entering fullscreen, allow for paused state
When entering fullscreen, check if the video is paused and ensure to
display the play button instead.

Signed-off-by: Dean Birch <dean.birch0@gmail.com>
2023-07-28 10:11:50 +02:00
ZetaTom
acfe6e66d8
Remove unnecessary call to clear title in UnifiedSearchFragment
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-25 16:26:01 +02:00
ZetaTom
e71bcb72fa
Hide search close button when search input is cleared
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-25 11:32:20 +02:00
ZetaTom
5f7941219e
Hide actionbar title when search input field is opened
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-25 11:32:20 +02:00
Andy Scherzinger
db5b312b3f
Merge pull request #11817 from nextcloud/nmc/fixMediaViewEmptyState
Fix empty state for media view
2023-07-24 18:08:03 +02:00
Andy Scherzinger
2a53a783de
fix formatting for spotless version bump
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-07-24 17:56:36 +02:00
A117870935
d91661cb4a
Persist last selected media folder for media view. 2023-07-24 17:40:19 +02:00
A117870935
a24418cf50 Fix folder picker empty state headline text. 2023-07-20 10:33:47 +05:30
A117870935
6c32bbf8a8 Fix empty state for media view. 2023-07-19 22:23:14 +05:30
Andy Scherzinger
408a7475ef
Merge pull request #11804 from nextcloud/nmc/fixShareFavCrash
Crash fix for shared and fav section
2023-07-14 17:53:12 +02:00
A117870935
5c0805af45 Fix preview media file update for file action. 2023-07-13 23:05:36 +05:30
A117870935
e290a0a240 Fix shared and fav section crash by avoiding multiple api calls. 2023-07-13 19:57:43 +05:30
Andy Scherzinger
c26496874e
Merge pull request #11799 from nextcloud/fix/texteditor-external-links
Fix external links in texteditor
2023-07-11 19:26:31 +02:00
Álvaro Brey
d0d080d400 refactor: Dedplicate code to handle nonexisting folder
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-07-11 18:28:59 +02:00
Álvaro Brey
44f06068b0 fix: Reset last upload path when it doesn't exist anymore
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-07-11 18:28:59 +02:00
Álvaro Brey
f3b3dc4fdd fix: Crash when last upload folder does not exist anymore
- When browsing back from a folder, directly browse to root if parent does not exist
- When initially opening a folder, directly browse to root if it doesn't exist

Fixes #11207

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-07-11 18:28:59 +02:00
ZetaTom
f5d03dbcbc
Improve wording and clean up
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-11 15:06:26 +02:00
ZetaTom
dfcbce5d49
Open links in browser instead of webview
- links in text-editor will now open in external browser by default
- fixed a few warnings/deprecations

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-11 14:54:31 +02:00
Andy Scherzinger
62893533ca
Merge pull request #11568 from nextcloud/nmc/folderNewShareUpdatePermission
Fix: new folder/file share permission
2023-07-10 21:44:20 +02:00
Andy Scherzinger
8011494337
Format code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-07-10 18:57:44 +02:00
ZetaTom
f811ab679e
Request POST_NOTIFICATION permission after onboarding is completed
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-10 18:57:44 +02:00
ZetaTom
8617954cff
Reformat PermissionUtil.kt
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-10 18:57:44 +02:00
ZetaTom
c6bfb73e39
Utilise granular media permissions
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-10 18:57:44 +02:00
A117870935
a0457d8eb1 Fix: take user selected permission for newly folder share instead of default (view only) permission. 2023-07-10 21:08:05 +05:30
A117870935
1f8bff5f8e Migrated Owncloud to NextCloud client for EmptyTrashbinRemoteOperation to fix crash. 2023-07-04 18:38:02 +02:00
Andy Scherzinger
d58edd4dce
Merge pull request #11774 from nextcloud/updatePermissions
After successful upload update permission to have correct resharing info
2023-07-04 18:36:47 +02:00
Andy Scherzinger
3511dc1d9c
Merge pull request #11759 from nextcloud/e2e_hideStream
Do not show "stream with" option for encrypted files
2023-07-04 18:35:53 +02:00
Andy Scherzinger
d6158a549f
Merge pull request #11765 from nextcloud/fix/trashbin
Fix crash when emptying bin
2023-07-04 18:28:39 +02:00
Andy Scherzinger
8ca7b1d8e3
Merge pull request #11761 from nextcloud/fix/download-PreviewMediaFragment
PreviewMediaFragment: UI/UX improvements
2023-07-04 18:27:58 +02:00
ZetaTom
d337013616 Fix actions in folder picker
- removed *Select all*
- show create folder icon instead of single item overflow menu
- adjust theming in *Choose upload folder* dialogue

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-07-03 23:40:25 +02:00
ZetaTom
bc16cebfa1
Move strings to strings.xml
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 15:33:48 +02:00
ZetaTom
85311d5afd
Fix SpotBugs increase
- remove background colour from rounded_rect.xml

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 14:41:52 +02:00
ZetaTom
0d2c34dbde
Fix formatting and suppress magic number
- added some comments

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 14:41:52 +02:00
ZetaTom
f8430b34a0
Add contentDescription to image editor controls
- reduce bottom margin of image editor control strip

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 14:41:52 +02:00
ZetaTom
c113861e63
Add image editor
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-29 14:41:52 +02:00
ZetaTom
a767dee94c
Only colour logo of non-branded client in PreviewMediaFragment
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-28 14:19:19 +02:00
ZetaTom
71cbe4f5e0
Fix deprecation
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-28 14:19:19 +02:00
ZetaTom
30230d37eb
UX fixes for PreviewMediaFragment
- only autoplay videos once
  - e.g. not when returning from external app
- remember playback position on stop
- colour logo to be visible when no audio thumbnail is available

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-28 14:19:19 +02:00
ZetaTom
fee634623a
Fix download action in PreviewMediaFragment
- allow to download file from actions menu
- hide pin to home screen
- fix exception when returning from external player

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-28 14:19:19 +02:00
tobiasKaminsky
d772fe54f5
After successful upload update permission to have correct resharing info
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-26 10:31:24 +02:00
ZetaTom
55bd8cbd9c
Fix back icon when returning from build-in pdf viewer
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-23 16:55:21 +02:00
ZetaTom
391ffa5b1d Fix back arrow appearing as hamburger icon
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-23 09:10:06 +02:00
ZetaTom
a75af065f9 Fix crash when emptying bin
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-21 15:59:20 +02:00
tobiasKaminsky
e0ada449b4
Do not show "stream with" option for encrypted files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-06-21 08:01:45 +02:00
ZetaTom
9124ae8763 Apply requested changes from #11523
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-20 17:00:33 +02:00
A117870935
9390ad33e8 Added copyright. 2023-06-20 18:18:57 +05:30
A117870935
385320df78 Fixed e2ee dialog crash due to null context. 2023-06-20 18:18:54 +05:30
Andy Scherzinger
e70e262778
Merge pull request #11756 from nextcloud/fix/encrypted-folder-icon
Fix encrypted folder icon
2023-06-20 13:13:38 +02:00
ZetaTom
464543dcaa
Open bottom sheet as expanded by default
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-06-20 11:01:52 +02:00