Commit graph

5386 commits

Author SHA1 Message Date
tobiasKaminsky
229f59269e
Lint: ignore StringFormatCount for translated files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-11-05 10:54:19 +01:00
Tobias Kaminsky
ad8da72554
Merge pull request #13902 from nextcloud/bugfix/first-run-activity-not-launching
Fix: Launching LauncherActivity & FirstRunActivity properly
2024-11-05 09:30:33 +01:00
tobiasKaminsky
4f0c892eea
kotlin check
codacy

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-11-05 08:26:11 +01:00
Tobias Kaminsky
ea0aa57dfe
Merge pull request #13919 from nextcloud/remove-duplicated-func-to-cancel-two-way-sync
Remove Duplicated Cancel Two Way Sync Job Function
2024-11-05 08:23:13 +01:00
Tobias Kaminsky
90ba36aeb2
Merge pull request #13920 from nextcloud/dont-check-singleton-instance-of-file-download-helper-in-loops
Don't Check or Create Singleton FileDownloadHelper Instance Inside Loops
2024-11-05 08:19:34 +01:00
Tobias Kaminsky
de20c6dc13
Merge pull request #13924 from nextcloud/bugfix/check-npe-create-user-from-account
BugFix - Check Context In createUserFromAccount()
2024-11-05 08:17:50 +01:00
Tobias Kaminsky
7286af80f0
Merge pull request #13749 from nextcloud/feature/offline-file-rename-2
Feature - Offline File Rename
2024-11-05 08:16:16 +01:00
tobiasKaminsky
75ff52aa16
remove unused parameter
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-11-05 08:09:11 +01:00
A117870935
b12f417a1a Post notification permission cleanup.
Signed-off-by: A117870935 <surinder.kumar@t-systems.com>
2024-11-05 12:08:49 +05:30
Nextcloud bot
151ec16567
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 02:48:58 +00:00
Josh
d5fbba280f
fix(dashboard): Dashboard app must be enabled server-side
Fixes #11994 

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-04 07:18:36 -05:00
Nextcloud bot
662eb9144b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 06:57:09 +00:00
tobiasKaminsky
8fa1ae2499
hours/minutes: correct plural for english, rest will be added by Transifex
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-11-04 07:34:26 +01:00
ardevd
ffc0528605 refactor(ui): coroutine based user status retrieval.
Replaced ancient async task with a coroutine based alternative.
This comes with numerous advantages.

- Improved performance due to the nature of coroutines and the reduced overhead associated with AsyncTasks and threads.
  Approx a %50 performance increase was measured during testing.
