Commit graph

3500 commits

Author SHA1 Message Date
alperozturk
b48ddf5d44 Add loading and empty states
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-03-13 09:12:11 +01:00
alperozturk
f55017f077 UI Fixes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-03-13 09:12:11 +01:00
alperozturk
ca52db7437 Add GetTaskListRemoteOperation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-03-13 09:12:11 +01:00
alperozturk
ab78bd8c20 Add CreateTaskRemoteOperation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-03-13 09:12:11 +01:00
alperozturk
b2c0202d42 Add AssistantRepository
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-03-13 09:12:11 +01:00
alperozturk
6767ab8636 Add UI Components
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-03-13 09:12:11 +01:00
alperozturk
b7b5907f98 Add ViewModel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-03-13 09:12:11 +01:00
alperozturk
6afa518e2a Add Jetpack Compose feature
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-03-13 09:12:11 +01:00
alperozturk
c577a0550f Add assistant to the navbar
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-03-13 09:12:11 +01:00
Nextcloud bot
0a39df3e1c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-13 04:31:18 +00:00
Nextcloud bot
0cd5e45fba
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-12 02:40:35 +00:00
ZetaTom
995600ec2c Fix ReceiveExternalFilesActivity intent
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-03-11 16:48:52 +01:00
ZetaTom
f4f21f6148 Fix infinite loading of folders in shared tab
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-03-11 16:31:59 +01:00
Nextcloud bot
11265ac265
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-10 02:40:19 +00:00
Nextcloud bot
83bcc23b8d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-08 02:40:54 +00:00
tobiasKaminsky
2456369054
Redirect only if url should be redirected
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-03-07 10:07:03 +01:00
Nextcloud bot
624b0c29fd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-07 02:50:34 +00:00
Nextcloud bot
c15a114e8c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-06 06:26:36 +00:00
Nextcloud bot
10a854cf34
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-06 06:23:16 +00:00
Nextcloud bot
82838b0158
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-05 02:41:02 +00:00
Tobias Kaminsky
6e340cdd2a
Revert "Fix Path Traversal To Internal File ExFiltration" 2024-03-04 11:47:17 +01:00
Alper Öztürk
c2d8c02de3
Merge pull request #12577 from nextcloud/fix/internal-file-exfiltration
Fix Path Traversal To Internal File ExFiltration
2024-03-04 11:46:35 +01:00
Nextcloud bot
54b1359c95
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-04 02:40:57 +00:00
Nextcloud bot
a8a5892995
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-03 02:38:32 +00:00
Andy Scherzinger
ef5b608572
Fix injection field visibility for dagger
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-01 17:10:58 +01:00
Andy Scherzinger
8846907aa8
Fix wrong comment type
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-01 13:49:18 +01:00
Andy Scherzinger
95be5705b0
Fix lint - Unsafe opt-in usage intended to be error-level severity
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-01 13:49:18 +01:00
Nextcloud bot
1309835e01
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-01 11:07:17 +00:00
Unpublished
8d964c605b
Fix back button in trash bin
Signed-off-by: Unpublished <unpublished@gmx.net>
2024-02-29 11:19:45 +01:00
ZetaTom
538ed53b09
Fix UsersAndGroupsSearchProvider causing SecurityException on non-vanilla builds
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-02-28 11:36:44 +01:00
Nextcloud bot
3b3b2fd4d2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 02:49:50 +00:00
Nextcloud bot
57bc02ed30
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-27 02:40:07 +00:00
Andy Scherzinger
3d16384e71
Merge pull request #12490 from nextcloud/renovate/me.zhanghai.android.fastscroll-library-1.x
Update dependency me.zhanghai.android.fastscroll:library to v1.3.0
2024-02-26 13:15:48 +01:00
Alper Öztürk
0477a3aebc
Merge pull request #12584 from nextcloud/refactor/remove-previousSortGroupState-usage
Remove previousSortGroupState Usage For Set Visibility Of Sort List Group
2024-02-26 10:38:26 +01:00
Nextcloud bot
fd588cc098
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-25 02:41:21 +00:00
Tobias Kaminsky
639a7b9f53
Merge pull request #12587 from nextcloud/fixAuthNPE
On branded clients NPE can occur
2024-02-23 14:49:52 +01:00
tobiasKaminsky
651323477b
On branded clients NPE can occur
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-02-23 09:37:23 +01:00
tobiasKaminsky
caaa27b466
changes for new lib
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-02-23 09:24:02 +01:00
alperozturk
a2d002a2fc Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-23 08:53:56 +01:00
alperozturk
3010f78f79 Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-23 08:53:56 +01:00
alperozturk
57564073b8 Convert AuthenticatorAsyncTask to kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-23 08:53:56 +01:00
alperozturk
305af05ef7 Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-23 08:53:56 +01:00
alperozturk
a94940a071 Convert AuthenticatorUrlUtils to kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-23 08:53:56 +01:00
alperozturk
5806b17de5 Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-23 08:53:56 +01:00
alperozturk
c3c8c3b5dd Remove previousSortGroupState usage
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-23 08:53:34 +01:00
alperozturk
964b2215c8 Remove previousSortGroupState usage
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-23 08:53:34 +01:00
Tobias Kaminsky
f3041e266f
Merge pull request #12589 from nextcloud/excludeShot
Exclude shot for normal builds
2024-02-23 08:00:53 +01:00
Nextcloud bot
f1c424f42e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-23 02:39:39 +00:00
tobiasKaminsky
002f61a2de
Exclude shot for normal builds
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-02-22 15:55:00 +01:00
Nextcloud bot
dcae7dde4e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-22 02:41:45 +00:00
alperozturk
89770f0de2 Fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-20 16:04:14 +01:00
alperozturk
b555cb7a81 Replace functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-20 16:04:14 +01:00
Nextcloud bot
c6f0021b07
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-20 02:37:10 +00:00
Nextcloud bot
e750a7d154
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-19 02:40:00 +00:00
Nextcloud bot
741879c4d5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-18 16:43:22 +00:00
rakekniven
7d0bbec370
fix(i18n): Fixed typo
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-02-18 17:06:10 +01:00
Nextcloud bot
749340653b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-18 02:39:51 +00:00
Nextcloud bot
87dc947039
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-16 07:36:14 +00:00
Jonas Mayer
86c6a553f6 fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-14 15:30:52 +01:00
alperozturk
5b285946d0 Refactor, add info message for not existing cancelled uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-14 15:13:01 +01:00
Jonas Mayer
6d06df9757 rename functions
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-14 15:13:01 +01:00
Jonas Mayer
6d3b8897b3 fix spot bugs
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-14 15:13:01 +01:00
Jonas Mayer
044e83548d fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-14 15:13:01 +01:00
Jonas Mayer
c6c5e8fbd6 add resume functionality for uploads
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-14 15:13:01 +01:00
Jonas Mayer
db7cd0033d add new state manually cancelled
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-14 15:13:01 +01:00
Alper Öztürk
dac1b46057
Merge pull request #12540 from nextcloud/bugfix/pop-sort-list-crash
BugFix Check emptiness of previousSortGroupState
2024-02-14 15:08:38 +01:00
alperozturk
cd54581320 Fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-14 10:28:59 +01:00
alperozturk
9419d6cf09 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-14 10:28:59 +01:00
alperozturk
7f8be9130e Add IntentExtensionTest
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-14 10:28:59 +01:00
alperozturk
573e9d6580 Check ClassCastException edge, nullability of bundle or intent
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-14 10:28:59 +01:00
Bhavesh Kumawat
a7160f80d4
adding one more dummy element 2024-02-14 09:27:17 +01:00
Bhavesh Kumawat
36a6941ab3
making quota bar opaque 2024-02-14 09:27:14 +01:00
Jonas Mayer
f59caa7b74
Merge pull request #12516 from nextcloud/only_upload_for_right_account
Bugfix: Change database query to only return uploads for right account
2024-02-14 04:40:38 +01:00
Jonas Mayer
610ec1dfb7 change database query to only return uploads for right account
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:47:26 +01:00
Jonas Mayer
4e184d1830 Make onOptionsItemSelected not always return true
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
Jonas Mayer
d75227aa0f Fix codacy issue
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
alperozturk
aee4a6cb9d Change Title, remove description for uploads.
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-13 14:37:07 +01:00
alperozturk
a5bc2684c5 Remove repeated notification builder code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-13 14:37:07 +01:00
alperozturk
d5b111ae7e Add play icon and set better color for both theme
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-13 14:37:07 +01:00
Jonas Mayer
9a5bf130fd push so alper can help me
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
Jonas Mayer
955de94ea1 fix lint and incorporate changes by alper
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
Jonas Mayer
935faeb693 suppress false warning
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
Jonas Mayer
70d3b5c7a4 suppress right warning
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
Jonas Mayer
42054debe2 suppress not true warning
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
Jonas Mayer
d6dfaa9a0d Update upload_list_failed_options.xml with right copyright year
Signed-off-by: Jonas Mayer <43114340+JonasMayerDev@users.noreply.github.com>
2024-02-13 14:37:07 +01:00
Jonas Mayer
3fa3f03bf8 rebase
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
Jonas Mayer
bba93328ed Add info text to upload list activity
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
Jonas Mayer
d96c0d1d9e Implement global pause functionality
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-13 14:37:07 +01:00
Tobias Kaminsky
e9476b95b3
Merge pull request #12519 from nextcloud/Bugfix/errors_when_other_people_rename_files
Bugfix for unspecific errors when renaming files from different session
2024-02-13 14:15:46 +01:00
alperozturk
480ad5fcc2
Fix visibility of sort list group
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-13 10:10:01 +01:00
alperozturk
0bbff3bcd9 Show sort list group for file list
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-13 10:00:14 +01:00
alperozturk
9151e32a5b Check emptiness of previousSortGroupState
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-02-13 10:00:14 +01:00
Andy Scherzinger
0bdf85ca08 remove unused variable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-02-13 08:40:54 +01:00
Andy Scherzinger
20e4fa5129 Suppress too generic exception caught
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-02-13 08:40:54 +01:00
Andy Scherzinger
9f43823bba Suppress "TooGenericExceptionCaught"
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-02-13 08:40:54 +01:00
Andy Scherzinger
4b20f26774 Fix formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-02-13 08:40:54 +01:00
JinWeiyang
beaeb99dd4 Update app/src/main/res/values/strings.xml
Co-authored-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
Signed-off-by: JinWeiyang <jwy8645@163.com>
2024-02-13 08:40:54 +01:00
JinWeiyang
cc480e49c9 [feature] update db
Signed-off-by: JinWeiyang <jwy8645@163.com>
2024-02-13 08:40:54 +01:00
JinWeiyang
82fc3cf217 add exclude hidden file or folder option when create custom media folder type
Signed-off-by: JinWeiyang <jwy8645@163.com>
2024-02-13 08:40:54 +01:00
Nextcloud bot
f7502cead3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-13 02:39:23 +00:00
ZetaTom
39c5f55d19
Handle null user in FileDisplayActivity#startSyncFolderOperation()
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-02-12 13:01:15 +01:00
ZetaTom
406a7026d7
Fix FileDetailFragmentStaticServerIT failing
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-02-12 13:01:14 +01:00
ZetaTom
f6a861d8cf
Fix comments not loading
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-02-12 13:01:11 +01:00
Jonas Mayer
7df728f759 Update app/src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Jonas Mayer <43114340+JonasMayerDev@users.noreply.github.com>
2024-02-12 11:25:54 +01:00
Jonas Mayer
adaedcb54c reload after share by link
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-12 11:25:54 +01:00
Jonas Mayer
a9ad910dad fix wrong error message displayed
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-12 11:25:54 +01:00
Andy Scherzinger
b01b3a4ded replace ampersand with "and"
Resolves #12475

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-02-12 10:23:32 +01:00
Nextcloud bot
3e53131e5c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-12 02:37:27 +00:00
Nextcloud bot
afd3643db6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-11 02:40:19 +00:00
Nextcloud bot
604809591b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-10 02:49:53 +00:00
tobiasKaminsky
998d46da67
Personal view
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-02-09 07:32:45 +01:00
Nextcloud bot
89268ad5e5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-09 02:38:18 +00:00
Jonas Mayer
1329a88cee Update app/src/main/java/com/owncloud/android/ui/adapter/UploadListAdapter.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Jonas Mayer <43114340+JonasMayerDev@users.noreply.github.com>
2024-02-07 15:05:29 +01:00
Jonas Mayer
1048fb34df Redo changes, manuel rebase
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-02-07 15:05:29 +01:00
Nextcloud bot
838197fcc3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-07 02:37:50 +00:00
Nextcloud bot
633ff69d55
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-05 02:37:48 +00:00
Nextcloud bot
c1baa726b1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-04 02:42:14 +00:00
Nextcloud bot
9d77956f08
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-02 02:41:16 +00:00
Nextcloud bot
89e2fdfef6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-01 02:40:52 +00:00
Nextcloud bot
1d2d32c89d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-31 02:37:41 +00:00
tobiasKaminsky
d8aa1f4911
Allow to add custom name to user agent
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-30 08:08:00 +01:00
Nextcloud bot
7a055f2c84
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-30 02:36:27 +00:00
tobiasKaminsky
1825cfdc14
E2E_ERRORS -> E2EE_ERRORS
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-29 15:49:02 +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
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
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
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
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
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
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
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
alperozturk
3099ff3991 Rename worker observer func
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
9b8829701b Fix cancel for unique tag
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
4a5d75a325 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
bb2f2c7fc6 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
e0b5fc1257 Cancel All notification when sync canncelled
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
12f95c6b8e Cancel action remove added
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2fd1955bae No need for clear for each worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ec69cbc8fe Fix race condition for isFileInQueue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
801e86f555 Add user check for isFileInQueue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
0558c34718 Add showNewNotification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
b5a57fc55b Fix sync icon for downloads in queue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
dbf8ca9394 Add credentials error notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
11a8ec4ec1 Unify download notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
508460d49d Fix potential race condition
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1ada24583d Fix context memory leak
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
5a5b18bad0 Fix cancel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
8d7aec013f Rename argument name
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
0f59254b2b Fix back to back download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
5a38769f83 Use same worker for file download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
11fa95d2b9 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
3ccec8e5fd Add dismissAll notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
db1d58205c Fix tracking current download status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
742f01259d Fix tracking current download status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2038c7ce59 Fix file sync icon
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
b2b94ff4cc Fix serializable data limit crash
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e32d8adbcf Add capability to track multiple download workers
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
7bfe1ae164 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
09b4cf44b2 Better notification for folder download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
de8e5045bf Fix isDownloading Folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ff891aee9c Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d661dc2001 Fix worker tag
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
c131a1237e Fix cancelAllDownloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
dafec345da Fix isDownloadingFolder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2da427c04e Add folder download job
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
01d620f051 Simplify worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1c18a3d840 Move notification manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
cb40293932 Fixes notification manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
adb1269e0a Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
7b8be6b235 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
680f31edef Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
14cb1d436b Use WorkerState for handling download state
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
ce463aff0b Implement WorkerState for replacing ServiceConnection
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d166035dda Fix isDownloading, cancel, success notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2b6f96d1e3 Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f756a03147 Fix requestDownloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
875c509504 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
4e4c3a6dd5 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
3b5b4313eb Use BackgroundJobManager for cancel Downloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e3d8e85337 Fix FileDownloaderBinder cancelAllDownloadsForAccount
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
efe6649b69 Fix FileDownloaderBinder functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
60ee1d59ad Fix Code Analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1c2c56fdd4 Fix sync
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f14abd4b8e Remove return
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
9b124d402b Add TODO for some unknown code block
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
589f9561b2 Add TODO for some unknown code block
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
919fd6b850 Fix Notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
d601998858 Fix createMockTask test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
6bd335cf3c Move packages
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
414e6a668a Remove Download Service Connections
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e123128d90 Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e1238e3bd1 Create user from accountName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
daa882aa20 Use interfaceSerializer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
7588dc5430 Implement files download worker constructor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e2b75915e7 Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
8308f187fa Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
cf09356cf7 Cleanup code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
842ff87c84 Fix download progress
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
6fcc35f7de Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
fd3408b9ce Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
9f3e61cef3 Create user from accountName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2b595910b4 Use interfaceSerializer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
8610275362 Remove handler
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f0a845fc3a Overload downloadFile functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
828c239a97 Overload downloadFile functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
c419604ae5 Remove FileDownloader Service
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
fe11d64fb3 Refactor FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
2a00392ff5 Implement FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
a2afffc667 Implement FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
f4802b9519 Implement FilesDownloadHelper
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
1b8e25b77b Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
alperozturk
e392ad3f75 Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-01-12 08:51:16 +01:00
Nextcloud bot
61493ee3bd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 02:36:05 +00:00
Nextcloud bot
0e975c6b3b
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 02:35:36 +00:00
Jonas Mayer
1043070d5f suppress warning
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-11 13:33:24 +01:00
Jonas Mayer
9c7890d797 Make sure notifyDataSetChanged gets directly called after removing file
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-11 12:16:41 +01:00
Alper Öztürk
5ec3f5115a
Merge pull request #12345 from nextcloud/make_sure_upload_is_only_added_once_to_db
Make sure upload is only added once to db
2024-01-11 09:19:23 +01:00
Alper Öztürk
1757edecad
Merge pull request #12337 from nextcloud/11741-auto-upload-does-not-start-automatically-on-3250
Fix auto upload does not start automatically
2024-01-11 09:10:42 +01:00
Nextcloud bot
b7d52861fd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-11 02:36:41 +00:00
Nextcloud bot
1d079a93da
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-11 02:36:15 +00:00
Jonas Mayer
3d3cd15094 Remove forgotten test function call
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Jonas Mayer
8995fe727e Make code cleaner with linebreak
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Jonas Mayer
55a689a7c9 reformat code
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Jonas Mayer
872f36b9a0 remove time test
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Jonas Mayer
8d6dc25f86 check if upload already exists in db
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-10 09:53:41 +01:00
Alper Öztürk
fb3694fc04
Merge pull request #12310 from nextcloud/handle-audio-focus
handle audio focus and becoming noisy
2024-01-10 09:51:31 +01:00
Nextcloud bot
e625f45db3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 02:40:08 +00:00
Nextcloud bot
90bd32a7fc
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 02:39:41 +00:00
parneet-guraya
fb6faa2977
handle audio focus and becoming noisy
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-01-10 02:40:17 +05:30
Jonas Mayer
b6876b0607 Allow null for loadUrl
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-09 11:05:27 +01:00
Nextcloud bot
eccf6c5a7e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-09 02:40:59 +00:00
Nextcloud bot
cb984d3cea
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-09 02:40:32 +00:00
Jonas Mayer
6c834f47fc reformat code
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Jonas Mayer
692f8407dc Add ForegroundServiceType if android version allows
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Jonas Mayer
2fd8bf3f0c Fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Jonas Mayer
33dd900882 Make getFileChecksum a lot faster
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Jonas Mayer
07ffe3f46d Add foreground feedback notification for sync process
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-01-08 11:00:49 +01:00
Nextcloud bot
82d3029b65
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-08 07:21:27 +00:00
tobiasKaminsky
62bfd58c04
Transifex fails on renaming strings
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-01-08 07:11:57 +01:00
Alper Öztürk
76369d4880
Merge pull request #11936 from nextcloud/migrate-to-media3
Migrate to media3 and Immersive mode for video playback
2023-12-29 09:01:05 +01:00
alperozturk
17dc3c82a9
Fix button alignment
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-28 13:00:54 +01:00
alperozturk
8d845c8d0f
Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-28 12:55:29 +01:00
alperozturk
1d92784f96
Use binding
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-28 11:46:53 +01:00
alperozturk
9a746c2521
Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-28 11:38:45 +01:00
parneet-guraya
621f0fd0c6
refactoring
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-27 18:49:15 +05:30
parneet-guraya
1b797af6b3
use scoping function
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:56:04 +05:30
parneet-guraya
e73e3e4b8c
fix lint
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:38:01 +05:30
parneet-guraya
8177b3a143
remove next & previous buttons
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:38:00 +05:30
parneet-guraya
80d52f5ef6
remove dependency on internal player layout
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:38:00 +05:30
parneet-guraya
40bb49c69f
refactor media handling logic
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:38:00 +05:30
parneet-guraya
8e843ed046
migrate to activity
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:59 +05:30
parneet-guraya
903fc44edb
fix lint @OptIn lint error
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:59 +05:30
parneet-guraya
7143104b6f
set black background for video playback
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:59 +05:30
parneet-guraya
9bafd66f9b
add name to substantially changed files in license header
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:58 +05:30
parneet-guraya
c84a1da6fa
fix warning
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:58 +05:30
parneet-guraya
9f7138b150
remove deprecated fullscreen listener
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:57 +05:30
parneet-guraya
f7b1e0f279
remove method which add margin to the touch area
which used to  make the user open drawer
from the left
(drawer is no longer available from the fragment so it's unusable).

Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:57 +05:30
parneet-guraya
d38d31e7b0
remove old code
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:57 +05:30
parneet-guraya
01d5ff244a
add immersive mode/fullscreen functionality for video playback
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:56 +05:30
parneet-guraya
89459865bc
set display cutout mode to never
so to never render content in cutout area,
it is considered best practice for immersive mode,
(used in PreviewMediaFragment for vidoe files).

Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:56 +05:30
parneet-guraya
b65ef92a19
set fitsSystemWindows attribute false.
It avoid making padding behind the system bars.

Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:56 +05:30
parneet-guraya
67465459c7
remove going fullscreen using dialog
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:55 +05:30
parneet-guraya
33e3053edc
run migration script
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-26 15:37:55 +05:30
Nextcloud bot
a59463f820
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-22 02:41:42 +00:00
Alper Öztürk
5fb9115997
Merge pull request #12303 from nextcloud/refactor/use-work-manager-for-upload
Use Only Work Manager For File Upload
2023-12-21 19:14:24 +01:00
Jonas Mayer
cd3bdde09b show info toast only when needed
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 17:13:58 +01:00
Jonas Mayer
8235153c34 remove unnecessary log message
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2023-12-21 17:13:58 +01:00
parneet-guraya
0001f492b5
handle restoring fab icon from drawer view
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2023-12-21 18:43:08 +05:30
alperozturk
f1bd5f1b90 Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
1c569fbd73 Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
c0e694537d Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
c43583d4d3 Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
e7190b522e Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
535446192f Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
f6e1b57b2a Reduce spotbugs
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00
alperozturk
2ac0267bd9 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-12-21 14:01:01 +01:00