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
Matthieu Gallien
47d16d3206
Merge pull request #6871 from nextcloud/bugfix/trailing-space
...
Only check for leading/trailing space for files on Windows.
2024-09-27 09:26:08 +02:00
Camila Ayres
1d9b6e2e79
Use preprocessor directives in tests.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 09:06:11 +02:00
Camila Ayres
6532d3feeb
Fix tests for trailing spaces on Linux.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-27 09:06:11 +02:00
Camila Ayres
2e750013be
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 09:06:11 +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
Nextcloud bot
2fc6f2822c
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 02:46:37 +00:00
Matthieu Gallien
38ea418968
Merge pull request #7200 from nextcloud/bugfix/useTransferTimeoutFromAccessManager
...
disable our code for network timeout
2024-09-26 16:11:47 +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
Matthieu Gallien
24bcc10e97
Merge pull request #7210 from nextcloud/bugfix/server-url
...
Validate input of APPLICATION_SERVER_URL.
2024-09-26 16:06:04 +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
Matthieu Gallien
e467fc87f6
Merge pull request #7142 from nextcloud/bugfix/native-ui
...
Fix alignment and size of buttons.
2024-09-26 12:02:31 +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
1d41c4e1b0
Merge pull request #7216 from nextcloud/ci/removeObsoleteDockerWindowsCrossCompilation
...
remove obsolete not working docker image for windows compilation
2024-09-26 12:01:46 +02:00
Matthieu Gallien
22e5644bf9
remove obsolete not working docker image for windows compilation
...
that image was supposed to be usable for cross compilation from Linux to
build a Windows release
probably never worked
not working anymore but creating confusion
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-26 12:01:30 +02:00
Matthieu Gallien
c44d29d91c
Merge pull request #7161 from nextcloud/bugfix/changeDefaultChunkSize
...
changing default chunk size to 100MB
2024-09-26 11:52:47 +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
42c89bd9c7
Merge pull request #7208 from nextcloud/bugfix/missingUnlockCommand
...
Bugfix/missing unlock command
2024-09-26 10:56:11 +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
Nextcloud bot
1defd32790
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-26 02:50:47 +00:00
Matthieu Gallien
84661db846
Merge pull request #7167 from nextcloud/bugfix/appimage
...
Use version of linuxdeploy-plugin-qt from PR in the project.
2024-09-25 16:44:12 +02:00
Camila Ayres
ffc9cf2ab5
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 16:43:51 +02:00
Matthieu Gallien
ea27b29788
Merge pull request #7199 from nextcloud/bugfix/startupQmlOnWindows
...
Bugfix/startup qml on windows
2024-09-25 16:43:12 +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
ca7c7cb925
Merge pull request #7193 from nextcloud/bugfix/fixUploadLockedFiles
...
Bugfix/fix upload locked files
2024-09-25 15:06:40 +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
Nextcloud bot
66a1ddabdd
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-25 02:48:10 +00:00
Andy Scherzinger
377b28485b
Merge pull request #7196 from nextcloud/nickvergessen-patch-1
...
Update issue template config.yml
2024-09-24 14:07:45 +02:00
Joas Schilling
5755fc8659
Update config.yml
...
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2024-09-24 13:28:14 +02:00
Matthieu Gallien
ab38bbf10e
Merge pull request #7144 from nextcloud/update/mds
...
Update README.
2024-09-24 10:40:37 +02:00
Camila Ayres
fe4c461b8b
Update README.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-24 10:40:29 +02:00
Matthieu Gallien
432369a504
Merge pull request #7160 from nextcloud/feature/hard-coded-servers
...
Add ability to provide multiple hardcoded server URLs via CMake define
2024-09-24 10:39:54 +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
f13bdb3aa9
Use a raw string in config.h.in for application server url
...
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
Matthieu Gallien
3edc2094d4
Merge pull request #7195 from nextcloud/dependabot/github_actions/cpp-linter/cpp-linter-action-2.13.1
...
Bump cpp-linter/cpp-linter-action from 2.13.0 to 2.13.1
2024-09-24 10:02:45 +02:00