Commit graph

285 commits

Author SHA1 Message Date
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 8ef67e0cee Add train route distance info 2024-04-05 15:58:44 +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 748ec3a1bc pass gandi domain end date as date 2024-03-30 19:31:48 +00:00
Edward Betts d813bff812 dockbot is optional 2024-03-30 19:31:29 +00:00
Edward Betts 422cd8aa9d Use gandi API to get domain renewal dates
Closes: #134
2024-03-27 17:47:48 +00:00
Edward Betts cff981eb8b Adjust default event duration to be 30 minutes 2024-03-27 16:37:26 +00:00
Edward Betts 826eafbc86 Add UnknownStation Exception 2024-03-27 16:37:26 +00:00
Edward Betts d690442f0f Add option for unpublished trips 2024-03-26 14:54:02 +00:00
Edward Betts 9d691bee40 Fix trip page that crashes when showing Unicode Kosovo flag
Closes: #139
2024-03-12 15:09:53 +00:00
Edward Betts 4ebb08f68e Add command line utility to validate YAML 2024-03-11 15:58:56 +00:00
Edward Betts f1338e5970 Handle rail journeys without specific time 2024-03-11 10:53:55 +01:00
Edward Betts ff15f380fa Consider current trips for free weekends list
Closes: #138
2024-03-05 12:28:34 +01:00
Edward Betts 4ade643de6 Move UPRN and postcode values to config
Closes: #136
2024-03-05 10:07:28 +01:00
Edward Betts 5fdfd9d533 Generate trip titles from railway station names 2024-02-28 15:49:48 +00: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 7a9fbcec7b Catch errors from external service and display in alert box
Closes: #129
2024-02-18 22:36:15 +00:00
Edward Betts b66f852256 Avoid space launches with vague dates in agenda
Closes: #127
2024-02-11 07:42:45 +00:00
Edward Betts f54c9cfbb7 Switch to using cards for trip pay layout
Closes: #125
2024-01-30 11:07:28 +00:00
Edward Betts f3304d0ffe We don't need to show GBPUSD 2024-01-30 10:36:42 +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 6c8e1bf48d Add new conference field 2024-01-25 16:48:31 +00:00
Edward Betts 89ff92c533 Show linked events on trip page
Closes: #124
2024-01-24 12:03:56 +00:00
Edward Betts 6c1c638104 Gap page to show trips
Closes: #90
Closes: #97
2024-01-23 15:59:09 +00:00
Edward Betts d6ebd86232 Add more emojis 2024-01-23 15:57:36 +00:00
Edward Betts f76f9e03da Add trip country_flags method 2024-01-23 15:57:12 +00:00
Edward Betts 6475692db1 Consider accommodation for trip end date 2024-01-23 15:56:23 +00:00
Edward Betts 72e7945fbe Change layout of trip page 2024-01-23 15:55:49 +00:00
Edward Betts fc36647d49 Switch to UniAuth.auth 2024-01-23 10:49:58 +00:00
Edward Betts 5f0d2e884f Add Rio Carnival to agenda 2024-01-22 14:13:02 +00:00
Edward Betts b7d655a21e Conference CFP end dates as events
Closes: #122
2024-01-22 13:04:08 +00:00
Edward Betts cc3dc81bdb Merge branch 'main' of https://git.4angle.com/edward/agenda 2024-01-22 12:46:13 +00:00
Edward Betts bdaad42eba Rename UNIAUTH_URL setting 2024-01-22 12:43:32 +00:00
Edward Betts 389092cbb4 Option to disable auth for testing 2024-01-22 12:43:09 +00:00
Edward Betts d41d53367f Redirect back to agenda after login
Closes: #91
2024-01-21 16:23:46 +00:00
Edward Betts 2b89ff7ff9 Add authentication via UniAuth 2024-01-21 15:55:31 +00:00
Edward Betts 6d65f5045e Ensure space launch JSON can be parsed before saving 2024-01-21 08:07:11 +00:00
Edward Betts 566b09f888 Don't bother with httpx for the space launch API 2024-01-19 21:08:50 +00:00
Edward Betts e16e04ab51 Show more detail on space launch page 2024-01-19 20:35:52 +00:00
Edward Betts e475f98dd6 Use cache for space launch data 2024-01-19 19:53:21 +00:00
Edward Betts ec99289cfa Show conference CFP deadlines
Closes: #105
2024-01-16 20:17:05 +00:00
Edward Betts 6748f8338c Not flying to Belgium 2024-01-16 18:12:48 +00:00
Edward Betts 4b6f4231b7 Bug fix holiday start and end dates 2024-01-16 18:08:11 +00:00
Edward Betts 3a7784bb25 Show unbooked flights in orange
Closes: #114
2024-01-16 17:11:55 +00:00
Edward Betts b33da8485c Include local names on holiday list
Closes: #106
2024-01-16 16:22:04 +00:00
Edward Betts 75d18aed2b Add more emojis 2024-01-16 16:00:41 +00:00
Edward Betts 4638069e51 Move emojis into one place
Closes: #113
2024-01-16 15:32:39 +00:00
Edward Betts 8047cb67fe Bug fix for data from space launch API 2024-01-16 15:05:59 +00:00
Edward Betts 1e9ae2091e Show a geodesic line from LHR to the conference venue if no travel booked
Closes: #111
2024-01-16 12:26:27 +00:00
Edward Betts 69e10db8ef Refactor 2024-01-16 11:35:38 +00:00
Edward Betts 8df94aaafb Code to run from cron to update bank holiday list 2024-01-16 11:12:43 +00:00
Edward Betts 3cb03a787c Add docstring 2024-01-16 11:12:13 +00:00
Edward Betts b061262120 Split code for holidays into separate file 2024-01-16 07:42:44 +00:00
Edward Betts a6a78d18e5 Bug fix conferences can have lat/lon 2024-01-14 21:57:54 +00:00
Edward Betts e6cffdd3d5 Show venue pins on the map
Closes: #108
2024-01-14 21:43:10 +00:00
Edward Betts 1f8d465c6d Show accommodation pins on the map 2024-01-14 21:28:12 +00:00
Edward Betts 36b5d38274 Show map of past trips 2024-01-14 12:17:22 +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 e0735b4185 Refresh space launches from cron because API is slow
Closes: #98
2024-01-14 08:04:05 +00:00
Edward Betts ad47f291f8 Add events to trips 2024-01-10 13:27:25 +00:00
Edward Betts 82de51109f import datetime 2024-01-10 13:06:29 +00:00
Edward Betts 199eb82bce Add refresh option for Bristol waste schedule 2024-01-08 15:45:08 +00:00
Edward Betts 1453c4015c Show timings for index page data gathering 2024-01-08 15:22:16 +00:00
Edward Betts cd0ffb3390 Hide LHG run club when on a trip
Closes: #95
2024-01-08 15:20:48 +00:00
Edward Betts 3d16e30aa8 Try and make mypy happy about types 2024-01-08 15:19:20 +00:00
Edward Betts acbad39df7 Download bank-holidays.json if the local copy is unreadable 2024-01-08 15:18:28 +00:00
Edward Betts 50127417f0 Show trip country list in order visited 2024-01-06 09:21:54 +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 ac1f279cb4 Add Assumption Day to list of standard holidays 2024-01-01 18:13:17 +00:00
Edward Betts f04216c367 Operator can be missing 2024-01-01 18:08:30 +00:00
Edward Betts 29edc20ca4 Party means busy 2024-01-01 09:41:17 +00:00
Edward Betts 80916ae679 Show more future events 2024-01-01 00:43:09 +00:00
Edward Betts 233d4e7fb7 Ignore some events in terms of gap finding 2023-12-31 20:57:54 +00:00
Edward Betts 23d0219252 Hide market days if at a conference 2023-12-30 17:13:46 +00:00
Edward Betts 88f4a9c4ec 1st May is Labour Day 2023-12-29 09:30:14 +00:00
Edward Betts 7c54fdfe09 Show events before and after gaps 2023-12-28 20:32:55 +00:00
Edward Betts 34b78b0ce8 Drop min gap days to 3 2023-12-28 20:12:47 +00:00
Edward Betts 69478e1543 Find gaps that are available between travel
Closes: #86
2023-12-26 23:49:55 +00:00
Edward Betts 3823d33b4f Show Finnish holidays 2023-12-26 23:48:46 +00:00
Edward Betts 2824bc6b98 Add going flag to events 2023-12-26 23:20:31 +00:00
Edward Betts 12092ccb07 Merge branch 'main' of git.4angle.com:edward/agenda 2023-12-26 19:29:19 +00:00
Edward Betts b599d10eb6 Fix for wrong event times during DST
Closes: #87
2023-12-26 19:29:07 +00:00
Edward Betts 04d81d5fc0 Add Brazil to holiday list 2023-12-24 08:31:46 +00:00
Edward Betts cd575afe68 Include stock market holidays as events
Closes: #76
2023-12-23 16:12:49 +00:00
Edward Betts 4ddd65357f Adjust thespacedev API parsing code to handle missing data 2023-12-23 12:41:15 +00:00
Edward Betts 6199c2affd Don't crash when launch service provider is unknown 2023-12-23 11:36:30 +00:00
Edward Betts 697f317c5e Hide market days if I'm going to be abroad at a conference
Closes: #44
2023-12-22 14:47:06 +00:00
Edward Betts aa612b94f0 Improve display of holidays 2023-12-15 12:03:58 +00:00
Edward Betts 796edef75c Merge branch 'main' of git.4angle.com:edward/agenda 2023-12-15 12:01:57 +00:00
Edward Betts 33359c165e Combine more holidays
Closes: #84
2023-12-15 12:01:50 +00:00
Edward Betts 22be45a6a3 holidays language="en_US" 2023-12-14 23:22:53 +00:00
Edward Betts 25eb8fa23e Combine holidays on same for different countries
Closes: #83
2023-12-09 13:51:24 +00:00
Edward Betts 2cc4d553bf Add public holidays for other European countries
Closes: #82
2023-12-09 11:39:37 +00:00