nextcloud-desktop.git
23 months agoFix NSExtensionFileProviderActionActivationRules for locking menu items
Claudio Cambra [Thu, 1 Aug 2024 07:34:35 +0000 (15:34 +0800)]
Fix NSExtensionFileProviderActionActivationRules for locking menu items

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAdd warn image to locking view if there is an error
Claudio Cambra [Thu, 1 Aug 2024 07:32:07 +0000 (15:32 +0800)]
Add warn image to locking view if there is an error

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoFix internal layouting of lock view by simply using a nsview rather than fumbling...
Claudio Cambra [Wed, 31 Jul 2024 11:54:02 +0000 (19:54 +0800)]
Fix internal layouting of lock view by simply using a nsview rather than fumbling with a stack view

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoFix XIB initialisation in LockViewController
Claudio Cambra [Wed, 31 Jul 2024 10:17:54 +0000 (18:17 +0800)]
Fix XIB initialisation in LockViewController

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoFix file lock server url in lockviewcontroller
Claudio Cambra [Wed, 31 Jul 2024 08:55:24 +0000 (16:55 +0800)]
Fix file lock server url in lockviewcontroller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoMake sure not to check for kit before we should in shares table view data source
Claudio Cambra [Wed, 31 Jul 2024 07:33:08 +0000 (15:33 +0800)]
Make sure not to check for kit before we should in shares table view data source

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoOnce finished locking/unlocking, stop loading indicator
Claudio Cambra [Wed, 31 Jul 2024 07:17:09 +0000 (15:17 +0800)]
Once finished locking/unlocking, stop loading indicator

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoPull out error handling from completionHandler for nckit lockunlock
Claudio Cambra [Wed, 31 Jul 2024 07:16:59 +0000 (15:16 +0800)]
Pull out error handling from completionHandler for nckit lockunlock

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoStop loading indicator when presenting error
Claudio Cambra [Wed, 31 Jul 2024 07:16:08 +0000 (15:16 +0800)]
Stop loading indicator when presenting error

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAdd convenience function to stop/hide loading indicator in lock view controller
Claudio Cambra [Wed, 31 Jul 2024 07:15:57 +0000 (15:15 +0800)]
Add convenience function to stop/hide loading indicator in lock view controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoPerform lock/unlock procedure in lock view controller
Claudio Cambra [Tue, 30 Jul 2024 10:52:06 +0000 (18:52 +0800)]
Perform lock/unlock procedure in lock view controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoProcess target item on init of lock view controller
Claudio Cambra [Tue, 30 Jul 2024 10:51:48 +0000 (18:51 +0800)]
Process target item on init of lock view controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAdd method to simply provide file details in locking view
Claudio Cambra [Tue, 30 Jul 2024 10:51:10 +0000 (18:51 +0800)]
Add method to simply provide file details in locking view

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAdd convenience method to present and log errors in lock view controller
Claudio Cambra [Tue, 30 Jul 2024 10:48:11 +0000 (18:48 +0800)]
Add convenience method to present and log errors in lock view controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoMove item metadata fetch into util file in FileProviderUIExt
Claudio Cambra [Tue, 30 Jul 2024 10:47:38 +0000 (18:47 +0800)]
Move item metadata fetch into util file in FileProviderUIExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoMove service connection fetcher method into a utils file
Claudio Cambra [Tue, 30 Jul 2024 10:16:06 +0000 (18:16 +0800)]
Move service connection fetcher method into a utils file

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAdd close action to lock view controller
Claudio Cambra [Tue, 30 Jul 2024 09:43:39 +0000 (17:43 +0800)]
Add close action to lock view controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoDesign lock view in file provider ui
Claudio Cambra [Tue, 30 Jul 2024 09:42:39 +0000 (17:42 +0800)]
Design lock view in file provider ui

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAdd basic properties to lock view controller
Claudio Cambra [Tue, 30 Jul 2024 09:15:43 +0000 (17:15 +0800)]
Add basic properties to lock view controller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoHandle new locking action identifiers in document action view controller of FileProvi...
Claudio Cambra [Tue, 30 Jul 2024 08:20:10 +0000 (16:20 +0800)]
Handle new locking action identifiers in document action view controller of FileProviderUIExt

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAdd lock/unlock actions in FileProviderUIExt info plist
Claudio Cambra [Tue, 30 Jul 2024 08:19:29 +0000 (16:19 +0800)]
Add lock/unlock actions in FileProviderUIExt info plist

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAdd basic LockViewController components
Claudio Cambra [Tue, 30 Jul 2024 08:18:58 +0000 (16:18 +0800)]
Add basic LockViewController components

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoMove all sharing components for FileProviderUIExt into a Sharing folder
Claudio Cambra [Tue, 30 Jul 2024 08:05:10 +0000 (16:05 +0800)]
Move all sharing components for FileProviderUIExt into a Sharing folder

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoMerge pull request #7109 from nextcloud/backport/7102/stable-3.14
Matthieu Gallien [Thu, 12 Sep 2024 08:15:26 +0000 (10:15 +0200)]
Merge pull request #7109 from nextcloud/backport/7102/stable-3.14