- Passing references to fragment lifecycle context to an AsyncTask is generally a bad idea.
2024-11-01 16:58:35 +00:00
alperozturk
5d26dbede3
check context beginning of the createUserFromAccount
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-31 16:29:14 +01:00
alperozturk
564a5fe2c7
only make improvement for fileDownloadHelper
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-31 09:31:31 +01:00
alperozturk
0f827f5bad
create instance before loops
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-31 09:26:15 +01:00
alperozturk
71e9c60631
remove duplicated functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-31 09:17:25 +01:00
Tobias Kaminsky
ff060eff6a
Merge pull request #13907 from nextcloud/fix/xml-spdx-header
Fix XML SPDX header
2024-10-31 08:16:44 +01:00
Tobias Kaminsky
54592b2813
Merge pull request #13884 from nextcloud/improve-two-way-sync-behaviour
Improve Two Way Sync Behaviour
2024-10-31 07:09:33 +01:00
Nextcloud bot
d36fa320e0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-31 02:47:53 +00:00
renovate[bot]
29ed5f01e6
Update dependency androidx.annotation:annotation to v1.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 18:34:10 +00:00
alperozturk
81e5de6194
better thread management
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 16:37:11 +01:00
alperozturk
2cc4e1065f
call on main thread- checkDisableForAllFoldersMenuButtonVisibility
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 15:33:40 +01:00
alperozturk
5bb43f3c77
dynamically hide menu item
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 15:28:20 +01:00
alperozturk
be70aef0fe
solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 14:06:06 +01:00
alperozturk
c97082b172
solving conflicts from connected PRs
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 13:57:55 +01:00
alperozturk
7ec78948a7
use quantity strings
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 12:33:43 +01:00
alperozturk
5137bc6574 every user can cancel the worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 12:14:14 +01:00
alperozturk
043c8b390e every user can cancel the worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 12:14:14 +01:00
alperozturk
0454a2c570 better and more clear translation keys
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 12:14:14 +01:00
alperozturk
7b6caf0685 use lifeCycleScope instead Coroutine scope
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 12:14:14 +01:00
ZetaTom
84c7cdbf56 Stop download worker when cancelling two-way sync
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-10-30 12:14:14 +01:00
ZetaTom
b3845560a0 Stop background job when cancelling two-way sync
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-10-30 12:14:14 +01:00
ZetaTom
1fc4f51fd1 Add disable all button to InternalTwoWaySyncActivity menu
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-10-30 12:14:14 +01:00
alperozturk
00509efa02
every user can cancel the worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 12:07:37 +01:00
alperozturk
8431266caa
every user can cancel the worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 12:07:26 +01:00
alperozturk
4cec0fc6e0
better and more clear translation keys
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 12:02:28 +01:00
alperozturk
e48a3365b1
use lifeCycleScope instead Coroutine scope
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 12:02:18 +01:00
Tobias Kaminsky
d21321e1d6
Merge pull request #13895 from nextcloud/bugfix/auto-rename-capability-order
BugFix / AutoRename Capability Order
2024-10-30 12:02:16 +01:00
Tobias Kaminsky
733f9cdfd9
Merge pull request #13494 from nextcloud/emptyList
2way sync: Better view handling
2024-10-30 11:29:48 +01:00
ZetaTom
c32881ed60
Fix XML SPDX header.
- remove Talk

Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-10-30 11:24:33 +01:00
alperozturk
488589d2a7 schedule two-way-sync via isTwoWaySyncEnabled
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
832a63b5a6 revert preferences changes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
76d4df6d15 use m3 only
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
ecd0194160 remove unused variables
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
3fda8d3567 use string arguments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
Alper Öztürk
8b499fbe5d Update app/src/main/res/xml/preferences.xml
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2024-10-30 10:48:55 +01:00
Alper Öztürk
b1c720b28f Update app/src/main/res/values/strings.xml
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2024-10-30 10:48:55 +01:00
alperozturk
c84f926329 make switch smaller
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
c98a720950 remove reset column function due to "remove all" button will be added in three dot menu
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
1b6073d0de use kotlin.Duration
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
f0a8400cec rename filedao function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
67b78283f2 set default two way sync value to true
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
a413005cb9 run resetTwoWaySyncTimestamps in background thread
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
095e5da242 update periodic work policy for new interval
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
e39e0ba623 fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
010e03e7d1 show selectedDuration in drop down menu
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
0bb1960b32 fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
6f6962ef04 reschedule interval two way to dynamically change the interval time
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
bc0ccba3ce add ability to set two way sync interval
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
5ba7713aea fix ui
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
65bab5a39d add resetTwoWaySyncTimestamps to app prefs
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
a0f14bc778 resetTwoWaySyncTimestamps at first run
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
26d7a0111a add toggle inside the two way sync activity
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
73ea0e81e5 add ability to disable two way sync
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
aee3c290d0 only sync folder when internalFolderSyncTimestamp is bigger than 0
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
alperozturk
cd16043508 only sync folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-30 10:48:55 +01:00
A117870935
5f578c4f8c Fix: Launching LauncherActivity & FirstRunActivity
Signed-off-by: A117870935 <surinder.kumar@t-systems.com>
2024-10-30 15:00:12 +05:30
ZetaTom
92c55acf19
Stop download worker when cancelling two-way sync
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-10-30 09:54:11 +01:00
ZetaTom
a78607a6e9
Stop background job when cancelling two-way sync
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-10-30 09:53:32 +01:00
Tobias Kaminsky
2e03e22497
Merge pull request #13897 from nextcloud/bugfix/unnecessary-sync
BugFix - Unnecessary Sync
2024-10-30 09:53:17 +01:00
ZetaTom
dd7b08ff7a
Add disable all button to InternalTwoWaySyncActivity menu
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2024-10-30 09:51:23 +01:00
Nextcloud bot
1fa3f7243e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-30 02:48:31 +00:00
Nextcloud bot
e1020c8fd9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-29 13:22:16 +00:00
Nextcloud bot
6f7fc5d309
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-29 11:20:12 +00:00
alperozturk
6a8ca4db77
trigger worker via mFilesForDirectDownload
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-29 10:27:09 +01:00
Alper Öztürk
ea3d029591 Update app/src/main/res/layout/internal_two_way_sync_layout.xml
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2024-10-29 09:27:50 +01:00
Alper Öztürk
4a0fadaa94 Update app/src/main/res/values/strings.xml
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2024-10-29 09:27:50 +01:00
Alper Öztürk
7a5aff30d5 Update app/src/main/res/values/strings.xml
Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2024-10-29 09:27:50 +01:00
alperozturk
206eeab779 fix emptylist, fix list, fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-29 09:27:50 +01:00
tobiasKaminsky
154d0456c6 Optimize
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-10-29 09:27:50 +01:00
tobiasKaminsky
0e61e27258 Better view handling
- empty state

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-10-29 09:27:50 +01:00
Nextcloud bot
108dbebc44
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-29 02:46:04 +00:00
alperozturk
f54eb094d6
randomize tests and fix some edge cases
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-28 15:22:08 +01:00
alperozturk
939388ffe4
Fix order for space char
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-10-28 12:15:45 +01:00
Nextcloud bot
a253bfc4ec
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-28 02:47:48 +00:00
Nextcloud bot
223b67a8da
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-27 02:56:40 +00:00
Nextcloud bot
08bae700f8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-26 02:46:17 +00:00
Nextcloud bot
6e1483fe09
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-25 03:03:55 +00:00
Andy Scherzinger
9d9c6609e8
Merge pull request #13869 from nextcloud/renovate/com.google.devtools.ksp-2.x
Update plugin com.google.devtools.ksp to v2.0.21-1.0.26
2024-10-24 08:33:26 +02:00
Nextcloud bot
cfd26e4886
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-24 03:15:44 +00:00
renovate[bot]
d789a2f58d
Update plugin com.google.devtools.ksp to v2.0.21-1.0.26
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 20:38:35 +00:00
Andy Scherzinger
66deb62b0b
Merge pull request #13699 from nextcloud/renovate/androidx.webkit-webkit-1.x
Update dependency androidx.webkit:webkit to v1.12.1
2024-10-23 18:29:18 +02:00
Andy Scherzinger
045dd810c2
Merge pull request #13807 from nextcloud/renovate/androidx.test-orchestrator-1.x
Update dependency androidx.test:orchestrator to v1.5.1
2024-10-23 18:27:58 +02:00
Andy Scherzinger
12d7a2568f
Merge pull request #13698 from nextcloud/renovate/androidx.fragment-fragment-ktx-1.x
Update dependency androidx.fragment:fragment-ktx to v1.8.4
2024-10-23 18:26:38 +02:00
renovate[bot]
bfcbf9cbf1
Update dependency androidx.compose:compose-bom to v2024.10.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 15:55:38 +00:00
renovate[bot]
57a93f4743
Update plugin org.jetbrains.kotlin.plugin.compose to v2.0.21
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 17:15:14 +02:00
renovate[bot]
8c737aeb34
Update plugin org.jetbrains.kotlin.kapt to v2.0.21
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 17:15:14 +02:00
Nextcloud bot
dfdb207933
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-23 02:59:54 +00:00