syncthing/gui/default
André Colomb 30fa462e33
all: Comments and cosmetics (#8218)
* lib/api: Note ItemStarted and ItemFinished for default filtering.

The reasoning why LocalChangeDetected and RemoteChangeDetected events
are not included in the event stream by default (without explicit
filter mask requested) also holds for the ItemStarted and ItemFinished
events.  They should be excluded as well when we start to break the
API compatibility for some reason.

* gui: Enumerate unused event types in the eventService.

Define constants for the unused event types as well, for completeness'
sake.  They are intentionally not handled in the GUI currently.

* cmd/syncthing: Harmonize uppercase CLI argument placeholders.

Use ALL-UPPERCASE and connecting dashes to distinguish argument
placeholders from literal argument options (e.g. "cpu" or "heap" for
profiling).  The dash makes it clear which words form a single
argument and where a new argument starts.

This style is already used for the "syncthing cli debug file" command.

* lib/model: Simplify event data structure.

Using map[string]interface{} is not necessary when all values are
known to be strings.
2022-04-02 20:36:19 +02:00
..
assets gui, man, authors: Update docs, translations, and contributors 2022-03-28 03:50:34 +00:00
syncthing all: Comments and cosmetics (#8218) 2022-04-02 20:36:19 +02:00
vendor gui: Tweak the Restore Versions modal for better usability (#7972) 2022-01-25 23:08:27 +01:00
index.html gui: Allow to translate Twitter footer link (#8212) 2022-03-12 22:44:10 +01:00
modal.html gui: Update to Font Awesome v5 (#4889) 2018-05-24 19:59:32 +01:00