Commit Graph

85 Commits

Author SHA1 Message Date
Martchus aca7f61c84 Prevent trying to rescan paused dirs
* Exclude paused dirs when rescanning all dirs to
  prevent errors
* Disable rescanning particular dir via gui if paused
2017-07-16 21:08:38 +02:00
Martchus fc307f0911 Update translations 2017-07-14 20:21:37 +02:00
Martchus c4ccda93c9 Show global directory errors messages
Previously, only error messages for failed
items have been shown.
2017-07-14 20:14:15 +02:00
Martchus 2aaff8233d Update translations 2017-07-14 17:53:15 +02:00
Martchus 471fb7c363 Fix checking number of expected SSL errors 2017-07-11 23:04:56 +02:00
Martchus f95ad68a3a Link testhelper against connector, remove global includes 2017-07-11 22:53:45 +02:00
Martchus 8f672eef14 connector tests: Remove unused 'this' capture 2017-07-11 19:35:40 +02:00
Martchus e4a382e4e8 Improve connector tests
Region coverage now by 74.4417%
2017-07-09 23:34:43 +02:00
Martchus ac6150d677 connection tests: Increase all timeouts for resuming/pausing
And apply clang-format
2017-07-08 01:17:19 +02:00
Martchus 570c2606f7 connection tests: Increase timeouts for resuming/pausing 2017-07-03 21:56:39 +02:00
Martchus 8fa6da5b9d connection tests: Ensure dirs and devs are ready 2017-07-03 14:07:20 +02:00
Martchus da8f6f7353 Apply tidy 2017-07-02 22:08:30 +02:00
Martchus 55757b1e57 connector: Refactor and improve tests 2017-07-02 21:47:59 +02:00
Martchus 04c9caf7d4 connector: Update raw config after pausing/resuming
It seems like (cached) raw config is not automatically updated
via newConfig() after pausing/resuming a dir/dev. So this is
now done manually.

Additionally, pausing/resuming devs is now also implemented by
posting new config.
2017-07-02 21:47:23 +02:00
Martchus 5d05e9a5df Fix compatibility with Qt < 5.8 2017-06-09 12:16:25 +02:00
Martchus 2845f5883d Fix compiling tests under 32-bit arch 2017-06-01 11:11:38 +02:00
Martchus b2aab9eb16 Show number of connected devs in tool tip 2017-05-30 15:06:34 +02:00
Martchus b2af9fc12d Export meta data for Data namespace 2017-05-11 00:02:20 +02:00
Martchus b1d9df73d1 Apply clang-format 2017-05-04 22:48:45 +02:00
Martchus 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus 16d62bb0c6 Provide default c'tor for registered meta-types 2017-04-23 14:15:03 +02:00
Martchus 01610f5027 Register some enums/structs as Qt meta-type
Reuired when creating a Plasmoid because these
types might be accessed from QML then
2017-04-23 14:02:15 +02:00
Martchus 675c1fb669 Use DateTime::unixEpochStart() 2017-04-19 22:09:47 +02:00
Martchus 40b8713ba6 Move test helper to separate library
Allows to share common test helper code
between tests for different components
2017-04-01 16:56:36 +02:00
Martchus 1168e31f55 cli: Add shortcut for current working directory
syncthingctl pwd status/rescan/resume/pause
2017-03-29 23:17:53 +02:00
Martchus 39b23842a8 Fix reconnecting test 2017-03-20 21:19:47 +01:00
Martchus 58a0282032 Update translations 2017-03-17 00:39:01 +01:00
Martchus 3c2ce3e82f Allow launching syncthing-inotify
Provide a way to have multiple instances of
the launcher option page controlling separate
processes.
2017-03-17 00:38:42 +01:00
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