Commit graph

69 commits

Author SHA1 Message Date
Edward Betts 5ab9d93484 Convert prices to GBP and show
Closes: #120
2024-04-20 07:54:29 +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 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 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 eb3be4cb51 Show flight distance 2024-04-06 09:26:09 +02:00
Edward Betts fe4bde32ba Include route distances on trips page 2024-04-05 20:17:19 +02:00
Edward Betts 8ef67e0cee Add train route distance info 2024-04-05 15:58:44 +02:00
Edward Betts d690442f0f Add option for unpublished trips 2024-03-26 14:54:02 +00:00
Edward Betts 1ed6c50ad8 Only show trains with a full departure datetime 2024-03-11 10:46:18 +01:00
Edward Betts 8f749c8e35 Allow unprivileged view
Closes: #101
2024-02-25 09:08:19 +00:00
Edward Betts 5ffb389c53 Add weekend availability view
Closes: #130
2024-02-21 13:06:40 +00:00
Edward Betts f19e4e4dd4 Include UniAuth callback 2024-02-18 22:07:38 +00:00
Edward Betts 8b777e64fc Add page to generate a list of trips as text 2024-01-30 10:35:57 +00:00
Edward Betts 6c1c638104 Gap page to show trips
Closes: #90
Closes: #97
2024-01-23 15:59:09 +00:00
Edward Betts fc36647d49 Switch to UniAuth.auth 2024-01-23 10:49:58 +00:00
Edward Betts 7e51a32210 Trip page to show how many days/weeks/months until trip
Closes #118
2024-01-22 13:12:33 +00:00
Edward Betts 533c7767e8 Merge branch 'main' of https://git.4angle.com/edward/agenda 2024-01-21 15:56:22 +00:00
Edward Betts ac32b4fe89 Bug fix 2024-01-21 15:56:18 +00:00
Edward Betts 2b89ff7ff9 Add authentication via UniAuth 2024-01-21 15:55:31 +00:00
Edward Betts cd60ebdea2 Show days until holiday on holidays page 2024-01-19 20:47:03 +00:00
Edward Betts e16e04ab51 Show more detail on space launch page 2024-01-19 20:35:52 +00:00
Edward Betts 44bf744361 Show holidays in visited countries on trip page
Closes: #112
2024-01-16 18:08:50 +00:00
Edward Betts 3a7784bb25 Show unbooked flights in orange
Closes: #114
2024-01-16 17:11:55 +00:00
Edward Betts 39f9c98a51 Include heathrow airport pin on map for conference without booked flights
Closes: #115
2024-01-16 17:07:59 +00:00
Edward Betts 322b65237d Add holiday page
Page showing holidays in countries of interest, just in English for now.
2024-01-16 12:06:46 +00:00
Edward Betts 283a9d0b27 Link from accommodation list to trip pages
Closes: #109
2024-01-14 17:57:02 +00:00
Edward Betts 31e8197c79 Link from conference list to trip pages 2024-01-14 17:23:50 +00:00
Edward Betts fbee775f5b Next trip and previous trip links on trip pages
Closes: #110
2024-01-14 12:29:39 +00:00
Edward Betts 36b5d38274 Show map of past trips 2024-01-14 12:17:22 +00:00
Edward Betts fab478dc61 Rename trips.html template to trip_list.html 2024-01-14 10:32:52 +00:00
Edward Betts fd34190368 Map of all upcoming travel on trips page
Closes: #107
2024-01-14 10:31:51 +00:00
Edward Betts 4a990a9fe5 Move trip code into separate file 2024-01-14 10:14:05 +00:00
Edward Betts e2fdd1d198 Show rail routes using GeoJSON 2024-01-12 22:29:26 +00:00
Edward Betts 4e719a07ab Show flights and trains in different colours 2024-01-12 19:52:00 +00:00
Edward Betts e993329939 Show lines connecting transport stops on map
Closes: #104
2024-01-12 17:17:12 +00:00
Edward Betts 4b8b1f7556 Show station and airport icons on the map 2024-01-12 16:54:52 +00:00
Edward Betts 0c02d9c899 Include airport pins on the map 2024-01-12 16:20:36 +00:00
Edward Betts 60070d07fd Add maps to trip pages
Closes: #102
2024-01-12 15:04:08 +00:00
Edward Betts a9c9c719a4 Return 404 not found for invalid trip IDs
Closes: #103
2024-01-12 14:08:36 +00:00
Edward Betts 2744f67987 Add pages for individual trips
Closes: #100
2024-01-12 14:04:06 +00:00
Edward Betts ad47f291f8 Add events to trips 2024-01-10 13:27:25 +00:00
Edward Betts fd6d3b674b Split up trips page and sort like conference page
Closes: #94
2024-01-06 09:17:34 +00:00
Edward Betts 21b67bdc64 Show end date for trips 2024-01-05 09:35:56 +00:00
Edward Betts ce9faa654f Add trips page
Creating a new entity called a trip. This will group together any travel
accommodation and conferences that happen together on one trip.

A trip is assumed to start when leaving home and finish when returning
home.

The start date of a trip in is the trip ID. The date is written in ISO
format.

This assumes there cannot be multiple trips one one day. This assumption
might be wrong, for example a morning day trip by rail, then another
trip starts in the afternoon. I can change my choice of using dates as
trip IDs if that happens.

Sometimes during the planning of a trip the start date is unknown. For
now we make up a start date, we can always change it later. If we use
the start date in URLs then the URLs will change. Might need to keep a
file of redirects, or could think of a different style of identifier.

Trip ID have been added to accommodation, conferences, trains and
flights.

Later there will be a trips.yaml with notes about each trip.
2024-01-04 22:56:07 +00:00
Edward Betts 5786e3d575 Make conferences a top-level list 2024-01-04 15:08:12 +00:00
Edward Betts 17036d849f Show country names and flags on conference page 2024-01-03 15:52:24 +00:00
Edward Betts fd46f0a405 Show country names and flags on accommodation page 2024-01-03 11:33:24 +00:00