Commit graph

81 commits

Author SHA1 Message Date
Edward Betts 67b1adf956 More support for offline_mode 2024-11-04 09:59:55 +00:00
Edward Betts eaa6369dc9 Add offline mode 2024-10-31 11:13:55 +01:00
Edward Betts a324046332 Split 'class Event' into its own file 2024-10-01 11:13:39 +01:00
Edward Betts fb65b4d6fb Split code out into rocket_launch_events() 2024-08-03 14:58:32 +08:00
Edward Betts 9f54c3ac03 rename n_somerset_waste_collection_events function 2024-07-18 14:24:44 +09:00
Edward Betts 5b9a481bb2 move time_function to utils 2024-07-18 14:24:14 +09:00
Edward Betts 5c4eac60ee Adjust bristol waste function names 2024-07-14 23:10:00 +08:00
Edward Betts 0f3f596cb3 Split waste_schedule.py in two 2024-07-14 22:19:13 +08:00
Edward Betts 5e70cbd633 Remove unused import 2024-07-07 13:30:41 +01:00
Edward Betts 52810ca676 Fix rocket name 2024-07-02 07:15:19 +01:00
Edward Betts fcf935271c Market display filter
Closes: #158

Closes: #150
2024-06-18 06:51:45 +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 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 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 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 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 f3304d0ffe We don't need to show GBPUSD 2024-01-30 10:36:42 +00:00
Edward Betts 6c1c638104 Gap page to show trips
Closes: #90
Closes: #97
2024-01-23 15:59:09 +00:00
Edward Betts 5f0d2e884f Add Rio Carnival to agenda 2024-01-22 14:13:02 +00:00
Edward Betts e475f98dd6 Use cache for space launch data 2024-01-19 19:53:21 +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 69e10db8ef Refactor 2024-01-16 11:35:38 +00:00
Edward Betts b061262120 Split code for holidays into separate file 2024-01-16 07:42:44 +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 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 ac1f279cb4 Add Assumption Day to list of standard holidays 2024-01-01 18:13:17 +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 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