Commit graph

25582 commits

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