Commit graph

4654 commits

Author SHA1 Message Date
ZetaTom
3657923b4f
Improve naming and formatting
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-07-03 12:20:23 +02:00
Jonas Mayer
cfd7340518
fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-07-03 12:20:23 +02:00
Jonas Mayer
aca3ab8c66
make worker only try to upload current uploads
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-07-03 12:20:23 +02:00
Jonas Mayer
48d40b86af
fix logic issue when checking if delayed for charging
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-07-03 12:20:23 +02:00
Jonas Mayer
c84e3a9220
remove unnecessary checks and calls from restartFailedUploads
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-07-03 12:20:22 +02:00
Tobias Kaminsky
c5d4e13589
Merge pull request #13219 from nextcloud/bugfix/create-plain-client-on-background-thread
Bug-Fix Create PlainClient On Background Thread
2024-07-02 13:56:30 +02:00
alperozturk
a9dc5af025
Show cancel layout
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-02 13:45:24 +02:00
Andy Scherzinger
5c24ba79bd
Merge pull request #13195 from nextcloud/convert-alert-dialogs-to-m3
Convert Alert Dialogs to M3
2024-07-02 10:13:40 +02:00
alperozturk
58ef190fec
Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-02 10:08:46 +02:00
Nextcloud bot
31c7c8642f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-02 02:43:02 +00:00
alperozturk
cdc2c26adf
Use M3
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 16:34:38 +02:00
alperozturk
b20cb89ebd
Use M3 for showAutoUploadAlertDialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 15:16:40 +02:00
alperozturk
0ee6492197 Use M3 for SettingsActivity
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 15:08:26 +02:00
alperozturk
0ca310b3e1 Reduce lint
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 15:08:26 +02:00
alperozturk
7a177b79c2 Fixes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 15:08:26 +02:00
alperozturk
6bc5c4e945 Use view theme utils
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 15:08:26 +02:00
alperozturk
3429e43b84 Use M3 alert dialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 15:08:26 +02:00
alperozturk
28eac70a07 Optimize imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 15:08:26 +02:00
alperozturk
992977d27e Convert to M3
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 15:08:26 +02:00
alperozturk
ef99bf5332
Add raw byte
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 09:34:09 +02:00
alperozturk
fb3000e758 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 09:16:07 +02:00
alperozturk
d1d8c58c76 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 09:16:07 +02:00
alperozturk
a8d96d0319 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 09:16:07 +02:00
alperozturk
51724b5a89 Use bytesToHumanReadable
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 09:16:07 +02:00
alperozturk
8e07b47156 Use extension for null files
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 09:16:07 +02:00
alperozturk
3bc37e7097 Use extension for null files
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 09:16:07 +02:00
alperozturk
05cde13428 Use extension for null files
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 09:16:07 +02:00
alperozturk
9aee148f8a Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-07-01 09:16:07 +02:00
Nextcloud bot
8e4a146be6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-01 02:39:09 +00:00
Nextcloud bot
93a465dbcb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-30 02:39:44 +00:00
Nextcloud bot
99adf5d455
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-29 02:41:02 +00:00
Alper Öztürk
56100debf1
Merge pull request #13208 from nextcloud/crash-fix-check-internet-connection
Crash Fix Internet Connection Check On Item Click
2024-06-28 16:09:05 +02:00
alperozturk
312f61f86f
Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-28 12:46:23 +02:00
alperozturk
6f64b1649d
Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-28 11:51:59 +02:00
alperozturk
81a1a5769b
Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-28 10:40:28 +02:00
alperozturk
66f0da3174 Give feedback to user
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-28 10:36:32 +02:00
alperozturk
38d9b0f4cb Simplify logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-28 10:36:32 +02:00
alperozturk
628c32f4ea Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-28 10:36:32 +02:00
Alper Öztürk
22a75270c4
Merge pull request #13187 from nextcloud/convert-preview-image-fragment-to-kt
Convert Preview Image Fragment to Kotlin
2024-06-28 10:07:37 +02:00
Nextcloud bot
8355fde336
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-28 02:47:47 +00:00
renovate[bot]
ab6b68d4fc
fix(deps): update dependency com.google.code.gson:gson to v2.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 21:07:32 +00:00
renovate[bot]
39a0ac2f02
fix(deps): update dependency androidx.test:orchestrator to v1.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 21:04:22 +00:00
renovate[bot]
15084a603c
fix(deps): update dependency androidx.test.ext:junit to v1.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 21:00:49 +00:00
Andy Scherzinger
c787f730db
Merge pull request #12902 from nextcloud/renovate/com.squareup.leakcanary-leakcanary-android-2.x
fix(deps): update dependency com.squareup.leakcanary:leakcanary-android to v2.14
2024-06-27 22:34:20 +02:00
renovate[bot]
4b36867dab
fix(deps): update dependency androidx.fragment:fragment-ktx to v1.8.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 19:18:33 +00:00
Andy Scherzinger
40d45bcb7a
fix: ktlint compliant kotlin formatting/code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-27 20:29:23 +02:00
renovate[bot]
4b8d1d1811
Update plugin com.diffplug.spotless to v6.25.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 20:29:22 +02:00
alperozturk
3c7e568d27
Auto close file streams
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-27 14:26:22 +02:00
Andy Scherzinger
610f32c7f1
chore(deps): Add base gms dependency due to messaging lib update
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-27 10:56:33 +02:00
renovate[bot]
46be7c943c
Update dependency com.google.firebase:firebase-messaging to v24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 10:56:33 +02:00
alperozturk
01910f70ba Convert to Kotlin
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-27 10:40:50 +02:00
alperozturk
f6af071964 Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-27 10:40:50 +02:00
Andy Scherzinger
a37e6d228f
Merge pull request #13158 from camillo-positano/master
fix for media tab not showing thumbnails when image not in cache manager
2024-06-27 10:34:25 +02:00
alperozturk
c19c2156d1 Fix git conflict
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-27 09:02:21 +02:00
alperozturk
68c8b21b3e Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-27 09:02:21 +02:00
camillo-positano
92d641eabc extracted method and improved code
Signed-off-by: camillo-positano <camillo.positano@hotmail.it>
2024-06-27 08:57:55 +02:00
camillo-positano
d42198a96f added logic to check that params is populated and is an instance of OCFile. Added log when there is no preview and no remote id.
Signed-off-by: camillo-positano <camillo.positano@hotmail.it>
2024-06-27 08:57:55 +02:00
camillo-positano
32fc7c5ae2 fix for update loop
Signed-off-by: camillo-positano <camillo.positano@hotmail.it>
2024-06-27 08:57:55 +02:00
camillo-positano
8d6a099770 fix for media tab not showing thumbnails when image is on server only and not in the cache manager.
Signed-off-by: camillo-positano <camillo.positano@hotmail.it>
2024-06-27 08:57:55 +02:00
Alper Öztürk
f6de7a822d
Merge pull request #13184 from nextcloud/bugfix/unified-search-limit
Bugfix Unified Search Load More
2024-06-27 07:29:29 +02:00
Nextcloud bot
dc2217784e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-27 02:40:46 +00:00
alperozturk
a971dbd5d2
Check last entry
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-26 14:36:01 +02:00
alperozturk
59e721c405 Remove statement
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-26 13:57:45 +02:00
alperozturk
cd40af590a Fix NumberFormatException for test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-26 13:57:45 +02:00
alperozturk
a180ec3962 Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-26 13:57:45 +02:00
alperozturk
62e8f1934d Fix DEFAULT_LIMIT and limit
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-26 13:57:45 +02:00
alperozturk
55555e7159 Fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-26 13:57:45 +02:00
alperozturk
46525cc350 Delete unused functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-26 13:57:45 +02:00
alperozturk
30b255b43d Refactor adapter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-26 13:57:45 +02:00
alperozturk
962c50eecc Fix DEFAULT_LIMIT and limit
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-26 13:57:45 +02:00
Alper Öztürk
f8e49f28e3
Merge pull request #13159 from nextcloud/handle-login-flow-v2-response
Handle Login Flow V2 Response
2024-06-26 10:09:49 +02:00
Nextcloud bot
0a642ee9ae
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-26 02:40:07 +00:00
Andy Scherzinger
b75aef3741
fix: replace hard-coded empty string with empty string resource id
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-25 14:32:23 +02:00
Alper Öztürk
7c71486d62
Merge pull request #13157 from nextcloud/refactor/convert-preview-image-activity-to-kt
Convert Preview Image Activity to Kotlin
2024-06-25 13:30:52 +02:00
alperozturk
35ca58a33c Handle response correctly
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-25 13:02:42 +02:00
renovate[bot]
357dd9fd9c
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.18
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 08:11:25 +00:00
alperozturk
85aab26bc4 Convert to Kotlin
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-25 09:21:52 +02:00
alperozturk
f273dcc79f Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-25 09:21:52 +02:00
Nextcloud bot
55a57acf34
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-24 02:39:16 +00:00
Nextcloud bot
98501b3c55
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-22 03:37:31 +00:00
Andy Scherzinger
58ef7d4cf0
Merge pull request #12986 from nextcloud/renovate/org.objenesis-objenesis-3.x
Update dependency org.objenesis:objenesis to v3.4
2024-06-21 13:54:57 +02:00
Andy Scherzinger
d504fc7085
Merge pull request #12985 from nextcloud/renovate/com.google.android.material-material-1.x
Update dependency com.google.android.material:material to v1.12.0
2024-06-21 13:54:24 +02:00
Nextcloud bot
f03c1ca601
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-21 02:40:34 +00:00
Nextcloud bot
95c84b4af2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-20 02:40:06 +00:00
TimedIn
d00c157672 Add video upload from camera dialog
Signed-off-by: TimedIn <git@timedin.net>
2024-06-19 10:27:49 +02:00
alperozturk
7ee7542c89 Fix license header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-18 15:03:58 +02:00
alperozturk
fce3f1491e Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-18 15:03:58 +02:00
alperozturk
dc4ecda7ec Use OnDatatransferProgressListener extension for percentage
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-18 15:03:58 +02:00
Nextcloud bot
d5cde2af06
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-18 02:40:36 +00:00
renovate[bot]
e7e17d3f0d
Update dependency com.squareup.leakcanary:leakcanary-android to v2.14
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 14:12:53 +00:00
alperozturk
2d4d3ea7db Convert to kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-17 14:13:46 +02:00
alperozturk
0127143748 Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-17 14:13:46 +02:00
renovate[bot]
5cb3a7baa3
Update dependency com.google.android.material:material to v1.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 09:56:25 +00:00
Nextcloud bot
f9a0cbeb28
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-17 02:36:58 +00:00
renovate[bot]
189a61fe01
Update dependency org.objenesis:objenesis to v3.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-16 08:22:51 +00:00
Nextcloud bot
28a0667662
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-16 02:40:22 +00:00
Andy Scherzinger
38a3f87ce3
Merge pull request #13120 from nextcloud/renovate/androidx.lifecycle-lifecycle-viewmodel-ktx-2.x
Update dependency androidx.lifecycle:lifecycle-viewmodel-ktx to v2.8.2
2024-06-15 08:25:56 +02:00
Nextcloud bot
bbbc437aa0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-15 02:42:52 +00:00
renovate[bot]
0a7d20921c
Update dependency androidx.lifecycle:lifecycle-viewmodel-ktx to v2.8.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-14 19:29:14 +00:00
Andy Scherzinger
0a8a38fb19
Merge pull request #13119 from nextcloud/renovate/androidx.lifecycle-lifecycle-service-2.x
Update dependency androidx.lifecycle:lifecycle-service to v2.8.2
2024-06-14 21:16:27 +02:00
Andy Scherzinger
d3102c4d45
Merge pull request #13129 from nextcloud/renovate/androidx.fragment-fragment-ktx-1.x
Update dependency androidx.fragment:fragment-ktx to v1.8.0
2024-06-14 21:15:59 +02:00
Andy Scherzinger
d5d037d7e8
Merge pull request #13126 from nextcloud/renovate/androidx.annotation-annotation-1.x
Update dependency androidx.annotation:annotation to v1.8.0
2024-06-14 21:14:33 +02:00
Andy Scherzinger
c970f94bb9
Merge pull request #13117 from nextcloud/renovate/androidx.compose.ui-ui-tooling-1.x
Update dependency androidx.compose.ui:ui-tooling to v1.6.8
2024-06-14 21:11:53 +02:00
alperozturk
3c2494d502 Add lastMediaItemPosition
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-14 10:49:59 +02:00
renovate[bot]
87c272bb63
Update dependency androidx.compose.ui:ui-tooling to v1.6.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-14 07:51:14 +00:00
Andy Scherzinger
7775e76a22
Merge pull request #13128 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
Update dependency androidx.compose:compose-bom to v2024.06.00
2024-06-14 09:44:46 +02:00
Andy Scherzinger
20c0fdd74c
Merge pull request #13118 from nextcloud/renovate/androidx.compose.ui-ui-tooling-preview-1.x
Update dependency androidx.compose.ui:ui-tooling-preview to v1.6.8
2024-06-14 09:43:45 +02:00
Andy Scherzinger
ef0ba9a2ef
Merge pull request #13124 from nextcloud/renovate/com.google.devtools.ksp-2.x
Update plugin com.google.devtools.ksp to v2.0.0-1.0.22
2024-06-14 09:43:31 +02:00
renovate[bot]
eb5fa9773c Update dependency androidx.compose:compose-bom to v2024.06.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-14 09:14:56 +02:00
Andy Scherzinger
84bf15ad99
Merge pull request #13121 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.16
2024-06-14 07:27:55 +02:00
Nextcloud bot
ca7b84c86a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-14 02:40:39 +00:00
renovate[bot]
13bf0058c0
Update dependency androidx.fragment:fragment-ktx to v1.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 20:08:16 +00:00
renovate[bot]
d62e64a78d
Update dependency androidx.annotation:annotation to v1.8.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 20:02:50 +00:00
renovate[bot]
8df4b6d421
Update plugin com.google.devtools.ksp to v2.0.0-1.0.22
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 20:00:47 +00:00
renovate[bot]
caa3a326c7
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.16
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 19:55:57 +00:00
renovate[bot]
2b667d4f0a
Update dependency androidx.lifecycle:lifecycle-service to v2.8.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 19:51:19 +00:00
renovate[bot]
14c60c43b2
Update dependency androidx.compose.ui:ui-tooling-preview to v1.6.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 19:49:17 +00:00
Alper Öztürk
a352271896
Merge pull request #13074 from nextcloud/bugfix/fix-npe-FileDataStorageManager
Bugfix Fix NPE FileDataStorageManager
2024-06-13 15:42:56 +02:00
Tobias Kaminsky
8221870963
Merge pull request #13091 from nextcloud/depN16
new min server is NC17
2024-06-13 10:47:25 +02:00
Tobias Kaminsky
ef0a798e92
Merge pull request #13109 from nextcloud/logoSameSize
Use same logo size
2024-06-13 09:25:27 +02:00
tobiasKaminsky
e05e865d3c
update screenshots
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-13 08:14:57 +02:00
tobiasKaminsky
4776791f01
Use same logo size for
- account setup
- what's new screen
- splash screen

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-13 07:50:11 +02:00
tobiasKaminsky
82b596280c
fix after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-12 15:46:22 +02:00
ZetaTom
c1d2d8af13
Deprecate OwncloudClient - Comments
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-06-12 15:46:09 +02:00
ZetaTom
ebc67f6acd
Adapt OperationsService for NextcloudClient
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-06-12 15:46:09 +02:00
Alper Öztürk
5d83a2961b
Merge pull request #13093 from nextcloud/view-pager-2-implementation
Migrate to View Pager 2 & Crash-Fix | Farewell to ViewPager 1 🥳
2024-06-12 14:33:54 +02:00
Tobias Kaminsky
52751d523f
Merge pull request #12267 from nextcloud/depocc/directediting
Deprecate OwncloudClient - DirectEditing
2024-06-12 14:29:00 +02:00
alperozturk
20d5423ccf Fix ss test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 11:41:58 +02:00
alperozturk
a8215488e0 Fix ss test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 11:41:58 +02:00
alperozturk
5648f31af4 Migrate ViewPager 1 to ViewPager 2
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 11:41:58 +02:00
alperozturk
48bceefea2 Fix java.lang.IllegalStateException: Design assumption violated.
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 11:41:58 +02:00
Alper Öztürk
49126124a5
Merge pull request #13092 from nextcloud/bugfix/audio-file-preview
Bugfix Audio File Preview
2024-06-12 11:16:50 +02:00
tobiasKaminsky
4bb1198b6e
fix
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-12 10:48:40 +02:00
ZetaTom
0afeffc1bb
Replace OwnCloudClient instances
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-06-12 10:48:40 +02:00
ZetaTom
58b387b997
Deprecate OwncloudClient - DirectEditing
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-06-12 10:48:40 +02:00
alperozturk
fb9e2e0ef2 Account cannot be null so test is removed
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
alperozturk
77a34ac481 Add AnonymousAccount for fresh install
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
alperozturk
d1e3f59afc Make getDefaultAccount inline
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
alperozturk
ce099ad0e2 Revert ArbitraryDataProvider due to a lot of constructor changes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
alperozturk
99be0ad500 Use non nullable account in session mix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
alperozturk
b53f9f6093 Use non nullable account in session mix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
alperozturk
ae15f5c733 Remove unnecessary FileDataStorageManager initialization in SessionMixin
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
alperozturk
0b1de27ae2 Remove unnecessary FileDataStorageManager initialization in SessionMixin
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
alperozturk
991a390a2c Use DI if getStorageManager is null
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-12 09:24:08 +02:00
Nextcloud bot
718261c64d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-12 02:41:55 +00:00
alperozturk
43f575f9ae
Remove recreate
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-11 13:01:38 +02:00
alperozturk
91162ce731
Add preparePreviewForAudioFile
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-11 12:08:32 +02:00
alperozturk
1c83296381
kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-11 11:58:06 +02:00
alperozturk
58cca587ca
Fix previewing audio file
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-11 11:57:33 +02:00
alperozturk
ed252e5a55
Check nullable fields
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-11 09:56:43 +02:00
tobiasKaminsky
2dc16fcc6d
new min server is NC17
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-11 08:50:24 +02:00
tobiasKaminsky
ba40293689
fix
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-11 08:21:40 +02:00
tobiasKaminsky
dfbc9f9ea1
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-11 07:27:33 +02:00
tobiasKaminsky
c9372dd018
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-11 07:25:38 +02:00
tobiasKaminsky
af68e379ae
use jitpack
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-11 07:25:38 +02:00
ZetaTom
1897ad19d6
Replace OwnCloudClient instances
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-06-11 07:25:38 +02:00
ZetaTom
97e31644ce
Deprecate OwncloudClient - Notifications
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-06-11 07:25:38 +02:00
ZetaTom
d6c3eb0196
Adapt OperationsService for NextcloudClient
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-06-11 07:25:38 +02:00
ZetaTom
2c3b42445b
Add toNextcloudClient extension to OwnCloudClient
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-06-11 07:25:38 +02:00
Nextcloud bot
ede05f6774
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-11 02:39:07 +00:00
Alper Öztürk
ac5cd4e0b8
Merge pull request #13084 from nextcloud/bugfix/general-crash-fixes
Bugfix General Crash Fixes
2024-06-10 09:21:17 +02:00
Nextcloud bot
da2e495442
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-10 02:42:08 +00:00
Nextcloud bot
6ed530ee6b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-09 02:38:50 +00:00
Alper Öztürk
4f2fdbccaf
Merge pull request #13076 from nextcloud/bugfix/npe-SslUntrustedCertDialog
Bugfix NPE & Convert to Kotlin SSL Untrusted Cert Dialog
2024-06-07 13:39:30 +02:00
Alper Öztürk
009bb25b22
Merge pull request #13081 from nextcloud/improvement/show-snackbar-message-instead-throwing-exception
Show Snackbar Message Instead Throwing Exception For Sync Folder Operations
2024-06-07 13:37:23 +02:00
alperozturk
331b7c2c6e
Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-07 13:17:12 +02:00
alperozturk
1ec83e7f51
Check fragment manager executing transaction in FileDisplayActivity.java when user try to open file actions from search screen
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-07 12:41:44 +02:00
alperozturk
74d47b7484
Fix Scale must be within the range of minScale and maxScale exception
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-07 12:27:14 +02:00
alperozturk
04f0a00d65
Check nullability of accountName in FileDisplayActivity.java
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-07 12:21:30 +02:00
alperozturk
4dd6a6d277
Add coroutineExceptionHandler to UnifiedSearchRemoteRepository
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-07 12:18:08 +02:00
alperozturk
2e0d455905
Check listDirectory nullability in OCFileListFragment.java
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-07 12:11:50 +02:00
alperozturk
9ad5feda6c
Check mLocalFolder nullability in RefreshFolderOperation.java
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-07 12:05:34 +02:00
alperozturk
ba359781a1
Check mIndexes nullability is ExtendedListFragment.java
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-07 12:03:12 +02:00
alperozturk
a402a4d48f Fix wrong context usage
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-07 08:53:03 +02:00
Nextcloud bot
54204ebabf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-07 05:45:06 +00:00
alperozturk
e4d701309a
Revert
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 15:49:12 +02:00
alperozturk
7fd13cb609
Show snackbar message instead throwing exception
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 15:45:59 +02:00
alperozturk
3a932b0082
Simplify variable namings
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 14:33:00 +02:00
alperozturk
be55d52c79 Reduce lint
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 14:23:54 +02:00
alperozturk
3e8e2f176e Convert to kt and fix npe
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 14:23:54 +02:00
alperozturk
e84639b037 Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 14:23:54 +02:00
Alper Öztürk
1c52ce37ac
Merge pull request #13073 from nextcloud/bugfix/fix-rare-lateinit-crash-on-file-download-worker
Bugfix Fix Rare lateinit Crash on File Download Worker
2024-06-06 12:52:40 +02:00
Alper Öztürk
6423b8951d
Merge pull request #13075 from nextcloud/bugfix/check-dialog-fragments-before-take-an-action
Bugfix Add ActivityExtensions for Checking Dialog Fragments
2024-06-06 12:41:47 +02:00
alperozturk
86bb62927b
Better variable naming
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 11:26:50 +02:00
alperozturk
0ab759049b
Fix condition for dialogFragment in onSyncFolderSettingsClick
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 11:25:27 +02:00
alperozturk
cd48601249
Fix crash for loading dialog fragment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 11:22:36 +02:00
alperozturk
ef8a4407d0
Fix licence header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 11:02:09 +02:00
alperozturk
5b41d847c2
Add ActivityExtensions for checking dialog fragments readiness
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 10:58:05 +02:00
alperozturk
163e73e449
Remove lateinit
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 09:55:03 +02:00
alperozturk
88b7aee1b1
Remove lateinit
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 09:43:39 +02:00
alperozturk
99ec9837ce Reduce lint & fix condition for start service
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 09:16:18 +02:00
alperozturk
85adb503c3 Use jetpack lifecycle
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 09:16:18 +02:00
alperozturk
b2696e087e Use getter and setter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 09:16:18 +02:00
alperozturk
e4f231d1ce Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 09:16:18 +02:00
alperozturk
ea2665951e Only start foreground service when app in foreground
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-06 09:16:18 +02:00
Nextcloud bot
65bd099f85
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-06 06:12:30 +00:00
alperozturk
f2b059329a
Fix crash
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-05 11:22:58 +02:00
Nextcloud bot
2414d0cb44
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-05 02:39:43 +00:00
renovate[bot]
730228f1da
Update dependency androidx.compose.ui:ui-tooling-preview to v1.6.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 10:19:15 +00:00
renovate[bot]
253e272770 Update dependency androidx.compose.ui:ui-tooling to v1.6.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 10:24:57 +02:00
Nextcloud bot
a1f0c71b7d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-04 02:41:05 +00:00
alperozturk
cc54275ecd
Fix Empty License Header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 16:40:29 +02:00
Alper Öztürk
e9cd67e237
Merge pull request #13057 from nextcloud/nmc/deepLink
Added deep link support for screens navigation
2024-06-03 15:28:07 +02:00
Alper Öztürk
fb27807502
Merge pull request #12984 from nextcloud/renovate/androidx.webkit-webkit-1.x
Update dependency androidx.webkit:webkit to v1.11.0
2024-06-03 14:49:28 +02:00
alperozturk
f7ef270dae Simplify handleDeepLink logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 14:19:45 +02:00
alperozturk
1642a5593e Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 14:19:45 +02:00
alperozturk
a3f17bb493 Hide loading dialog for navigation paths
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 14:19:45 +02:00
alperozturk
4c91e3ed08 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 14:19:45 +02:00
A117870935
50f06834ab Added app deep link support for screens navigation
Signed-off-by: A117870935 <surinder.kumar@t-systems.com>
2024-06-03 14:19:45 +02:00
Alper Öztürk
9c00c616c8
Merge pull request #12907 from nextcloud/feature/unify-notifications
Unify Notifications
2024-06-03 12:32:24 +02:00
Alper Öztürk
0459e97a84
Merge pull request #13015 from nextcloud/remove-foreground-worker-for-auto-upload
Create individual workers for every Autoupload Folder
2024-06-03 11:49:29 +02:00
alperozturk
4251fa7a13
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:34:10 +02:00
alperozturk
28bdc1d740 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
ecb89dd33a Fix upload notification blinking
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
e17e892bf0 Remove duplicated upload conditions to fix code analysis
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
08858c45ce Delete unused call
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
98bb55cdf3 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
2d11376e21 Only show total download/upload progress if total count bigger than 0
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
353ed5e088 Add minProgressUpdateInterval time for upload and downloads for preventing unnecessary updates
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
4b10293660 Use BigTextStyle
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
8377616ec5 Extract dismissNotification common logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
6269c23b60 Extract setProgress common logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
a07d6fb8b8 Remove deprecated usage of NotificationCompat.Builder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
776d6facdc Extract common logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
91b589af6d Use parent class for common logic WorkerNotificationManager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
5d90db15a3 Make upload_notification_manager_start_text translatable
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
3c2d67756a Add getTotalUploadSize and inject limit to getUploadPage
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
Alper Öztürk
ce79597b4e Update app/src/main/java/com/nextcloud/client/jobs/upload/UploadNotificationManager.kt
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2024-06-03 10:20:03 +02:00
alperozturk
53db28ae77 Remove unnecessary dismiss
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
958f2cf181 Remove unused resources
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
2e2c1c3f61 Remove unused resources
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
401a4e33a1 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
3a52f58466 Use one notification for all downloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
eb76c56a2a Simplify download notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
adfaa88b30 Fix notification sync issue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
46c373a229 Use one notification for uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
146bf0c18d Use one notification for uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
2eb576a1db Use one notification for uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
b2384fb961 Use one notification for uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
alperozturk
b9d51ebbf9 Make upload notifications dismissable
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-06-03 10:20:03 +02:00
Alper Öztürk
2da21f8fea
Merge pull request #13036 from nextcloud/feature/kotlin-2.0
Upgrade to Kotlin 2.0 🎉
2024-06-03 10:09:23 +02:00
Nextcloud bot
d5ee1f2baa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-03 02:38:57 +00:00
Nextcloud bot
859a90264a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-02 02:38:59 +00:00
Nextcloud bot
599ada3ced
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-01 02:38:20 +00:00
Nextcloud bot
3cfcb90cc7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-31 02:37:18 +00:00
Jonas Mayer
664fad2723
Merge pull request #13053 from nextcloud/restore-right-global-pause-icon
Bugfix Restore correct global pause icon in uploads tab
2024-05-30 08:31:20 +02:00
Nextcloud bot
d6d36a7fda
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-30 02:39:17 +00:00
Alper Öztürk
50b5cc55f7
Merge pull request #13038 from nextcloud/bugfix/setLeftFragment-fragmentManager-has-been-destroyed
Check FragmentManager Before commit new FragmentTransaction
2024-05-29 20:29:18 +02:00
Jonas Mayer
561f73fe20 Fix layout
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-29 16:38:10 +02:00
Jonas Mayer
b8046a13f4 add expand less icon again
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-29 16:38:10 +02:00