Skip to content

v1.58.1 — operator names, screenshot mode, remember me

Latest

Choose a tag to compare

@maximdr86 maximdr86 released this 14 Aug 00:56
· 9 commits to main since this release

Everything since v1.56.0: readable mobile operator names, a screenshot mode
that hides the real fleet, a "Remember me" tick on the login form, and the
report and device-card work from 1.56.

Screenshot mode

Settings → Screenshot mode. Site and group names, addresses, identities,
client names, MAC addresses, WireGuard keys, the API user and the accounts
in the audit log are replaced with made-up ones. Addresses come from the
ranges reserved for documentation (RFC 5737), MAC addresses are built with
the locally administered bit, so neither can be met in a live network.

The substitution happens over the finished reply, on its way to the browser:
the database is never touched, so there is nothing to forget to switch off
and nothing to repair afterwards. Names are stable, so screenshots of
different pages add up to one coherent picture, and on the English interface
the made-up names are English too.

It is turned on for one browser and lasts 8 hours; everyone else keeps
seeing the real data. While it is on, a pink "demo" badge sits in the menu.
This is a convenience, not a protection: anyone already signed in can turn
it off.

The screenshots in the README are taken from a live 49-router fleet with
this mode on.

Human-readable operator names

The address registry hands back RU-MTU-20060821 and
T2RU-SUBSCRIBER-POOL-NET. The panel now turns those into МТС and Tele2
and shows them as a coloured badge. The mapping lives in
app/operators.json; anything the panel does not recognise is collected in
Settings → Operator names, where you name it once for the whole fleet. Your
own names go to data/operators.local.json and survive an update.

Outside Russia the mapping table is empty, so the owner name is taken from
the registry answer itself: DTAG-DIAL18 gives way to "Deutsche Telekom AG"
recorded in the same record.

Remember me

A tick on the login form. The usual session lives 12 hours, which on your
own workstation means signing in two or three times a day. With the tick it
lasts 30 days, configurable through SESSION_REMEMBER_AGE. The flag is
inside the signed session value, so it cannot be forged in the browser.

Also in this range

  • Reports: export by group and by device, an arbitrary date range, and
    average downtime instead of the total.
  • Device card: the clients behind the router, with scrolling.
  • Search that ignores the case of Cyrillic letters.
  • The rollback deadline is shown in local time, and job parameters have
    proper labels.
  • Fixes: the operator no longer freezes on the first value; a device with a
    live modem no longer reports "no modem" but shows what the router actually
    answered.

Full history: CHANGELOG.md

Upgrading

cd /opt/tikpilot
git pull
docker compose up -d --build

The database migrates itself on start. Nothing to do by hand.