Commit graph

22447 commits

Author SHA1 Message Date
Nextcloud bot
68c4b84794
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-23 02:57:00 +00:00
Matthieu Gallien
0f0ebf9b1e
Merge pull request #7558 from nextcloud/bugfix/fixUserStatusAvailabilityStatusButtons
fix spelling os UserStatus qml type when setting user status
2024-11-22 15:55:56 +01:00
Matthieu Gallien
c962ae3a43
fix spelling os UserStatus qml type when setting user status
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 15:47:40 +01:00
Nextcloud bot
1f8b5bd778
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-22 13:37:36 +00:00
Matthieu Gallien
8caa014311
master branch will be 3.16.0 future release
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 12:05:06 +01:00
Matthieu Gallien
5a963526d1
Merge pull request #7490 from nextcloud/bugfix/win-locale-lang
Fix half-translated GUI strings on Windows
2024-11-22 12:00:01 +01:00
Matthieu Gallien
0ec73cb885 we require Qt 6.7 release to build
we use new API from Qt6.7

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 11:14:38 +01:00
Matthieu Gallien
f6ea58fdea use CI images including Qt6.7 that is now required
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 11:14:38 +01:00
Matthieu Gallien
62e1f432e1 add include QLocale to fix compilation issue
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 11:14:38 +01:00
Claudio Cambra
81bd390820 Use first uiLanguage as lang
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 11:14:38 +01:00
Claudio Cambra
befc8bff78 Only grab system language from QLocale::system
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 11:14:38 +01:00
Claudio Cambra
884f800abc Remove unneeded workaround for dash separated language strings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 11:14:38 +01:00
Matthieu Gallien
984820afc9
Merge pull request #7327 from nextcloud/bugfix/virtualFilesMoreReliable
Bugfix/virtual files more reliable
2024-11-22 11:14:29 +01:00
Matthieu Gallien
71281cbd39 prevent out of bounds access in automated tests
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 11:14:21 +01:00
Matthieu Gallien
41ecc5124e revert changes to the stale virtual files clean up function
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 11:14:21 +01:00
Matthieu Gallien
bc4001d737
Merge pull request #7455 from cmuck/cm-fix-login-regression-on-linux
Fix login regression on linux
2024-11-22 11:13:38 +01:00
cmuck
410091ce85 Fix login regression on linux
Signed-off-by: cmuck <cmuckmuck@gmail.com>
2024-11-22 11:13:28 +01:00
cmuck
71163b77a4 Fix login regression on linux
Signed-off-by: cmuck <cmuckmuck@gmail.com>
2024-11-22 11:13:28 +01:00
Matthieu Gallien
408955e5b3
Merge pull request #7436 from nextcloud/bugfix/accounts2
Fix adding account and skipping folder configuration crash.
2024-11-22 11:02:37 +01:00
Camila Ayres
a7be4d752c
Correct Q_PROPERTY for _davDisplayName.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:04 +01:00
Camila Ayres
11cebc1e2a
Fix tests: make sure displayName is not empty.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:04 +01:00
Camila Ayres
fdbda5d59b
Remove check before setting display name.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:04 +01:00
Camila Ayres
932d61589c
Call for done() when skipping folder configuration.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:04 +01:00
Camila Ayres
df84d12b58
wiz => owncloudSetupWizard.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:04 +01:00
Camila Ayres
77597af3ae
acc => account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:04 +01:00
Camila Ayres
9649bd99f6
Add {} to single line if.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:03 +01:00
Camila Ayres
9634f4ed1f
Use saveAccount for adding single account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:03 +01:00
Camila Ayres
f130e39cbc
Rename vars: _am => _networkAccessManager, a => newAccountData.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:03 +01:00
Camila Ayres
1847a2e95c
Diferentiate between display name and dav display name.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:03 +01:00
Camila Ayres
fc6ecf8186
Use slots as slots.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:02 +01:00
Camila Ayres
27ad53810e
Modernize Account::displayName().
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:50:11 +01:00
Camila Ayres
fc75626b58
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>
2024-11-22 10:50:11 +01:00
Camila Ayres
72f68aa9af
Use slotComputeOverallSyncStatus as a slot.
- Use qAsConst.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:50:10 +01:00
Matthieu Gallien
14581d266a
Merge pull request #7464 from nextcloud/bugfix/debug-archive-aio
Bundle macOS File Provider module logs into main debug archive
2024-11-22 10:08:41 +01:00
Claudio Cambra
a69a9a3064 Move file provider header include into file provider ifdef
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 10:08:32 +01:00
Claudio Cambra
3f0e75b944 Just use davUser as account identifier for macOS log filename
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 10:08:32 +01:00
Claudio Cambra
985043490c Move debug archive for vfs creation out of log entry creation
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 10:08:32 +01:00
Claudio Cambra
580420c28e 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>
2024-11-22 10:08:32 +01:00
Claudio Cambra
a647b5fb07 Remove create debug archive button from individual vfs account settings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 10:08:32 +01:00
Claudio Cambra
e78353939f Directly bundle macOS vfs logs within standard debug archive
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-22 10:08:32 +01:00
Matthieu Gallien
f1c6b65265
Merge pull request #7477 from nextcloud/bugfix/readOnlyVirtualFilesFixes
Improve read only virtual files support on Windows
2024-11-22 10:06:19 +01:00
Matthieu Gallien
85e71d47bf
ensure lnk shortcut files are converted to virtual files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:54:16 +01:00
Matthieu Gallien
2d0529c423
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>
2024-11-22 09:53:25 +01:00
Matthieu Gallien
d705cad6b9
improve logs for CfAPI handle requests in erroneous cases
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:09 +01:00
Matthieu Gallien
9c23be3434
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>
2024-11-22 09:50:09 +01:00
Matthieu Gallien
b6b0a9d4a3
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>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
caf1d492b1
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>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
8ac293bfd4
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>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
3c021166fa
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>
2024-11-22 09:50:08 +01:00
Matthieu Gallien
1f21a934db
fix computation of availability for empty folders
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-22 09:50:08 +01:00