Jyrki Gadinger
7d51761a7a
fix(remotewipe): do not reopen sync db before wiping
...
also use `FileSystem::removeRecursively` to properly handle deletion of
read-only directories/files
There's now an integration test for this feature after all those years
as well ;-)
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-07-29 10:30:18 +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
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
Rello
1ec8fe63ac
Change qCDebug error logs to qCWarning
2025-06-05 09:24:32 +02:00
Andy Scherzinger
669bb276a9
docs(reuse): Migrate to SPDX
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-07 15:34:52 +02:00
Claudio Cambra
49bac25415
Use AccountPtr in serverVersionChanged signal instead of raw pointer
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-04-15 17:08:10 +08:00
Claudio Cambra
a2e3d6339e
Use AccountPtr in pushNotificationsReady signal in Account rather than raw pointer
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-04-15 17:08:10 +08:00
Claudio Cambra
487855b7bb
Only build NavigationPaneHelper on Windows
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-04-15 17:07:45 +08:00
Camila Ayres
cf488b3e86
Add option to disable virtual files syncing on Windows.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-03-12 12:22:20 +01:00
Pablo Ariño Muñoz
c3062b45bd
Carried out further fixes, changing types to auto and adding const
...
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 11:54:54 +08:00
Pablo Ariño Muñoz
71e4de1503
Added more std::as_const and replaced types for auto, as well as other suggestions
...
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 11:54:54 +08:00
Pablo Ariño Muñoz
bf74e15896
Replaced qAsConst with std::as_const
...
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 11:54:54 +08:00
Pablo Ariño Muñoz
fc28fe95bb
Replaced foreach with range loops
...
Signed-off-by: Pablo Ariño Muñoz <progpabarino@gmail.com>
2025-02-25 11:54:54 +08:00
Matthieu Gallien
7d96466050
prevent infinite sync loop: delay retry after many errors
...
10 seconds for try 3 and 4
30 seconds for try 5 and 6
60 seconds for more
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-20 10:09:27 +01:00
Camila Ayres
59f1b6aa7d
Check for FoldersWithPlaceholders when migrating account's folders.
...
Improve logs.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-11 10:57:01 +01:00
Camila Ayres
69b7e054c6
Update the max folder and the max account version.
...
Improve log output when migrating settings.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-11 10:57:01 +01:00
Camila Ayres
f62efca6c4
Improve text returned when checking VFS availability.
...
- Display more clear error when adding local sync folder and when selecting remote folder.
- Modernize FolderWizardRemotePath::isComplete().
- Display the local folder path when warning that folder is already being synced.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-02-11 09:08:26 +01:00
Matthieu Gallien
2a52ec33b0
add support to use PKCS#11 harware token to store certifice for e2ee
...
Close #5685
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-02-07 09:12:29 +01:00
Camila Ayres
c3a7306b2d
Remove extra \n.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-01-02 11:02:34 +01:00
Claudio Cambra
1009fed86a
Replace all uses of qAsConst with std::as_const
...
Fixes deprecation warnings on Qt 6.8.0
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-12-20 16:26:57 +01:00
Rello
a5d1070c4b
Update src/gui/folderman.cpp
...
Co-authored-by: Camila Ayres <hello@camilasan.com>
Signed-off-by: Rello <Rello@users.noreply.github.com>
2024-12-16 11:06:05 +01:00
Rello
bb49203128
improvement of error message
...
Signed-off-by: Rello <Rello@users.noreply.github.com>
2024-12-16 10:41:53 +01:00
rakekniven
d92b31b661
chore(i18n): Corrected spelling and improved grammar
...
Reported at Transifex.
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-12-13 08:15:21 +01:00
Camila Ayres
f9ec7380b0
Remove unused variable.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-12-12 12:15:44 +01:00
Hannah von Reth
cb05cedd10
Warn if we encounter an unsupported configuration
2024-12-12 12:15:44 +01:00
Hannah von Reth
47132d3beb
Fix crash on missing sync root
...
Fixes : #9016
2024-12-12 12:15:44 +01:00
Camila Ayres
669754b904
f => folderToRemove.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-15 18:26:20 +01:00
Matthieu Gallien
3db8c33a17
remove extra argument from QString::arg: string has only 1 placeholder
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-10 09:57:07 +02:00
Jyrki Gadinger
45fa561e64
gui: add some extra syncing details to the tray tooltips
...
There was some unused code that updated some status bar text -- this is
now part of the tooltip during syncing.
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2024-09-09 09:57:33 +02:00
Claudio Cambra
5bc6388760
Add a method to set a specific account's folders' network limits as dirty
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:51 +08:00
Claudio Cambra
8e9e125dee
When generally setting dirty proxy in folderman only mark dirty those that follow general client proxy settings
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:49 +08:00
alex-z
f70d1c1079
Support Windows .lnk files with VFS Cf API.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-07-10 10:29:21 +02:00
Matthieu Gallien
1f0279e1c1
remove usage of QStringRef due to it being missing in Qt6
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-04-26 09:05:12 +02:00
alex-z
c5dd2e89a1
E2EE. Fix root metadata fetching path for non-root remote sync folder. Refactoring. Stabilizing paths.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-03-20 00:54:27 +01:00
Claudio Cambra
d52ad2d27b
Do an early break of folder state check loop when errors seen
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-13 14:05:31 +01:00
Claudio Cambra
28874ec25c
Use bools rather than unnecessary ints in folderman trayoverallstatus
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
f
2024-02-13 14:05:31 +01:00
Claudio Cambra
165bf97b48
Use auto and const auto where possible in trayOverallStatus
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-13 14:05:31 +01:00
Claudio Cambra
76ff41f3e0
Properly report Undefined sync status when multiple folders syncing
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-02-13 14:05:31 +01:00
alex-z
af612525c4
End-to-End Encryption V2. Implemented sharing between users. Automatic migration from 1.0 to 2.0(only for flat folders). Improved secure filedrop.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-01-29 16:13:25 +01:00
alex-z
c2143b0553
Folders. Fix incorrect alias concatenation. Avoids leading zero.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-11-20 16:48:18 +01:00
alkl58
9c6839969c
Check path validity on Windows will validate NTFS permissions for network drives.
...
Signed-off-by: Alkl58 <alkl58@protonmail.com>
2023-11-13 12:00:52 +01:00
Camila
0a5c147e2d
Rename FolderMan::setupFolderFromOldConfigFile => FolderMan::setupLegacyFolder
...
Signed-off-by: Camila <hello@camila.codes>
2023-09-26 14:03:37 +02:00
alex-z
1e9fa0a132
Activity list fixes and improvements. Adjusted sorting to show interactive and security activities always on top (after errors). Added button to scroll up when new activity arrives. Improved sync status scrollbar.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-09-22 15:28:50 +02:00
Dimitri Papadopoulos
8a73a9a6f5
Fix new typos found by codespell
...
Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
2023-09-17 10:41:38 +02:00
Camila
a7cb8d2ca2
Migrate all legacy folders for each legacy account.
...
Also cleans up FolderMan::setupFolderFromOldConfigFile logic.
Signed-off-by: Camila <hello@camila.codes>
2023-09-13 07:18:17 -03:00
Camila
9dbb072858
Migrate legacy user defined exclude file.
...
- Refactor ConfigFile::setupDefaultExcludeFilePaths.
- Refactor ConfigFile::excludeFile.
- Fix code style.
Signed-off-by: Camila <hello@camila.codes>
2023-09-01 15:09:29 +02:00
Camila
6f38545e09
Migrate selective sync db list.
...
- Refactor migration of blacklisted folders.
- Only change selective sync list if needed.
Signed-off-by: Camila <hello@camila.codes>
2023-09-01 15:09:29 +02:00
Camila
c3feee1095
Migrate all folders from a legacy config.
...
- Migrate only the current config in use by the legacy application.
Signed-off-by: Camila <hello@camila.codes>
2023-09-01 15:09:28 +02:00
Claudio Cambra
6d56621520
Deduplicate whitelistFolderPath and blacklistFolderPath
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-08-04 17:44:23 +08:00