Commit Graph

286 Commits

Author SHA1 Message Date
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
Martchus d88df866d2 Adapt to c++utilities v5 2019-05-04 21:05:21 +02:00
Martchus 107fad90f0 Allow to use SyncthingStatistics in QML 2019-02-27 20:38:37 +01:00
Martchus 78d4553104 Update translations 2019-02-18 00:41:17 +01:00
Martchus e56c950100 Show overall statistics in plasmoid 2019-02-17 23:46:03 +01:00
Martchus 326f03b604 Apply cmake-format 2019-02-06 17:36:14 +01:00
Martchus a1a9db30f9 Update translations 2019-02-06 17:35:49 +01:00
Martchus dc5f2d99e2 Fix SyncthingConnection::connectLater() 2019-02-06 17:35:21 +01:00
Martchus 2370fe1ef5 Let CMake generate code for test application 2019-01-13 22:16:23 +01:00
Martchus f74dbe2799 Prevent enless connection attempts in connector test
Those are observable on misc OBS builds. This hopefully prevents
perpetual OBS builds and should also allow to actually investigate
what the problem is.
2019-01-13 17:48:39 +01:00
Martchus 028a456c4e Update translations 2018-12-29 20:40:40 +01:00
Martchus 267cbd7dad Document SyncthingConnection::readDevRejected() 2018-12-26 01:14:19 +01:00
Martchus 1156721822 Ensure not to continue reconnecting while still aborting 2018-12-26 01:14:01 +01:00
Martchus 67723bfa27 Set status to disconnected on error due to insufficient config 2018-12-25 02:31:18 +01:00
Martchus c83df582b6 Fix subtile bugs on reconnect
* Ensure previous long polling requests for events are aborted
  before connecting again
* Ensure results from previous requests are always discarded
  after aborting to reconnect
2018-12-25 02:30:13 +01:00
Martchus ad42c24c96 Prevent reading QNetworkReply in error case when not bytes available 2018-12-24 17:35:10 +01:00
Martchus 1d5b90a693 Allow always to change config 2018-12-24 17:19:11 +01:00
Martchus 35903fc996 Simulate flaky syncthing service 2018-12-23 21:28:43 +01:00
Martchus cdd78fb026 Fix typo in code for mocked service configuration 2018-12-23 19:42:17 +01:00
Martchus 6dc521599f Adapt tests to changes in dir error handling 2018-11-03 21:55:31 +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 dcbc19cf8c Adapt mocking to latest changes
* Cover all required requests so the connection can be
  established without errors
* Add more events to test error handling
* Fix definition of LIB_SYNCTHING_CONNECTOR_CONNECTION_MOCKED
  after syncthingconnection.cpp split
2018-11-03 20:44:11 +01:00
Martchus c5d22d8984 Adapt tests to changed SyncthingDir::assignStatus() 2018-11-02 23:39:15 +01:00
Martchus ad57a0ac9f Adapt tests to changed status initialization 2018-11-02 23:38:40 +01:00
Martchus 0cc291ae85 Initialize status of SyncthingDev 2018-11-02 23:37:35 +01:00
Martchus 0ef2bf919a Remove duplicated status recalculation 2018-11-02 22:15:16 +01:00
Martchus 9817be858d Update stateChanged in readDirSummary() 2018-11-02 22:10:18 +01:00
Martchus 038cb130b7 Don't emit notifications for folder errors 2018-11-02 21:49:24 +01:00