Skip to content

Kilo Tracker 1.3.0

Choose a tag to compare

@ramondevries ramondevries released this 28 Oct 19:58
· 23 commits to main since this release

Kilo can now be installed on your phone, and your email address no longer travels readable in the sign-in cookie. Plus two accessibility fixes. No database changes, no new strings; one new requirement.

Changes

  • Install Kilo on your phone. Kilo now has a web app manifest and app icons. On Android, Chrome offers "Install app" / "Add to Home screen"; on an iPhone use Share → "Add to Home Screen". Kilo then opens from its own icon, in its own window without the address bar. The browser bar takes the colour of the header and follows dark mode. Shared public charts are not offered as an app.
  • Your address is encrypted in the sign-in cookie. Kilo stores only a hash of your email address, but the pages need the address itself (the header, printing, the export's file name, the code for removing your data). It lived readable in the signed sign-in cookie; it is now encrypted there, so someone who sees the cookie cannot read it. The "We sent a code to …" notices no longer pass through the cookie either. Nothing changes in what you see, and nobody is signed out.
  • Readable notices. The green and red notices (such as "Signed out." and error messages) now have text dark enough to read in both themes: 5.2:1 and 5.6:1. They were 4.25:1 in the light theme and about 2:1 in dark mode, while WCAG asks for at least 4.5:1.
  • Range buttons for voice control. A screen reader now says the visible label first, then its meaning ("3M, 3 months"), so saying "click 3M" works with voice control (WCAG 2.5.3). Hovering a range button shows "3 months" as a tooltip.
  • A favicon at /favicon.ico. Browsers, bookmarks and feed readers that ask for it get the Kilo icon instead of an error.

Self-hosting

  • New requirement: cryptography, for the encrypted address. The key is derived from SECRET_KEY; there is no new setting.
  • The example logrotate rule (deploy/logrotate/kilo-gunicorn) now covers only /var/log/gunicorn/kilo*.log, so it leaves other apps' logs in that folder alone.

Development

  • The accessibility checks now include axe-core's experimental label-in-name rule, which caught the range buttons.
  • A browser test asks Chromium itself whether Kilo is installable.

Upgrading

No migrations and no new strings. After git pull:

  1. pip install -U -r requirements.txt (installs cryptography);
  2. restart the app.

Afterwards, the About page shows v1.3.0.

Full changelog: v1.2.3...v1.3.0