Skip to content

Suggestion plugins

A suggestion plugin is a small HTTPS service that answers one question: what was here? TravStats asks it about a stop from your TravTrack history, and its answer appears in the inbox with the plugin named as the source. A plugin answers, it never writes to TravStats, and nothing is accepted by itself.

Developers: the protocol, signatures and the template are in the plugin guide.

Einstellungen → TravTrack → Erkennung & Vorschläge → Externe Vorschlagsquellen (at most five per account):

  1. Add the address and choose how exactly the plugin may see a stop (the coordinates are rounded: about 1 m, about 100 m, or about 1 km).
  2. TravStats shows a secret once. Put it into the plugin.
  3. Press Testen. The test uses a fixed public square, never your data.

An administrator can switch plugins off for the whole server under Einstellungen → Server → Dienste. An ordinary account needs a public https address; only the administrator may point to a service on the home network.

A stop’s card shows the plugin’s best candidate — name, how sure it is, how far it is from the stop — and Quelle: . You can pick another candidate, open the plugin’s own page for it, or press Neu fragen. When a plugin matched by the name of the venue rather than by distance, the card says so (“Name passt, 780 m”). A plugin that failed is asked again later and the stop waits.

Accepting links the place to the plugin’s reference, so a second visit finds the same place. The place page names the plugin as the source of the visit.

Per plugin you can switch on automatic acceptance. It only acts above the minimum confidence you set, within 300 m and when no other source disagrees; the visit is marked as coming from the plugin, appears in the change history, and has a one-click undo.

A plugin may offer its places as a list. The card has the switch Orte dieses Plugins als Liste führen. The list holds the places of accepted suggestions, with the plugin’s own columns, and does not take visits by itself. Switched off, or with the plugin removed, it stays as an ordinary list that no longer grows. See place lists.

A plugin can also offer to tidy the locations in its own data — for example projects without coordinates or without a street. The plugin’s card then has Standorte pflegen.

  • Each row shows its proposals on a small map, with the evidence and how sure each one is. Andere Adresse searches TravStats’ own place search; clicking the map sets the position by hand.
  • Übernehmen … never writes straight away. A confirmation names exactly what will be written (the coordinates, the street or “street stays”) and says it can be taken back.
  • You can edit a proposal before you confirm it, Ignorieren a row, and Zurücknehmen an applied change (also behind a confirmation). If the entry was edited meanwhile, undo says so instead of overwriting it.

The same work is in the inbox, tab Plugins: Vorschläge und Nachrichten deiner Plugins, with the plugin as filter, sorted by severity (Fehlt, Prüfen, Hinweis), by date or by rows that have a stop suggestion. Jetzt aktualisieren asks again; Stand shows how old the answer is. Writing into the plugin’s data happens only after a per-row confirmation.