Commit graph

50 commits

Author SHA1 Message Date
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
Edward Betts cd575afe68 Include stock market holidays as events
Closes: #76
2023-12-23 16:12:49 +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
Edward Betts 9506e5e60e Bug fix missing space launch data 2023-12-09 11:38:34 +00:00
Edward Betts 9ff61c3af8 Use flask config instead of configparser
Closes: #74
2023-12-07 15:52:48 +00:00
Edward Betts 8cf0b982f0 Show 'today' heading at top of today
Closes: #80
2023-12-05 13:59:00 +00:00
Edward Betts c94e98acb1 Highlight today in events list
Closes: #75
2023-12-05 00:04:56 +00:00
Edward Betts d70a18ad82 Add event for Hacker News 'Who is Hiring?'
Closes: #78
2023-12-01 10:35:58 +00:00
Edward Betts 5d5b9016d1 Include launches with unknown time as day events in calendar 2023-11-25 10:08:49 +00:00
Edward Betts a8d36a55b0 Space launches with known dates in the calendar
Closes: #71
2023-11-23 22:05:05 +00:00
Edward Betts 5c3cb47ab5 Add events from meetup.com
Closes: #46
2023-11-21 08:15:16 +00:00
Edward Betts 26aa8a8ad8 Split config loading into separate function 2023-11-19 08:42:39 -03:00
Edward Betts ce9ca7914d gwr_advance_tickets can be None 2023-11-19 08:41:42 -03:00
Edward Betts 3d8eadb011 Add domain name renew dates
Closes: #49
2023-11-12 19:58:56 +01:00
Edward Betts 3b7fd1db60 Bug fix missing GWR date 2023-11-11 00:57:38 +01:00
Edward Betts e5e0fc624b Reorganise code 2023-11-10 11:42:17 +01:00
Edward Betts bcdc8e69b4 Remove markets, now represented in YAML 2023-11-10 01:02:43 +01:00
Edward Betts 495f0b9744 Add support for YAML events with duration 2023-11-10 01:02:22 +01:00
Edward Betts 6a82e3d8f4 Add support for multi-day events in YAML 2023-11-10 00:35:38 +01:00
Edward Betts 1af5d7856f Add support for RRULE for YAML events
Remove code for events that can be represented via RRULE
2023-11-09 17:51:01 +01:00
Edward Betts a5eab7473d Read events from YAML file
Closes: #59
2023-11-08 15:40:07 +01:00
Edward Betts bf5f7f2276 Move Christmas posting days into config file
Closes: #14
2023-11-08 12:48:02 +00:00
Edward Betts a109af2536 Show end of the UK financial year in past 2023-11-08 13:29:40 +01:00
Edward Betts 2fc200c7b2 Show past travel 2023-11-08 12:26:50 +00:00
Edward Betts 0321d9d283 combine UK and US holidays with the same name
Closes: #63
2023-11-08 05:06:04 +01:00
Edward Betts ac456ce5be Reorganise code 2023-11-07 16:55:05 +01:00