Commit graph

485 commits

Author SHA1 Message Date
Edward Betts 3b7fd1db60 Bug fix missing GWR date 2023-11-11 00:57:38 +01:00
Edward Betts 25bb52d88d Catch HTTP timeout and return cached data
Closes: #65
2023-11-10 11:59:53 +01:00
Edward Betts f60aab364b Rename us_presidential_election event 2023-11-10 11:49:27 +01:00
Edward Betts 656a5ef897 Remove blank line 2023-11-10 11:49:04 +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 e52dfb7fef Bug fix GWR advance ticket date 2023-11-09 16:50:47 +00: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 5c51751111 Add missing code 2023-11-07 16:56:47 +01:00
Edward Betts ac456ce5be Reorganise code 2023-11-07 16:55:05 +01:00
Edward Betts 943d45bd27 Merge branch 'main' of https://git.4angle.com/edward/agenda 2023-11-06 18:57:05 +00:00
Edward Betts 3760b6ac9e Add time to Backwell bins 2023-11-06 18:57:04 +00:00
Edward Betts 13a959711d Increase TTL and timeout for waste schedule 2023-11-06 18:56:22 +00:00
Edward Betts efbbf3e350 Show individual rail legs as separate events
Closes: #64
2023-11-06 16:59:51 +00:00
Edward Betts 84ea916747 Split UK holiday code into own file 2023-11-06 09:30:51 +00:00
Edward Betts 74e135e9c3 Split stock market open/close code into own file 2023-11-06 09:24:17 +00:00
Edward Betts 2ea79c12d9 Bug fix waste collection HTTP requests 2023-11-06 08:40:22 +00:00
Edward Betts 125eb245e9 Make a start on adding subscriptions 2023-11-05 22:44:50 +00:00
Edward Betts 98ed132430 Look back two weeks in event list 2023-11-05 22:04:23 +00:00
Edward Betts bc31db6143 Make Bristol bin collection code async
Closes: #54
2023-11-05 21:56:18 +00:00
Edward Betts 95bab9a62b Make North Somerset bin collection code async
Closes: #55
2023-11-05 21:46:06 +00:00
Edward Betts bda05d214c Show more bank holidays in the past 2023-11-05 21:30:26 +00:00
Edward Betts c3c1659661 Add docstring 2023-11-05 21:29:59 +00:00
Edward Betts cb7f7536a9 Show economist publication times over the year 2023-11-05 18:01:08 +00:00
Edward Betts 592710a28c Include black friday and cyber monday
Closes: #56
2023-11-05 17:37:48 +00:00
Edward Betts cc47762e9d All clock changes for now-365 to now+365
Closes: #57
2023-11-05 17:13:10 +00:00
Edward Betts 76fdfc6f48 Cache UK bank holidays for six hours 2023-11-05 17:12:28 +00:00
Edward Betts 4f2b9f7fae Bug fix 2023-11-05 15:01:10 +00:00
Edward Betts 5693b2522f Rewrite markets code 2023-11-05 15:00:32 +00:00
Edward Betts cfdb06083b Windmill Markets limit count fix 2023-11-05 14:49:06 +00:00
Edward Betts ac802ab944 Fix permissions 2023-11-05 14:47:59 +00:00
Edward Betts 997af2fde6 Make thespacedevs async 2023-11-05 14:47:17 +00:00
Edward Betts 35ec8008a8 Make get_next_bank_holiday async 2023-11-05 14:44:00 +00:00
Edward Betts 144e8337b8 Start the process of making HTTP requests aync 2023-11-05 14:40:02 +00:00
Edward Betts 0a39c4dbbe Cronjob to check GWR advance ticket date
Closes: #53
2023-11-05 14:09:04 +00:00
Edward Betts 7ccb02d9c5 Increase cache time for GWR advance ticket date 2023-11-05 13:46:07 +00:00
Edward Betts a9c71afb97 Simplify code for accommodation 2023-11-05 13:39:40 +00:00
Edward Betts 2c9b97f0c2 Split conference code into own file 2023-11-05 13:36:42 +00:00
Edward Betts 7104f8eac3 Add year headings to event list 2023-11-05 13:01:35 +00:00
Edward Betts 15c52246b7 Only show 24 months of Nailsea market days 2023-11-05 12:56:24 +00:00
Edward Betts a46661c1b3 Add missing code 2023-11-05 12:55:14 +00:00
Edward Betts 4bde0d8524 Remove code that was commented out 2023-11-05 12:53:01 +00:00
Edward Betts ef45d9c508 Split travel code into own file 2023-11-05 12:52:44 +00:00