Commit graph

6309 commits

Author SHA1 Message Date
Josh
82f3d06c32 fix(sharing): make clear re-sharing prevented by admin policy
Fixes #10040

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-06 07:58:22 +01:00
Nextcloud bot
5c38fc52cc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-06 06:20:11 +00:00
Tobias Kaminsky
98536b4588 daily dev 20241106
Update Nextcloud Android library
2024-11-06 03:47:08 +01:00
Tobias Kaminsky
8247a31e5b Merge remote-tracking branch 'origin/master' into dev 2024-11-06 03:39:15 +01:00
Andy Scherzinger
4e5d3112b5
Merge pull request #13912 from nextcloud/renovate/androidx.annotation-annotation-1.x
Update dependency androidx.annotation:annotation to v1.9.1
2024-11-05 17:16:43 +01:00
Andy Scherzinger
2ff4f0402c
Merge pull request #13950 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
Update dependency androidx.compose:compose-bom to v2024.10.01
2024-11-05 17:00:57 +01:00
Andy Scherzinger
06927968a9
Merge pull request #13956 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.26
2024-11-05 16:11:33 +01:00
Andy Scherzinger
d009778689
Merge pull request #13957 from nextcloud/renovate/androidx.constraintlayout-constraintlayout-2.x
Update dependency androidx.constraintlayout:constraintlayout to v2.2.0
2024-11-05 16:10:47 +01:00
Tobias Kaminsky
cbc5fe4ef7
Merge pull request #12832 from Pixee-Bot-Java/pixeebot/drip-2024-03-26-pixee-java/switch-literal-first
Switch order of literals to prevent NullPointerException
2024-11-05 15:42:45 +01:00
Tobias Kaminsky
5934b048f5
Merge pull request #13702 from Siddikpatel/statusbarissue
status bar should be transparent now
2024-11-05 15:41:24 +01:00
Tobias Kaminsky
220823da6b
Merge pull request #13949 from nextcloud/lintCount
Lint: ignore StringFormatCount for translated files
2024-11-05 15:40:33 +01:00
Tobias Kaminsky
7ca05ca679
Merge pull request #13946 from nextcloud/notification-permission-cleanup
Notification permission cleanup
2024-11-05 12:59:39 +01:00
Tobias Kaminsky
d7a9d75dc1
Merge pull request #13940 from nextcloud/jtr/fix-11994
fix(dashboard): Dashboard app must be enabled server-side
2024-11-05 12:19:55 +01:00
renovate[bot]
b11853caf1
Update dependency androidx.constraintlayout:constraintlayout to v2.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 11:17:18 +00:00
renovate[bot]
264db1d824
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.26
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 11:16:35 +00:00
renovate[bot]
4fe93a0bf6
Update dependency androidx.compose:compose-bom to v2024.10.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 11:10:30 +00:00
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
Tobias Kaminsky
8ca87712e4 daily dev 20241105 2024-11-05 02:38:36 +01:00
Tobias Kaminsky
0764c8bab3 Merge remote-tracking branch 'origin/master' into dev 2024-11-05 02:31:37 +01: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
Tobias Kaminsky
468edd1c87 daily dev 20241101 2024-11-01 02:43:23 +01:00
Tobias Kaminsky
12754c048e Merge remote-tracking branch 'origin/master' into dev 2024-11-01 02:32:38 +01: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
Tobias Kaminsky
cb24b0545b daily dev 20241031 2024-10-31 02:40:33 +01:00
Tobias Kaminsky
ba4970fab8 Merge remote-tracking branch 'origin/master' into dev 2024-10-31 02:31:58 +01: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