Commit graph

24211 commits

Author SHA1 Message Date
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
Tobias Kaminsky
7d3a8ab281
Merge pull request #13061 from nextcloud/update-library-2024-06-02
Update library to 2024-06-02
2024-06-03 08:09:56 +02:00
Tobias Kaminsky
3af473c869 Update library to 2024-06-02
Signed-off-by: Tobias Kaminsky <tobias@kaminsky.me>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-06-03 07:18:13 +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
Andy Scherzinger
9cf3781c9e
Merge pull request #13058 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-06-01 10:24:41 +02: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-android-bot
5ab6a34980 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-06-01 02:31:29 +00:00
Tobias Kaminsky
6a7758ee80
Merge pull request #13056 from nextcloud/rexml
Update fastlane
2024-05-31 07:32:52 +02:00
tobiasKaminsky
b974cefc25
Update fastlane
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-05-31 07:29:39 +02: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
5922cd7313
Merge pull request #12847 from nextcloud/Feature/Add-collabsable-icon-in-uploads-tab
Add visual hint to collapsible headers in uploads tab
2024-05-29 19:55:59 +02:00
github-actions
5ba6784328 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2024-05-29 16:38:10 +02:00
Jonas Mayer
dc95162972 Update lint-results.txt
Signed-off-by: Jonas Mayer <43114340+JonasMayerDev@users.noreply.github.com>
2024-05-29 16:38:10 +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
github-actions
64e0d3dbb8 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
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
Jonas Mayer
ae913a1367 add dark theme compatibility
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-29 16:38:10 +02:00
Jonas Mayer
d8d172c752 add icon, still needs color-correction for dark theme
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-29 16:38:10 +02:00
github-actions
0e8ce86f76 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2024-05-29 16:37:27 +02:00
Jonas Mayer
1d39fcfc68 replace broken icon with old one
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-29 16:37:27 +02:00
Alper Öztürk
cf52d8ccb0
Merge pull request #13037 from nextcloud/bugfix/crash-on-fragment-show-on-file-activity
Fix Crash Show Fragment During FileActivity Lifecycle Change
2024-05-29 12:02:57 +02:00
Nextcloud bot
f9d81c74c0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-29 02:36:37 +00:00
Jonas Mayer
d91b6528a7 Decouple and clean up FilesSyncWork
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-28 20:06:28 +02:00