[stable-3.14] Bugfix/fix one rename issue

23 months agoimprove some log that are produced during discovery
Matthieu Gallien [Wed, 11 Sep 2024 15:16:08 +0000 (17:16 +0200)]
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>
23 months agoavoid wrong tracking of renamed folders during discovery
Matthieu Gallien [Wed, 11 Sep 2024 15:14:11 +0000 (17:14 +0200)]
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>
23 months agoadd automated tests for complex move scenario
Matthieu Gallien [Wed, 11 Sep 2024 14:54:31 +0000 (16:54 +0200)]
add automated tests for complex move scenario

we rename the top folder and we rename a not direct child that is also
moved to another folder below the original renamed top folder

so
a/b/c
a/b/d/file

will be
e/b/c/f/file

with
a -> e
d-> f

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agoMerge pull request #7108 from nextcloud/backport/7061/stable-3.14
Matthieu Gallien [Thu, 12 Sep 2024 08:14:53 +0000 (10:14 +0200)]
Merge pull request #7108 from nextcloud/backport/7061/stable-3.14

[stable-3.14] Bugfix/delete read only remnants folders

23 months agodelete invalid folders and restart sync automatically
Matthieu Gallien [Mon, 2 Sep 2024 20:50:26 +0000 (22:50 +0200)]
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>
23 months agolet FileSystem::removeRecursively be able to delete read-only folders
Matthieu Gallien [Mon, 2 Sep 2024 11:53:11 +0000 (13:53 +0200)]
let FileSystem::removeRecursively be able to delete read-only folders

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agodetect remnants read-only folders to delete: try to delete them
Matthieu Gallien [Tue, 3 Sep 2024 16:07:57 +0000 (18:07 +0200)]
detect remnants read-only folders to delete: try to delete them

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agolet cancel sync and finish sync lambda be reusable methods
Matthieu Gallien [Fri, 30 Aug 2024 14:51:09 +0000 (16:51 +0200)]
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>
23 months agocollect remnant read-only folders during discovery
Matthieu Gallien [Fri, 30 Aug 2024 13:35:20 +0000 (15:35 +0200)]
collect remnant read-only folders during discovery

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agoMerge pull request #7105 from nextcloud/backport/7103/stable-3.14
Tobias Kaminsky [Thu, 12 Sep 2024 05:19:38 +0000 (07:19 +0200)]
Merge pull request #7105 from nextcloud/backport/7103/stable-3.14

[stable-3.14] Code-sign client via mac-crafter so it may pass notarisation

23 months agoMove building into separate subcommand, add subcommand just for codesigning
Claudio Cambra [Wed, 11 Sep 2024 19:54:01 +0000 (03:54 +0800)]
Move building into separate subcommand, add subcommand just for codesigning

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAlways move final product to product path in mac crafter
Claudio Cambra [Wed, 11 Sep 2024 19:48:28 +0000 (03:48 +0800)]
Always move final product to product path in mac crafter

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoFix codesigning of qtwebengine related helper app in mac crafter
Claudio Cambra [Wed, 11 Sep 2024 15:26:51 +0000 (23:26 +0800)]
Fix codesigning of qtwebengine related helper app in mac crafter

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoUse deep codesigning by default in mac crafter
Claudio Cambra [Wed, 11 Sep 2024 15:26:30 +0000 (23:26 +0800)]
Use deep codesigning by default in mac crafter

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoMake sure to code-sign all binaries in app bundle
Claudio Cambra [Wed, 11 Sep 2024 13:56:03 +0000 (21:56 +0800)]
Make sure to code-sign all binaries in app bundle

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoRemove get-task-allow entitlement when code-signing app extensions
Claudio Cambra [Wed, 11 Sep 2024 13:55:52 +0000 (21:55 +0800)]
Remove get-task-allow entitlement when code-signing app extensions

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoFix notarisation issues for Sparkle in mac-crafter
Claudio Cambra [Wed, 11 Sep 2024 13:55:27 +0000 (21:55 +0800)]
Fix notarisation issues for Sparkle in mac-crafter

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoAdd convenience method to save the entitlements of a bundle to a file as XML
Claudio Cambra [Wed, 11 Sep 2024 13:54:49 +0000 (21:54 +0800)]
Add convenience method to save the entitlements of a bundle to a file as XML

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoFix issue with placing app bundle in product directory if an existing build is there
Claudio Cambra [Wed, 11 Sep 2024 13:54:18 +0000 (21:54 +0800)]
Fix issue with placing app bundle in product directory if an existing build is there

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoMerge pull request #7091 from nextcloud/backport/6949/stable-3.14
Matthieu Gallien [Mon, 9 Sep 2024 14:12:16 +0000 (16:12 +0200)]
Merge pull request #7091 from nextcloud/backport/6949/stable-3.14

