Claudio Cambra [Wed, 19 Jun 2024 09:46:59 +0000 (17:46 +0800)]
Start working on mac builder script
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Nextcloud bot [Mon, 8 Jul 2024 02:39:57 +0000 (02:39 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 6 Jul 2024 02:39:53 +0000 (02:39 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Fri, 5 Jul 2024 11:57:14 +0000 (13:57 +0200)]
Merge pull request #6780 from nextcloud/bugfix/groupfolder-rename
Check if sync item is actually a folder before processing it
Camila Ayres [Tue, 25 Jun 2024 14:40:02 +0000 (16:40 +0200)]
Fix renaming tests for files under group folders.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 24 Jun 2024 16:58:02 +0000 (18:58 +0200)]
Only check for external storage permissions when it is a folder.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 6 Jun 2024 09:57:05 +0000 (11:57 +0200)]
Remove commented out code.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 5 Jun 2024 18:35:39 +0000 (20:35 +0200)]
Improve logs for rename check.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 5 Jun 2024 18:31:41 +0000 (20:31 +0200)]
Add test to detect file renames in external storage.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Fri, 24 May 2024 19:04:15 +0000 (21:04 +0200)]
Check if file is already in database before processing rename.
- The rename check was not happening since it was hitting error "Move without permission to rename base file"
- The file was then processed as a new file
- Also check #6535.
Possible workaround for #6549.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Nextcloud bot [Fri, 5 Jul 2024 02:38:36 +0000 (02:38 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Camila Ayres [Thu, 4 Jul 2024 09:15:24 +0000 (11:15 +0200)]
Merge pull request #6790 from nextcloud/feature/update-channel-2
Add new update channels part 2.
Camila Ayres [Thu, 4 Jul 2024 07:54:22 +0000 (09:54 +0200)]
Translate enterprise channel explanation string.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 4 Jul 2024 07:50:53 +0000 (09:50 +0200)]
Use NEXTCLOUD_DEV to check if client is branded instead of checking for string.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 4 Jul 2024 07:44:29 +0000 (09:44 +0200)]
Remove const from POD in method declaration.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 4 Jul 2024 07:34:26 +0000 (09:34 +0200)]
Remove resolved TO DO comment.
Subscription and channel are supposed to be a general setting, not per user.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 3 Jul 2024 22:21:31 +0000 (00:21 +0200)]
Extend capabilities test to include desktopEnterpriseChannel check.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 3 Jul 2024 22:00:11 +0000 (00:00 +0200)]
If the client is branded the default update channel is stable.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 3 Jul 2024 21:31:53 +0000 (23:31 +0200)]
Separate the list of valid update channels for enterprise and non-enterprise.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 3 Jul 2024 14:06:48 +0000 (16:06 +0200)]
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>
Camila Ayres [Wed, 3 Jul 2024 13:16:56 +0000 (15:16 +0200)]
Update desktopEnterpriseChannel value when capabilities change.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 3 Jul 2024 13:14:53 +0000 (15:14 +0200)]
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>
Camila Ayres [Wed, 3 Jul 2024 13:13:55 +0000 (15:13 +0200)]
Add desktopEnterpriseChannel to the capabilities check.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 20:14:55 +0000 (22:14 +0200)]
Only list enterprise for customers not running branded clients.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 20:14:00 +0000 (22:14 +0200)]
NextcloudDev is not a branded client.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 19:42:19 +0000 (21:42 +0200)]
Add enterprise explanation to message shown when user changes update channel.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 19:32:16 +0000 (21:32 +0200)]
Do not show enterprise channel for branded clients.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 19:26:25 +0000 (21:26 +0200)]
Extend Capabilities tests.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 18:52:11 +0000 (20:52 +0200)]
List enterprise update channel when available.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 18:50:37 +0000 (20:50 +0200)]
Update server hasValidSubscription if capabilities change for account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 18:48:41 +0000 (20:48 +0200)]
Add user specific setting for server hasValidScriptionValue.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 18:24:17 +0000 (20:24 +0200)]
Add general config setting for server hasValidSubscription.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 17:43:31 +0000 (19:43 +0200)]
Check if server has valid subcription.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Nextcloud bot [Thu, 4 Jul 2024 02:41:45 +0000 (02:41 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Camila Ayres [Wed, 3 Jul 2024 21:07:53 +0000 (23:07 +0200)]
Merge pull request #6658 from nextcloud/feature/update-channel
Add daily update channel.
Camila Ayres [Wed, 3 Jul 2024 14:23:33 +0000 (16:23 +0200)]
Enable RVO (return value optimization).
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 3 Jul 2024 14:20:12 +0000 (16:20 +0200)]
Remove unused updatesegment option from updater query.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 3 Jul 2024 14:18:15 +0000 (16:18 +0200)]
Use only const auto in obvious pointer.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 3 Jul 2024 14:16:56 +0000 (16:16 +0200)]
Use default in switch.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 2 Jul 2024 12:38:59 +0000 (14:38 +0200)]
Rename var in configfile.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 27 Jun 2024 16:24:10 +0000 (18:24 +0200)]
Remove commented out line.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 27 Jun 2024 11:53:09 +0000 (13:53 +0200)]
Improve text displayed when user switches update channel.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 26 Jun 2024 19:14:07 +0000 (21:14 +0200)]
Enforce the update channel based on the current client installed.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 26 Jun 2024 18:18:41 +0000 (20:18 +0200)]
Add versionSuffix function to Theme.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 26 Jun 2024 17:12:59 +0000 (19:12 +0200)]
Use the value from MIRALL_VERSION_SUFFIX as the default update channel.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 26 Jun 2024 17:11:26 +0000 (19:11 +0200)]
Change the default MIRALL_VERSION_SUFFIX from "git" to "daily".
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 18:52:11 +0000 (20:52 +0200)]
List daily update channel in the general settings view.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 15:18:40 +0000 (17:18 +0200)]
Clean up code in GeneralSettings.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 3 Jun 2024 15:11:12 +0000 (17:11 +0200)]
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>
Camila Ayres [Mon, 3 Jun 2024 14:08:59 +0000 (16:08 +0200)]
Modernize ConfigFile::updateChannel and Updater::getQueryParams.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 15 Apr 2024 18:59:50 +0000 (20:59 +0200)]
Add daily update channel.
- Set update channel options list in slotUpdateInfo.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Nextcloud bot [Wed, 3 Jul 2024 02:38:31 +0000 (02:38 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Tue, 2 Jul 2024 02:41:46 +0000 (02:41 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Mon, 1 Jul 2024 14:15:25 +0000 (16:15 +0200)]
Merge pull request #6868 from nextcloud/bugfix/avoidDeadlockWithImplicitHydrationSelfRequests
avoid deadlock: cancel hydration requests coming from itself
Matthieu Gallien [Mon, 1 Jul 2024 14:10:02 +0000 (16:10 +0200)]
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>
Matthieu Gallien [Mon, 1 Jul 2024 13:48:19 +0000 (15:48 +0200)]
Merge pull request #6864 from nextcloud/bugfix/fixHydrationLogs
avoid logs too verbose and with binary data
Matthieu Gallien [Mon, 1 Jul 2024 13:40:24 +0000 (15:40 +0200)]
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>
Nextcloud bot [Mon, 1 Jul 2024 02:37:55 +0000 (02:37 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sun, 30 Jun 2024 02:38:30 +0000 (02:38 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 29 Jun 2024 02:39:45 +0000 (02:39 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Fri, 28 Jun 2024 16:32:06 +0000 (18:32 +0200)]
Merge pull request #6802 from nextcloud/bugfix/share-suffix-fix
Fix sharePath for virtual paths using suffix vfs mode
Claudio Cambra [Fri, 7 Jun 2024 16:10:15 +0000 (00:10 +0800)]
Fix sharePath for virtual paths using suffix vfs mode
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Fri, 28 Jun 2024 16:19:05 +0000 (18:19 +0200)]
Merge pull request #6773 from nextcloud/bugfix/cmd-sync
Bugfix nextcloudcmd when syncing results in deleting all files
Camila Ayres [Tue, 25 Jun 2024 20:12:14 +0000 (22:12 +0200)]
Add tests to remove all files when sycing with or without nextcloudcmd.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 25 Jun 2024 18:39:09 +0000 (20:39 +0200)]
Add sync option for nextcloudcmd.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 4 Jun 2024 18:40:44 +0000 (20:40 +0200)]
Use readable variable names.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 4 Jun 2024 18:33:47 +0000 (20:33 +0200)]
Make warning text before deleting all files more clear and concise.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 4 Jun 2024 18:30:32 +0000 (20:30 +0200)]
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>
Matthieu Gallien [Fri, 28 Jun 2024 16:17:29 +0000 (18:17 +0200)]
Merge pull request #6821 from nextcloud/bugfix/undeletable-vfs-suffic-files
Allow deletion of virtual suffix placeholder files
Claudio Cambra [Wed, 26 Jun 2024 07:07:50 +0000 (15:07 +0800)]
Properly reset fakefolder test state post-placeholder file delete in testsyncvirtualfiles
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Wed, 26 Jun 2024 07:07:23 +0000 (15:07 +0800)]
Ensure stripping of suffix vfs placeholder file's suffix when issuing delete command to server
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 25 Jun 2024 15:26:15 +0000 (23:26 +0800)]
Amend behaviour of suffix virtual files test to reflect new expected behaviour
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 17 Jun 2024 15:40:28 +0000 (23:40 +0800)]
Allow deletion of virtual suffix placeholder files
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Fri, 28 Jun 2024 08:39:44 +0000 (10:39 +0200)]
Merge pull request #6839 from nextcloud/bugfix/rw-folders-broken
Bugfix/rw folders broken
Claudio Cambra [Wed, 26 Jun 2024 09:04:17 +0000 (17:04 +0800)]
Do not wrap macOS ifdefs in filesystem when parent function already wrapped in ifdef
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Wed, 26 Jun 2024 09:03:03 +0000 (17:03 +0800)]
Do not re-generate standard string path twice
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Wed, 26 Jun 2024 08:59:47 +0000 (16:59 +0800)]
Ensure we are re-adding same permissions as removed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Fri, 28 Jun 2024 07:45:40 +0000 (09:45 +0200)]
Merge pull request #6846 from nextcloud/enh/add-cfapi-debug-logs
Add cfapi debug logs
Camila Ayres [Wed, 19 Jun 2024 14:27:06 +0000 (16:27 +0200)]
Print desktop client process id.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 13 Jun 2024 17:57:27 +0000 (19:57 +0200)]
Add new cfapi callbacks for logging.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 12 Jun 2024 13:32:01 +0000 (15:32 +0200)]
Add more logs to track file hydration.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Nextcloud bot [Fri, 28 Jun 2024 02:46:27 +0000 (02:46 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Thu, 27 Jun 2024 02:39:31 +0000 (02:39 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Wed, 26 Jun 2024 12:49:35 +0000 (14:49 +0200)]
Merge pull request #6841 from nextcloud/bugfix/updateEncryptionStateWhenServerChange
Bugfix/update encryption state when server change
Matthieu Gallien [Tue, 21 May 2024 16:06:37 +0000 (18:06 +0200)]
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>
Matthieu Gallien [Wed, 15 Mar 2023 14:17:48 +0000 (15:17 +0100)]
do not allow to select e2ee folders if the server support is missing
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Wed, 15 Mar 2023 14:16:18 +0000 (15:16 +0100)]
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>
Nextcloud bot [Wed, 26 Jun 2024 02:38:52 +0000 (02:38 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Claudio Cambra [Tue, 25 Jun 2024 15:04:18 +0000 (23:04 +0800)]
Merge pull request #6833 from nextcloud/bugfix/fp-account-crash
Fix crash when updating enabled File Provider domains (macOS VFS)
Claudio Cambra [Tue, 25 Jun 2024 10:54:15 +0000 (18:54 +0800)]
Remove no longer existing account id from configured vfs accounts list
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 25 Jun 2024 10:52:31 +0000 (18:52 +0800)]
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>
Claudio Cambra [Tue, 25 Jun 2024 10:35:57 +0000 (18:35 +0800)]
Use accountfwd header for account forward declaration in account header itself, preventing conflicting decls
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 25 Jun 2024 10:22:30 +0000 (18:22 +0800)]
Assert validity of accountstate and its accountptr when adding it
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 25 Jun 2024 10:19:32 +0000 (18:19 +0800)]
Remove overwrought loadFromSettings method from AccountState
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 25 Jun 2024 10:18:03 +0000 (18:18 +0800)]
Take AccountPtr by reference in accountstate constructor
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Camila Ayres [Tue, 25 Jun 2024 14:26:48 +0000 (16:26 +0200)]
Merge pull request #6637 from nextcloud/feature/nc-assistance
Display the NC assistant in the main Window
Camila Ayres [Tue, 4 Jun 2024 12:47:44 +0000 (14:47 +0200)]
Move the logic for handling the featured app qml to cpp.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 16 Apr 2024 16:24:11 +0000 (18:24 +0200)]
Display the Nextcloud assistant icon in the main window.
- If NC assistant is enabled in the server, display the icon
to open it instead of Talk. Talk is then displayed in the
list with the other apps.
- The direct link is only available in the assistant app >= 1.0.9.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Matthieu Gallien [Tue, 25 Jun 2024 13:32:22 +0000 (15:32 +0200)]
Merge pull request #6832 from nextcloud/ci/testIsMountRootProperty
Ci/test is mount root property
Matthieu Gallien [Tue, 25 Jun 2024 08:33:22 +0000 (10:33 +0200)]
automated test: allow rename of the child items of a mount point
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>