Commit graph

508 commits

Author SHA1 Message Date
Edward Betts a253f720dd Switch to singulr for navbar 2024-05-18 12:44:23 +02:00
Edward Betts 2e1cf0ce84 Show current trip on future trip map 2024-05-18 12:42:41 +02:00
Edward Betts c9fcf1d5e7 Include current trip in future list 2024-05-18 12:14:34 +02:00
Edward Betts afb96bc855 Bug fix validate_yaml.py 2024-05-18 12:04:28 +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 096e0a371e Adjust overlap of markers 2024-05-06 12:48:06 +03:00
Edward Betts dd82470835 Arrange map markers to overlap less 2024-05-06 11:36:00 +03:00
Edward Betts c65e60a1f1 Include ferry distances 2024-05-05 14:57:13 +03:00
Edward Betts ca7c449410 Add eslintrc.js 2024-05-05 14:56:36 +03:00
Edward Betts 4fa7647584 Add ferry terminal icon 2024-05-01 15:00:24 +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 2b822e28a0 Hide booking reference if not logged in 2024-04-20 14:39:56 +01: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 dbc12adb3d Rewrite update code to use flask app_context() 2024-04-20 07:52:00 +01:00
Edward Betts 66ca6c0744 Get more exchange rates 2024-04-18 22:26:04 +01:00
Edward Betts b0381db3b5 Add docstrings and types 2024-04-18 11:56:51 +01:00
Edward Betts 0fcaf76104 Simplify code 2024-04-17 14:48:18 +01:00
Edward Betts 32e07d4ce4 More code re-use 2024-04-17 14:33:23 +01:00
Edward Betts d28e172a8c Add 'free' badge to conferences 2024-04-17 11:49: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 dbffd60937 Ensure all pages have a title
Closes: #117
2024-04-16 22:01:16 +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 dce8fde29a Update template 2024-04-16 12:12:19 +01:00
Edward Betts ab60721e15 Move code around a bit 2024-04-16 12:08:14 +01:00
Edward Betts b1507702cf Tidy code for conference list 2024-04-08 09:11:22 +02:00
Edward Betts 291b545915 Split accommodation list: past, current, future
Closes: #145
2024-04-08 09:08:57 +02:00
Edward Betts 37be85593b Show distances on trip pages
Closes: #144
2024-04-06 16:13:07 +02:00
Edward Betts eb3be4cb51 Show flight distance 2024-04-06 09:26:09 +02:00
Edward Betts 87aaba64b2 Calculate flight distances 2024-04-06 09:25:32 +02:00
Edward Betts a7296c943b Show trip total distance on trip list page
Closes: #142
2024-04-06 09:24:10 +02:00
Edward Betts fe4bde32ba Include route distances on trips page 2024-04-05 20:17:19 +02:00
Edward Betts b5c1e16901 Less precision for distances 2024-04-05 15:10:43 +01:00
Edward Betts 48549ce009 Bug fix travel template grid layout 2024-04-05 16:00:51 +02:00
Edward Betts 8ef67e0cee Add train route distance info 2024-04-05 15:58:44 +02:00
Edward Betts 5964899a00 Validate YAML to check events 2024-04-05 11:23:29 +02:00
Edward Betts a607f29259 Validate YAML to catch bad train rotues
Closes: #143
2024-04-05 11:21:51 +02:00
Edward Betts e5325a0392 Hide booking URLs on calendar if not logged in 2024-04-02 10:42:06 +01:00
Edward Betts 7208e10cb2 Hide booking URLs if not logged in 2024-04-02 10:37:06 +01:00
Edward Betts ae630a8f68 Show links for train journeys
Closes: #79
2024-04-01 10:36:48 +01:00
Edward Betts f0c28d2440 Download domain info from gandi 2024-03-30 19:32:05 +00:00