Commit Graph

3340 Commits

Author SHA1 Message Date
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
Jyrki Gadinger
8b905c106f feat(gui): inform the user about untrusted certs with HSTS
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-09-12 10:15:09 +02:00
Matthieu Gallien
10f4e2900f feat(login): use stored credential user ID when authenticating again
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-09-10 17:46:48 +02:00
Matthieu Gallien
7616a95d70 fix(vfs/windows): ensure new virtual files item have a proper status
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-09-10 16:04:47 +02:00
Jyrki Gadinger
6d31c79ce9 fix(userstatusselector): avoid setting default emoji when only setting a message
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-08-29 14:47:27 +02:00
Matthieu Gallien
1f0f5b0ac3 fix: bulk download job is a child job, update state accordingly
we should return false from
BulkPropagatorDownloadJob::scheduleSelfOrChild() because we have no
child jobs that are not done and waiting to be started

ensure we update the job status only once (even in case of errors)

ensure we update the state of the items once and only once

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
b3f575d74f fix: remove duplicated useless code in single item download job
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
571ee0c3bf fix: fix small issues from review on bulk download job
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
1b6c2e6805 fix(vfs/cfapi): skip inserting new placeholder items with invalid mtime
filter new placeholder items by invalid modtime and only proceed with
creating only the valid ones

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
4c33454dda fix: handle errors when createPlaceholders report errors
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
8351bb56f5 feat(vfs/windows): use a single call to CfCreatePlaceholders for all
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
39f1cb1ef5 feat(windows/vfs): use the new batch create API for placeholder files
use the proper VFS plug-in API to request all files to be cerated as a
single batch

will now need a proper implementation using the batch Windows CfApi
function

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
a57f63fa02 feat(vfs): add a new API to create a list of placeholders at once
should allow to speed API calls to Windows CfApi by reducing their
numbers by asking for a list of new placeholders via a single call
instead of one for each new item

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
0687dfac34 chore: fix warning about implicit capture of this in a lambda
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
42446f25ee chore: remove deprectaed use of Q_REQUIRED_RESULT
use the c++ standard way of requiring caller to care about the returned
value

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
82b059a744 fix: remove bulk virtual file job code to dehydrate files
this code does not make sense

I tested manually and this code is never called

I doubt this code is needed or useful

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
31329749a1 chore: modernize and clean bulk download job code
try to use const and auto as much as possible

remove useless constructor argument that is always using the default value

makes code cleaner

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-29 14:07:27 +02:00
Matthieu Gallien
88f1fe1a9e
fix:(logs): add a missing category for one fatal log line
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-28 23:15:18 +02:00
Matthieu Gallien
7774f575b8
fix(windows): remove our hack to crash on windows for fatal logs
no need to carry some hack when we can use the same standard and cross
platform feature directly from Qt code

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-28 23:15:18 +02:00
Matthieu Gallien
a4263b73e6
fix(logger): brings back crash dump on fatal log output
originally using qFatal or qCFatal should have written a crash dump log
file

bring it back and ensure the crash would happen via the default Qt log
message handler

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-08-28 23:15:17 +02:00
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