Commit Graph

3320 Commits

Author SHA1 Message Date
Rello
1c69a01f8c
feat: Add Busy status icon handling in UserStatus
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-08-26 14:29:57 +02:00
copilot-swe-agent[bot]
14d655e11c
feat: use dedicated user-status-busy.svg icon for busy status
Co-authored-by: Rello <13385119+Rello@users.noreply.github.com>
2025-08-26 14:29:57 +02:00
copilot-swe-agent[bot]
e25c8004a3
fix: add missing Busy status handling in switch statements and string mappings
Co-authored-by: Rello <13385119+Rello@users.noreply.github.com>
2025-08-26 14:29:40 +02:00
copilot-swe-agent[bot]
b7acb2e5df
feat: add busy status support with capabilities checking and UI integration
Co-authored-by: Rello <13385119+Rello@users.noreply.github.com>
2025-08-26 14:29:34 +02:00
Matthieu Gallien
130455ec49
fix: ensure proxy settings are visible only when needed
when a build is configured without the network proxy feature, ensure we
do not show any UI related to network proxy settings in the new account
wizard

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-26 13:23:31 +02:00
Baris
404723e475 fix(generalsettings): change remote pollinterval spinBox-minimum from 30 to 5 seconds, to align with configfile
Signed-off-by: Baris <basar.baris1209@gmail.com>
2025-08-25 08:22:09 +02:00
rakekniven
b7ad2b0137 fix(i18n): Fix grammar
Reported at Transifex

Replacement for #8558

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-08-14 16:08:26 +02:00
Jyrki Gadinger
684e29e18c fix(cfapi): check for valid ProcessInfo in cfApiFetchDataCallback
This shouldn't happen, but just in case it does it'll avoid another
crash.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-08-14 15:01:10 +02:00
Jyrki Gadinger
102e4447f8 fix(cfapi): only log process info if it's present
Some callbacks do not contain a valid value for the `ProcessInfo` member
despite `CF_CONNECT_FLAG_REQUIRE_PROCESS_INFO` being set.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-08-14 15:01:10 +02:00
Jyrki Gadinger
1e68f383b1 fix(cfapi): set up connections before requesting hydration
The `hydrationRequestReady` signal could be emitted before it was
connected to the event loop, resulting in the data transfer never being
started.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-08-14 13:21:20 +02:00
Camila Ayres
40ecd90abf fix(quota): return unlimited free space for type changes.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-13 10:47:54 +02:00
Camila Ayres
3003a87c79 style(abstractnetwork): remove chain of if else.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-08 09:07:53 +02:00
Camila Ayres
937b8dc779 fix(discovery): use user friendly messages when server responses are not successful.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-08 09:07:53 +02:00
Camila Ayres
2e1b562f1a style(owncloudpropagator): add {} to if else condition.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-08 09:07:53 +02:00
Camila Ayres
8d83153616 fix(abstractnetworkjob): always display the user friendly error message.
Print the rest of the information about the error in the logs.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-08 09:07:53 +02:00
Matthieu Gallien
70c41fcb73 chore: fix compilation by using an existing method
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-06 18:00:18 +02:00
Camila Ayres
6bf7edf8bf fix(abstractnetworkjob): display user friendly http errors.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-05 10:05:30 +02:00
Camila Ayres
4c5d39f45f refactor(abstractnetworkjob): rename var.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-05 10:05:30 +02:00
Matthieu Gallien
c9e7a119b0 fix: catch exceptions when using std::filesystem APIs
Close #8404

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-05 09:53:48 +02:00
Jyrki Gadinger
892af24f77 chore: remove useless "else if"
avoids the same signals being emitted twice

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-08-05 08:54:10 +02:00
Iva Horn
4b6adbdee5 feat(logger): Also log to stderr (appears in Xcode) from macOS debug builds.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-08-04 12:19:12 +02:00
Camila Ayres
a2a149ed12 fix(quota): add constexpr property names and server entry valid enum to FolderQuota struct.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-01 11:25:36 +02:00
Camila Ayres
54facc929f chore(quota): change log level and fix comment in test.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-01 11:25:36 +02:00
Camila Ayres
20cef5fd03 fix(quota): wrong conversion from bytes available to int64_t.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-01 11:25:36 +02:00
Camila Ayres
ca7213781e fix(quota): do not prevent upload when quota info are not available.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-01 11:25:36 +02:00
Camila Ayres
0acb9de072 fix(discovery): check for db cached folder quota during discovery for some items.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-01 11:25:36 +02:00
Camila Ayres
0f3cc76cc8 fix(syncfileitem): save folder bytes available and bytes used to database.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-08-01 11:25:36 +02:00
Josh
1130b09b8a fix(logger): Set narrower permissions on temporaryFolderLogDirPath
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-07-31 14:31:55 +02:00
Matthieu Gallien
f57ebbd063 fix(csr): sets a version on CSR requests for end-to-end encryption
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-29 15:37:26 +02:00
Matthieu Gallien
738683c9e8 fix(csr/e2ee): disable broken code when generating a CSR for encryption
the call to X509_REQ_set_version is always failing
we will skip it

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-29 15:37:26 +02:00
Matthieu Gallien
6c00eaceed fix(db): ensure correct state for encrypted item in DB
will migrate invalid ietm encrypted status in the client DB when
migrating from older releases

