Commit graph

3603 commits

Author SHA1 Message Date
renovate[bot]
41a6ab61e5
Update dependency androidx.annotation:annotation to v1.7.1 2024-01-29 19:39:42 +00:00
Andy Scherzinger
4f7170de9d
Merge pull request #12434 from nextcloud/renovate/androidx.media3-media3-exoplayer-1.x
Update dependency androidx.media3:media3-exoplayer to v1.2.1
2024-01-29 20:36:48 +01:00
renovate[bot]
329830e64f
Update dependency androidx.exifinterface:exifinterface to v1.3.7 2024-01-29 19:34:16 +01:00
renovate[bot]
8e1228a310
Update dependency androidx.media3:media3-datasource-okhttp to v1.2.1 2024-01-29 19:32:55 +01:00
renovate[bot]
16bbc65d56
Update dependency androidx.media3:media3-ui to v1.2.1 2024-01-29 19:32:55 +01:00
renovate[bot]
f43289ab0c
Update dependency androidx.media3:media3-exoplayer to v1.2.1 2024-01-29 19:32:51 +01:00
Andy Scherzinger
460757445a
update gradle config to latest snom API
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-01-29 17:20:51 +01:00
renovate[bot]
3539ba46a1
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6 2024-01-29 17:20:51 +01:00
tobiasKaminsky
1825cfdc14
E2E_ERRORS -> E2EE_ERRORS
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-29 15:49:02 +01:00
renovate[bot]
f55395ba24
Update dependency pl.droidsonroids.gif:android-gif-drawable to v1.2.28 2024-01-29 11:55:48 +01:00
Tobias Kaminsky
1dc6262406
Merge pull request #12327 from nextcloud/refactor/remove-file-upload-service
Remove File Upload Service
2024-01-29 11:54:31 +01:00
renovate[bot]
38bfe655ec
Update dependency org.osmdroid:osmdroid-android to v6.1.18 2024-01-29 10:30:07 +01:00
renovate[bot]
2011d66c5f
Update dependency com.mebigfatguy.fb-contrib:fb-contrib to v7.6.4 2024-01-29 09:58:23 +01:00
Tobias Kaminsky
3968cc1143
Merge pull request #12443 from nextcloud/splashScreen
larger splash screen icon
2024-01-29 08:28:33 +01:00
tobiasKaminsky
6c0aaa10e5
larger splash screen icon
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-29 08:19:25 +01:00
Nextcloud bot
23d7d04077
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-29 02:35:56 +00:00
renovate[bot]
5df9b0d14a
Update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.23.4 2024-01-28 22:05:28 +00:00
Nextcloud bot
869fe2c757
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-28 02:36:14 +00:00
Jonas Mayer
7f3a64d1f3 remove unnecessary code
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
bb27d01dc5 Fix notification conflict not resolvable also on master
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
c069cd1992 Fix spotless again
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
878052991c Restart uploads after app restart
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
5ba3201bc5 remove complexity form notifyResult
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
9cdd22d5c6 Fix Spotless again
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
b84ecdc168 Fix Notification problems
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
4826bf11b3 Fix spotless again
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
242e7dbf29 Remove empty java file
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
2acb4ef67e Fix Codacy
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
8f671f70e5 Fix spotless and other small issues
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
6534756d10 Merge with master
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
Jonas Mayer
d335d962f7 Rearrange functions and remove necessary complexity
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-27 12:45:33 +01:00
alperozturk
861a39da8e Improve notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
c00a423a0e Improve notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
d83844fe1f Fix imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
02287fd80b Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
b198f94873 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
96c2284b26 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
30d03d84bc setChannelId for Android 8 and above
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
2fc33a6eba Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
f6bd33734b Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
e507317005 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
72e90e56bf Rename function and remove pending uploads variable
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
d67a87fdb4 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
06f590d88d Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
f44a0360dd Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
7d20b3e62a Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
ce4f5c2901 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
47099dec72 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
bb0a580ada Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
df7f32cd1e Add missing random notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
8a18520b00 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
c6a480b919 Fix CodeAnalytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
50b0a24b5d Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
f258571a69 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
5936210a30 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
3cbd8ba8e6 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
584bac9ae7 Remove FileUploader imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
6f24eb5638 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
0eca11f762 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
0b0691a3ac Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
4c428aef35 Use helper files
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
b4631eb348 Use helper files for FilesUploadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
1f105770b1 Create FileUploaderIntents
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
alperozturk
f94ea0ae21 Create UploadNotificationManager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-27 12:45:33 +01:00
Nextcloud bot
19a1d2b69e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-27 03:07:58 +00:00
Nextcloud bot
9492301397
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-26 02:39:57 +00:00
tobiasKaminsky
a6043df1dd
use branch via jitpack
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-24 08:47:15 +01:00
Elv1zz
e2dd29052b
Reduce number of exit points
The method `onReceivedHttpError` did have 3 exit points (`return`), but Codacy only allows us 2, so error handling for `request?.url` and `view?.context` was combined. Seems debatable, what's more readable, but the rules are the rules.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
7b776c8aa7
Replacing magic number by well-known constant
Improving code quality a bit by avoiding magic numbers.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
d59e16cb4c
Using simplified way of removeKeys method
Isntead of having to find the hostname and port from an URL (which might be more tricky than expected), we now can simply pass down the URL and `AdvancedX509KeyManager` will take care of finding the port from the URL.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
692cee7255
Handle TLS client certificates in NextCloudWebViewClient
All interaction with the nextcloud server is handled by the `NextCloudWebViewClient`, so TLS client certificate handling should be done by that class. Since `AuthenticatorActivity` only extends `NextCloudWebViewClient` with some additional methods, it is enough to have the certificate handling in one place.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
41a8667a26
Temporary change to make automated tests run
Since the official nextcloud android-library does not have the new `AdvancedX509KeyManager`, the automated tests cannot build th
e app. So for that I refer to my fork of the android-library for now. This commit shall be reverted before merge.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Elv1zz
45e369bae8
Added support for TLS client certificates
Using the new `AdvancedX509KeyManager` class from the `nextcloud-android-library` to add support for servers that require a TLS client certificate to connect.