[stable-3.14] Narrow down ReadWrite folder permission to owner

23 months agoNarrow down ReadWrite folder permission to owner
suiso67 [Fri, 26 Jul 2024 02:30:36 +0000 (11:30 +0900)]
Narrow down ReadWrite folder permission to owner

Signed-off-by: suiso67 <suiso67@macadamia.rocks>
23 months agoMerge pull request #7089 from nextcloud/backport/7027/stable-3.14
Matthieu Gallien [Mon, 9 Sep 2024 14:00:53 +0000 (16:00 +0200)]
Merge pull request #7089 from nextcloud/backport/7027/stable-3.14

[stable-3.14] Fix make_universal.py not taking into account 64-bit bundle dylibs

23 months agoFix make_universal.py not taking into account 64-bit bundle dylibs
Claudio Cambra [Mon, 26 Aug 2024 07:22:30 +0000 (15:22 +0800)]
Fix make_universal.py not taking into account 64-bit bundle dylibs

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 months agoMerge pull request #7083 from nextcloud/backport/7057/stable-3.14
Matthieu Gallien [Mon, 9 Sep 2024 14:00:26 +0000 (16:00 +0200)]
Merge pull request #7083 from nextcloud/backport/7057/stable-3.14

[stable-3.14] Add some extra syncing details to the tray icon tooltip

23 months agogui: remove Systray::setToolTip
Jyrki Gadinger [Mon, 2 Sep 2024 16:16:25 +0000 (18:16 +0200)]
gui: remove Systray::setToolTip

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
23 months agogui: add some extra syncing details to the tray tooltips
Jyrki Gadinger [Thu, 29 Aug 2024 15:31:04 +0000 (17:31 +0200)]
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>
23 months agoprepare 3.14.0 rc3 release
Matthieu Gallien [Mon, 9 Sep 2024 09:25:11 +0000 (11:25 +0200)]
prepare 3.14.0 rc3 release

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agoMerge pull request #7086 from nextcloud/backport/7084/stable-3.14
Matthieu Gallien [Mon, 9 Sep 2024 09:23:54 +0000 (11:23 +0200)]
Merge pull request #7086 from nextcloud/backport/7084/stable-3.14

[stable-3.14] do not ignore paths containing 2 "#" characters

23 months agodo not ignore paths containing 2 "#" characters
Matthieu Gallien [Mon, 9 Sep 2024 08:39:47 +0000 (10:39 +0200)]
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>
23 months agoMerge pull request #7082 from nextcloud/backport/7068/stable-3.14
Matthieu Gallien [Mon, 9 Sep 2024 07:07:47 +0000 (09:07 +0200)]
Merge pull request #7082 from nextcloud/backport/7068/stable-3.14

[stable-3.14] ensure detection of entry type on windows is reliable

23 months agoensure detection of entry type on windows is reliable
Matthieu Gallien [Tue, 3 Sep 2024 13:57:12 +0000 (15:57 +0200)]
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>
23 months agoMerge pull request #7080 from nextcloud/backport/7079/stable-3.14
Matthieu Gallien [Fri, 6 Sep 2024 14:35:55 +0000 (16:35 +0200)]
Merge pull request #7080 from nextcloud/backport/7079/stable-3.14

[stable-3.14] add missing exception handling

