Commit graph

3907 commits

Author SHA1 Message Date
Benedek Major
a04edc5db8 Replace null value with new SKIP_SUBTREE enum option
Signed-off-by: Benedek Major <benedek@major.onl>
2024-05-21 19:47:06 +02:00
Benedek Major
801e00cf82 Replaced own walkFileTree with correct implementation from nnio package.
This prevents a NullPointerException on the case, that listFiles() returns a null pointer,
as that is allowed per spec.

Signed-off-by: Benedek Major <benedek@major.onl>
2024-05-21 19:47:06 +02:00
ZetaTom
56beafb367 Dismiss notification of successful downloads.
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-05-21 14:34:18 +02:00
alperozturk
959cece16d
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 14:22:00 +02:00
alperozturk
7e7c7e676c
Fix widget clicks for older Android versions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 14:20:01 +02:00
alperozturk
ae5bbf1ab8
Fix widget clicks on Android 14
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 13:14:05 +02:00
alperozturk
2082b625ec Fix compatibility problems with some browsers
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 11:53:00 +02:00
alperozturk
f94ad4e754
Use non nullable parameters, delete unused functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:39:31 +02:00
alperozturk
11139e4d1b Reduce lint
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:26:20 +02:00
ZetaTom
07e00f4bc5 Fix scrolling in view pager.
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-05-21 09:26:20 +02:00
alperozturk
4e1dda3763 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:26:20 +02:00
alperozturk
d1c2cc43d9 Remove unused CustomViewPager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:26:20 +02:00
alperozturk
d667853102 Optimize imports
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:26:20 +02:00
alperozturk
cd8e11b065 Convert to kotlin and fix delete
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:26:20 +02:00
alperozturk
d47c5b82c1 Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:26:20 +02:00
alperozturk
8618a5a980 Simplify onRemoteOperationFinish
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:26:20 +02:00
alperozturk
8a0ef764fe Notify only deleted position
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:26:20 +02:00
alperozturk
0e2faf3d27 Use view pager 2 and delete image properly
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-21 09:26:20 +02:00
Nextcloud bot
9311e47b4a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-21 02:35:17 +00:00
Nextcloud bot
a1242259cb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-19 02:34:09 +00:00
Nextcloud bot
b72ddec866
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-17 02:34:58 +00:00
Julio C. Ortega
ea42cfea23 fix(l10n): grammar fixes for plural usage
Signed-off-by: Julio C. Ortega <390821+roliverio@users.noreply.github.com>
2024-05-16 08:42:34 +02:00
Julio C. Ortega
5dd3da59fc fix(l10n): grammar fixes for plural usage
Signed-off-by: Julio C. Ortega <390821+roliverio@users.noreply.github.com>
2024-05-16 08:42:34 +02:00
Nextcloud bot
db3e3fa701
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-15 02:32:56 +00:00
Nextcloud bot
8d442f335b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-14 02:35:35 +00:00
Andy Scherzinger
58e7a0e4a0
Merge pull request #13005 from nextcloud/update-pdf-icon-color
Update pdf icon color
2024-05-13 23:39:27 +02:00
Alper Öztürk
f88e754d82
Merge pull request #12792 from nextcloud/bugfix/not-attached-context-usage-in-preview-media-fragment-by-alper
Use non nullable context for PreviewMediaFragment
2024-05-13 12:10:27 +02:00
Marco Ambrosini
3665df2921 Update pdf icon color
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2024-05-13 12:05:54 +02:00
Nextcloud bot
0cc1492c53
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-13 02:35:16 +00:00
Nextcloud bot
7d4019dbb9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-12 02:36:13 +00:00
Nextcloud bot
563dc004e5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-11 02:35:37 +00:00
Tobias Kaminsky
176a09615c
Merge pull request #12884 from nextcloud/feature/app-config
App Config With Restriction Manager
2024-05-10 15:11:45 +02:00
tobiasKaminsky
1565b32b3c
reset proxy
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-05-10 09:01:26 +02:00
Jonas Mayer
7615d8e09f Fix by Alper
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-10 08:54:27 +02:00
Nextcloud bot
9328a9b4ef
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-10 02:52:13 +00:00
Nextcloud bot
9db2b5c58e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-09 02:44:12 +00:00
alperozturk
64726ba251
Use new httpCode instead httpPhrase
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-08 15:08:47 +02:00
alperozturk
6fc5a47b97
Use ErrorMessageAdapter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-08 15:08:46 +02:00
alperozturk
399fdcc159
Use httpPhrase
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-08 15:08:46 +02:00
alperozturk
26597284dc
Give better feedback to the user for UNHANDLED_HTTP_CODE
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-08 15:08:46 +02:00
alperozturk
a53bd41757
Give better feedback to the user for UNHANDLED_HTTP_CODE
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-08 15:08:46 +02:00
Nextcloud bot
033867d149
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-08 02:48:54 +00:00
Nextcloud bot
a27e94948c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-07 02:45:34 +00:00
alperozturk
51709a040f
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 18:29:41 +02:00
alperozturk
ce0bb853bd Dont set default proxy settings
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
8ed89d750f Fix tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
c9b277e731 Listen app config changes only for branded plus clients
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
b55962e302 init RestrictionsManager only for branded plus clients
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
tobiasKaminsky
ba4a61c007 abort setting proxy when either host or port is not valid
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-05-06 15:31:37 +02:00
alperozturk
d54c86e625 Revert drawer activity header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
9a0f69ee71 Add base url to app_config.xml
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
cf61ce27c2 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
ad3ec219ac Revert filterAssistantMenuItem usage
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
b7defed16f Revert isBrandedClient checks
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
05ec75be80 Add is_branded_plus condition for is_branded if statements
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
2d8840b49c Add is client branded functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
325dc8620a Only branded plus client can use app config
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
d429a76590 Add AppConfigManagerTests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
b727fc364c Add base url config, is_branded_plus, remove enterprise reporter
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
ac1c41b6df Simplify AppConfigManager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
22e9a40fd4 Simplify AppConfigManager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
7b46e6da0b Use androidx.enterprise:enterprise-feedback for give feedback to customer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
alperozturk
8a48da3a32 Use restriction manager for app config
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-06 15:31:37 +02:00
Nextcloud bot
c4debd13e6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-05 02:42:56 +00:00
Nextcloud bot
0a98a95f98
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-04 02:49:03 +00:00
alperozturk
f23b0bdf3e
Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-03 13:29:59 +02:00
Nextcloud bot
956b6755a7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-03 02:42:21 +00:00
Alper Öztürk
148c869a9d
Merge pull request #12934 from nextcloud/refactor/encryptedUpload
Refactor Encrypted Upload
2024-05-02 18:54:32 +02:00
Jonas Mayer
aae144331c Fix log messages
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-02 16:18:50 +02:00
Jonas Mayer
98586faa77 Fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-02 16:09:32 +02:00
Tobias Kaminsky
e21a023fca
Merge pull request #12941 from nextcloud/feature/inform-user-for-uploading-same-file-again
Inform user for uploading same file again
2024-05-02 16:08:03 +02:00
Jonas Mayer
9cbdbead08 Fix codacy
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-02 16:00:13 +02:00
Jonas Mayer
d18235ffb4 Merge branch 'master' into make_sync_service_run_only_once
# Conflicts:
#	app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt
2024-05-02 15:48:00 +02:00
Jonas Mayer
a73b3e9e72 Skip folder scan if charging only and not charging
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-02 15:42:12 +02:00
Alper Öztürk
56d9327bbb
Merge pull request #12942 from nextcloud/bugfix/delete-file-v1
Bugfix E2E File Deletion For V1
2024-05-02 15:42:02 +02:00
Tobias Kaminsky
30b5a4ca89
Merge pull request #12930 from nextcloud/bugfix/limitToPersonalFiles-fix-null-string-equals-exception
Fix NullPointerException when invoking equals() on limitToPersonalFiles
2024-05-02 15:33:28 +02:00
Jonas Mayer
68629ea603 get rid of repeated codes in WorkManagerExtensions
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-05-02 15:25:22 +02:00
Alper Öztürk
becdbd6fbe
Merge pull request #12911 from nextcloud/improve-retry-failed-uploads-function
Improve retry failed uploads function
2024-05-02 15:17:01 +02:00
alperozturk
57b295c13f Remove deleted files from metadata
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 13:57:59 +02:00
alperozturk
981d3dd3ec Fix broken file names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 13:57:59 +02:00
alperozturk
0deca4cb26 Simplify
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 13:57:59 +02:00
alperozturk
a690674b5d Convert to kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 13:57:59 +02:00
alperozturk
2b257fb67e Convert to kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 13:57:59 +02:00
alperozturk
d7b30bad46 Convert to kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 13:57:59 +02:00
alperozturk
1ccb686f08 Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 13:57:59 +02:00
alperozturk
a153c5ce52 Add delete v1 method
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 13:57:59 +02:00
Alper Öztürk
361f9ddbb2
Merge pull request #12952 from nextcloud/bugfix/media-control-view-visibility
Fix Media Control View Visibility
2024-05-02 13:52:32 +02:00
alperozturk
d180ad62c7
Fix header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 10:43:56 +02:00
alperozturk
987f8bb82a
Fix header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 10:42:37 +02:00
alperozturk
51af8bb118
Fix license header
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 09:13:11 +02:00
alperozturk
e36a3b1807
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 09:08:15 +02:00
alperozturk
115d033fbf Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:56:48 +02:00
alperozturk
0c1e2bcc1d Fix NullPointerException when invoking equals() on null String reference
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:56:48 +02:00
alperozturk
82af5b4787 Rename functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
bb36e3211e Fix kotlin spotless
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
25a65473d4 Check nullable fields
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
34aa3b6cc7 Check nullable fields
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
21968c1411 Use region
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
323fa0827b extract performE2EUpload
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
7f8810e66f Filelock usage
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
0ab2e1e34d Add initFileChannel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
8725fa068b Initialize E2EClientData earlier
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
db2a84b5fe Use different data classes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
90dc1c6535 Use different data classes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
a949bd515d Extract logics to functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
2d8d0d9b5f Extract logics to functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
b3357c0b07 Extract logics to functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:57 +02:00
alperozturk
a53d661d73 Inform user for uploading same file again
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:55:46 +02:00
alperozturk
4564ea0483
fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:51:20 +02:00
alperozturk
0a88cf9a7e
solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:51:20 +02:00
alperozturk
599c554e91
fix git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:51:20 +02:00
alperozturk
03d6251976
Fix visibility of media control view
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:51:19 +02:00
alperozturk
feb76a8a9e
fix git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:51:19 +02:00
alperozturk
8e462f1b09
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:51:19 +02:00
alperozturk
17ad0a6bad
fix git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:51:19 +02:00
alperozturk
f7a8f0e3d8
Rename .java to .kt
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-05-02 08:51:19 +02:00
Nextcloud bot
6c8c58f220
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-02 02:42:13 +00:00
Nextcloud bot
7a77b6d917
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-01 02:43:45 +00:00
Jonas Mayer
b2b6a297a7 fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-30 15:02:01 +02:00
Jonas Mayer
62ef463344 Merge branch 'master' into improve-retry-failed-uploads-function 2024-04-30 14:31:06 +02:00
Andy Scherzinger
a4f01de80e
Merge pull request #12927 from nextcloud/bugfix/null-pointer-fix-filename-on-template-dialog
Use getFileNameText for nullable field
2024-04-30 13:58:12 +02:00
Andy Scherzinger
e3d57e7c42
Update SPDX header to reflect correct state
Resolves #12920

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-30 12:18:45 +02:00
Arthur-GYT
a10ca3bfae Add license
Signed-off-by: Arthur-GYT <a.gayot@posteo.com>
2024-04-29 15:11:53 +02:00
Arthur-GYT
58e05f34e0 Add automatic Per App Languages
Signed-off-by: Arthur-GYT <a.gayot@posteo.com>
2024-04-29 15:11:53 +02:00
alperozturk
7d9bdbb03e Add login info view
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
8f06ba68a8 Better documentation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
19dfe21a3d Disable unused util class
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
dbf9f005ed Revert
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
abd930aab7 After login try onMessageEvent
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
19e3489e74 Disable Webview version check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
1950d5b892 Use activity launcher
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
9c3dec5ec8 Use login v2 flow
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
987e8e3705 Use login v2 flow
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
3cb64465d9 Use login v2 flow
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
e544dc5f0d Use login v2 flow
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 12:11:56 +02:00
alperozturk
f84acd5331 Use getFileNameText for nullable field
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-29 08:12:26 +02:00
Nextcloud bot
c48652de2e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-29 02:42:11 +00:00
Nextcloud bot
619ae12f14
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-28 02:45:39 +00:00
Nextcloud bot
fa742a7663
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-27 02:52:26 +00:00
Unpublished
724115de3e
Show snackbar above FAB
Signed-off-by: Unpublished <unpublished@gmx.net>
2024-04-26 15:20:39 +02:00
Nextcloud bot
3644710cc6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-26 02:45:46 +00:00
Andy Scherzinger
bbe218a265
Have correct SPDX license header for logo/trademarked items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-25 18:24:16 +02:00
Tobias Kaminsky
5a28f84678
Merge pull request #12918 from nextcloud/update-library-2024-04-23
Update library
2024-04-24 07:58:08 +02:00
tobiasKaminsky
90b3958894
fix test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-04-24 07:21:10 +02:00
Nextcloud bot
9e10cd690d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-24 02:42:50 +00:00
Andy Scherzinger
e4b10f2f08
re-add SPDX header, reformat vector
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-23 15:09:32 +02:00
Marco Ambrosini
0907ec2890
Update pdf icon
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2024-04-23 15:09:32 +02:00
Nextcloud bot
0e00799071
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-23 02:44:39 +00:00
Jonas Mayer
f8b5ac09df Merge branch 'master' into improve-retry-failed-uploads-function 2024-04-22 17:27:30 +02:00
Jonas Mayer
b724f75bcb Merge branch 'master' into improve-retry-failed-uploads-function
# Conflicts:
#	app/src/main/java/com/nextcloud/client/jobs/upload/FileUploadHelper.kt
2024-04-22 17:26:40 +02:00
Nextcloud bot
a6d7903ac7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-21 02:45:52 +00:00
Nextcloud bot
5ca90493e4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-20 02:49:35 +00:00
Nextcloud bot
9604995dc7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-19 02:44:25 +00:00
Nextcloud bot
09f98b8b6d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-18 16:50:36 +00:00
Jonas Mayer
77a1eade9b Simplify function and remove nested loop
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-18 13:53:30 +02:00
Jonas Mayer
57e11f858d Make retry filed uploads not restart worker for every file
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-18 12:50:22 +02:00
rakekniven
865ce87571
fix(i18n): Improved grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-04-18 09:23:23 +02:00
Nextcloud bot
3d491b3fcd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-18 02:42:51 +00:00
Nextcloud bot
eda6fdaa04
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-17 10:14:16 +00:00
Tobias Kaminsky
a8040e46f6
Merge pull request #12854 from nextcloud/bugfix/e2e-file-conflict
Bugfix e2e file conflict
2024-04-17 12:03:24 +02:00
tobiasKaminsky
6c7a9211e5
outdated version is now NC26
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-04-17 12:00:45 +02:00
tobiasKaminsky
c2530c8cfc
suppress spotbugs
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-04-17 10:42:22 +02:00
Tobias Kaminsky
0c2ae0a86f
Merge pull request #12828 from nextcloud/bugfix/handle-temp-encrypted-file
Bugfix Handle Temp Encrypted File Correctly
2024-04-17 10:17:08 +02:00
tobiasKaminsky
58ec17a63f
suppress spotbugs
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-04-17 10:10:33 +02:00
alperozturk
0609caadb3 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
330d0ac837 ADD TODO
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
1e88d0df16 Fix drawer close
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
c5808fafe8 Add completion time
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
7df114dda0 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
a3785336d8 Add task detail screen
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
ca51c206b3 Remove unused xml
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
d3f3d3461b Remove unused codes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
3d03ea09b0 Fix filterAssistantMenuItem
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
7e97a02c44 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
05b141ef64 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
6d219c5b8c Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
1e3e3ae86a Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
035ae37cd3 Use scrollable text view instead chunks
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
ac863b3778 Use scrollable text view instead chunks
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
8e82b5e16c Use chunks for bigger task output
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
ac1f066e24 Use all files as default menuItem
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
0200e51eb7 Toggle drawer from Assistant screen via menu button
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
alperozturk
afeb87ff78 Remove assistant from navbar if banner is visible
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-17 08:09:58 +02:00
Jonas Mayer
fef1458a06 fix unit test
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 16:24:15 +02:00
Jonas Mayer
684e842f08 rename some vars
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
Jonas Mayer
7312db1068 Update app/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Jonas Mayer <43114340+JonasMayerDev@users.noreply.github.com>
2024-04-16 15:38:27 +02:00
Jonas Mayer
be7d997dc3 Update app/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Jonas Mayer <43114340+JonasMayerDev@users.noreply.github.com>
2024-04-16 15:38:27 +02:00
Jonas Mayer
350e59d395 Update app/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Jonas Mayer <43114340+JonasMayerDev@users.noreply.github.com>
2024-04-16 15:38:27 +02:00
Jonas Mayer
a7e9ca1c89 Update app/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Jonas Mayer <43114340+JonasMayerDev@users.noreply.github.com>
2024-04-16 15:38:27 +02:00
Jonas Mayer
adba5bfb0e Update app/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Jonas Mayer <43114340+JonasMayerDev@users.noreply.github.com>
2024-04-16 15:38:27 +02:00
Jonas Mayer
4dedc25a06 improve logs
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
Jonas Mayer
5c4eaac0c2 remove unnecessary log
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
Jonas Mayer
914be8e85c fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
Jonas Mayer
488113a458 Fix infinite content observer issue
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
Jonas Mayer
36f7b50f0e Potentially broken database
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
Jonas Mayer
883a991264 remove not used var
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
Jonas Mayer
757306d1c4 add new database version
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
Jonas Mayer
8f3b5b106c draft implement faster auto upload file changed scan
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
Jonas Mayer
2a816c7d19 Proof of concept for 10x faster check for changed files
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-16 15:38:27 +02:00
alperozturk
221e6dddb8 Suppress test class
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
55aed575df Extract common logic retrieving remote path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
501c6ee2a3 Extract common logic for mimetype and decrypted remote path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
f55d61c05a Add tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
182673672f Add test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
9fd1ef5205 Add testUpdateFileNameForEncryptedFileWhenEncryptedFileUploadRemotePathShouldSetAsEncrypted
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
7d9a8f1d9f Add correct decryptedRemotePath for v1
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
7c15334dc0 Remove unused imports and logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
affc77715c Use remote path correctly
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
eaa773d5a9 Use better message
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
82c1c25a2f Use encrypted remote path for file conflict resolver dialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
d9d9cf56b2 Check existence of decryptedRemotePath
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
3bcd2b3703 Dont use null path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
Nextcloud bot
f7b883c936
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-15 02:38:53 +00:00
Nextcloud bot
5f1b87fdc0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-14 02:41:31 +00:00
Nextcloud bot
5d787161a3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-13 02:56:54 +00:00
alperozturk
80e581bcd3
Use path for each user
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 12:23:19 +02:00
alperozturk
7342b54f42 Add log for failed uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
80b40b947c Add fixme comments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
c78a67d53c Specifically make visible retry failed uploads action
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
24b2d033f1 Clear temp encrypted folder for clear failed uploads actions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
a7fe0adafb Use more clear argument names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
7470fef2d6 Clear temp directory for cancelling all uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
39e9916732 Use tempEncryptedFolder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
123c576399 Dont use cache dir. cache dir might be deleted during big file uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
d583a2f62c Revert changes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
a563c87b01 Delete temporal file usage for e2e
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
14d3257036 Remove "." suffix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
9c5d39f301 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
17f7676abb Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
0e47ad737f Use single line code for getFileName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
6515602ee6 Fix file name in notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
c6c6460630 Use temp directory for tempEncryptedFile creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
79e651874a Delete temp encryptedFile in all cases
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
Nextcloud bot
9a3a7d4466
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-12 02:40:57 +00:00
Nextcloud bot
7d3ece4f8f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-11 02:42:27 +00:00
Nextcloud bot
5d60473632
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-10 02:44:58 +00:00
Jonas Mayer
f53fb0b93b Fix spotbugs
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 18:06:03 +02:00
Jonas Mayer
11ec39b7e1 Merge remote-tracking branch 'origin/make_sync_service_run_only_once' into make_sync_service_run_only_once
# Conflicts:
#	app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt
2024-04-09 17:14:47 +02:00
Jonas Mayer
80eff53688 Fix codacy
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 17:13:41 +02:00
Jonas Mayer
cf8199e17a Make code better readable and add early exit if no folder is enabled
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:56:22 +02:00
Jonas Mayer
ac9902fc3c Make code better readable
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:56:22 +02:00
Jonas Mayer
c64d4c8fbc remove for loops
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:56:22 +02:00
Jonas Mayer
575e413b8d Fix to many returns in doWork
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:56:22 +02:00
Jonas Mayer
24b1fa2da7 fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:56:22 +02:00
Jonas Mayer
aef9a41a5f check if sync worker is already running
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:56:22 +02:00
Jonas Mayer
b121c21406 Make code better readable and add early exit if no folder is enabled
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:55:52 +02:00
Jonas Mayer
b832c0a706 Make code better readable
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:51:10 +02:00
Jonas Mayer
c420b5eb32 remove for loops
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:34:17 +02:00
Jonas Mayer
6c85372a4b Fix to many returns in doWork
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:34:16 +02:00
Jonas Mayer
d56c342aed fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
2024-04-09 16:33:08 +02:00