Commit graph

285 commits

Author SHA1 Message Date
Edward Betts e7ae7123f6 Rewrite date utils using match/case 2024-07-07 11:50:59 +01:00
Edward Betts a873060949 Move functions out of web_view.py 2024-07-07 11:32:03 +01:00
Edward Betts e814e1b135 Adjust airline YAML format to allow more fields 2024-07-02 14:46:51 +03:00
Edward Betts 1e39e75117 Merge branch 'main' of https://git.4angle.com/edward/agenda 2024-07-02 07:15:23 +01:00
Edward Betts 52810ca676 Fix rocket name 2024-07-02 07:15:19 +01:00
Edward Betts b65d79cb63 Add filters for space launches 2024-07-01 22:29:13 +03:00
Edward Betts c41bcc3304 Catch errors retrieving FX rates and return cached version 2024-07-01 22:29:13 +03:00
Edward Betts 01b42845c3 Move some functions into a utils module 2024-07-01 22:29:13 +03:00
Edward Betts f4557d14e8 Show flight prices on individual trip pages
Closes: #153
2024-06-20 12:40:26 +01:00
Edward Betts 672948ed4d Hide GB from country list unless country
Closes: #162
2024-06-19 22:32:08 +01:00
Edward Betts 2e87d0f120 Consider railway stations for trip countries 2024-06-19 22:27:56 +01:00
Edward Betts fcf935271c Market display filter
Closes: #158

Closes: #150
2024-06-18 06:51:45 +01:00
Edward Betts 895bf7c972 Include airport countries in trip country list 2024-06-17 16:29:19 +01:00
Edward Betts 31cd7e8b97 Include slug in launch summary 2024-06-15 23:01:31 +01:00
Edward Betts e400360697 Send alert emails for particular rocket launches
Closes: #156
2024-06-15 21:35:18 +01:00
Edward Betts 964bbb1162 Split market hiding into function with config flag 2024-06-15 20:35:47 +01:00
Edward Betts 6c76610cdb Add type hints 2024-06-15 20:35:25 +01:00
Edward Betts 733608bc2f Fix spelling 2024-06-02 19:05:04 +01:00
Edward Betts 5de5e22883 Fix docstrings 2024-06-02 19:04:37 +01:00
Edward Betts 537a84ff67 Move flag display to trip list template 2024-05-27 11:10:53 +02:00
Edward Betts 75242c2952 Show end times for travel 2024-05-27 10:57:46 +02:00
Edward Betts cd8dfb74a4 Use defaultdict, not Counter for travel distances 2024-05-27 10:13:24 +02:00
Edward Betts 5758d3f1d0 Add more flags on trip list 2024-05-19 13:33:04 +02:00
Edward Betts 1948ab8ff5 Rewrite TripElement.get_emoji() to use dict lookup 2024-05-19 08:59:27 +02:00
Edward Betts d4dda44768 Add more country flags on the trip list. 2024-05-18 20:29:29 +02:00
Edward Betts 34d7655ace Remove duplicate emoji 2024-05-18 18:02:14 +02:00
Edward Betts 455528125c Improvements to trip list pages 2024-05-18 16:44:18 +02:00
Edward Betts 85ebaf7c84 Show indivudal train legs 2024-05-18 14:23:00 +02:00
Edward Betts 5b2d248955 Use proper arrow in ferry title 2024-05-18 14:22:35 +02:00
Edward Betts f1a472a944 Better airport labels 2024-05-18 14:22:08 +02:00
Edward Betts cd16b857a0 Split trip list into future and past pages
Redo page layout and trip display. Map is now shown on the right.
2024-05-18 12:02:21 +02:00
Edward Betts 3ec7f5c18a Improve duration display 2024-05-16 16:58:07 +02:00
Edward Betts dd59c809e1 Split out busy events code 2024-05-16 16:23:46 +02:00
Edward Betts 7bb6110f45 Split out code for reading events from YAML 2024-05-16 15:21:57 +01:00
Edward Betts 18d8fa6b7c Split out rio_carnival_events function 2024-05-16 15:18:56 +01:00
Edward Betts 78c90b0164 Bug fix ESA detection 2024-05-10 10:16:39 +01:00
Edward Betts c65e60a1f1 Include ferry distances 2024-05-05 14:57:13 +03:00
Edward Betts afa2a2e934 Show ferry routes and terminals on the map 2024-05-01 11:59:21 +03:00
Edward Betts b9b849802d Show ferry bookings in trip list 2024-05-01 08:32:15 +02:00
Edward Betts a5d1290491 Use cached FX rate if fresh rate not available 2024-05-01 08:31:14 +02:00
Edward Betts 6d6e416df3 Adjust travel page to show flights grouped by booking with booking reference and price
Closes: #152
2024-04-20 14:17:32 +01:00
Edward Betts 19732a3ef1 Update to read flights grouped by booking
Closes: #151
2024-04-20 10:23:56 +01:00
Edward Betts 5ab9d93484 Convert prices to GBP and show
Closes: #120
2024-04-20 07:54:29 +01:00
Edward Betts 66ca6c0744 Get more exchange rates 2024-04-18 22:26:04 +01:00
Edward Betts 0fcaf76104 Simplify code 2024-04-17 14:48:18 +01:00
Edward Betts e2afe0ffa4 Show prices for logged in users
Trip prices are visible on trip list, accommodation list,
conference list and travel list.

Prices are hidden if not logged in, except conference prices.

Still need to show prices on individual trip page.
2024-04-17 11:40:13 +01:00
Edward Betts 875f50e684 Fix LUX country code in ESA list 2024-04-16 21:52:30 +01:00
Edward Betts e1688629a3 Trip distance by means of transport: air and rail
Closes: #148
2024-04-16 12:41:00 +01:00
Edward Betts ab60721e15 Move code around a bit 2024-04-16 12:08:14 +01:00
Edward Betts 87aaba64b2 Calculate flight distances 2024-04-06 09:25:32 +02:00