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
130668c3b9
docs(reuse): Migrate to SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-04-29 09:00:19 +02:00
SnejPro
0689d1daa8
fix compile error
...
Signed-off-by: SnejPro <11321022+SnejPro@users.noreply.github.com>
2025-04-28 10:44:00 +02:00
SnejPro
6d336e92fe
fix
...
Signed-off-by: SnejPro <11321022+SnejPro@users.noreply.github.com>
2025-04-28 10:44:00 +02:00
SnejPro
3d7c946776
fix
...
Signed-off-by: SnejPro <11321022+SnejPro@users.noreply.github.com>
2025-04-28 10:44:00 +02:00
SnejPro
a91cc1f2c7
fix string
...
Signed-off-by: SnejPro <11321022+SnejPro@users.noreply.github.com>
2025-04-28 10:44:00 +02:00
SnejPro
1afa0f0c6a
fix declaration
...
Signed-off-by: SnejPro <11321022+SnejPro@users.noreply.github.com>
2025-04-28 10:44:00 +02:00
SnejPro
34d394995b
fix definition error
...
Signed-off-by: SnejPro <11321022+SnejPro@users.noreply.github.com>
2025-04-28 10:44:00 +02:00
SnejPro
c54b98fed5
fix port should be shown after url
...
Signed-off-by: SnejPro <11321022+SnejPro@users.noreply.github.com>
2025-04-28 10:44:00 +02:00
SnejPro
fea9317cf3
define shortcutName
...
- when more than one nextcloud instances:
-- cloud@example.org - prettyName
Signed-off-by: SnejPro <11321022+SnejPro@users.noreply.github.com>
2025-04-28 10:44:00 +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
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
Claudio Cambra
d3f3b0510c
Emit AccountPtr from pushNotificationsDisabled 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
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
Matthieu Gallien
9f14092a8a
only send the md5 custom checksum header when server expects it
...
server before 32.0.0 release expects a custom header with an MD5
checksum during bulk upload
the header name is: X-File-MD5
see https://github.com/nextcloud/server/pull/51729
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-10 10:40:17 +02: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
44f9aacda8
removed redundant qAsConst
...
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
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
Integral
356e4f9296
refactor: replace QString() with QStringLiteral() for better performance
...
Signed-off-by: Integral <integral@member.fsf.org>
2025-01-31 15:11:02 +01:00
Matthieu Gallien
52e78b3ece
when locking a file set If-Match header to ensure etag is correct
...
the file being locked may have been changed sinc the client synced it
so the server side file may have a modified etag. In such cases we do
not want to lock the file and would rather sync the nex server changes
before being able to lock the file
that would ensure that on client side the file being locked is matching
teh state of teh file on server side and would prevent inadvertently
overriding server changes
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-12-09 09:33:49 +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
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
27ad53810e
Modernize Account::displayName().
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-22 10:50:11 +01:00
Claudio Cambra
ccff4fa1c7
Use constexpr for accentcolor adjustment value
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 13:21:01 +08:00
Camila Ayres
19db552f7d
Remove check in setServerHasValidSubscription.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:04 +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
85a3658414
Do not override the subscription value if one of the account has enterprise.
...
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
d038ae8482
Remove call to wantsAccountSaved when clearing the cookies.
...
The cookies are cleared when an account is removed, this call was
bringing back the deleted account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-29 12:40:24 +01:00
Matthieu Gallien
202be8a081
clarify when desktop client should offer to unlock a file
...
a file can be unlocked when:
* the lock is an user lock from the current user
* the lock is a token lock from the current desktop files client
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-26 09:25:32 +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
7dec7b26a0
Move all proxy configuration procedures into account and out of network settings
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 16:28:15 +08:00
Claudio Cambra
04f335e972
Modify network access manager proxy within account when setting proxy values
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:50 +08:00
Claudio Cambra
35bc728a39
Add download limit setting property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:48 +08:00
Claudio Cambra
d06e8b1d4e
Add upload limit property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:48 +08:00
Claudio Cambra
f96fe64bde
Add download limit setting property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:48 +08:00
Claudio Cambra
7a9fd727c4
Add upload limit setting property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
56b8fcf061
Add proxy password property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
c0cd839a29
Add proxy user property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
daed4c7b7f
Add proxy needs auth property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
8c6a181ee3
Add proxy port property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
a4553f5929
Add proxy host name property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
73dd000429
Add proxy type property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
2501cdf44d
Add network proxy setting property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:46 +08:00
Camila Ayres
0663282b2b
Update desktopEnterpriseChannel value when capabilities change.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
a4c114e658
Update server hasValidSubscription if capabilities change for account.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:38 +02:00