Commit Graph

83 Commits

Author SHA1 Message Date
Martchus 326f03b604 Apply cmake-format 2019-02-06 17:36:14 +01:00
Martchus d803f83d0f Update translations 2018-11-03 21:41:44 +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 ece582db04 Fix visibility of "Show errors" button in plasmoid 2018-10-24 21:35:08 +02: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 dda2c411fb Update translations 2018-10-10 21:18:25 +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 af120f1ae1 Update translations 2018-08-05 15:21:12 +02:00
Martchus 7e09d9b707 plasmoid: Emit event when updating connected devs correctly 2018-08-04 15:47:19 +02:00
Martchus 321d6fdd60 Fix QML warnings regarding use of anchors within layout
'Detected anchors on an item that is managed by a
layout. This is undefined behavior; use Layout.alignment
instead.'
2018-06-30 17:45:03 +02:00
Martchus db4b032179 Show connected device names in additional status 2018-06-27 17:38:22 +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 52740c4cbe Update translations 2018-05-08 00:43:15 +02:00
Martchus 29db8b06b2 Fix dependency versions with GCC 8 2018-05-08 00:38:31 +02:00
Martchus bde3734ea4 Add mocks for testing rejected events 2018-05-02 00:00:47 +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 f9305819a7 Update translations 2018-04-02 21:26:05 +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 8532fbcb57 Specify min. Qt 5 version for fileitemaction and plasmomid 2018-04-01 23:02:14 +02:00
Martchus e9e85e6ba9 Update translations 2018-03-31 22:36:31 +02:00
Martchus d2eb4addd9 Distinguish between local an remote sync in settings 2018-03-31 22:31:28 +02:00
Martchus 419e2971c1 plasmoid: Add context menu for top-level list views
Might be useful to add further actions because the
space for buttons is limited.
2018-03-26 22:56:55 +02:00
Martchus c1efb690ef Update translations 2018-03-24 17:06:47 +01:00
Martchus 84f0f91a24 Show link-time dependencies in about dialog 2018-03-18 18:24:00 +01:00
Martchus 6be44cc93f Allow restart via plasmoid 2018-02-19 01:38:41 +01:00
Martchus 46a8f8b182 Update translations 2018-02-05 21:58:05 +01:00
Martchus ec8c002408 Update README.md 2018-01-28 18:33:48 +01:00
Martchus 23eb446fd5 Fix handling connection status in plasmoid 2018-01-28 18:08:03 +01:00
Martchus 38ac3504b2 Update German translation 2018-01-27 23:38:26 +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 4aa6d4457b Add the plasmoid install script used for development 2018-01-23 10:50:21 +01:00
Martchus af1f38b9eb Remove obsolete translations 2017-12-30 01:00:55 +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 bc239b9292 Update translations 2017-11-01 18:30:32 +01:00
Martchus ad9eddc776 plasmoid: Update status correctly after showing notifications 2017-10-16 19:40:44 +02:00
Martchus 5e3b195b44 Update translations 2017-10-05 00:34:00 +02:00
Martchus 4d242f56c6 plasmoid: Improve displaying detail items 2017-10-05 00:10:18 +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 265e41004f plasmoid: Improve shortcut handling 2017-10-04 00:31:51 +02:00
Martchus c6d21ea3a1 plasmoid: Show start/stop button when systemd available 2017-10-03 23:31:22 +02:00