Commit graph

21506 commits

Author SHA1 Message Date
Camila Ayres
52e15ff92e
Separate the list of valid update channels for enterprise and non-enterprise.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
e51324dc9a
Fix the logic to determine update channels available, default value and what info to show the user.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
0663282b2b
Update desktopEnterpriseChannel value when capabilities change.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
615805dd03
Save desktopEnterpriseChannel value in the config file.
The default should be what is returned by defaultUpdateChannel()
when desktopEnterpriseChannel is not available.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
4884fbee87
Add desktopEnterpriseChannel to the capabilities check.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
0274cd912b
Only list enterprise for customers not running branded clients.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
4de91cba23
NextcloudDev is not a branded client.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
aa239cd7bd
Add enterprise explanation to message shown when user changes update channel.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
e8b823670c
Do not show enterprise channel for branded clients.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
e4b70c4037
Extend Capabilities tests.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
ee032827a1
List enterprise update channel when available.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:39 +02:00
Camila Ayres
a4c114e658
Update server hasValidSubscription if capabilities change for account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:38 +02:00
Camila Ayres
7fa0378883
Add user specific setting for server hasValidScriptionValue.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:38 +02:00
Camila Ayres
e0d7377680
Add general config setting for server hasValidSubscription.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:38 +02:00
Camila Ayres
15d75183c2
Check if server has valid subcription.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:38 +02:00
Nextcloud bot
14a5f4cc73
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-04 02:41:45 +00:00
Camila Ayres
ba9b3407a2
Merge pull request #6658 from nextcloud/feature/update-channel
Add daily update channel.
2024-07-03 23:07:53 +02:00
Camila Ayres
4de3107383
Enable RVO (return value optimization).
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:11 +02:00
Camila Ayres
13b7c539e2
Remove unused updatesegment option from updater query.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:11 +02:00
Camila Ayres
e5c2c8fd96
Use only const auto in obvious pointer.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:11 +02:00
Camila Ayres
f581aa1e4b
Use default in switch.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:11 +02:00
Camila Ayres
364b329d55
Rename var in configfile.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
fbadd55a18
Remove commented out line.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
5f0c74d43d
Improve text displayed when user switches update channel.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
eb8b775f4d
Enforce the update channel based on the current client installed.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
3f9bf0ab9c
Add versionSuffix function to Theme.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
07f31f7b36
Use the value from MIRALL_VERSION_SUFFIX as the default update channel.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
a4f6aec29c
Change the default MIRALL_VERSION_SUFFIX from "git" to "daily".
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:10 +02:00
Camila Ayres
2ac3b6947c
List daily update channel in the general settings view.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:09 +02:00
Camila Ayres
d82608d0aa
Clean up code in GeneralSettings.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:09 +02:00
Camila Ayres
82f27e0e2a
Adds info about daily builds to message shown if user changes update channel.
- Also makes the explanation more concise.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:09 +02:00
Camila Ayres
e2f71e6fb3
Modernize ConfigFile::updateChannel and Updater::getQueryParams.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:09 +02:00
Camila Ayres
60174c63d5
Add daily update channel.
- Set update channel options list in slotUpdateInfo.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-03 16:32:09 +02:00
Nextcloud bot
56ff5fb5e8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-03 02:38:31 +00:00
Nextcloud bot
018e5a6008
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-02 02:41:46 +00:00
Matthieu Gallien
1af5872314
Merge pull request #6868 from nextcloud/bugfix/avoidDeadlockWithImplicitHydrationSelfRequests
avoid deadlock: cancel hydration requests coming from itself
2024-07-01 16:15:25 +02:00
Matthieu Gallien
c5c8f0f11b avoid deadlock: cancel hydration requests coming from itself
our current infrastructure will cause a deadlock for any hydration
requests coming from desktop files client itself

the main thread is responsible for executing the hydration request but
if the same thread is already blocked waiting for the hydration to
happen, both (open system call and hydration request handling) process
will never be completed and wait for each over in a stuck cycle

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-07-01 16:10:02 +02:00
Matthieu Gallien
359a7b5bf6
Merge pull request #6864 from nextcloud/bugfix/fixHydrationLogs
avoid logs too verbose and with binary data
2024-07-01 15:48:19 +02:00
Matthieu Gallien
79c5791dfe avoid logs too verbose and with binary data
with those logs, hydrating is causing too much log to be written and
after some time (with big fixles), hydration is failing

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-07-01 15:40:24 +02:00
Nextcloud bot
aa72fd9325
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-01 02:37:55 +00:00
Nextcloud bot
2890178619
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-30 02:38:30 +00:00
Nextcloud bot
8233e60395
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-29 02:39:45 +00:00
Matthieu Gallien
6fc279637e
Merge pull request #6802 from nextcloud/bugfix/share-suffix-fix
Fix sharePath for virtual paths using suffix vfs mode
2024-06-28 18:32:06 +02:00
Claudio Cambra
531e01d574 Fix sharePath for virtual paths using suffix vfs mode
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 18:29:19 +02:00
Matthieu Gallien
cb47a6dc43
Merge pull request #6773 from nextcloud/bugfix/cmd-sync
Bugfix nextcloudcmd when syncing results in deleting all files
2024-06-28 18:19:05 +02:00
Camila Ayres
92390cc754 Add tests to remove all files when sycing with or without nextcloudcmd.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 18:18:08 +02:00
Camila Ayres
7b9b7bc3b6 Add sync option for nextcloudcmd.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 18:18:08 +02:00
Camila Ayres
d7c8365b05 Use readable variable names.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 18:18:08 +02:00
Camila Ayres
b3ff87b73e Make warning text before deleting all files more clear and concise.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 18:18:08 +02:00
Camila Ayres
1f88052a8e Fix #3144: check for promptDeleteAllFiles config setting before emitting signal to display warning.
The signal is not connected to any slot when running nextcloudcmd.
The callback to finish the sync was never being called because the check for the config was done in the slot,
which was never called.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 18:18:08 +02:00