Commit graph

21729 commits

Author SHA1 Message Date
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
Matthieu Gallien
5e07e490dd
add a QQuickStyle fallback: Fusion is fallback style
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-06 10:55:40 +02:00
Matthieu Gallien
bf6ca29020
let main dialog have a transparent background again
will fix white corners appearing below the main dialog content

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-06 10:55:40 +02:00
Camila Ayres
d09f7c988e
Remove component import version from Style.qml.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:40 +02:00
Camila Ayres
de5adadd3f
Remove qml component version from import.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:40 +02:00
Camila Ayres
0fa42045d0
Remove component versions under src/gui/tray.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:40 +02:00
Matthieu Gallien
65dd912dd6
remove any use of custom palette: use the style palette
should get us native colors as much as possible

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-06 10:55:40 +02:00
Matthieu Gallien
8f942240c6
let's not make the background color of main dialog be transparent
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-06 10:55:40 +02:00
Matthieu Gallien
71535f3b00
set the windows native qml style on windows systems
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-06 10:55:39 +02:00
Camila Ayres
6ff67c6660
Change default Qt quick control style depending on the platform.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:29 +02:00
Matthieu Gallien
651596db78
Merge pull request #7076 from nextcloud/backport/6748/stable-3.14
[stable-3.14] Revert "Fix incorrect date parsing."
2024-09-05 20:36:30 +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
dc6f3af2f5
Merge pull request #7065 from nextcloud/backport/7062/stable-3.14
[stable-3.14] only add Encrypt context menu entry for top folder in settings dialog
2024-09-03 10:19:44 +02:00
Matthieu Gallien
155e8227f6 only add Encrypt context menu entry for top folder in settings dialog
will omit Encrypt menu item for child fodlers as displayed in selective
sync folders tree in settings dialog

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-03 07:25:50 +00:00
Matthieu Gallien
df7d5c5814
Merge pull request #7060 from nextcloud/backport/7040/stable-3.14
[stable-3.14] 🎨 Update icons to latest Hub 9 style
2024-09-02 12:51:15 +02:00
Andy Scherzinger
4c8a5a69c9 style: Update icons to latest Hub 9 style
... Material Symbols

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-09-02 08:35:39 +00:00
Matthieu Gallien
0d0869b326
Merge pull request #7050 from nextcloud/backport/7044/stable-3.14
[stable-3.14] remove the frame around the sync folders settings area
2024-08-28 23:40:38 +02:00
Matthieu Gallien
f000791c84 remove the frame around the sync folders settings area
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-28 23:10:31 +02:00
Matthieu Gallien
d637556ba8
Merge pull request #7048 from nextcloud/backport/7033/stable-3.14
[stable-3.14] docs: conf file option moveToTrash is no longer Linux specific
2024-08-28 23:10:16 +02:00
Josh
b78cb20658 docs: conf file option moveToTrash is no longer Linux specific
Since #5698 / #3362 this option is no longer restricted to Linux. (It's also now in the GUI too).

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-08-28 23:10:08 +02:00
Matthieu Gallien
9fbef4c566
Merge pull request #7046 from nextcloud/backport/7029/stable-3.14
[stable-3.14] Bugfix/log database errors
2024-08-28 23:09:49 +02:00
Matthieu Gallien
ba872a0fb0 also include temporary files from WAL SQLite mode into debug archive
should make sure that the debug archive has a correct up to date view of
the sync client database

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-28 23:09:41 +02:00
Matthieu Gallien
749773f260 add missing logs and checks for database errors
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-28 23:09:41 +02:00
Matthieu Gallien
aea98c1b29
Merge pull request #7045 from nextcloud/backport/7030/stable-3.14
[stable-3.14] properly detect and enable Qt6 WebEngine integration
2024-08-28 12:31:55 +02: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
84c8cc5828
Merge pull request #7043 from nextcloud/backport/7042/stable-3.14
[stable-3.14] on windows use QWidget native platform style
2024-08-28 11:34:12 +02:00
Matthieu Gallien
bf344fec7c on windows use QWidget native platform style
will make all QWidget based user interface look more native

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-28 09:11:09 +00:00
István Váradi
a274651f4d Fix release kind detection
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2024-08-27 20:05:45 +02:00
Matthieu Gallien
7ac7ef1744
prepare 3.14.0 RC1 release (i.e. v3.14.0-rc1)
version number is 3.13.81

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-23 11:20:49 +02:00
Matthieu Gallien
82c9a52d33
Merge pull request #7020 from nextcloud/bugfix/removeReadOnlyFoldersInReadOnlyFolders
Bugfix/remove read only folders in read only folders
2024-08-23 09:56:55 +02: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
Nextcloud bot
17d88ff0fd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-23 02:44:30 +00:00
Matthieu Gallien
14a5dd14f6
Merge pull request #7017 from nextcloud/bugfix/fixIncorrectQStringBuilderUsage
avoid wrong usage of QStringBuilder via auto type deduction
2024-08-22 14:53:57 +02:00
Matthieu Gallien
316af5c13f avoid wrong usage of QStringBuilder via auto type deduction
detected via https://github.com/KDE/clazy/blob/master/docs/checks/README-auto-unexpected-qstringbuilder.md#auto-unexpected-qstringbuilder

also reported by g++ via compile time warnings

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-22 14:53:46 +02:00
Matthieu Gallien
bb771497ff
Merge pull request #6952 from nextcloud/bugfix/doc-building-warnings
Fix doc building warnings
2024-08-22 11:06:08 +02:00
Claudio Cambra
45ce19dcbe Fix string warning in account setup commandline doc
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-22 11:05:59 +02:00
Claudio Cambra
ff2a8ffc61 Fix table warning in troubleshooting doc
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-22 11:05:59 +02:00
Claudio Cambra
b1b2813050 Fix header underline warnings in docs
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-22 11:05:59 +02:00
Matthieu Gallien
aa1c83c9cc
Merge pull request #7016 from nextcloud/bugfix/hideEncryptFromContextMenu
Bugfix/hide encrypt from context menu
2024-08-22 10:12:41 +02:00
Matthieu Gallien
539be0a16a only empty top folders offer the menu entry to encrypt
in the contextual menu shown in files explorer will show encrypt menu
entry only for top folders that are non-encrypted and empty

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-22 10:12:32 +02:00
Matthieu Gallien
1c3743d670 only add encrypt menu entry for top folders
with current end-to-end encryption only top folders can be encrypted

limit the availability of the menu entry to top folders

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-22 10:12:32 +02:00
Matthieu Gallien
5bb90c783e ensure the arguments of socket API commands are valid
fix string data being invalid when using QStringView

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-22 10:12:32 +02:00
Matthieu Gallien
a384119a81
Merge pull request #7015 from nextcloud/fix-bug-report-typo
fix bug report breakage
2024-08-22 10:10:59 +02:00
Josh
7ba64dd584 fix bug report breakage
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-08-22 10:10:50 +02:00
Nextcloud bot
fd59381c80
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-22 02:46:08 +00:00
Matthieu Gallien
8cb1db4c29
Merge pull request #7010 from nextcloud/bugfix/deleteReadonlyFolders
Bugfix/delete readonly folders
2024-08-21 14:38:31 +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
Matthieu Gallien
abde33e7e5 add automated test for deletion of child items in read-only folders
should ensure we are able to get files or dolders be deleted by sync
engine within read-only folders

would happen as the result of changes on server side being propagated
locally or when using selective sync

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-08-21 14:38:21 +02:00