Commit Graph

47 Commits

Author SHA1 Message Date
Martchus ec85052c20 Allow enabling devel modes via env variables
Using CLI args is not possible for plugins (such as the Plasmoid).
2022-10-08 22:44:00 +02:00
Martchus bd5b93d311 Implement completion of wizard
Applying settings is still only implemented for one of the cases.
2022-10-01 22:25:33 +02:00
Martchus 9865b2286f Develop wizard further
* Add page to apply settings
* Add page to show final result
* Fix updating systemd checkbox (`isVisible()` did not work because when
  the function is running the whole page is not visible)
* Enable systemd integration by default if either the user service or the
  system service are running
* Fix typo
2022-09-17 23:10:58 +02:00
Martchus ff68dff5a0 Add autostart wizard page 2022-09-03 21:36:57 +02:00
Martchus 9d28fbbefc Ensure icons in wizard's welcome page are present
* Provide icons for command link buttons because it looks rather bad when
  some of them are missing in the user's icon theme and are therefore not
  displayed at all
* Add icons to lists for bundling icons
2022-08-25 21:35:22 +02:00
Martchus f496e42006 Develop UI of wizard further
* Declare widgets for main config page via XML
* Add radio/check boxes for available options
* Improve formatting of report
2022-08-23 21:07:06 +02:00
Martchus c31b7b9ca8 Refactor wizard code
* Move code for setup detection into its own class
* Use separate wizard page to show setup detection report
2022-08-23 18:19:47 +02:00
Martchus c9ac1c794b Allow portable configuration via `QtUtilities::getSettings()`
See https://github.com/Martchus/tageditor/issues/88
2022-08-20 16:19:08 +02:00
Martchus 394af9bce7 Improve first launch message in preparation for adding a setup wizard 2022-08-06 21:08:55 +02:00
Martchus 2139b204e3 Determine whether to use bright custom colors automatically 2022-07-16 19:28:31 +02:00
Martchus c3182ff256 Apply cmake-format 2021-10-07 18:28:13 +02:00
Julianne420 ddefa35daa Add zh_CN translation 2021-10-07 01:20:24 +08:00
Hannah Rittich 2968898195 Allow finding of packages in namespaces 2021-10-03 02:07:18 +02:00
Martchus 078145f354 Require qtutilities 6.5.0 for change to `webviewincludes.h` 2021-08-07 18:43:32 +02:00
Martchus 4c6315b450 Terminate Syncthing gracefully via REST-API on non-UNIX platforms (2)
A follow up to 0faacaa7c8 to cover the stop button within the launcher
and terminating Syncthing on shutdown/exit. To find the relevant connection
the connection settings are searched for a local URL where the port matches
the port from the Syncthing process log.
2021-07-15 02:38:26 +02:00
Martchus 0ef3b80447 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:29:49 +02:00
Martchus cbecf9ccf2 Add an icon for every settings tab 2021-05-07 00:06:25 +02:00
Martchus 8ec9038b2c Better decouple syncthingwidgets from libsyncthing if libsyncthing is disabled
Before this change syncthingwidgets unconditionally included the header
from libsyncthing so it couldn't be used as stand-alone library if
libsyncthing was disabled.
2021-02-03 00:01:34 +01:00
Martchus 49bbebd1ad Allow configuring package suffix for qtutilities individually 2020-10-23 17:03:57 +02:00
Martchus 0b5fb14931 Remove overspecification of Qt version in documentation and comments 2020-09-04 01:13:46 +02:00
Martchus 3b49e9e312 Support Qt 6 (commit 174154b) 2020-09-04 01:09:18 +02:00
Martchus a9225c5a35 Use addCustomAction() instead of deprecated addCustomButton() 2020-07-09 20:21:54 +02:00
Martchus f61473142f Add (so far missing) fallback icons 2020-04-03 16:31:41 +02:00
Martchus 4b5a8efa3e Apply cmake-format v0.6.0 2019-11-30 18:24:19 +01:00
Martchus 05e49c86ce Improve color picker for icons
* Add note about Drag & Drop
* Allow picking from multiple presets
2019-11-19 19:33:58 +01:00
Martchus cf5faeca51 Apply cmake-format 2019-09-08 18:12:05 +02:00
p-bo 7e82d7a91b
Added Czech localization 2019-08-20 22:15:08 +02:00
Martchus 56e1e98493 Apply cmake-format 2019-06-16 16:58:52 +02:00
Martchus 05da0465a7 Allow customizing status icon colors 2019-05-19 17:57:37 +02:00
Martchus d88df866d2 Adapt to c++utilities v5 2019-05-04 21:05:21 +02:00
Martchus 326f03b604 Apply cmake-format 2019-02-06 17:36:14 +01:00
Martchus 4a42a3f0c0 Fix and refactor directory error handling
* Rely not only on the FolderErrors event
* Request pull errors when opening the dialog
* Use "pullErrors" from FolderSummary
* Move code for directory error dialog into
  its own class

This should fix that sometimes obsolete errors
were still displayed or actually present errors
missing.
2018-11-03 21:30:17 +01:00
Martchus 930691ebdc Rename ErrorViewDialog to InternalErrorsDialog 2018-11-03 18:15:10 +01:00
Martchus cdff9fd974 Allow forwarding JS console of web view to stderr 2018-10-28 17:03:23 +01:00
Martchus c7418431f5 Use new libsyncthing interface in launcher
Not tested yet
2018-04-15 20:20:30 +02:00
Martchus 0ceb8d5e79 Add high-level abstraction for launching Syncthing
Add new SyncthingLauncher class which lauches Syncthing
under the hood via external SyncthingProcess or using
libsyncthing.

Note: Launching via libsyncthing is still experimental.
2018-04-11 23:16:00 +02:00
Martchus 0c104f60b8 Wait till all processes finished, ask for killing
See https://github.com/Martchus/syncthingtray/issues/15
2018-04-02 23:32:52 +02:00
Martchus 71bcdd0c45 Add notification images (DBus-only) 2018-03-18 03:09:07 +01:00
Martchus eeca6715de Send API-Key when using QWebEngine
so when showing Syncthing via QWebEngine, the password
must not be provided.
2017-12-30 02:26:55 +01:00
Martchus 9782795551 Add missing icons 2017-10-07 22:24:19 +02:00
Martchus 60a322cb4e Get rid of no longer necessary hasBeenShown() checks 2017-09-27 00:21:53 +02:00
Martchus 49862f2701 Make GUI everywhere mandatory 2017-09-09 21:30:18 +02:00
Martchus 5046cb3eed Move logic for determine error relevance to InternalError 2017-09-08 17:01:51 +02:00
Martchus 856a899c4b Move showOwnDeviceId() to widgets
So Plasmoid can use it as well
2017-08-30 00:01:34 +02:00
Martchus e52a2a6ef6 Improve error handling
Allow viewing request URL and response of internal
errors.
2017-08-20 01:20:47 +02:00
Martchus 1abb8b8a87 Move status info/notification to widgets
* Allow reusing code in other components such
  as Plasmoid
* Separate determining status text and icon
  from displaying notifications
2017-04-25 23:32:40 +02:00
Martchus 49ff5a7b65 Move widgets from tray app to separate lib
So settings pages, web view and other widgets
can be used in other components such as the
Dolphin plugin and Plasmoid, too.
2017-04-23 18:31:18 +02:00