Skip to content

Releases

MILE 0.5.2

Choose a tag to compare

@GabrieleMenghi GabrieleMenghi released this 14 Oct 13:15

Fixes

  • The winter tyre deadline no longer says winter tyres are always required from 15 November to 15 April: that period is binding only where a local ordinance imposes it, and the text under the deadline now says so. The dates MILE computes don't change.

Documentation

  • Screenshots at the top of the README.
  • TrueNAS: the container is named ix-<app name>-mile-1, so check the version with sudo docker exec ix-<app name>-mile-1 /mile version, or in Settings › About.
  • Permissions: MILE creates its files readable by its own user only (0600), but on a dataset with ACLs, such as a TrueNAS dataset made with the Apps preset, the ACL inherited from the dataset decides instead.
  • Issue templates for bugs, ideas and wrong or missing deadline rules.

Images

ghcr.io/mile-garage/mile:0.5.2 and gabrielemenghi/mile:0.5.2, for linux/amd64 and linux/arm64.

MILE 0.5.1

Choose a tag to compare

@GabrieleMenghi GabrieleMenghi released this 14 Oct 09:20

Improvements

  • On phones, the sheets (the + menu and the forms) close by dragging their handle or title down, besides tapping outside or the ×. A short drag slides the sheet back; past a third of its height, or with a quick flick, it closes. Inside the + menu, dragging a form down goes back to the menu.

Documentation

  • New Upgrading section in the README. On TrueNAS, pull the image from the registry your app uses (GitHub or Docker Hub are separate), then recreate the container with Edit › Save: Stop and Start keep the old image.

Upgrading from 0.4? Read the 0.5.0 notes first.

Images

ghcr.io/mile-garage/mile:0.5.1 and gabrielemenghi/mile:0.5.1, for linux/amd64 and linux/arm64.

MILE 0.5.0

Choose a tag to compare

@GabrieleMenghi GabrieleMenghi released this 14 Oct 08:55

⚠️ Before upgrading: login with OpenID Connect

MILE_OIDC_AUTO_REGISTER is now false by default. Only users who already exist in MILE and have linked their account can log in with Authentik (or another provider); the first login on a new installation still creates the administrator.

If you relied on MILE creating users at their first SSO login, add MILE_OIDC_AUTO_REGISTER: "true" to your compose file, and limit who can open the application in your identity provider.

New look

  • Colours from the logo (petrol green and road yellow), Barlow fonts kept for offline use
  • Phones: bottom bar with a central + to log a refuel, a service, an expense, the km or a reminder. Desktop: a sidebar with your vehicles
  • Home: the next deadline highlighted, then the ones in the next 3 months and later
  • Vehicle page with four tabs (Status, Log, Tyres, Documents); edit, import and export in the ⋯ menu
  • Shorter forms: secondary fields behind a toggle, opened automatically when they hold something
  • Expenses page with the last 12 months, costs by category and by vehicle

Fixes

  • Reminders are marked done with their own button, never by tapping the row
  • Numbers always show thousands separators (7.400 km, 2.387,60 €)
  • The sidebar updates at once when a vehicle is added, renamed, archived or deleted
  • The archived vehicles' expenses can be viewed again

Security

  • Logins are throttled: after 5 wrong passwords in a minute that username is refused for a minute
  • Sessions opened with OpenID Connect last 30 days, so a user disabled in the provider loses access
  • Session cookies are always Secure when MILE_BASE_URL starts with https://
  • Database, backups and attachments are readable by MILE's user only (0600). Files from older versions are fixed at the first start. To copy backups through an SMB share, do it as that user
  • Content-Security-Policy on the app; attachments are no longer kept in the browser cache
  • ntfy: no redirects, and only ntfy's own error messages are shown
  • Concurrent setups can no longer create two administrators

Images

ghcr.io/mile-garage/mile:0.5.0 and gabrielemenghi/mile:0.5.0, for linux/amd64 and linux/arm64.

Note (0.5.2): on datasets with ACLs, such as TrueNAS datasets made with the Apps preset, the ACL inherited from the dataset decides the permissions instead of 0600. See the README.