Commit Graph

314 Commits

Author SHA1 Message Date
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 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 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 5a93e5e8dd Update translations 2020-02-18 20:50:53 +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 133dbacb5d Use consistent order for visibility attribute 2020-01-29 18:51:10 +01:00
Martchus 309ff054a0 Add option to connect automatically on startup 2020-01-23 19:09:51 +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 6026339c83 Show recent changes 2020-01-18 16:43:13 +01:00
Martchus 2d704cf765 Fix missing export macros 2020-01-10 18:01:37 +01:00
Martchus 04b6ff9bf1 Update translations 2019-12-18 00:31:53 +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 4b5a8efa3e Apply cmake-format v0.6.0 2019-11-30 18:24:19 +01:00
Martchus 6497f74046 Use override in test fixtures 2019-10-13 18:28:32 +02:00
Martchus 38987707bd Update translations 2019-10-09 23:23:02 +02:00
Martchus 1bb4d5fcbf Document status enums 2019-09-27 16:48:58 +02:00
Martchus 31e7e4e79e Support "Waiting to scan"
This state has been introduced
with https://github.com/syncthing/syncthing/pull/4888
2019-09-27 16:41:24 +02:00
Martchus 6243a4c2fd Prepare for "Prepare to Sync"
See https://github.com/syncthing/syncthing/pull/6028
2019-09-27 16:32:54 +02:00
Martchus 6724dfa89a Handle new/unknown dir status better
* Show the raw directory status from the Syncthing API if
  it is an unknown (maybe newly introduced) status value.
* Note that the same does not apply to the device status
  because the device status is only deduced from other
  information.
2019-09-21 16:28:08 +02:00
Martchus cf5faeca51 Apply cmake-format 2019-09-08 18:12:05 +02:00
p-bo cd0e5fee74
Added Czech localization 2019-08-20 22:13:00 +02:00
p-bo 3d2ed26d19
Added Czech localization
Created syncthingconnector_cs_CZ.ts
2019-08-20 20:55:55 +02:00
Martchus bcb81e15b5 Apply clang-format 2019-07-26 22:02:11 +02:00
Martchus bb65a97889 Document SyncthingService 2019-07-25 19:54:37 +02:00
Martchus 7e46096feb Log directory/device list renewal when event logging enabled
This is useful for debugging to track (unnecessary) renewal of those
lists.
2019-07-25 18:27:38 +02:00
Chih-Hsuan Yen a92ec9e546
Add the default config path on macOS 2019-07-18 11:07:37 +08:00
Martchus 4b246d4b4d Improve SyncthingProcess and SyncthingLauncher
* Add documentation
* Remove leftovers
* Ensure all members are initialized
* Improve coding style
2019-07-13 16:42:19 +02:00
Martchus b9e9d76594 Update translations 2019-07-13 13:38:51 +02:00
Martchus c521e2f808 Apply clang-format 2019-07-13 13:21:25 +02:00
Martchus 335913c8ca Fix build without systemd support 2019-07-13 13:21:02 +02:00
Martchus 31bb92da89 Show notifications about launcher errors 2019-07-12 20:25:24 +02:00
Martchus 56e1e98493 Apply cmake-format 2019-06-16 16:58:52 +02:00
Martchus dc7d9b815f Adapt to changes in c++utilities 2019-06-14 19:15:26 +02:00
Martchus 64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
Martchus 657356fcbe Clean syncthingconnectionmockhelpers.h 2019-05-04 22:23:08 +02:00
Martchus 0049d96bca Adapt to c++utilities API changes 2019-05-04 22:18:31 +02:00
Martchus a30853cfeb Apply cmake-format and clang-format 2019-05-04 22:10:37 +02:00