Commit graph

22034 commits

Author SHA1 Message Date
Matthieu Gallien
b91c696dc9 downgrade severity level of logs during propagation
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 12:27:31 +00:00
Matthieu Gallien
e97e03d5e6 remove internal logs in propagation scheduler: not usefull
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 12:27:31 +00:00
Matthieu Gallien
7395a3f72d remove too verbose not so usefull logs
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 12:27:31 +00:00
Matthieu Gallien
b1b87134c0 remove useless internal log about remote permissions management
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-10-07 12:27:31 +00:00
Matthieu Gallien
31657804f4 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 12:27:31 +00:00
Matthieu Gallien
825727f72f
Merge pull request #7267 from nextcloud/backport/7259/stable-3.14
[stable-3.14] Bugfix/fix log issues
2024-10-07 14:25:12 +02:00
Matthieu Gallien
337e4a3c0e 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 10:03:12 +00:00
Matthieu Gallien
5e251e696f 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 10:03:12 +00:00
Matthieu Gallien
ed0995d54f
fix visibility of dismiss button
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-30 13:20:30 +02:00
Claudio Cambra
05b286d0c0
Merge pull request #7239 from nextcloud/backport/7232/stable-3.14
[stable-3.14] Fix QtWebEngineProcess crash on macOS when building with mac-crafter
2024-09-30 16:28:03 +08:00
Claudio Cambra
e5bb65759b Codesign webengineprocess with correct entitlements on macOS with mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-30 07:28:57 +00:00
Matthieu Gallien
2a4aa48bab
prepare for release 3.14.1
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-27 10:30:33 +02:00
Matthieu Gallien
096f5f199d
Merge pull request #7224 from nextcloud/backport/6871/stable-3.14
[stable-3.14] Only check for leading/trailing space for files on Windows.
2024-09-27 09:27:03 +02:00
Camila Ayres
f5f971d2b8 Use preprocessor directives in tests.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 07:26:21 +00:00
Camila Ayres
75896f5bb8 Fix tests for trailing spaces on Linux.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 07:26:21 +00:00
Camila Ayres
cfb39b7034 Add test testCreateLocalPathsWithLeadingAndTrailingSpaces_syncOnSupportingOs.
- Fix discovery tests for files with invalid names.
- Now leading/trailing spaces trigger an error only on Windows.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 07:26:21 +00:00
Camila Ayres
c6bc7e630d Only check leading/trailing spaces for files on Windows.
Fix for #6807.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 07:26:21 +00:00
Matthieu Gallien
4db6cf0b10
Merge pull request #7218 from nextcloud/backport/7200/stable-3.14
[stable-3.14] disable our code for network timeout
2024-09-26 18:12:43 +02:00
Matthieu Gallien
14aef728b4 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 14:14:53 +00:00
Matthieu Gallien
abbbc29e5f
Merge pull request #7217 from nextcloud/backport/7142/stable-3.14
[stable-3.14] Fix alignment and size of buttons.
2024-09-26 16:11:09 +02:00
Camila Ayres
4669c8b5ea Fix alignment and size of buttons.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-26 10:02:42 +00:00
Matthieu Gallien
e843fa44d3
Merge pull request #7213 from nextcloud/backport/7208/stable-3.14
[stable-3.14] Bugfix/missing unlock command
2024-09-26 12:00:50 +02:00
Matthieu Gallien
d011a0f93a 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 08:56:47 +00:00
Matthieu Gallien
59568ad29d 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 08:56:47 +00:00
Matthieu Gallien
2ffbc6a1a3
Merge pull request #7207 from nextcloud/backport/7167/stable-3.14
[stable-3.14] Use version of linuxdeploy-plugin-qt from PR in the project.
2024-09-25 18:43:43 +02:00
Camila Ayres
f965c7cffe Use version of linuxdeploy-plugin-qt from PR in the project.
Fix for #7128.

See https://github.com/linuxdeploy/linuxdeploy-plugin-qt/pull/186.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-25 17:53:40 +02:00
Matthieu Gallien
0b31df678e
Merge pull request #7206 from nextcloud/backport/7199/stable-3.14
[stable-3.14] Bugfix/startup qml on windows
2024-09-25 17:45:11 +02:00
Matthieu Gallien
653f8d0788 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 14:43:34 +00:00
Matthieu Gallien
8114caaffc 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 14:43:33 +00:00
Matthieu Gallien
cc5f7b7ee7 change the order of imports in Window.qml
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 14:43:33 +00:00
Matthieu Gallien
b6211ff082
Merge pull request #7201 from nextcloud/backport/7193/stable-3.14
[stable-3.14] Bugfix/fix upload locked files
2024-09-25 15:56:30 +02:00
Matthieu Gallien
15c90c25f7 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 13:07:07 +00:00
Matthieu Gallien
dbbd49ac47 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 13:07:07 +00:00
Matthieu Gallien
27d8ecbf44 receive and decode tokens for locks
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 13:07:07 +00:00
Matthieu Gallien
c8e8172034 store lock tokens in database
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-25 13:07:07 +00:00
Tobias Kaminsky
c5bf4a4ce8
Merge pull request #7197 from nextcloud/backport/7160/stable-3.14
[stable-3.14] Add ability to provide multiple hardcoded server URLs via CMake define
2024-09-25 07:24:01 +02:00
Claudio Cambra
f4085e2ae3 Ensure we hide the combo box for multiple override servers by default
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 12:15:37 +00:00
Claudio Cambra
aa986ea6c2 Use a raw string in config.h.in for application server url
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 12:15:37 +00:00
Claudio Cambra
18383909b7 Display server URL in multi-server enforced combo box
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 12:15:37 +00:00
Claudio Cambra
f6c1f1ed47 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 12:15:37 +00:00
Claudio Cambra
3ec48b4062 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 12:15:37 +00:00
Claudio Cambra
91552ea184 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 12:15:37 +00:00
Claudio Cambra
54f595bb1d Accept combo box selection as completed state in setup page
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 12:15:37 +00:00
Claudio Cambra
237b58d042 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 12:15:37 +00:00
Claudio Cambra
eb843d7c64 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 12:15:37 +00:00
Claudio Cambra
a3fe1a7fab 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 12:15:37 +00:00
Claudio Cambra
f1d3d5e0be Add combo box to setup page UI
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 12:15:37 +00:00
Claudio Cambra
db6c297425
Merge pull request #7189 from nextcloud/backport/7172/stable-3.14
[stable-3.14] Fix issues with minimum system versions and deployment targets on macOS
2024-09-24 14:39:10 +08:00
Claudio Cambra
f2deed5492 Remove now unneeded deployment target checks in CMake
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:19:30 +08:00
Claudio Cambra
4e3129f4f4 Downgrade deployment target variables to 11.0 as 12.0 is not necessary
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-09-24 10:19:30 +08:00