Commit graph

21329 commits

Author SHA1 Message Date
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
Matthieu Gallien
dce02d7d62
Merge pull request #6821 from nextcloud/bugfix/undeletable-vfs-suffic-files
Allow deletion of virtual suffix placeholder files
2024-06-28 18:17:29 +02:00
Claudio Cambra
2915e2517e Properly reset fakefolder test state post-placeholder file delete in testsyncvirtualfiles
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 18:17:19 +02:00
Claudio Cambra
0757e94b50 Ensure stripping of suffix vfs placeholder file's suffix when issuing delete command to server
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 18:17:19 +02:00
Claudio Cambra
1382f924c7 Amend behaviour of suffix virtual files test to reflect new expected behaviour
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 18:17:19 +02:00
Claudio Cambra
b00a5934c9 Allow deletion of virtual suffix placeholder files
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 18:17:19 +02:00
Matthieu Gallien
f44eb5b8d4
Merge pull request #6839 from nextcloud/bugfix/rw-folders-broken
Bugfix/rw folders broken
2024-06-28 10:39:44 +02:00
Claudio Cambra
051a225d83 Do not wrap macOS ifdefs in filesystem when parent function already wrapped in ifdef
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 15:55:18 +08:00
Claudio Cambra
26eab22ca4 Do not re-generate standard string path twice
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 15:55:18 +08:00
Claudio Cambra
c34edbee82 Ensure we are re-adding same permissions as removed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 15:55:18 +08:00
Matthieu Gallien
b34a89a653
Merge pull request #6846 from nextcloud/enh/add-cfapi-debug-logs
Add cfapi debug logs
2024-06-28 09:45:40 +02:00
Camila Ayres
bba5097227 Print desktop client process id.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 09:12:29 +02:00
Camila Ayres
60d6cb47b1 Add new cfapi callbacks for logging.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 09:12:29 +02:00
Camila Ayres
340956ebfe Add more logs to track file hydration.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 09:12:29 +02:00
Nextcloud bot
0d02a72582
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-28 02:46:27 +00:00
Nextcloud bot
be012c57f2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-27 02:39:31 +00:00
Matthieu Gallien
ad70745bf5
Merge pull request #6841 from nextcloud/bugfix/updateEncryptionStateWhenServerChange
Bugfix/update encryption state when server change
2024-06-26 14:49:35 +02:00
Matthieu Gallien
863256fd55
ignore encrypted items during discovery when encryption is disabled
when we know a folder should be encrypted but encryption client side app
is disabled, ignore any items in the encrypted folders

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-06-26 14:47:17 +02:00
Matthieu Gallien
a270dca344
do not allow to select e2ee folders if the server support is missing
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-06-26 14:47:17 +02:00
Matthieu Gallien
284823d147
maintain e2ee state even if the server does not support e2ee
might be that the server previously supported e2ee and e2ee folders
exist

so we have to fetch the info to properly handle it on client

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-06-26 14:47:17 +02:00
Nextcloud bot
53980d3b85
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-26 02:38:52 +00:00
Claudio Cambra
566e8b7372
Merge pull request #6833 from nextcloud/bugfix/fp-account-crash
Fix crash when updating enabled File Provider domains (macOS VFS)
2024-06-25 23:04:18 +08:00
Claudio Cambra
73fc23f002 Remove no longer existing account id from configured vfs accounts list
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
fc2e687c3d Prevent crash when updating file provider domains if the account for which a file provider domain was configured no longer exists
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
07d5e40ade Use accountfwd header for account forward declaration in account header itself, preventing conflicting decls
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
1689f7b613 Assert validity of accountstate and its accountptr when adding it
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
74a78242e2 Remove overwrought loadFromSettings method from AccountState
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
fd4ddfdd4c Take AccountPtr by reference in accountstate constructor
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00