23 months agoadd missing exception handling
Matthieu Gallien [Fri, 6 Sep 2024 14:02:38 +0000 (16:02 +0200)]
add missing exception handling

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agoprepare for 3.14.0 RC2
Matthieu Gallien [Fri, 6 Sep 2024 09:08:40 +0000 (11:08 +0200)]
prepare for 3.14.0 RC2

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agoMerge pull request #7077 from nextcloud/backport/6980/stable-3.14
Matthieu Gallien [Fri, 6 Sep 2024 09:03:33 +0000 (11:03 +0200)]
Merge pull request #7077 from nextcloud/backport/6980/stable-3.14

[stable-3.14] Native buttons

23 months agoFix talk app icon.
Camila Ayres [Thu, 5 Sep 2024 18:25:31 +0000 (20:25 +0200)]
Fix talk app icon.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoqrc:/// => image://
Camila Ayres [Thu, 5 Sep 2024 17:31:38 +0000 (19:31 +0200)]
qrc:/// => image://

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove more color customizations from Window and TrayFoldersMenuButton.
Camila Ayres [Tue, 3 Sep 2024 19:18:19 +0000 (21:18 +0200)]
Remove more color customizations from Window and TrayFoldersMenuButton.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove background hover customization from UserLine.
Camila Ayres [Tue, 3 Sep 2024 18:35:48 +0000 (20:35 +0200)]
Remove background hover customization from UserLine.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove customization for font color from EnforcedPlainTextLabel.
Camila Ayres [Tue, 3 Sep 2024 18:11:18 +0000 (20:11 +0200)]
Remove customization for font color from EnforcedPlainTextLabel.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove customizations for hover background from the user menu options.
Camila Ayres [Tue, 3 Sep 2024 17:54:34 +0000 (19:54 +0200)]
Remove customizations for hover background from the user menu options.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoFix font color light/dark of time in ActivityItemContent.
Camila Ayres [Tue, 3 Sep 2024 12:08:18 +0000 (14:08 +0200)]
Fix font color light/dark of time in ActivityItemContent.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove backround rectangle from NCInputTextEdit.
Camila Ayres [Sun, 1 Sep 2024 19:47:40 +0000 (21:47 +0200)]
Remove backround rectangle from NCInputTextEdit.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove customization for text color and hover from TextButtonContents.
Camila Ayres [Sun, 1 Sep 2024 19:34:42 +0000 (21:34 +0200)]
Remove customization for text color and hover from TextButtonContents.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove customizaton for placeholder text color from UnifiedSearchInputContainer.
Camila Ayres [Sun, 1 Sep 2024 19:33:35 +0000 (21:33 +0200)]
Remove customizaton for placeholder text color from UnifiedSearchInputContainer.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove cutomizations for text color and hover from ActivityActionButton.
Camila Ayres [Sun, 1 Sep 2024 19:31:41 +0000 (21:31 +0200)]
Remove cutomizations for text color and hover from ActivityActionButton.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months ago Remove image hover from NCButtonContents and CustomButton.
Camila Ayres [Sat, 31 Aug 2024 14:08:44 +0000 (16:08 +0200)]
 Remove image hover from NCButtonContents and CustomButton.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove duplicated header image.
