Commit Graph

39 Commits

Author SHA1 Message Date
63acf60cd8 Fix autostart configuration via wizard 2022-10-08 23:41:58 +02:00
4896261ef9 Allow opening launcher settings from wizard in case of an error to check logs 2022-10-02 20:33:07 +02:00
442aee992a Unify code for showing wizard 2022-10-01 20:25:21 +02:00
a435cab604 Allow starting wizard from settings 2022-08-27 15:06:55 +02:00
2139b204e3 Determine whether to use bright custom colors automatically 2022-07-16 19:28:31 +02:00
69f466be66 Fix crash when systemd unit status changes when settings page has already been destroyed 2021-07-15 02:21:18 +02:00
9fc96a847a Add button to show Syncthing releases/downloads in launcher 2021-07-03 18:44:37 +02:00
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
975e86c895 Allow backend libraries to be used from other projects
So far the backend libraries' include paths were relative within this
repository. This means the header files could not be used at their
installed location.

This change replaces them with "<>" includes to fix that problem and adds
a new include directory so building everything at once still works.

With this change it should be easier to actually split some parts into
another repository if this one would become too big.
2021-01-25 19:48:11 +01:00
ed495ec667 Add UI to configure what information should be considered to compute overall status
* See https://github.com/Martchus/syncthingtray/issues/74
* See https://github.com/Martchus/syncthingtray/issues/76
2021-01-01 20:55:18 +01:00
4040a4e136 Hide connection status from settings when there are multiple tray icons 2020-10-18 17:02:12 +02:00
e10eca68f9 Rename "Inotify-launcher" to "Extra launcher"
The external inotify tool is likely not used anymore. It makes sense to
keep the concept of supporting additional tools because it might be used
in the future again. So it seems best to give the additional launcher a
more generic name.
2020-07-09 21:08:46 +02:00
a9225c5a35 Use addCustomAction() instead of deprecated addCustomButton() 2020-07-09 20:21:54 +02:00
ec0fca1446 Allow selecting the config file path manually in connection settings 2020-03-17 19:36:10 +01:00
bcb2b49b72 Don't use lower-case Qt macros 2020-03-08 13:50:32 +01:00
287ec5542b Allow setting log level when using libsyncthing 2020-01-20 22:30:42 +01:00
32f78b74fd Overhaul systemd integration, support system-wide units
* Lazy initialize systemd interface and don't initialize it
  at all if the unit name is empty
* Allow to supervise/control system-wide units in addition to
  user units (see https://github.com/Martchus/syncthingtray/issues/61)
* Avoid redundant code
2019-12-18 00:18:46 +01:00
a2d5307e4f Apply clang-format 2019-08-03 16:31:38 +02:00
353f1e2463 Allow to distinguish icon colors within UI and system tray
This is useful because sometimes the background color of the system
tray is dark but the overall system UI still uses a light theme.

For the Plasmoid this should never be the case, though. Hence the
extra settings are not available there.
2019-07-31 20:16:43 +02:00
2112b00347 Allow to show start/stop button for launcher 2019-07-12 20:32:55 +02:00
f7713c0b95 Don't keep track of LauncherOptionPage connections
Not required anymore when using QObject as base
2019-07-07 14:32:40 +02:00
61716687c9 Handle QProcess::errorOccurred 2019-07-07 14:31:09 +02:00
89889c1493 Ensure handler of LauncherOptionPage are called in main thread 2019-07-07 13:52:07 +02:00
3d5869f8e1 Add default args for Syncthing launcher 2019-07-07 12:59:47 +02:00
64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
96ed888e20 Allow customizing foreground color of status icons 2019-05-21 17:56:08 +02:00
05da0465a7 Allow customizing status icon colors 2019-05-19 17:57:37 +02:00
533a5d0939 Use override 2018-10-10 21:26:46 +02:00
87a10c5b33 Allow hiding Plasma applet in certain states
See https://github.com/Martchus/syncthingtray/issues/23
2018-10-10 17:48:48 +02:00
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
c9039ff6aa Ensure webview defs are present 2018-01-27 23:34:36 +01:00
2ee7b9af64 plasmoid: Improve settings
* Configure appearance options via Plasmoid specific
  settings
* Allow to configure the size
* Remember last connection config
2017-09-18 20:29:36 +02:00
69ffaeb1f3 Apply tidy after updating to clang-format 5.0.0
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:48:15 +02:00
ee5c38dd7d Make option pages configurable for different GUI types 2017-09-11 23:47:46 +02:00
b254905b5a Make categories of settings dialog customizable 2017-09-09 21:38:43 +02:00
07a47f1b06 Allow hiding API settings in notifications option page 2017-09-08 17:01:52 +02:00
408f77f844 Allow moving connection configurations up and down 2017-09-07 16:42:24 +02:00
732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
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