syncthing/cmd
Jakob Borg d48e46a29c cmd/syncthing: Allow custom event subscriptions (fixes #1879)
This adds a parameter "events" to the /rest/events endpoint. It should
be a comma separated list of the events the consumer is interested in.
When not given it defaults to the current set of events, so it's
backwards compatible.

The API service then manages subscriptions, creating them as required
for each requested event mask. Old subscriptions are not "garbage
collected" - it's assumed that in normal usage the set of event
subscriptions will be small enough. Possibly lower than before, as we
will not set up the disk event subscription unless it's actually used.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4092
2017-04-13 17:14:34 +00:00
..
stbench all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stcli all: Weed out a few other http urls (ref #3976) 2017-02-09 08:04:16 +01:00
stcompdirs all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stdisco all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stdiscosrv all: Weed out a few other http urls (ref #3976) 2017-02-09 08:04:16 +01:00
stevents all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stfileinfo all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stfinddevice all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stgenfiles all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stindex all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
strelaypoolsrv all: Correct various typos 2017-02-25 08:12:13 +00:00
strelaysrv all: Correct various typos 2017-02-25 08:12:13 +00:00
stsigtool all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stvanity all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stwatchfile all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
syncthing cmd/syncthing: Allow custom event subscriptions (fixes #1879) 2017-04-13 17:14:34 +00:00
todos all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
.gitignore Remove reprecated st* utils 2014-07-01 12:20:25 +02:00