With this feature, you can add arbitrary data fields to flights.
This could be anything from the booking reference, how many frequent flyer points you earned, or the codeshare airline.
This update makes it possible to contribute to the list of airlines and aircraft models that is shipped with AirTrail, along with making it easier to contribute airline icons.
The flight list now shows airline icons if available, and the mobile flight list has been completely redesigned!
AirTrail now provides a growing selection of airline icons (at /static/airlines in the repository). At start-up, AirTrail will download them to a local directory of your choosing, so the icons don't depend on a third-party CDN to load.
You are encouraged to contribute missing airline icons to this repository for everyone to benefit, but of course you also have the ability to add/edit the icons of airlines locally through the Settings -> Data -> Airlines page.
Enabling airline icons
Apart from updating to this version, to enable airline uploads, some configuration changes are required. Namely, configuring the new UPLOAD_LOCATION environment variable to a path that AirTrail has access to.
For Docker users, this would mean the following changes:
# docker-compose.yml
services:
db:
...
airtrail:
...
+ volumes:
+ # Required for file uploads (e.g., airline icons)
+ # The path to the right of the colon needs to match UPLOAD_LOCATION in your .env file
+ - uploads:/app/uploads
volumes:
db_data:
+ uploads:
# .env
ORIGIN=http://localhost:3000
...
+ # File Uploads (optional)
+ ###################################################################################
+ # Path to store uploaded files (e.g., airline icons)
+ # If not set, file uploads will be disabled
+ # For Docker: Use a path inside the container that's mounted to a volume (e.g., /app/uploads)
+ # For local development: Use an absolute path on your system
+ UPLOAD_LOCATION=/app/uploads
At long last! You can now fully manage the list of aircraft and airlines directly inside AirTrail.
Over time it became clear that relying on a fixed, hard-coded list wasnβt sustainable - it required constant maintenance and couldnβt keep up with the variety of aircraft and airlines used around the world. With this release, youβre in control. This was the last major feature gap in AirTrail, making the platform much more complete.
[!WARNING]
This update includes database migrations. While theyβve been tested thoroughly, we recommend exporting your data (Settings -> Export -> .json) before upgrading - just to be safe.
feat: add AeroDataBox as a flight information source by @johanohly in #277
If you configure this data source, you will gain the ability to, just from the flight number, prefill the following information (you can set the departure date or the search will default to the most recent flights)
π Bug fixes
fix: repopulate airport suggestions when input is reopened with prefilled value by @johanohly in #279