Matthieu Gallien
1ae70e2364
remove broken system paellete detection within our custom style
...
remove custom binding between c++ native Qt API for system palette and
our QML styling code for colors detection
fixes many issues with dark mode using Windows native style
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-06 10:55:41 +02:00
Matthieu Gallien
76200e11c5
use new QStyleHints::colorScheme feature to use light or dark mode
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-06 10:55:41 +02:00
alex-z
a44e90dcf1
Revert "Fix incorrect date parsing."
...
This reverts commit 04c0125bd1 .
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-09-05 17:02:09 +00:00
Matthieu Gallien
8170b3d814
properly detect and enable Qt6 WebEngine integration
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-28 09:35:25 +00:00
Matthieu Gallien
3e397e664d
enable users to delete unexpected new folders inside a read-only folder
...
let unexpected new folders in read-only folders be read-write
would be done for folders that are inside a read-only folder and cannot
be uploaded because the parent folder is realy read-only
most probably those folders should never have been there
in case they would be read-only, users cannot delete them, in such
situation, letting them be read-write again should really help
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-23 09:56:44 +02:00
Matthieu Gallien
96d4062425
when deciding to create a new folder on server: check permissions
...
sometime we need to create a folder on server because some local files
or folders modifications would be lost without that
in that case instead of locally deleting teh folder, we create it back
on server
when doing that, it is important to check the remote permissions such
that we do not try to create a folder in a read-only folder on server
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-23 09:56:44 +02:00
Matthieu Gallien
8dcbdebd02
make folders read-write when needed when deleting local items
...
if a folder is read-only, when deleting content inside this folder, it
may be needed to make it temporary read-write
do this as required by the automated tests
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-21 14:38:21 +02:00
Claudio Cambra
abb1f89119
When forbidden filename sync warning is encountered, add reason why the filename is forbidden to the item's error string
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-21 09:51:39 +02:00
Claudio Cambra
788067598d
Store forbidden filename match bools outside of if statement
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-21 09:51:39 +02:00
Claudio Cambra
1578cb1938
Assign invalid filename on server syncfileitem status to items with forbidden filenames
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-21 09:51:39 +02:00
Claudio Cambra
29ab9ec95d
Check for new forbidden filename-related capabilities during exclusion handling in discovery
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-21 09:51:39 +02:00
Claudio Cambra
8f7ad48e96
Parse forbidden filename related capability features
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-21 09:51:39 +02:00
Matthieu Gallien
b47d09bc30
always enable http2
...
Nextcloud server documentation is recommending enabling http2 for
performance resons
https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html#enable-http-2-for-faster-loading
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-12 14:57:30 +02:00
Matthieu Gallien
274feb9587
remove deprecated code only usefull for very old Qt releases
...
we require Qt > 6.0 so any conditionnal code for older releases can be
deleted
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-12 11:14:26 +02:00
Matthieu Gallien
0fc61581bf
use very coarse timers for network timeout
...
seems to work around some timers expiring too early
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-12 09:32:49 +02:00
Matthieu Gallien
8233b33d67
use QByteArray::left to send the newly received data during hydration
...
we use the proper method from QByteArray to forward the data received by
GETFileJob to the socket connected to teh fetch data CfApi callback
Close https://github.com/nextcloud/desktop/issues/6769
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-06 18:17:04 +02:00
Matthieu Gallien
f3c8038921
forward the redirected signal from QNetworkReply to detect them
...
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-06 09:51:52 +02:00
Claudio Cambra
c475edafd1
Fix infinite recursion caused by default value call in desktopEnterpriseChannel
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-04 20:37:18 +02:00
Camila Ayres
5cf4e872e5
Capitalize sync instruction strings returned by Progress::asActionString.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-29 20:06:32 +02:00
Camila Ayres
0f2554e3f1
Make sync status text easier to understand.
...
- Never display "please wait" to users.
- Only start displaying status starting at 1. e.g. "0 f 6 files" => "1 of 6 files"
- Improve text for FolderStatusDelegate::FolderSyncText.
- Reconciling => Syncing.
- Syncing => Sync.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-29 20:06:32 +02:00
Claudio Cambra
7dec7b26a0
Move all proxy configuration procedures into account and out of network settings
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 16:28:15 +08:00
Claudio Cambra
04f335e972
Modify network access manager proxy within account when setting proxy values
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:50 +08:00
Claudio Cambra
ab1d02dab6
Fix account-specific network setting enum values
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:49 +08:00
Claudio Cambra
35bc728a39
Add download limit setting property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:48 +08:00
Claudio Cambra
d06e8b1d4e
Add upload limit property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:48 +08:00
Claudio Cambra
f96fe64bde
Add download limit setting property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:48 +08:00
Claudio Cambra
7a9fd727c4
Add upload limit setting property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
56b8fcf061
Add proxy password property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
c0cd839a29
Add proxy user property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
daed4c7b7f
Add proxy needs auth property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
8c6a181ee3
Add proxy port property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
a4553f5929
Add proxy host name property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
73dd000429
Add proxy type property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:47 +08:00
Claudio Cambra
2501cdf44d
Add network proxy setting property to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:46 +08:00
Claudio Cambra
15bc9a4892
Add AccountNetworkTransferLimitSetting enum to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:46 +08:00
Claudio Cambra
ae1b9bda5d
Add AccountNetworkProxySetting enum to account
...
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-07-22 15:37:46 +08:00
alex-z
28d69e9e2c
Bugfix. Migrate non-placeholder shortcuts to placeholder version.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-07-10 10:29:36 +02:00
alex-z
f70d1c1079
Support Windows .lnk files with VFS Cf API.
...
Signed-off-by: alex-z <blackslayer4@gmail.com>
2024-07-10 10:29:21 +02:00
Camila Ayres
c8175721ee
Remove unecessary call to sendTransferInfo.
...
Possible fix for #6876 .
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-08 12:03:37 +02:00
Camila Ayres
e38a9f181a
Only check for external storage permissions when it is a folder.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:58:36 +02:00
Camila Ayres
0965deaa2f
Remove commented out code.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:56:52 +02:00
Camila Ayres
9b2780c99c
Improve logs for rename check.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:56:52 +02:00
Camila Ayres
591808f25e
Check if file is already in database before processing rename.
...
- The rename check was not happening since it was hitting error "Move without permission to rename base file"
- The file was then processed as a new file
- Also check #6535 .
Possible workaround for #6549 .
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-05 12:56:51 +02:00
Camila Ayres
bc05dc8a18
Use NEXTCLOUD_DEV to check if client is branded instead of checking for string.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:41 +02:00
Camila Ayres
cdd940f669
Remove const from POD in method declaration.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:41 +02:00
Camila Ayres
dd5e18e8c5
If the client is branded the default update channel is stable.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
52e15ff92e
Separate the list of valid update channels for enterprise and non-enterprise.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
e51324dc9a
Fix the logic to determine update channels available, default value and what info to show the user.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
0663282b2b
Update desktopEnterpriseChannel value when capabilities change.
...
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00
Camila Ayres
615805dd03
Save desktopEnterpriseChannel value in the config file.
...
The default should be what is returned by defaultUpdateChannel()
when desktopEnterpriseChannel is not available.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-07-04 10:16:40 +02:00