that should ensure working synchronization by having correct tracking
of which items are encrypted

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-29 15:37:26 +02:00
Matthieu Gallien
520a866776 fix(clazy): fix clazy reported issues with the existing code
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-29 15:37:26 +02:00
Matthieu Gallien
b0910a8c14 fix(encryption): properly get private key when decoding data
will stop failing to decode using private/publy key pair when
downloading encrypted content (i.e. symetric keys are encrypted using
asymetric encryption)

we improperly use a certificate hash to find the key while the private
key is the current one of the user downloading the files

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-29 15:37:26 +02:00
Matthieu Gallien
1ba9477d87 fix(e2ee): do not loose encryption status for folders and files
main issue is with child folders that were misbehaving once the initial
upload was done

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-29 15:37:26 +02:00
Matthieu Gallien
5248ac1117 fix(logs): makes encryption logs more useful
errors should use warning level

not so useful logs should not be info loevel or should not exists

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-29 15:37:26 +02:00
Matthieu Gallien
84740fca81 fix(logs): adjust some log level to get better production logs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-29 15:37:26 +02:00
Matthieu Gallien
8716c88366 fix(code-style): fix wrong code style for encryption jobs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-07-29 15:37:26 +02:00
Hannah von Reth
8de85cbb24 Reduce warning about empty path
Signed-off-by: Hannah von Reth <h.vonreth@opencloud.eu>
2025-07-29 12:55:16 +02:00
Hannah von Reth
b24ea4acf9 Fix dehydration
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Hannah von Reth <h.vonreth@opencloud.eu>
2025-07-29 12:55:16 +02:00
Hannah von Reth
a2fed5b08a Initilize structs
Signed-off-by: Hannah von Reth <h.vonreth@opencloud.eu>
2025-07-29 12:55:16 +02:00
Hannah von Reth
cfbc1e8703 Only disconnect if connected
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Hannah von Reth <h.vonreth@opencloud.eu>
2025-07-29 12:55:16 +02:00
Hannah von Reth
4d2966771d Fix CF_PLACEHOLDER_BASIC_INFO.FileIdentity
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Hannah von Reth <h.vonreth@opencloud.eu>
2025-07-29 12:55:16 +02:00
Jyrki Gadinger
679dcbe6dd fix(filesystem): avoid multiple directory separators when joining paths
On Windows using paths prefixed with `\\?\` to allow using long file
names require the rest of the path to be valid, a path like
`\\?\C:\Users\\jyrki` will fail in different ways...

This helps with making setting/removing permission ACLs more reliable.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-07-29 10:30:18 +02:00
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
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
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