Camila Ayres
ec74f8d274
fix(folder): rename VFS folders using same pattern of sync folders.
...
- Migrate vfs mode from config and load cfapi plugin for the folder.
- Move rename logic to Utility class.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-28 15:23:25 +02:00
Camila Ayres
1cc9f689c4
feat(utility): migrate fav links.
...
Add helper function to get path to links folder.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-28 15:23:25 +02:00
Camila Ayres
4b7ef6eab7
fix(application): add folders after accounts are created during migration.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-28 15:23:22 +02:00
Camila Ayres
abe58a6640
fix(navigationpane): check for unbranded application name when removing registry entries.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-28 14:11:56 +02:00
Camila Ayres
cd8cf2635b
feat(navigationpane): use url - account for root folder, folder name for the rest.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-28 14:11:55 +02:00
Rello
be6c34d0e4
chore: add SPDX headers
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-28 12:01:04 +02:00
Rello
cb78bdd075
feat: add legacy account selection dialog.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-28 12:01:04 +02:00
Jyrki Gadinger
88cfbcafea
perf(activitylistmodel): store conflicts in separate list
...
Figuring out whether a sync conflict occurred by iterating through the
entire activity list each time a new activity was added is really slow,
even more so when there already are thousands of previous activities.
This was especially noticeable during complete initial full syncs
involving more than ~5000 files.
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-07-25 12:10:52 +02:00
Jyrki Gadinger
34876bf130
perf(activitylistmodel): avoid creation of temporary Activity objects
...
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-07-25 12:10:52 +02:00
Matthieu Gallien
ff7109e61b
fix: implicit hydration will not abort synchronization
...
should avoid constant sync/abort loop for people having many files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-24 11:11:18 +02:00
Matthieu Gallien
1a710eac1d
fix: simplify code reverting to the original version
...
Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2025-07-18 08:48:34 +02:00
Matthieu Gallien
5f57734e87
fix: use proper type of string view
...
Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2025-07-18 08:48:34 +02:00
Rello
0ccba7edfb
fix(ignore-list): skip star pattern
...
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-07-18 08:48:34 +02:00
Matthieu Gallien
0a3a29f832
fix: do not recurse inside a remote folder when etag did not change
...
we do not want to remote discover a folder just because the permissions
are modified but not the etag
for any valid case, etag must change
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-17 08:57:34 +02:00
Camila Ayres
56e3b284c1
feat: migrate global network settings to account specific network settings.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-16 19:21:37 +02:00
Camila Ayres
e591644914
feat: all proxy settings are account specific settings.
...
The default is to use QNetworkProxy::NoProxy.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-16 19:21:37 +02:00
Camila Ayres
1696549a83
feat: remove "Network" action.
...
- Remove global proxy and network options from UI.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-16 19:21:37 +02:00
Matthieu Gallien
2527a30fd5
Merge branch 'Rello-codex/add-logging-to-missing-cfapicallback-functions'
2025-07-16 17:41:43 +02:00
Matthieu Gallien
9712fe221c
fix: use proper categorized logging
...
Co-authored-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2025-07-16 17:40:44 +02:00
Matthieu Gallien
ffc5d7653f
fix: use proper categorized logging
...
Co-authored-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2025-07-16 17:40:34 +02:00
Rello
2492c0548a
fix: Add consistent logging to CFAPI callbacks
...
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-07-16 17:39:20 +02:00
Rello
0747d0053d
fix(startup) respect update checker during startup in macOS
...
fixes https://github.com/nextcloud/desktop/issues/8029
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-07-16 17:14:59 +02:00
rakekniven
af56869ba9
chore(l10n): Exclude string from translation
...
Reported at Transifex
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-07-12 14:49:24 +02:00
Camila Ayres
a5fcf336e0
fix(folderwizard): change message tone from error to information.
...
When trying to sync a subfolder of an already syncing folder.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-07-11 21:39:23 +02:00
Claudio Cambra
adf2552169
feat(macOS): Add button to reset macOS vfs for an account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-07-11 10:52:22 +02:00
Claudio Cambra
62b0941f09
fix(macOS): Add method to File Provider settings controller to reset vfs for an account, fully
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-07-11 10:52:22 +02:00
Claudio Cambra
5e9c9a7b2a
feat(macOS): Add convenience function to get group container path
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-07-11 10:52:22 +02:00
Matthieu Gallien
39979f30de
fix(windows/compatibility): rename automatically a file if is local
...
we would automatically rename a file with an invalid name
do this if the newly discovered file is local and not if it is on the
server (which would fail because the local file does not exists at all)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-07 10:27:13 +02:00
Matthieu Gallien
acd27f1068
fix(sync): allow leading space file names on Windows
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-07 09:39:50 +02:00
Matthieu Gallien
0ee9f8c1be
fix(lockFileJobs): avoid accumulating connections about lock jobs
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-04 13:36:20 +02:00
Matthieu Gallien
d9bc9a3d95
fix(permissions): fix decoding share-attributes property
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-01 14:27:59 +02:00
Matthieu Gallien
a2d6b7616a
fix(code/style): use const almost always (always when possible)
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-01 14:27:59 +02:00
Matthieu Gallien
4fcf31cb0b
fix(permissions): decode share "no download" permission
...
ensure we use currently existing server API to get the "no download"
permission
requires parsing some share-attributes new DAV property
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-01 14:27:59 +02:00
Matthieu Gallien
ff72dd32fb
fix(logs): less verbose logs
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-26 10:24:33 +02:00
Rello
b2d9086a50
Merge branch 'nextcloud:master' into master
2025-06-23 18:17:27 +02:00
Matthieu Gallien
dac875ab89
fix(readonly): better handling of ACL on read-only files on windows
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-18 12:08:29 +02:00
Matthieu Gallien
d70771958d
fix(crash): debug builds would not try to remove a not found job
...
in release builds we would happily try to remove an element from QList
with invalid index (-1) if the job is not found
avoid doing this in release builds and keep teh assert in debug builds
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-18 09:16:32 +02:00
Jyrki Gadinger
21ae972efb
style: access static members through ::
...
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-06-18 08:18:50 +02:00
Jyrki Gadinger
a15ed120ac
fix(accountmanager): use defaults from configFile if setting was not present
...
This prevented e.g. "launchOnSystemStartup" to be set on a fresh
installation.
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-06-18 08:18:50 +02:00
Jyrki Gadinger
5d8b9c77db
fix(activitylistmodel): fix activities for e2ee files
...
the sharing/activity button was supposed to be hidden, but a later
change forgot to adapt the variable used for querying the file metadata
so it never could determine the e2e-status
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-06-16 10:16:39 +02:00
Matthieu Gallien
fa6101ce21
feat(logs): provide better logs for network request replies
...
add a couple more info when receiving a reply to make it easier to link
the reply with the emitteed request
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-12 10:20:15 +02:00
Matthieu Gallien
99d4f16435
fix(windows/virtualFiles): prevent implicit hydration at API level
...
use the dedicated flag from CfApi to prevent self implicit hydration
requests
should ensure even more reliable handling of virtual files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-07 18:08:39 +02:00
Matthieu Gallien
1ecab229d6
fix(warning): avoid compilation warning by specifying type
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-06 11:57:27 +02:00
Matthieu Gallien
a60e34cd82
perf(logs): do not print processing lines for not important instructions
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-05 15:47:37 +02:00
Matthieu Gallien
c837e1c010
fix(tests): will currently detect wrong attempts to access deleted files
...
with virtual files we may wrongly try to access a file we just deleted
in which case an assert should ensure we capture this during automated
tests
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-05 14:01:38 +02:00
Matthieu Gallien
d082f839d0
fix(logs): make one log message useful
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-05 14:01:38 +02:00
Rello
1ec8fe63ac
Change qCDebug error logs to qCWarning
2025-06-05 09:24:32 +02:00
Rello
7e72ad28e1
Use warning log level for DB errors
2025-06-05 09:24:32 +02:00
Matthieu Gallien
1144ac4fd3
fix(get/file): avoid failing to download files under 20 MiB
...
if a file that uncompresses to a file size under 10 MiB, Qt will allow
it
for files with an higher size, they must not have higher compression
ratio than what Qt network stack expect
https://doc.qt.io/qt-6/qnetworkrequest.html#setDecompressedSafetyCheckThreshold
we will use a 2 times bigger threshold
Close https://github.com/nextcloud/desktop/issues/7470
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-04 13:52:57 +02:00
Matthieu Gallien
7f1b664ea2
fix(logs): remove extra logs
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-06-03 16:08:22 +02:00