Commit Graph

10212 Commits

Author SHA1 Message Date
Matthieu Gallien
2f48389ed0 improve some log that are produced during discovery
would be usefull to track bugs during rename operations

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-12 10:15:16 +02:00
Matthieu Gallien
a0982ca6d4 avoid wrong tracking of renamed folders during discovery
ensure server rename operations are tracked as server rename operations

ensure local rename are tracked as local rename operations

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-12 10:15:16 +02:00
Matthieu Gallien
1d9080a7e5
delete invalid folders and restart sync automatically
users should then notice that the sync errors are gone

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-12 09:57:41 +02:00
Matthieu Gallien
27189bf4b1
let FileSystem::removeRecursively be able to delete read-only folders
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-12 09:57:41 +02:00
Matthieu Gallien
5b8144f806
detect remnants read-only folders to delete: try to delete them
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-12 09:57:40 +02:00
Matthieu Gallien
ab2002596e
let cancel sync and finish sync lambda be reusable methods
will enable implementation of other ways to interrupt sync after
discovery to get user feedback

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-12 09:57:40 +02:00
Matthieu Gallien
80793bbfff
collect remnant read-only folders during discovery
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-12 09:57:29 +02:00
suiso67
76cbf658ea Narrow down ReadWrite folder permission to owner
Signed-off-by: suiso67 <suiso67@macadamia.rocks>
2024-09-09 14:04:01 +00:00
Jyrki Gadinger
1fd0283e8b gui: remove Systray::setToolTip
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2024-09-09 15:56:47 +02:00
Jyrki Gadinger
d5b84b2862 gui: add some extra syncing details to the tray tooltips
There was some unused code that updated some status bar text -- this is
now part of the tooltip during syncing.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2024-09-09 15:56:47 +02:00
Matthieu Gallien
297cdec73a do not ignore paths containing 2 "#" characters
those path may be in use on Windows and are legitimate

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-09 09:19:14 +00:00
Matthieu Gallien
7d4c5a4fe2 ensure detection of entry type on windows is reliable
it seems that there is a possibility for the type detection to report a
folder as being a file

with this change, I am pretty sure that cannot happen any longer

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-09 06:41:24 +00:00
Matthieu Gallien
8f139ac2de add missing exception handling
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-09-06 14:05:04 +00:00
Camila Ayres
4694aae25b
Fix talk app icon.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:45 +02:00
Camila Ayres
2f26f319c3
qrc:/// => image://
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:45 +02:00
Camila Ayres
255c0999d6
Remove more color customizations from Window and TrayFoldersMenuButton.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:44 +02:00
Camila Ayres
760edd7e50
Remove background hover customization from UserLine.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:44 +02:00
Camila Ayres
1fb956ece2
Remove customization for font color from EnforcedPlainTextLabel.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:44 +02:00
Camila Ayres
04d13b247c
Remove customizations for hover background from the user menu options.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:44 +02:00
Camila Ayres
523e165a92
Fix font color light/dark of time in ActivityItemContent.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:44 +02:00
Camila Ayres
b5e8946212
Remove backround rectangle from NCInputTextEdit.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 10:55:44 +02:00
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