alex-z
17fbfe4e06
Bugfix. Fix incorrect size of the folderbutton size and scaling.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-12 16:33:58 +01:00
alex-z
50d168759f
Added error reporting for E2EE issues.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
c30e526bc8
Report error Virus Detected. Updated tests.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
66b0383fee
Allow sending E2EE and Virus_Detected statuses. Also updated tests.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
4b0e1b57eb
Prevent issues when changing the enum.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
8e38739d94
Generate client status report records when errors happen.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
5b54b13a97
Iteration. Properly process server reply.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
4b7ccf8647
Iteration. Use Capabilities to control Client Status Reporting availibility.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
5e78b83ca7
Send status report. Improved logic and database columns.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
alex-z
ff8db2674a
Client status reporting feature. First iteration.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-11 18:03:57 +01:00
Camila
02e4f05358
Use a new FindSQLite3 cmake module.
...
Add find sqlite to the root CMakeLists.txt.
Signed-off-by: Camila <hello@camila.codes>
2023-12-11 11:50:33 +01:00
Claudio Cambra
c9b4419070
Only set linker flags needed for macOS on Apple
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-12-11 11:50:33 +01:00
Camila
3c51c9e1f8
Fix crash on mac OS < 13.
...
It's caused by the new optimized Xcode 15 linker when linking static libraries.
source: https://crystalidea.com/blog/qt-apps-crash-when-using-xcode-15
Signed-off-by: Camila <hello@camila.codes>
2023-12-11 11:50:33 +01:00
alex-z
9298305093
Feature. Do not allow move of external storage mounted folders.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-12-07 14:10:35 +01:00
Matthieu Gallien
bf78f008bd
extend log to get information about mtime modifications by the client
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-06 10:42:33 +01:00
Matthieu Gallien
b77fc9d4ff
avoid modifying a placeholder (virtual files) when not needed
...
acoid modifying some metadata of the placeholder when this placeholder
has just been uploaded to the server (will avoid truncating the
timestamps)
Close #6190
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-06 10:13:49 +01:00
Matthieu Gallien
369296d6ed
fix include order from most specific to less specific
...
shoudl ensure that included headers are self sufficient
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-06 10:08:16 +01:00
Matthieu Gallien
1dcde3a41f
maintain lock state if unlock happens during sync
...
currently unlock can happen during the sync
in that case, it may be possible that the propagator will lose the lock
state changes and override them when updating teh etag after a file has
been uploaded
detect that case and ensure we keep consistent state about files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-05 08:57:17 +01:00
Claudio Cambra
de4645f36b
Change logging for sparkle update to qCInfo
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-12-05 08:52:06 +01:00
Matthieu Gallien
68763fa577
add a cmake flag to not build with Qt5 WebEngine
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-04 16:29:52 +01:00
Matthieu Gallien
f8730b6bfb
avoid restore algorithm by setting the data fingerprint from sync DB
...
avoid single file sync to switch to data fingerprint restore sync mode if
a data fingerprint has been saved in the database but missed during
single file sync
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-11-24 15:20:40 +01:00
AJ Jordan
5c7fb58919
Don't log notification successes as warnings
...
Signed-off-by: AJ Jordan <alex@strugee.net>
2023-11-20 23:49:32 -05:00
alex-z
19f7b87809
Fix. Bulk upload. Accumulate sent bytes. Fix negative value in UI.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-11-20 17:02:31 +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
alex-z
e77b52e708
VFS. Properly set Folders/WithPlaceholders in config when switching modes. Refactoring.
...
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
alex-z
dd178f032c
Fix crash. Remove unnecessary dependency injection causing crash.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-11-09 13:24:10 +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
alex-z
406bad8ab4
Enforce virtual file type when it is falsely marked as non-virtual. Added more logs for scenarios when virtual placeholder gets marked as non-virtual.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-10-25 11:28:42 +02:00
alex-z
5f9e04dad3
Do not show failure popul for VFS when hydration finished with code 200 or 204.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-10-24 13:00:22 +02:00
alex-z
bc91eac2e5
Improve Settings dialog design.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-10-23 12:45:24 +02:00
alex-z
727cd797ff
Show more informative error message when VFS hydration fails. Display a popup and put an error into activity list. More detailed logs.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-10-20 14:54:42 +02:00
Matthieu Gallien
8b0d6dc322
avoid for loops detaching the container when uneeded
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-17 09:32:34 +02:00
Matthieu Gallien
a46bc8e8b0
fix mising emit keyword in two places when emitting a signal
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-17 09:32:34 +02:00
Matthieu Gallien
a1e6c562ea
remove duplicated signals overriding the same signal in base class
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-17 09:32:34 +02:00
Matthieu Gallien
fcd5a86349
signals/slots need to have fully qualified arguments
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-17 09:32:34 +02:00
Matthieu Gallien
242135d9d9
remove deprecated openssl 3.0 warnings
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-16 22:00:00 +02:00
Matthieu Gallien
15a45a21c1
when sync is completed and data fingerprint changed, update it
...
in case sync would complete after a data fingerprint change, we should
tolerate some errors
a file being blacklisted for whatever reason should not block the
propagation of data fingerprint
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-16 22:00:00 +02:00
Matthieu Gallien
27b807d164
ensure we do not restore unselected folders from selective sync
...
we should not try to restore files/folders no longer synced because of
selective sync when detecting a data fingerprint change
in case the user deselect a folder from selective sync list, we would do
a local delete
in case the client is also detecting a change of data fingerprint (or is
stuck in restore mode) then instead of applying the new set of selected
folders to sync, it would upload unselected files/folders
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-16 22:00:00 +02:00
Matthieu Gallien
0e4ac85f69
in debug builds, we want immediate log flush and debug output
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-16 22:00:00 +02:00
Claudio Cambra
f6140f5b5f
Also add destination header to initial chunk folder MKCOL
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-10-16 10:11:00 +02:00
Claudio Cambra
2b9b182204
Move destination header build to own method
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-10-16 10:11:00 +02:00
Claudio Cambra
a29af562de
Provide full url for chunked upload destination header
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-10-16 10:11:00 +02:00
Claudio Cambra
105834c82b
Add utility method to remove leading slashes from paths
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-10-16 10:11:00 +02:00
alex-z
37b22c021c
Use material icon for folders.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-10-06 10:18:31 +02:00
alex-z
623fe40c36
Unhide discovery logs for file deleted on the server and for discovered file.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-10-05 10:48:06 +02:00
Claudio Cambra
8fbd6ef790
Prevent empty password being passed into share creation
...
We already generate a new password when the share password dialog is
created, so there is really no need to clear the field when it closes.
This prevents the field being cleared before the password is sent into
the C++ code, leading to no password actually being sent to the server
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-10-04 18:58:38 +08:00
Matthieu Gallien
d517cbfd68
fix build by making unique_ptr not const if we std::move it
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-09-26 15:40:38 +02:00
Camila
d6eb5c5c7c
Address PR comments.
...
Signed-off-by: Camila <hello@camila.codes>
2023-09-26 14:03:37 +02:00
Camila
a23b9f1280
User "1" instead of "one" in thelegacy import dialogs.
...
Signed-off-by: Camila <hello@camila.codes>
2023-09-26 14:03:37 +02:00