Claudio Cambra [Thu, 5 Dec 2024 07:49:38 +0000 (15:49 +0800)]
mac-crafter: Check if path to trecursively codesign exists and throw error if it doesn't
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Nextcloud bot [Sun, 8 Dec 2024 03:25:20 +0000 (03:25 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 7 Dec 2024 03:02:55 +0000 (03:02 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Fri, 6 Dec 2024 03:11:47 +0000 (03:11 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Thu, 5 Dec 2024 03:31:05 +0000 (03:31 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Wed, 4 Dec 2024 03:26:28 +0000 (03:26 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Mon, 2 Dec 2024 02:55:32 +0000 (02:55 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 30 Nov 2024 02:54:40 +0000 (02:54 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Fri, 29 Nov 2024 11:24:48 +0000 (12:24 +0100)]
Merge pull request #7587 from nextcloud/backport/7572/stable-3.15
[stable-3.15] when updating a virtual file after lock/unlock: avoid setting modtime
Matthieu Gallien [Tue, 26 Nov 2024 17:12:36 +0000 (18:12 +0100)]
when updating a virtual file after lock/unlock: avoid setting modtime
will prevent truncating the modification time when changing the lock
state of a file
could be visible when using an office software to open an office file
with automated locking happening after the file gets opened
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Fri, 29 Nov 2024 10:33:49 +0000 (11:33 +0100)]
Merge pull request #7588 from nextcloud/backport/7580/stable-3.15
[stable-3.15] fix regressions in automated tests for bulk upload
Matthieu Gallien [Thu, 28 Nov 2024 13:38:21 +0000 (14:38 +0100)]
fir regression with VFS availability test on Windows
ensure we report the expected availability erro for non existing files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Thu, 28 Nov 2024 13:09:05 +0000 (14:09 +0100)]
fix TestSyncConflictsModel by using locale aware test data
should ensure comparisons of locale aware text is compared against
locale aware test data
will remove portability issues especially on Windows
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Thu, 28 Nov 2024 10:07:50 +0000 (11:07 +0100)]
fix local discovery test for file names with spaces on windows
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Wed, 27 Nov 2024 15:26:00 +0000 (16:26 +0100)]
fix regressions in automated tests for bulk upload
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Nextcloud bot [Fri, 29 Nov 2024 02:51:20 +0000 (02:51 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Thu, 28 Nov 2024 02:58:05 +0000 (02:58 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Wed, 27 Nov 2024 03:04:13 +0000 (03:04 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Tue, 26 Nov 2024 03:34:21 +0000 (03:34 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Mon, 25 Nov 2024 13:43:47 +0000 (14:43 +0100)]
Merge pull request #7565 from nextcloud/backport/7564/stable-3.15
[stable-3.15] no transparent background for main ApplicationWindow
Matthieu Gallien [Mon, 25 Nov 2024 10:00:07 +0000 (11:00 +0100)]
no transparent background for main ApplicationWindow
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Mon, 25 Nov 2024 09:34:25 +0000 (10:34 +0100)]
Merge pull request #7563 from nextcloud/backport/7561/stable-3.15
[stable-3.15] Bugfix/dark mode switch
Claudio Cambra [Mon, 25 Nov 2024 08:42:39 +0000 (16:42 +0800)]
Use Style.darkMode instead of Theme.darkMode
This way we avoid the computation that happens in Theme::darkMode each
time the property is accessed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 25 Nov 2024 08:40:23 +0000 (16:40 +0800)]
Add connectToSignal on darkMode property fetch
Theme may be instantiated before the qApp is available
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 25 Nov 2024 08:40:02 +0000 (16:40 +0800)]
Try connectToSignal on all OSes on Theme init
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 25 Nov 2024 08:39:20 +0000 (16:39 +0800)]
Make connectToPaletteSignal const
We don't really need to have the check fo paletteSignalsConnected
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Nextcloud bot [Mon, 25 Nov 2024 02:54:32 +0000 (02:54 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sun, 24 Nov 2024 02:58:48 +0000 (02:58 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Nextcloud bot [Sat, 23 Nov 2024 02:56:24 +0000 (02:56 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 15:01:13 +0000 (16:01 +0100)]
Merge pull request #7559 from nextcloud/backport/7558/stable-3.15
[stable-3.15] fix spelling os UserStatus qml type when setting user status
Matthieu Gallien [Fri, 22 Nov 2024 14:47:40 +0000 (15:47 +0100)]
fix spelling os UserStatus qml type when setting user status
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Nextcloud bot [Fri, 22 Nov 2024 13:36:55 +0000 (13:36 +0000)]
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 11:01:27 +0000 (12:01 +0100)]
prepare for release 3.15.0
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 11:00:01 +0000 (12:00 +0100)]
Merge pull request #7490 from nextcloud/bugfix/win-locale-lang
Fix half-translated GUI strings on Windows
Matthieu Gallien [Fri, 22 Nov 2024 09:05:32 +0000 (10:05 +0100)]
we require Qt 6.7 release to build
we use new API from Qt6.7
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 09:04:52 +0000 (10:04 +0100)]
use CI images including Qt6.7 that is now required
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Thu, 21 Nov 2024 13:24:24 +0000 (14:24 +0100)]
add include QLocale to fix compilation issue
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Claudio Cambra [Sun, 17 Nov 2024 15:10:49 +0000 (23:10 +0800)]
Use first uiLanguage as lang
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 4 Nov 2024 07:40:25 +0000 (16:40 +0900)]
Only grab system language from QLocale::system
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 4 Nov 2024 07:17:20 +0000 (16:17 +0900)]
Remove unneeded workaround for dash separated language strings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 10:14:29 +0000 (11:14 +0100)]
Merge pull request #7327 from nextcloud/bugfix/virtualFilesMoreReliable
Bugfix/virtual files more reliable
Matthieu Gallien [Wed, 16 Oct 2024 07:01:56 +0000 (09:01 +0200)]
prevent out of bounds access in automated tests
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Wed, 16 Oct 2024 07:01:12 +0000 (09:01 +0200)]
revert changes to the stale virtual files clean up function
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 10:13:38 +0000 (11:13 +0100)]
Merge pull request #7455 from cmuck/cm-fix-login-regression-on-linux
Fix login regression on linux
cmuck [Thu, 21 Nov 2024 13:50:22 +0000 (14:50 +0100)]
Fix login regression on linux
Signed-off-by: cmuck <cmuckmuck@gmail.com>
cmuck [Mon, 4 Nov 2024 12:50:06 +0000 (13:50 +0100)]
Fix login regression on linux
Signed-off-by: cmuck <cmuckmuck@gmail.com>
Matthieu Gallien [Fri, 22 Nov 2024 10:02:37 +0000 (11:02 +0100)]
Merge pull request #7436 from nextcloud/bugfix/accounts2
Fix adding account and skipping folder configuration crash.
Camila Ayres [Thu, 14 Nov 2024 18:39:56 +0000 (19:39 +0100)]
Correct Q_PROPERTY for _davDisplayName.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 14 Nov 2024 18:11:54 +0000 (19:11 +0100)]
Fix tests: make sure displayName is not empty.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Wed, 6 Nov 2024 16:13:28 +0000 (17:13 +0100)]
Remove check before setting display name.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 4 Nov 2024 20:11:40 +0000 (21:11 +0100)]
Call for done() when skipping folder configuration.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 4 Nov 2024 19:15:43 +0000 (20:15 +0100)]
wiz => owncloudSetupWizard.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 4 Nov 2024 18:17:15 +0000 (19:17 +0100)]
acc => account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Mon, 4 Nov 2024 18:08:03 +0000 (19:08 +0100)]
Add {} to single line if.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 31 Oct 2024 17:18:25 +0000 (18:18 +0100)]
Use saveAccount for adding single account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Thu, 31 Oct 2024 15:28:32 +0000 (16:28 +0100)]
Rename vars: _am => _networkAccessManager, a => newAccountData.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 20:51:46 +0000 (21:51 +0100)]
Diferentiate between display name and dav display name.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 19:12:20 +0000 (20:12 +0100)]
Use slots as slots.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 17:45:03 +0000 (18:45 +0100)]
Modernize Account::displayName().
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 17:36:40 +0000 (18:36 +0100)]
Fix warning "Calling C++ methods with 'this' objects different from the one they were retrieved from is broken"
https://doc.qt.io/qt-6/qtqml-documents-structure.html#nativemethodbehavior
Signed-off-by: Camila Ayres <hello@camilasan.com>
Camila Ayres [Tue, 29 Oct 2024 17:00:52 +0000 (18:00 +0100)]
Use slotComputeOverallSyncStatus as a slot.
- Use qAsConst.
Signed-off-by: Camila Ayres <hello@camilasan.com>
Matthieu Gallien [Fri, 22 Nov 2024 09:08:41 +0000 (10:08 +0100)]
Merge pull request #7464 from nextcloud/bugfix/debug-archive-aio
Bundle macOS File Provider module logs into main debug archive
Claudio Cambra [Wed, 20 Nov 2024 02:27:37 +0000 (10:27 +0800)]
Move file provider header include into file provider ifdef
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Wed, 6 Nov 2024 17:07:56 +0000 (02:07 +0900)]
Just use davUser as account identifier for macOS log filename
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Wed, 6 Nov 2024 17:07:28 +0000 (02:07 +0900)]
Move debug archive for vfs creation out of log entry creation
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 5 Nov 2024 08:40:47 +0000 (17:40 +0900)]
Ensure we are not halting the entire application when trying to generate the debug archive for macOS vfs
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 29 Oct 2024 04:02:50 +0000 (12:02 +0800)]
Remove create debug archive button from individual vfs account settings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Tue, 29 Oct 2024 04:02:28 +0000 (12:02 +0800)]
Directly bundle macOS vfs logs within standard debug archive
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 09:06:19 +0000 (10:06 +0100)]
Merge pull request #7477 from nextcloud/bugfix/readOnlyVirtualFilesFixes
Improve read only virtual files support on Windows
Matthieu Gallien [Tue, 5 Nov 2024 22:09:00 +0000 (23:09 +0100)]
ensure lnk shortcut files are converted to virtual files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Thu, 7 Nov 2024 15:47:45 +0000 (16:47 +0100)]
remote permissions of a view-only folder: no new file or folder
change the way we evaluate a folder permissions to be read-only when no
new file or new folders can be created
if those permissions are lacking, client will make the local folder
read-only
if those permissions are granted, client will make local folder
read-write
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:45:20 +0000 (17:45 +0100)]
improve logs for CfAPI handle requests in erroneous cases
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:43:10 +0000 (17:43 +0100)]
never use QFileInfo on possibly pure virtual placeholder file
will prevent some type of activity being added to the list from
triggering implicit hydration during synchronization
most probably breaks existing open actions on those activities
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:39:28 +0000 (17:39 +0100)]
prevent implicit hydration when setting file permissions on shortcuts
we were using specialized API to set the file permissions on the windows
shortcut and later falling back to the generic code path due to the
mising return
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:38:04 +0000 (17:38 +0100)]
provide proper log when we block a self hydration request
should make the existing log more useful when tracking the
self requested implicit hydration bugs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 16:32:53 +0000 (17:32 +0100)]
fix migration of existing windows shortcut files to placeholder
we cannot do a single call to convert the plain old file to be a
dehydrated virtual file placeholder
split the conversion into a separate initial API call
fix transition from releases < 3.14 to current releases that have first
class support for windows shortcuts (so called link files)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Tue, 5 Nov 2024 15:29:53 +0000 (16:29 +0100)]
use proper item type when converting existing windows shortcuts
we need to make shortcut files be proper virtual placeholder files
let the sync engine use the proper item type for that
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Wed, 30 Oct 2024 17:48:53 +0000 (18:48 +0100)]
fix computation of availability for empty folders
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Wed, 30 Oct 2024 15:37:42 +0000 (16:37 +0100)]
do not move to trash online only files/folders: going to fail
ensure that even if move to trash is enabled, we do not erroneously try
to move online only files or folders to trash bin
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Matthieu Gallien [Fri, 22 Nov 2024 08:46:26 +0000 (09:46 +0100)]
Merge pull request #7373 from nextcloud/feature/display-sharedwithme-info
Show received share information in share view
Claudio Cambra [Wed, 20 Nov 2024 06:09:40 +0000 (14:09 +0800)]
Ensure avatarJob is run on the respective account's QNAM thread
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Wed, 20 Nov 2024 05:23:54 +0000 (13:23 +0800)]
Match definition of shared_with_me with other properties in OcsShareJob getShares
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Wed, 20 Nov 2024 05:23:36 +0000 (13:23 +0800)]
Clean up whitespace in ShareModel::slotPropfindReceived
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 21 Oct 2024 03:11:10 +0000 (11:11 +0800)]
Ensure account pointer is valid when fetching avatars
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Mon, 21 Oct 2024 03:10:58 +0000 (11:10 +0800)]
Ensure requestedSize for avatars is valid
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 17:49:09 +0000 (01:49 +0800)]
Display image for sharedWithMe share owner in share view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 17:48:44 +0000 (01:48 +0800)]
Build shareOwnerAvatar image provider string when handling sharedWithMe share in ShareModel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 17:48:17 +0000 (01:48 +0800)]
Add shareOwnerAvatar property to ShareModel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 17:46:56 +0000 (01:46 +0800)]
Add ability to fetch remote server avatars in usermodel avatar ImageResponse
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 17:46:27 +0000 (01:46 +0800)]
Convert ImageProvider in an async image provider using an internal image response
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:48:47 +0000 (17:48 +0800)]
Bolden string showing who owns the share that was shared with me
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:48:32 +0000 (17:48 +0800)]
Display share owner rather than file owner (this is more relevant to user)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:37:09 +0000 (17:37 +0800)]
Display shared with me file's share expiry in share view if relevant
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:36:52 +0000 (17:36 +0800)]
Display file owner information (if not self) in share view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:36:20 +0000 (17:36 +0800)]
When handling fetched shares, record shared-with-me related information in sharemodel properties
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:35:42 +0000 (17:35 +0800)]
Also fetch shared with me share on target path
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:33:14 +0000 (17:33 +0800)]
Add sharedWithMe-related properties to sharemodel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:30:30 +0000 (17:30 +0800)]
Set if the file owner should be displayed and the file owner display name on propfind in sharemodel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:29:15 +0000 (17:29 +0800)]
Add fileOwnerDisplayName property to ShareModel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
Claudio Cambra [Sun, 20 Oct 2024 09:28:13 +0000 (17:28 +0800)]
Add displayFileOwner property to ShareModel
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>