Commit Graph

40 Commits

Author SHA1 Message Date
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 900377b036 Stop web view immediately if in background and user disables this 2018-10-28 14:27:25 +01:00
Martchus 98a6b77013 Use right status in SyncthingApplet::handleConnectionStatusChanged() 2018-10-10 23:37:24 +02:00
Martchus 533a5d0939 Use override 2018-10-10 21:26:46 +02:00
Martchus 8173cc99e8 Move ChecklistModel (de)serialization to qtutilities 2018-10-10 21:00:13 +02:00
Martchus 87a10c5b33 Allow hiding Plasma applet in certain states
See https://github.com/Martchus/syncthingtray/issues/23
2018-10-10 17:48:48 +02:00
Martchus 587cce4216 Fix plasmoid build error when configured without web view
See https://github.com/Martchus/syncthingtray/issues/19
2018-08-24 15:34:36 +02:00
Martchus 7e09d9b707 plasmoid: Emit event when updating connected devs correctly 2018-08-04 15:47:19 +02:00
Martchus e7d365f849 Initialize SyncthingNotifier correctly in Plasmoid 2018-05-15 22:27:54 +02:00
Martchus 49b33e5afe Ensure errors on first connection after startup are handled 2018-05-15 22:01:03 +02:00
Martchus 9ce8c593a2 Require qtutilities 5.10.0 for AboutDialog overload 2018-05-08 19:20:05 +02:00
Martchus 29db8b06b2 Fix dependency versions with GCC 8 2018-05-08 00:38:31 +02:00
Martchus 988765f2ba Show new dev/dir notifications in usual tray icon and Plasmoid 2018-05-01 22:27:03 +02:00
Martchus 2b1c993a64 Handle systemd service state change in Plasmoid
Previously only the initial service state was considered.
After refactoring the SyncthingService initialization the
state is not known when the Plasmoid is initialized so
this limitation became obvious and had to be fixed.
2018-04-12 23:16:51 +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 d2eb4addd9 Distinguish between local an remote sync in settings 2018-03-31 22:31:28 +02:00
Martchus 84f0f91a24 Show link-time dependencies in about dialog 2018-03-18 18:24:00 +01:00
Martchus 23eb446fd5 Fix handling connection status in plasmoid 2018-01-28 18:08:03 +01:00
Martchus c9039ff6aa Ensure webview defs are present 2018-01-27 23:34:36 +01:00
Martchus 79fe97d952 Refactor notifications
* Use SyncthingNotifier class
* Show 'Sync complete' on FolderCompletion event
* Add extra structure for stats
2018-01-27 23:27:50 +01:00
Martchus 404f517b4c Refactor composing "sync complete string"
to prevent code duplication between regular tray
icon and plasmoid.
2017-12-30 00:57:35 +01:00
Martchus ad9eddc776 plasmoid: Update status correctly after showing notifications 2017-10-16 19:40:44 +02:00
Martchus ea96c64563 Update number of connected devices correctly
Computing the number of connected devices on overall
connection status changed event is not sufficient.
2017-10-05 00:08:46 +02:00
Martchus eb298d4e4f plasmoid: Improve note about instance specific settings 2017-10-03 16:58:50 +02:00
Martchus 616bcdc497 plasmoid: Allow showing new notifications via button 2017-10-01 21:42:26 +02:00
Martchus 20eae7fb2c plasmoid: Add context menu to copy value 2017-10-01 17:51:53 +02:00
Martchus 60a322cb4e Get rid of no longer necessary hasBeenShown() checks 2017-09-27 00:21:53 +02:00
Martchus f7d5894f94 Improve appearance option page of Plasmoid 2017-09-20 17:42:51 +02:00
Martchus 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
Martchus 08373aea7b plasmoid: Trigger saving settings in handler 2017-09-17 21:49:51 +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 d3b1da2def plasmoid: Customize buttons
* Use less space
* Fix iconSource when menu present
2017-09-12 00:00:31 +02:00
Martchus ee5c38dd7d Make option pages configurable for different GUI types 2017-09-11 23:47:46 +02:00
Martchus ccfe0e160e Improve plasmoid: most features implemented now 2017-09-09 21:40:00 +02:00
Martchus ceb1d87398 plasmoid: Fix check for D-Bus support in qtutilities
The property COMPILE_DEFINITIONS is not available when
using qtutilities as imported target so INTERFACE_COMPILE_DEFINITIONS
must be used instead.
2017-09-09 15:39:39 +02:00
Martchus db1063d5a0 Improve plasmoid
Now implemented:
* Downloads
* Directory errors
* Systemd integrations
* Multiple connection configurations
2017-09-08 17:01:52 +02:00
Martchus f9b6441a8e Add Plasmoid (still experimental and incomplete) 2017-08-30 00:04:35 +02:00