Camila Ayres [Sat, 31 Aug 2024 13:53:55 +0000 (15:53 +0200)]
Remove duplicated header image.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove the component version from import.
Camila Ayres [Thu, 29 Aug 2024 20:04:57 +0000 (22:04 +0200)]
Remove the component version from import.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove backround customization from ShareeSearchField.
Camila Ayres [Thu, 29 Aug 2024 18:46:24 +0000 (20:46 +0200)]
Remove backround customization from ShareeSearchField.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoNCRadioButton => RadioButton.
Camila Ayres [Thu, 29 Aug 2024 18:39:00 +0000 (20:39 +0200)]
NCRadioButton => RadioButton.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove customizations from CustomButton.
Camila Ayres [Thu, 29 Aug 2024 18:30:16 +0000 (20:30 +0200)]
Remove customizations from CustomButton.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove setting contentsFont, not used anymore in CustomButton.
Camila Ayres [Thu, 29 Aug 2024 16:53:01 +0000 (18:53 +0200)]
Remove setting contentsFont, not used anymore in CustomButton.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoClean HeaderButton component from customizations.
Camila Ayres [Thu, 29 Aug 2024 15:22:44 +0000 (17:22 +0200)]
Clean HeaderButton component from customizations.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoFix warning: The current style does not support customization of this control (proper...
Camila Ayres [Thu, 29 Aug 2024 14:46:07 +0000 (16:46 +0200)]
Fix warning: The current style does not support customization of this control (property: "background").

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoFix warning: The current style does not support customization of this control (proper...
Camila Ayres [Wed, 28 Aug 2024 20:26:18 +0000 (22:26 +0200)]
Fix warning: The current style does not support customization of this control (property: "indicator").

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoFix warning: The current style does not support customization of this control (proper...
Camila Ayres [Wed, 28 Aug 2024 20:25:51 +0000 (22:25 +0200)]
Fix warning: The current style does not support customization of this control (property: "contextItem").

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoFix warning: The current style does not support customization of this control (proper...
Camila Ayres [Wed, 28 Aug 2024 20:24:52 +0000 (22:24 +0200)]
Fix warning: The current style does not support customization of this control (property: "background").

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoFix warning: The current style does not support customization of this control (proper...
Camila Ayres [Wed, 28 Aug 2024 19:54:50 +0000 (21:54 +0200)]
Fix warning: The current style does not support customization of this control (property: "contentItem").

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoFix warning: The current style does not support customization of this control (proper...
Camila Ayres [Wed, 28 Aug 2024 18:47:28 +0000 (20:47 +0200)]
Fix warning: The current style does not support customization of this control (property: "background").

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove custom properties for text color/hover from CustomButton and NCButtonContents...
Camila Ayres [Wed, 28 Aug 2024 17:41:12 +0000 (19:41 +0200)]
Remove custom properties for text color/hover from CustomButton and NCButtonContents components.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove custom properties for background and opacity from CustomButton component.
Camila Ayres [Wed, 28 Aug 2024 16:43:36 +0000 (18:43 +0200)]
Remove custom properties for background and opacity from CustomButton component.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoFix repeaded call to QQuickStyle::setStyle.
Camila Ayres [Wed, 28 Aug 2024 15:01:11 +0000 (17:01 +0200)]
Fix repeaded call to QQuickStyle::setStyle.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoReplace NCToolTip for ToolTip.
Camila Ayres [Tue, 27 Aug 2024 19:20:19 +0000 (21:20 +0200)]
Replace NCToolTip for ToolTip.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoChange default Qt quick control style depending on the platform.
Camila Ayres [Wed, 7 Aug 2024 15:05:29 +0000 (17:05 +0200)]
Change default Qt quick control style depending on the platform.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoremove broken system paellete detection within our custom style
Matthieu Gallien [Wed, 28 Aug 2024 10:43:23 +0000 (12:43 +0200)]
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>
23 months agouse new QStyleHints::colorScheme feature to use light or dark mode
Matthieu Gallien [Wed, 28 Aug 2024 10:30:27 +0000 (12:30 +0200)]
use new QStyleHints::colorScheme feature to use light or dark mode

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agoadd a QQuickStyle fallback: Fusion is fallback style
Matthieu Gallien [Wed, 28 Aug 2024 10:29:49 +0000 (12:29 +0200)]
add a QQuickStyle fallback: Fusion is fallback style

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agolet main dialog have a transparent background again
Matthieu Gallien [Tue, 27 Aug 2024 17:08:48 +0000 (19:08 +0200)]
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>
23 months agoRemove component import version from Style.qml.
Camila Ayres [Wed, 7 Aug 2024 20:03:26 +0000 (22:03 +0200)]
Remove component import version from Style.qml.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove qml component version from import.
Camila Ayres [Wed, 7 Aug 2024 20:02:39 +0000 (22:02 +0200)]
Remove qml component version from import.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoRemove component versions under src/gui/tray.
Camila Ayres [Wed, 7 Aug 2024 19:54:37 +0000 (21:54 +0200)]
Remove component versions under src/gui/tray.

Signed-off-by: Camila Ayres <hello@camilasan.com>
23 months agoremove any use of custom palette: use the style palette
Matthieu Gallien [Wed, 7 Aug 2024 19:30:39 +0000 (21:30 +0200)]
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>
23 months agolet's not make the background color of main dialog be transparent
Matthieu Gallien [Wed, 7 Aug 2024 19:29:48 +0000 (21:29 +0200)]
let's not make the background color of main dialog be transparent

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agoset the windows native qml style on windows systems
Matthieu Gallien [Wed, 7 Aug 2024 19:28:27 +0000 (21:28 +0200)]
set the windows native qml style on windows systems

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
23 months agoChange default Qt quick control style depending on the platform.
Camila Ayres [Wed, 7 Aug 2024 15:05:29 +0000 (17:05 +0200)]
Change default Qt quick control style depending on the platform.

Signed-off-by: Camila Ayres <hello@camilasan.com>