Commit Graph

257 Commits

Author SHA1 Message Date
Marius Kittler aa5a057aab Fix 'no return' error when building rpm package 2017-03-14 12:39:46 +01:00
Martchus 6c51a470b7 Improve connector tests
Still not sure why reconnecting fails with GCC
2017-03-11 18:07:49 +01:00
Martchus 0868f2cf6a Extend tests of connector library 2017-03-09 23:10:03 +01:00
Martchus a3887749a5 Test SyncthingConnection class 2017-03-09 02:58:13 +01:00
Martchus 02c4c778e5 Update translations 2017-02-23 23:20:45 +01:00
Martchus 8332176bf6 Improve pauseResumeDirectory()
* Use compact JSON
* Don't do anything if no dirs specified
* Note Syncthing issue
2017-02-23 23:12:38 +01:00
Marius Kittler 189a985e23 Support pause/resume directories in CLI 2017-02-23 23:12:38 +01:00
Martchus 16c88daf28 Allow pausing/resuming dirs in backend 2017-02-23 15:57:11 +01:00
Martchus fc13a8f146 Read paused state of directories 2017-02-20 21:00:18 +01:00
Martchus 6ec35fa203 Update translations 2017-02-20 18:42:27 +01:00
Martchus eab769b654 Move status strings to connector backend 2017-02-20 18:42:27 +01:00
Martchus e7c03881f1 Support rescan of single files/dirs 2017-02-20 18:42:27 +01:00
Martchus 8ed032f3d1 Determine Syncthing URL from config in backend 2017-02-20 18:42:27 +01:00
Martchus 71864376a9 Also consider sleep/standby as tolerable interruption
* Only supported when Logind is used
* Extension of b2325bf
* So notifications caused by Syncthing inavailability
  short after start or resume from standby can now be
  suppressed - at least when using Systemd/Logind
2017-01-15 17:32:20 +01:00
Martchus a414c1a43a Add D-Bus interface file for logind 2017-01-14 21:37:42 +01:00
Martchus 3d088948fd Ensure translations for service aren't removed
* Add those files unconditionally
* Add conditions inside the files instead
2017-01-14 21:36:37 +01:00
Martchus b2325bf5a0 Allow ignoring Syncthing inavailability after startup 2017-01-14 02:12:38 +01:00
Martchus 2a5137184a Distinguish unknown traffic from zero traffic 2017-01-14 00:58:24 +01:00
Martchus d923d8efff Don't override error reply when clearing errors 2017-01-13 11:42:01 +01:00
Martchus d1b61ba24a Determine systemd unit activation timestamp 2017-01-13 10:25:50 +01:00
Martchus bbac12f9e9 Make error polling configurable 2017-01-12 23:41:58 +01:00
Martchus ac0492d890 Clear Syncthing errors when considering read 2017-01-12 22:14:23 +01:00
Martchus f03af9c3cb Ensure connect with settings actually connects 2017-01-12 22:09:54 +01:00
Martchus ee59c2b1c4 Prevent disconnect notification when stopping Syncthing manually 2017-01-10 23:49:34 +01:00
Martchus f5788b688d Add German translation 2017-01-07 16:30:57 +01:00
Martchus aa6fd0520e Make c'tor explicit 2017-01-06 15:19:37 +01:00
Martchus 40348da1a7 Fix condition for systemd support 2017-01-03 00:34:48 +01:00
Martchus edba991d89 Don't show start/stop button when feature disabled 2017-01-03 00:29:15 +01:00
Martchus b06c975228 Update translations 2017-01-01 19:42:07 +01:00
Martchus 7755e97c5f Only reconnect when relevant settings changed 2017-01-01 19:19:16 +01:00
Martchus 3cadd8cbcb Improve systemd integration
* Allow using systemd unit status to better handle
  reconnect attempts to local instance
* Misc adjustments
2016-12-27 16:22:37 +01:00
Martchus 78450a2b7e Allow controlling Syncthing systemd service 2016-12-26 19:05:47 +01:00
Martchus 76ccd5fd1f Update translations 2016-12-13 21:36:05 +01:00
Martchus 2b75f1f3e5 Don't show error for each re-connect attempt 2016-12-12 23:45:40 +01:00
Martchus d3bde05ccd Update icon when new notifications shown 2016-12-03 01:00:04 +01:00
Martchus 7093f735ed Update translations 2016-11-26 12:49:48 +01:00
Martchus 18a3a3f0ea Declare public dependencies 2016-11-08 20:00:20 +01:00
Martchus 992617ccc3 Show relevant dirs when sync complete 2016-11-08 19:44:45 +01:00
Martchus 9e8a92c0ff Process 'ConfigSaved' events 2016-11-01 17:06:31 +01:00
Martchus ad5e724f44 Add SyncthingDirStatus::Unshared 2016-11-01 16:59:58 +01:00
Martchus 98dcfdd609 Specify Breeze being used for fallback icons 2016-11-01 14:07:36 +01:00
Martchus b1a2248a6c Ensure dev status is not reverted 2016-10-30 19:13:18 +01:00
Martchus ba3db70604 Fix reading high traffic values 2016-10-20 23:14:47 +02:00
Martchus 773e90aa1f Update translations 2016-10-17 23:13:40 +02:00
Martchus 138a7cc382 Allow auto-reconnect 2016-10-07 15:11:25 +02:00
Martchus ae325e0a6f Move test data to model
Each subdir should have its own test data
2016-10-06 23:39:56 +02:00
Martchus 73bb321123 Add translations for backend libs 2016-10-05 23:01:53 +02:00
Martchus 9b92b72bfd Improve handling folder errors 2016-10-05 22:33:10 +02:00
Martchus 7b0dd785c2 Improve detecting remote connection in loadSelfSignedCertificate() 2016-10-05 21:08:28 +02:00
Martchus dd8e443c15 Move SyncthingDev and SyncthingDir to extra files 2016-10-04 23:55:20 +02:00
Martchus 9fa2a028e8 Show out of sync directory state 2016-10-04 23:42:17 +02:00
Martchus 0a0aa9742c Don't emit statusChanged when destroying SyncthingConnection 2016-10-03 01:16:04 +02:00
Martchus a979b5327c Fix issues in build scripts 2016-10-03 00:41:38 +02:00
Martchus d03b8d8a74 Fix status error message 2016-10-02 22:26:12 +02:00
Martchus f82ed3ba47 Allow shutdown via CLI 2016-10-02 22:16:43 +02:00
Martchus 1f21c2dc52 Add syncthingctl, see README.md 2016-10-02 21:59:28 +02:00
Martchus 6470038fc7 Refactor to allow sharing backend with other apps
Intended for creating command line tool and plasmoid
2016-09-30 23:58:45 +02:00