Commit Graph

161 Commits

Author SHA1 Message Date
Mike Mengjie Huang
2e31dce2c0 feat: Add more prominent quota warnings
Signed-off-by: Mike Mengjie Huang <mike0609king@gmail.com>
2025-09-18 08:24:02 +02:00
copilot-swe-agent[bot]
853d1ab78b feat: implement UUID-based file provider domain identifiers with backward compatibility.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-17 08:15:44 +02:00
Rello
31c4c2601d fix: use NOT for account migration option 2025-08-22 13:53:08 +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
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
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
Camila Ayres
071c1efd41
fix(migration): migrate general network settings.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-05-11 16:18:43 +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
Camila Ayres
6dc87528b6 chore: make settings keys const static member of ConfigFile class.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-04-15 17:07:46 +02:00
Camila Ayres
7a7915e5c7 chore: rename function, change log level.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-04-15 17:07:46 +02:00
Camila Ayres
0c73180916 fix(migration): import proxy and general settings from legacy config.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-04-15 17:07:46 +02:00
Claudio Cambra
78b8f07d3f Replace use of raw pointer in wantsAccountSaved signal with AccountPtr
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-04-15 17:08:10 +08:00
Camila Ayres
51043986cf Remove check for overrideurl when migrating account.
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
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
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
Camila Ayres
04a16a5946
Include Nextcloud in the search for legacy config when the client is branded.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-12-10 18:19:49 +01:00
Camila Ayres
2cfe01c162 Check for the option to display legacy import dialog.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-12-09 16:42:40 +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
77597af3ae
acc => account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:51:04 +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
Claudio Cambra
fa33dd61cf Only present proxy password delete error if it is not a "does not exist" error
Prevent error on deletion when the proxy password does not exist

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-08 12:41:03 +08:00
Camila Ayres
b9b9813655
Update config value when serverHasValidSubscription when accounts are added or removed.
To give priority to server susbscriptions and keep listing the right update channels.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:03 +01:00
Camila Ayres
d0f87c3496
Save serverHasValidsubcription in the account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:03 +01:00
Camila Ayres
bf09295a63
Change the list of update channels when server capabilities change.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:03 +01:00
Camila Ayres
d080261692
Use const auto.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-29 12:40:24 +01:00
Camila Ayres
33cc5a2017
Validate http_user value before assigning it to user in the config file.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-29 12:40:24 +01:00
Claudio Cambra
e3979ea52f Do not apply override server url as account url if this is a multi-server JSON string
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02:00
Matthieu Gallien
274feb9587 remove deprecated code only usefull for very old Qt releases
we require Qt > 6.0 so any conditionnal code for older releases can be
deleted

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-12 11:14:26 +02:00
Claudio Cambra
37c77d81ec
Use full user id at host with port for proxy password keychain
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:52 +08:00
Claudio Cambra
ef59399804
Use qtkeychain directly in account manager
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:52 +08:00
Claudio Cambra
a8c5cbced4
Add logging on error for proxy password saving
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:51 +08:00
Claudio Cambra
70e7bcf9a0
Simplify proxy password keychain keys
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:51 +08:00
Claudio Cambra
01f8199157
Use better keychain chunk job constructors
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:51 +08:00
Claudio Cambra
2d0c069039
Get intended default values for bw limit settings for account when nothing is set
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:51 +08:00
Claudio Cambra
2803690285
KeychainChunk job exec is synchronous, do not bother with signals in account manager use
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:50 +08:00
Claudio Cambra
5db01d4849
Ensure keychain chunk jobs in account manager run as intended
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:50 +08:00
Claudio Cambra
e3b002a52d
Use single-defined constexpr string for proxy password keychain key
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:50 +08:00
Claudio Cambra
770beba692
Store accounts' proxy passwords in keychain
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:50 +08:00
Claudio Cambra
3956612ac6
Save and restore account-specific network settings in account maanger
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:48 +08:00
Camila Ayres
7d27c53b3b
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>
2024-07-04 10:16:41 +02:00
Camila Ayres
7fa0378883
Add user specific setting for server hasValidScriptionValue.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:38 +02:00
Claudio Cambra
1689f7b613 Assert validity of accountstate and its accountptr when adding it
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
74a78242e2 Remove overwrought loadFromSettings method from AccountState
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Camila Ayres
0ae7695d5c
Fix: remove failure to import legacy account notification.
- It was being displayed even on a fresh install.
- We are already displaying a notification when there are accounts to be
imported and we ask the user on what to do.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-01-25 12:23:37 +01:00
Camila
44e8e4b2e9 Fix crash when clicking on import legacy account dialog 'Skip' button.
- mac OS only: With Qt::WA_DeleteOnClose the dialog was being deleted twice.

Signed-off-by: Camila <hello@camila.codes>
2023-11-07 14:33:48 -03:00