Signed-off-by: Elv1zz <elv1zz.git@gmail.com>
2024-01-24 08:28:08 +01:00
Nextcloud bot
e224626c17
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-24 02:38:08 +00:00
Tobias Kaminsky
14c5bce228
Merge pull request #12404 from nextcloud/filedropBugfix
Filedrop must not be used when serializing
2024-01-23 10:51:11 +01:00
tobiasKaminsky
69aa577b91
Filedrop must not be used when serializing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-23 07:42:45 +01:00
Nextcloud bot
03b163f8ee
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-23 02:47:00 +00:00
Nextcloud bot
d119992272
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-22 02:38:18 +00:00
Nextcloud bot
28df5a551a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 02:57:23 +00:00
tobiasKaminsky
e95f7d162f
Bump master to 3.29 Alpha
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-19 10:18:31 +01:00
Nextcloud bot
162651d73f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-19 02:38:17 +00:00
tobiasKaminsky
3d1265d6aa Optional proxy support
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-18 09:18:02 +00:00
Nextcloud bot
03b31ea6a2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-18 02:37:47 +00:00
tobiasKaminsky
cf67e09c9a
bump to 3.28.0 alpha
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-17 07:40:07 +01:00
Nextcloud bot
a91381732b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-17 02:38:33 +00:00
tobiasKaminsky
218fbd7815
extract tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-16 12:17:50 +01:00
Nextcloud bot
2382361e82
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-16 02:37:38 +00:00
tobiasKaminsky
56f9584dc2 On branded clients always use branding info
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-15 07:26:55 +00:00
Nextcloud bot
ead050d0f3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-15 02:35:41 +00:00
Nextcloud bot
930ff310ec
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-14 02:38:54 +00:00
Nextcloud bot
32e8887b5a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-13 02:42:41 +00:00
Jonas Mayer
4ebcf77a04 remove duplicated service tag
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-12 11:32:19 +01:00
Alper Öztürk
19141213ad
Merge pull request #12357 from nextcloud/fix_crash_after_removing_multible_files_from_favorites
Fix crash when removing multiple favorites when in favorites tab
2024-01-12 11:16:18 +01:00
alperozturk
909c730bde
Remove unused parameter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:56:20 +01:00
alperozturk
95e9be6ce9 Better notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
3ba4721a36 Fix cancel in same root
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ed24172d12 Fix isDownloading for nested folders
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
6fed74a113 Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2a0b754449 Fix cancel and isDownloading
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
3b2824e80e Fix recursive worker start for folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
eb0735e122 Prepare all files to cancel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
15dedf8116 Cancel fix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
c4ba0e0b43 Dont show success notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
98dd0c7210 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
687c557124 Improve notifications for different custom Android OS
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
7970ba7b75 Add long running task support
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
Jonas Mayer
85b68c2307 Improve Notifications
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-12 08:51:16 +01:00
alperozturk
17cdbc23a8 Fix Cancel Notification Appearance and Progress Bar Visibility
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
5aa41ce510 Fix cancel notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
7a0c591926 Fix cancel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f9d330575f Prevent unnecessary file download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
8ff2914ca4 Rename worker observer func
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1689aee89a Fix cancel for unique tag
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
5ea707b003 Use unique tag for all download type to fix sync problems
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
51bb5893eb Fix cancel feature for individual file download inside folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
b4e541602d Cancel All notification when sync canncelled
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
3e4cccfc5f Cancel action remove added
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d19b1d3fb1 No need for clear for each worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
3fe240f6d0 Fix race condition for isFileInQueue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
5b4ce2ee1c Add user check for isFileInQueue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
633bc1e22a Add showNewNotification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
444e22c8c7 Fix sync icon for downloads in queue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
6bf72f4a99 Add credentials error notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
578e450c6f Unify download notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2664349c16 Fix potential race condition
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e366499718 Fix context memory leak
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
28d17e38d2 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d3f5705969 Rename argument name
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
8db5767c99 Fix back to back download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a043144572 Use same worker for file download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a8b5754ec7 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
13c2600c53 Add dismissAll notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d69554dc3b Fix tracking current download status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
de4f673740 Fix tracking current download status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
bb0fae654f Fix file sync icon
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
726a9c601a Fix serializable data limit crash
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
cb40aaf437 Add capability to track multiple download workers
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1df82a7302 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
9f1ff12f46 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
838439571d Fix isDownloading Folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
c525ed51c2 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ac552c5cde Fix worker tag
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
157d1864b3 Fix cancelAllDownloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a180dcd5b3 Fix isDownloadingFolder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1e28130b5d Add folder download job
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a4e6c02d12 Simplify worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
80b08e4fcd Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
bd1de66a14 Fixes notification manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
5c31d91149 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
c135e24c4b Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a6c88a4211 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a6d3731dd3 Use WorkerState for handling download state
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
24fd5587fa Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d2ea1e4666 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e1cc14fd8b Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
43e187b719 Fix requestDownloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
285e6ac8ed Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ce77997033 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
74a4271b00 Use BackgroundJobManager for cancel Downloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
02f9b66fe9 Fix FileDownloaderBinder cancelAllDownloadsForAccount
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ad0ce0edb3 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f8050dca09 Fix Code Analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
987b943edd Fix sync
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
72da838c00 Remove return
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
8ab218869d Add TODO for some unknown code block
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a7f3b08878 Add TODO for some unknown code block
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
362bf80301 Fix Notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
67f8d2620a Fix createMockTask test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
860e619a63 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
113ded1adf Remove Download Service Connections
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d8f00fa41c Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
180dec7746 Create user from accountName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
546833383e Use interfaceSerializer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
b8b3d65907 Implement files download worker constructor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1775e342fb Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1a7e8cbef1 Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
dbe9c58737 Cleanup code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
9226a14dda Fix download progress
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
5559d7bf66 Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e4d7385124 Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a12dca59e7 Create user from accountName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
26804d1954 Use interfaceSerializer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
dc0bcefcf3 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
9d2271a380 Overload downloadFile functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
412319276d Overload downloadFile functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f67b3a9f83 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
0fd76576b2 Refactor FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
b804258790 Implement FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
dcbf89c3d2 Implement FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e33ef3b2a5 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a2a1ce4f23 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
4209c48945 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e1dc124a72 Use fileId for notificationId
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a0482e496d Improve notifications for different custom Android OS
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ef2ebb9176 Add long running task support
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
Jonas Mayer
be1fed8f84 Improve Notifications
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-12 08:51:16 +01:00
alperozturk
e9e74ba8fb Fix Cancel Notification Appearance and Progress Bar Visibility
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
457f01dfd4 Fix cancel notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2754cc6ac6 Fix cancel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
25ff9e884a Prevent unnecessary file download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00