Commit Graph

142 Commits

Author SHA1 Message Date
Martchus 45b242b91a Simplify CLI code 2018-01-24 23:07:53 +01:00
Martchus cccc73407c cli: Prevent initializing shell completion if not required 2018-01-10 19:50:21 +01:00
Martchus af973f10b2 cli: Disable file completion for API-key and URL 2017-11-22 18:27:40 +01:00
Martchus 43b2f9ff22 Allow to disable formatting 2017-10-17 19:47:12 +02:00
Martchus 2625f7b08b cli: Allow specifying directory (items) by path
However, relative paths can only be matched to Syncthing dirs
for the local instance.
2017-10-16 19:43:38 +02:00
Martchus 312ebd26d2 cli: Support timeout and min. idle time in wait-for-idle
So wait-for-idle is useful even when the status returned
by Syncthing is flaky.
2017-09-30 19:00:36 +02:00
Martchus 3e9e933411 cli: Show directory and device names in shell completion 2017-09-30 18:51:29 +02:00
Martchus ce8c005478 Use at least operator<<(ostream,const Failure&)
if custom error handling is still required.
2017-09-29 17:19:35 +02:00
Martchus ac8cd977cc Improve error and callback handling in CLI 2017-09-26 16:48:47 +02:00
Martchus fd64581029 Find specified operation using new method 2017-09-26 16:48:09 +02:00
Martchus 69ce6fee21 cli: Print newline after request (in error case) 2017-09-26 15:44:07 +02:00
Martchus 044f20343c cli: Use error phrases from c++utilities 2017-09-26 15:43:34 +02:00
Martchus ab613bea18 cli: Add examples 2017-09-17 21:49:09 +02:00
Martchus 18ed981d29 Fix warnings in cli/args.cpp 2017-09-17 20:54:02 +02:00
Martchus 893ae49c49 Show global/local file status in CLI 2017-09-17 20:33:01 +02:00
Martchus 49862f2701 Make GUI everywhere mandatory 2017-09-09 21:30:18 +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 e52a2a6ef6 Improve error handling
Allow viewing request URL and response of internal
errors.
2017-08-20 01:20:47 +02:00
Martchus 6e7873e114 Add Qt Network as public dependency of connector 2017-08-06 00:37:49 +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 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 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus 0278f05023 cli: Use nested operations for pwd 2017-04-06 00:08:24 +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 f5ee751374 cli: Allow rescanning sub dir/file 2017-03-22 21:22:30 +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 eab769b654 Move status strings to connector backend 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 7ec7528173 Fix QString conversion from CLI args 2017-02-01 17:12:56 +01:00
Martchus 55141e8c2c cli: Make global variables static 2017-01-03 00:29:55 +01:00
Martchus 5a3083ebe3 Convert args to UTF-8 under Windows 2017-01-03 00:29:00 +01:00
Martchus b1987443f1 Terminate app appropriately on Bash completion 2016-11-11 12:44:11 +01:00
Martchus ad5e724f44 Add SyncthingDirStatus::Unshared 2016-11-01 16:59:58 +01:00
Martchus 1f796e6039 Add syncthingctl option to wait for dir/dev idle 2016-10-17 23:13:29 +02:00
Martchus 7b2bf981cb Don't link CLI against qtutilities 2016-10-08 19:19:00 +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 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