Martchus
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
Martchus
27f17fc94c
Use aboutToQuit() signal for cleanup-code
...
As recommended by the Qt documentation
2019-09-14 19:14:45 +02:00
Martchus
5d044a9645
Mention --wait in error message if tray not available
2019-08-10 00:20:38 +02:00
Martchus
1bdba31c70
Improve behavior under Wayland
...
* Add workaround for using QCursor::pos()
* Set window flags and parent of TrayMenu to it is shown
like a context menu
2019-07-27 15:04:14 +02:00
Martchus
ee6817187a
Ensure Qt specific config is included
2019-06-16 15:57:03 +02:00
Martchus
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
Martchus
d88df866d2
Adapt to c++utilities v5
2019-05-04 21:05:21 +02:00
Martchus
49b33e5afe
Ensure errors on first connection after startup are handled
2018-05-15 22:01:03 +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
146d4870e4
Refactor preventing unwanted error messages
...
* See https://github.com/Martchus/syncthingtray/issues/15
* Not tested yet
2018-04-02 20:35:30 +02:00
Martchus
b81c316d4a
Improve message formatting in SingleInstance
2018-04-02 20:23:54 +02:00
Martchus
43b2f9ff22
Allow to disable formatting
2017-10-17 19:47:12 +02:00
Martchus
06f5364335
Use ArgumentParser::parseArgsOrExit()
2017-09-29 17:18:21 +02:00
Martchus
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
Martchus
7b19be01f2
tray: Allow specifying name of initial connection via CLI
...
This includes refactoring TrayWidget::applySettings() which
is now a member function and only affects the current instance.
This prevents applying settings on every instance every time
a new tray widget is created.
To apply settings for all tray widgets, the static function
TrayWidget::applySettingsOnAllInstances() is used instead.
2017-08-09 01:11:47 +02:00
Martchus
732a5fdd8d
Apply clang-format
2017-05-01 03:34:43 +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
Martchus
3c2ce3e82f
Allow launching syncthing-inotify
...
Provide a way to have multiple instances of
the launcher option page controlling separate
processes.
2017-03-17 00:38:42 +01:00
Martchus
45905ca0f7
Don't use organization for settings
2017-02-20 19:41:34 +01:00
Martchus
873660f0a9
Use C++14 std::make_unique
2017-02-11 02:42:45 +01:00
Martchus
924241f65c
Use ENABLE_QT_RESOURCES_OF_STATIC_DEPENDENCIES
2017-02-11 02:42:10 +01:00
Martchus
b2325bf5a0
Allow ignoring Syncthing inavailability after startup
2017-01-14 02:12:38 +01:00
Martchus
bbac12f9e9
Make error polling configurable
2017-01-12 23:41:58 +01:00
Markus Großer
f8ea7cdd51
Fix WebView disabled setting
...
"isabled" -> "disabled"
2017-01-07 16:15:13 +01:00
Martchus
5a3083ebe3
Convert args to UTF-8 under Windows
2017-01-03 00:29:00 +01:00
Martchus
3cadd8cbcb
Improve systemd integration
...
* Allow using systemd unit status to better handle
reconnect attempts to local instance
* Misc adjustments
2016-12-27 16:22:37 +01:00
Martchus
6c99293087
Allow triggering current tray
2016-12-26 19:50:10 +01:00
Martchus
78450a2b7e
Allow controlling Syncthing systemd service
2016-12-26 19:05:47 +01:00
Martchus
203370f933
Allow notifications via D-Bus
2016-12-12 23:45:40 +01:00
Martchus
b5174735ad
Add option for bright custom text colors
2016-11-02 21:05:32 +01:00
Martchus
7149f90821
Refactor settings
2016-11-02 20:03:38 +01:00
Martchus
138a7cc382
Allow auto-reconnect
2016-10-07 15:11:25 +02:00
Martchus
73bb321123
Add translations for backend libs
2016-10-05 23:01:53 +02:00
Martchus
2b3a1137bc
Improve appearance settings
2016-10-03 01:16:47 +02:00
Martchus
a979b5327c
Fix issues in build scripts
2016-10-03 00:41:38 +02:00
Martchus
1f21c2dc52
Add syncthingctl, see README.md
2016-10-02 21:59:28 +02:00
Martchus
6470038fc7
Refactor to allow sharing backend with other apps
...
Intended for creating command line tool and plasmoid
2016-09-30 23:58:45 +02:00