Commit Graph

10191 Commits

Author SHA1 Message Date
Camila Ayres
d328919ae1
Remove customization for text color and hover from TextButtonContents.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:44 +02:00
Camila Ayres
fa275a5a6b
Remove customizaton for placeholder text color from UnifiedSearchInputContainer.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:43 +02:00
Camila Ayres
aaf9d6bd4c
Remove cutomizations for text color and hover from ActivityActionButton.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:43 +02:00
Camila Ayres
43bafda1eb
Remove image hover from NCButtonContents and CustomButton.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:43 +02:00
Camila Ayres
8392d3d5aa
Remove duplicated header image.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:43 +02:00
Camila Ayres
fca287aa37
Remove the component version from import.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:43 +02:00
Camila Ayres
d0db0b97d3
Remove backround customization from ShareeSearchField.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:43 +02:00
Camila Ayres
49c822402b
NCRadioButton => RadioButton.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:43 +02:00
Camila Ayres
0ca6837b34
Remove customizations from CustomButton.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:43 +02:00
Camila Ayres
3fdb524fa2
Remove setting contentsFont, not used anymore in CustomButton.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:42 +02:00
Camila Ayres
c8f4700daf
Clean HeaderButton component from customizations.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:42 +02:00
Camila Ayres
0001a15244
Fix warning: The current style does not support customization of this control (property: "background").
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:42 +02:00
Camila Ayres
da077b0161
Fix warning: The current style does not support customization of this control (property: "indicator").
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:42 +02:00
Camila Ayres
88708d5abf
Fix warning: The current style does not support customization of this control (property: "contextItem").
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:42 +02:00
Camila Ayres
af96f1e37d
Fix warning: The current style does not support customization of this control (property: "background").
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:42 +02:00
Camila Ayres
7253ae103c
Fix warning: The current style does not support customization of this control (property: "contentItem").
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:42 +02:00
Camila Ayres
f6a0c9ad5c
Fix warning: The current style does not support customization of this control (property: "background").
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:42 +02:00
Camila Ayres
1aa27872aa
Remove custom properties for text color/hover from CustomButton and NCButtonContents components.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:41 +02:00
Camila Ayres
40e2f69968
Remove custom properties for background and opacity from CustomButton component.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:41 +02:00
Camila Ayres
2ed21d0ea6
Fix repeaded call to QQuickStyle::setStyle.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:41 +02:00
Camila Ayres
a74812b60a
Replace NCToolTip for ToolTip.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:41 +02:00
Camila Ayres
7c585fcfe0
Change default Qt quick control style depending on the platform.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:41 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
598f2c95f5 Set invalid filename dialog mode in activity list model
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-21 09:51:39 +02:00
Claudio Cambra
aaf06535d2 Provide different message and explanation strings in invalid filename dialog depending on invalid mode
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-08-21 09:51:39 +02:00