Commit Graph

1088 Commits

Author SHA1 Message Date
Martchus db65957154 Start a few queries before testing to disconnect 2020-03-05 19:17:42 +01:00
Martchus 6010bf72c9 Stop auto-reconnect timer when disconnecting 2020-03-05 19:16:26 +01:00
Martchus c152152b67 Improve comments in build scripts 2020-03-05 19:04:55 +01:00
Martchus b8f19b5cc1 Improve code to avoid multiple completion requests 2020-03-02 18:20:48 +01:00
Martchus 7ad623d660 Increase the timeout for disconnect in tests 2020-03-02 18:19:47 +01:00
Martchus a744ea642e Remove hash<QString> implementation from settings.cpp 2020-03-02 16:14:53 +01:00
Martchus c797850563 Fix missing QHash include required with older Qt versions 2020-03-02 16:00:16 +01:00
Martchus 28dc0bb825 Fix duplicated 'eventType == ' 2020-03-02 15:51:14 +01:00
Martchus cb0d414018 Use std::unordered_map consistently and support legacy Qt 2020-03-02 15:38:38 +01:00
Martchus 5227a7961e Use queued connection for "other replies"
so the handler is not called while looping through the
list of these replies to abort them. The handler must
not be called in that situation because it mutates the
list.
2020-03-01 23:40:27 +01:00
Martchus 11834f89d4 Stop polling timers when reconnecting/disconnecting 2020-03-01 23:20:30 +01:00
Martchus fb86ee7bf9 Avoid unnecessary completion queries
* Ensure the completion for the same dev/dir is not requested
  twice
* Prevent completion query if (no longer) polling for events
2020-03-01 23:06:02 +01:00
Martchus b8edea29f9 Update translations 2020-03-01 22:06:18 +01:00
Martchus f60c803041 Show needed bytes of remote devices 2020-03-01 22:04:49 +01:00
Martchus bafdb22c47 Compute the sync state for remote devices
See https://github.com/Martchus/syncthingtray/issues/62
2020-03-01 22:04:30 +01:00
Martchus 6921f9aa89 Configure bright colors for recent changes model 2020-02-29 13:17:38 +01:00
Martchus 5a93e5e8dd Update translations 2020-02-18 20:50:53 +01:00
Martchus cd805e83ba Allow using bright custom color in Dolphin menu
to make it look better when using a dark theme
2020-02-18 20:47:55 +01:00
Martchus c103174609 Make desktop files for Plasma integration from template
* Avoid redundant meta-data
* Take target suffix into account
2020-02-14 23:14:50 +01:00
Martchus 153fc24492 Fix color roles of SyncthingRecentChangesModel 2020-02-10 10:47:35 +01:00
Martchus 033745f734 Update libsyncthing to v1.3.4 2020-02-04 11:02:00 +01:00
Martchus 94753de797 Fix start/stop button tooltip for system-wide systemd service 2020-02-02 19:51:16 +01:00
Martchus a9abeea8e3 Apply cmake-format 0.6.8 2020-02-02 19:50:35 +01:00
Martchus 2de3d89d38 Update README.md 2020-02-02 19:50:01 +01:00
Martchus 133dbacb5d Use consistent order for visibility attribute 2020-01-29 18:51:10 +01:00
Martchus c12db6dbfb Update German translation 2020-01-23 20:15:02 +01:00
Martchus 13e0732168 Show context menu on recent changes view 2020-01-23 20:07:11 +01:00
Martchus 0b377c263b Avoid code duplication in settings.cpp 2020-01-23 19:36:20 +01:00
Martchus 677644a17a Apply clang-tidy 2020-01-23 19:35:35 +01:00
Martchus 86e97a0d43 Add tooltips for connection interval settings 2020-01-23 19:16:06 +01:00
Martchus 309ff054a0 Add option to connect automatically on startup 2020-01-23 19:09:51 +01:00
Martchus 287ec5542b Allow setting log level when using libsyncthing 2020-01-20 22:30:42 +01:00
Martchus e832ccf51d Limit number of changes to keep 2020-01-19 19:56:30 +01:00
Martchus f9100bb0b4 Don't record file changes on dir level by default 2020-01-18 16:57:03 +01:00
Martchus dab3fd7e31 Update translations 2020-01-18 16:47:51 +01:00
Martchus 7edaacc677 Apply clang-format 2020-01-18 16:43:13 +01:00
Martchus 10fd09901b Prevent warning in Plasmoid
This line might have done something at some point so let's
not completely remove it for backwards compatibility.
2020-01-18 16:43:13 +01:00
Martchus 6026339c83 Show recent changes 2020-01-18 16:43:13 +01:00
Martchus e76d4afff5 Improve layout of Plasmoid appearance settings page 2020-01-11 21:42:25 +01:00
Martchus addba5a87c Improve layouts of settings pages
Especially prevent certain elements from expanding (the
additional space between the elements looks weird).
2020-01-11 20:53:07 +01:00
Martchus 2d704cf765 Fix missing export macros 2020-01-10 18:01:37 +01:00
Martchus e99c3f4ef7 Update libsyncthing to v1.3.3 2020-01-07 14:44:10 +01:00
Martchus c37c4063b3 Update README.md for systemd changes 2019-12-18 00:41:59 +01:00
Martchus 04b6ff9bf1 Update translations 2019-12-18 00:31:53 +01:00
Martchus 6048fd259e Align systemd buttons in settings more nicely 2019-12-18 00:27:25 +01:00
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 131050b275 Don't use functions deprecated in Qt 5.14.0 2019-12-18 00:07:52 +01:00
Martchus 7c3a9634ae Enable wrapping of longer labels of plasmoid appearance settings 2019-12-15 20:21:51 +01:00
Martchus 34b9881ffe Use QTWEBENGINEWIDGETS_VERSION to decide on Qt WebEngine features
From https://www.freshports.org/deskutils/syncthingtray (tcberner):
"When WebEngine and Core are out of sync as they tend to be for us,
this leads to compilation errors."
2019-12-12 22:38:47 +01:00
Martchus f94db6703b Update libsyncthing to v1.3.2 2019-12-03 13:34:31 +01:00