github johanohly/AirTrail v3.4.0

2 days ago

What's Changed

✈︎ 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

🚀 Features

🌟 Enhancements

  • feat: new mobile flight list layout by @johanohly
  • feat: new "Add Flight" modal layout by @johanohly
  • feat: browser back button now closes newest modal by @johanohly
  • feat: show modals as drawers on mobile by @johanohly
  • feat: filter flights by airline by @mhlas7 in #370
  • feat: filter by aircraft type and add filter icons by @mhlas7 in #372
  • feat: statistics by year by @Gaudv in #374
  • feat: add logos of the largest US airlines by @mhlas7 in #378
  • feat: add country by continent stat by @vdusart in #362
  • feat: add user editing by @johanohly

Full Changelog: v3.3.0...v3.4.0

Don't miss a new AirTrail release

NewReleases is sending notifications on new releases.