Matthieu Gallien
f0f83b9984
downgrade severity level of logs during propagation
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:31 +02:00
Matthieu Gallien
8ecf0e9faa
remove internal logs in propagation scheduler: not usefull
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:31 +02:00
Matthieu Gallien
a2b088759e
remove too verbose not so usefull logs
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:31 +02:00
Matthieu Gallien
9e1b2b3204
remove useless internal log about remote permissions management
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:31 +02:00
Matthieu Gallien
88992761bb
remove too verbose logs during discovery
...
will make the logs less verbose and improve performance
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 09:46:10 +02:00
Matthieu Gallien
06f7cf4896
improve debugger logs on Windows to have same content than normal log
...
makes debugger logs more usefull
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-04 12:02:39 +02:00
Matthieu Gallien
48932ba57b
enable dev logs only when NEXTCLOUD_DEV is defined to value 1
...
will switch back production logs to the intended behavior
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-04 12:02:39 +02:00
Matthieu Gallien
bf2fc44cfc
message should say many not all: would be triggered by 200 files
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-01 16:41:56 +02:00
Matthieu Gallien
ab2bf984e7
remove not so usefull log line for new files
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-01 15:43:43 +02:00
Matthieu Gallien
e2f94d86ef
create a permanent log of delete actions
...
will log all deletions with the result of the discovery by the sync
enginre
should enable analyze even long time after such a delete occured
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-01 15:43:42 +02:00
Matthieu Gallien
d31b3b068f
count the files deletion and warn if threshold is exceeded
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-30 14:33:49 +02:00
Matthieu Gallien
e6f62930e9
use constexpr function for platform detection
...
should decrease the cost of their usage when compared to preprocessor
conditional directives
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-27 09:26:36 +02:00
Camila Ayres
b8ca1584e3
Only check leading/trailing spaces for files on Windows.
...
Fix for #6807 .
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 09:06:11 +02:00
Matthieu Gallien
b27eb06386
disable our code for network timeout
...
seems we have an issue with Windows and QTimer instances used to detect
network timeout
workaround, find cause of https://github.com/nextcloud/desktop/issues/7184
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-26 16:11:37 +02:00
Camila Ayres
ee351aa132
Validate input of APPLICATION_SERVER_URL.
...
Tries to clean double quotes and output JSON parse error.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-26 14:55:29 +02:00
Camila Ayres
aec2eaf73f
Fix alignment and size of buttons.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-26 12:02:21 +02:00
Matthieu Gallien
570749c89e
changing default chunk size to 100MB
...
goal is to have better performance and uniform behavior between all files clients
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-26 10:56:53 +02:00
Matthieu Gallien
c77562022d
lock token should be sent via webdav only for token lock type
...
to be able to modify a locked file using token lock, we must sent it
with webdav requests
this must not be sent if the file is locked but the lock type is not a
token lock
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-26 09:25:34 +02: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
92f7247bc6
add seemingly needed qml import path
...
will hopefuly make the qml engine search inside install dir within qml
sub folder
Close #7156
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 16:43:04 +02:00
Matthieu Gallien
97d1cfb1d1
rename our Window component to MainWindow to not use an existing name
...
we import QtQuick module that also define Window component name
to avoid any ambiguity, just use a different name on our side
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 16:43:04 +02:00
Matthieu Gallien
c67456b5b7
change the order of imports in Window.qml
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 16:43:04 +02:00
Matthieu Gallien
b1352ecd98
provide LOCK token when uploading a single file via PUT
...
for simple webDAV upload via PUT verb, provide the needed lock token
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 15:06:29 +02:00
Matthieu Gallien
afaaf308aa
if a file is locked/ provide token during upload
...
will add needed lock token in final move headers for chunk upload
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 15:06:29 +02:00
Matthieu Gallien
451faaf0e1
receive and decode tokens for locks
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 15:06:29 +02:00
Matthieu Gallien
948a3716c6
store lock tokens in database
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 15:06:29 +02:00
Claudio Cambra
c16b6205f1
Ensure we hide the combo box for multiple override servers by default
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02:00
Claudio Cambra
72fe0d8818
Display server URL in multi-server enforced combo box
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02:00
Claudio Cambra
d84ede3ef2
Do not automatically validate server URL when enforced servers is active but have multiple servers
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02:00
Claudio Cambra
0663120f4f
Use url method instead of text field contents as url when deciding on error string in setup page
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02:00
Claudio Cambra
5c08e45019
If using multi-server override url and forcing it then provide combo box selection url as url in setup page
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02:00
Claudio Cambra
6358f00263
Accept combo box selection as completed state in setup page
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02:00
Claudio Cambra
1decedd56f
Show or hide multi-server overrides or text field depending on type of override url
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02: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
Claudio Cambra
a2c818e157
Add property for detecting of application override server url is in fact a JSON array string describing multiple servers
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02:00
Claudio Cambra
c65b544757
Add combo box to setup page UI
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:39:45 +02:00
Claudio Cambra
389d6536e5
Revert "Merge pull request #6986 from nextcloud/feature/alwaysEnableHttp2"
...
This reverts commit 5baec6f128
, reversing
changes made to ab06ecbc4d
.
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-23 13:19:22 +02:00
Claudio Cambra
9455dcfd8a
Remove now unneeded deployment target checks in CMake
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-23 10:32:34 +02:00
Matthieu Gallien
7a6691f6e0
as a last resort, try to update VFS metadata of folders when discovered
...
when doing local discovery, it is possible that files or folders may be
discovered with VFS metadata not up to date (i.e. placeholder file not
set in sync)
in such case, generate a propagation instruction to set them in sync
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-16 12:10:42 +02:00
Matthieu Gallien
da920f6d4e
ensure proper VFS metadata when restoring folders
...
when remote move is forbidden, desktop client will move back the folder
to its original name
in such cases, we were forgetting to set VFS metadata in their proper
state (i.e. placeholder in sync)
so ensure that when a remote move fails, we still touch VFS metadata
when appropriate and handle errors
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-16 12:10:42 +02:00
Camila Ayres
6cde9c8cc8
Remove extra ';'
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:35:33 +02:00
Camila Ayres
72e5ff4f4d
Fix wrong Style property.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:30:11 +02:00
Camila Ayres
bf50e2d167
Fix error: Audio is not a type.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:30:11 +02:00
Camila Ayres
939eb00f2c
Remove user status hover effect and background color.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:30:11 +02:00
Camila Ayres
9e5192ead3
Add todo: check if we should keep bottomUnifiedSearchInputSeparator.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:30:11 +02:00
Camila Ayres
5c79e02baa
Add todo: fix predefined status list.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:30:11 +02:00
Camila Ayres
0087245d46
Fix emoji selector page: transparency made it unusable. Use windows background color.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:30:10 +02:00
Camila Ayres
4c659fa519
Adjust radius values: main window and text input uses bigger value, dropdown menus uses half.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:30:10 +02:00
Camila Ayres
0cc60163fe
Add the same round background rectangle for the talk reply text field.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:30:10 +02:00
Camila Ayres
912cf693e7
Remove extra ';'
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-13 12:30:10 +02:00