Commit graph

3394 commits

Author SHA1 Message Date
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