Commit Graph

809 Commits

Author SHA1 Message Date
Martchus 6b01e42fe4 Fix parsing time from folder summary 2017-08-30 00:01:34 +02:00
Martchus 6c6d7f00d5 Emit status update on each dir status change 2017-08-24 01:52:07 +02:00
Martchus af8327ece0 Show global and local dir status 2017-08-24 01:52:07 +02:00
Martchus 85ac283455 Consider event time when reading FolderSummary 2017-08-23 23:57:47 +02:00
Martchus 4136e23148 Get current dir status when connecting 2017-08-23 23:56:31 +02:00
Martchus ab2efb7012 Distinguish between requestDirStatistics and requestDirStatus 2017-08-23 23:55:19 +02:00
Martchus 91f7dc38d3 Fix HTTP method for "db/status" 2017-08-23 23:54:07 +02:00
Martchus ca256b62e8 Refactor SyncthingConnection
* Reduce if-cascades
* Add extra method for handling fatal errors
* Read directory summary in extra method
* Allow requesting summary for directory explicitely
2017-08-23 00:22:02 +02:00
Martchus be6d0cbf5d Don't show own dev in shared devs of dir 2017-08-22 20:44:49 +02:00
Martchus 9b45c49b97 Show names for the devs a dir is shared with
(previously only the IDs were shown)
2017-08-22 19:45:07 +02:00
Martchus 3ff4f69180 Remove leftover from testing 2017-08-21 21:46:50 +02:00
Martchus ed1b13d43e Fix rescanning part of connection tests 2017-08-21 01:01:20 +02:00
Martchus cc6fec91c1 Dump config during connection tests only when enabled
by setting environment variable SYNCTHING_TEST_DUMP_CONFIG_UPDATES
2017-08-21 01:00:41 +02:00
Martchus 89abe204c1 Log internal errors to console 2017-08-20 01:57:56 +02:00
Martchus a0d6c6b53d Update translations 2017-08-20 01:26:19 +02:00
Martchus 96d9d6a8dd Fix reconnect notification label 2017-08-20 01:21:03 +02:00
Martchus e52a2a6ef6 Improve error handling
Allow viewing request URL and response of internal
errors.
2017-08-20 01:20:47 +02:00
Martchus c8b68bc7c7 Fix compilation after latest changes when systemd disabled 2017-08-11 21:13:47 +02:00
Martchus 7b19be01f2 tray: Allow specifying name of initial connection via CLI
This includes refactoring TrayWidget::applySettings() which
is now a member function and only affects the current instance.

This prevents applying settings on every instance every time
a new tray widget is created.

To apply settings for all tray widgets, the static function
TrayWidget::applySettingsOnAllInstances() is used instead.
2017-08-09 01:11:47 +02:00
Martchus c843548baa Disable systemd support by default under MacOS 2017-08-06 00:38:30 +02:00
Martchus 6e7873e114 Add Qt Network as public dependency of connector 2017-08-06 00:37:49 +02:00
Martchus eafc65ec2b Remove obsolete translations 2017-08-01 10:45:50 +02:00
Martchus edc3a61545 Update translations 2017-08-01 08:42:20 +02:00
Martchus b2780568b4 Allow deletion of non-empty dirs
It is a common error that dirs can not be removed
because they still contain ignored items. Usually
I want to get rid of them nevertheless. This change
allows to remove all non-empty Syncthing can not
remove via the tray.
2017-08-01 00:28:51 +02:00
Martchus b604f52acb Improve README.md 2017-07-31 23:51:26 +02:00
Martchus f38619c35c Disable KIO under Android, Windows, MacOS by default 2017-07-20 00:02:05 +02:00
Martchus 4a54551bf4 Improve build instructions 2017-07-19 23:53:36 +02:00
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 c78fec4151 cli: Don't show negative values
For none of the numeric properties a negative value
makes sense. Negative values can be considered
as 'no value present'.
2017-07-14 20:11:22 +02:00
Martchus 9fb1e918de Bump version to 0.6.2 2017-07-14 17:54:24 +02:00
Martchus 2aaff8233d Update translations 2017-07-14 17:53:15 +02:00
Martchus 1ed4905139 tests: Allow specifying timeout factor
The timeout factor is read from environment
variable SYNCTHING_TEST_TIMEOUT_FACTOR
2017-07-14 16:23:32 +02:00
Martchus 471fb7c363 Fix checking number of expected SSL errors 2017-07-11 23:04:56 +02:00
Martchus 2c3ad1d932 test helper: Fix including syncthingprocess.h 2017-07-11 22:57:35 +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 633ed0eaab widgets lib: Use meta-data of tray 2017-07-08 01:31:41 +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 0949ebae68 tray widget: Fix incorrect icon path 2017-07-02 21:55:41 +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