Commit graph

155 commits

Author SHA1 Message Date
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 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
Edward Betts f7022c992d Split economist code into own file 2023-11-05 12:48:24 +00:00
Edward Betts aeeeea2041 Show past 12 months of market days on calendar 2023-11-05 12:44:48 +00:00
Edward Betts e8bda4f969 Split birthday code into own file 2023-11-05 12:43:59 +00:00
Edward Betts dae74f0b7c Agenda list to include past events from the previous week 2023-11-05 12:36:05 +00:00
Edward Betts c24a83f161 Split calendar event code into own file 2023-11-05 12:33:32 +00:00
Edward Betts b52a076c5b Split sunrise/sunset code into own file 2023-11-05 12:29:46 +00:00
Edward Betts 7949e16195 Split currency rate code into own file 2023-11-05 12:27:40 +00:00
Edward Betts 583bfcac2e Split market day code into own file 2023-11-05 12:24:11 +00:00
Edward Betts dd5ec4d233 Split GWR advance ticket code into own file 2023-11-05 12:17:28 +00:00
Edward Betts dcfed92b8f Add py.typed 2023-11-05 12:17:01 +00:00
Edward Betts ab83956558 Improve calendar event display 2023-11-03 15:22:53 +00:00
Edward Betts 3acad3649d Add event colours to calendar
Closes: #42
2023-11-01 17:29:47 +00:00
Edward Betts 1acb555f14 Add calendar view via FullCalendar library
Closes: #40
2023-11-01 15:04:13 +00:00
Edward Betts 4ee81de1fd Add Bristol bin days
Closes: #34
2023-10-31 14:03:54 +00:00
Edward Betts 6ac998833c Add sunrise and sunset
Closes: #39
2023-10-29 21:36:57 +00:00
Edward Betts 9a79573e16 Add Nailsea market days
Closes: #37
2023-10-29 16:28:13 +00:00
Edward Betts f4c914a126 Add Tobacco factory market days
Closes: #38
2023-10-29 16:15:53 +00:00
Edward Betts ec1694fc84 Show time and timezone in separate columns 2023-10-29 16:08:17 +00:00
Edward Betts a9cad3c749 Add time to Critical Mass 2023-10-29 15:51:41 +00:00
Edward Betts a93a84adad Refactor 2023-10-29 15:50:30 +00:00
Edward Betts c6bc2f5f72 Add Windmill Hill Market dates
Closes: #36
2023-10-29 15:48:32 +00:00
Edward Betts a9539545fa Add docstring 2023-10-29 15:35:37 +00:00
Edward Betts f866a38add Simplify code for Critical Mass 2023-10-29 15:35:26 +00:00
Edward Betts aaa3d71665 Add Critical Mass: last Friday of every month
Closes: #35
2023-10-29 15:17:24 +00:00
Edward Betts b2b2291664 Add GWR advance ticket availability date
Closes: #33
2023-10-29 14:59:03 +00:00
Edward Betts 4547febe0e Show flight numbers
Closes: #31
2023-10-29 11:40:37 +00:00
Edward Betts 77f15fb1c1 Include links to conferences 2023-10-22 07:46:46 +01:00
Edward Betts 6b6e038b67 Add time to some events 2023-10-21 22:58:44 +01:00
Edward Betts 4874fbb190 Add links to transport or accommodation with a URL
Closes #30
2023-10-21 15:44:49 +01:00
Edward Betts 94c4f47018 Move code around 2023-10-21 15:44:39 +01:00
Edward Betts 3aeb2fe467 Read YAML filepaths from config 2023-10-21 12:08:20 +01:00
Edward Betts 2e785579f3 Show upcoming travel include travel and accommodation
Closes: #15
2023-10-21 11:52:46 +01:00
Edward Betts aafd37ab5a Read birthdays from YAML
Closes: #22
2023-10-21 09:28:58 +01:00
Edward Betts 155181be18 Import dateutil.tz for tzlocal 2023-10-21 09:28:23 +01:00
Edward Betts 83d3b835f4 Group waste schedule events on the same day
Closes: #24
2023-10-11 16:15:58 +01:00
Edward Betts 22291d4f47 Handle spaces launches with 'week' precision 2023-10-10 06:55:23 +01:00
Edward Betts 2483fe8d60 Include waste collection schedule
Closes: #11
2023-10-08 19:53:44 +01:00
Edward Betts 2a12e14e89 delete unused xmas_day event 2023-10-07 11:13:48 +01:00
Edward Betts ae10685399 The Fixed-term Parliaments Act 2011 is no more 2023-10-07 11:12:32 +01:00
Edward Betts 9456228895 Show upcoming conferences
Closes: #2
2023-10-07 10:56:06 +01:00
Edward Betts 8e6c617277 Title case birthday names 2023-10-07 09:19:10 +01:00
Edward Betts 22adb0eeb0 Show more upcoming holidays in the UK and US
Closes: #18
2023-10-07 09:12:27 +01:00
Edward Betts 27a9ed0cf6 Use class instead of dict for events 2023-10-07 09:11:40 +01:00
Edward Betts f18c725221 Add upcoming birthdays
Closes: #1
2023-10-07 08:18:52 +01:00
Edward Betts 48bbd51216 More functions have a date argument 2023-10-06 17:51:28 +01:00
Edward Betts f19a855532 Make more functions take a date argument. 2023-10-06 17:44:56 +01:00
Edward Betts c702dcf7e5 Add next instalment of the Up TV series
Closes: #7
2023-10-05 11:27:09 +01:00
Edward Betts e56cf111e8 Events are sorted by date
Closes: #16
2023-10-05 11:07:01 +01:00
Edward Betts 10bc7d85b5 Show more space launch details. 2023-10-03 14:16:50 +01:00
Edward Betts 6ed9e520ed List rocket launches using new API
Closes: #12
2023-10-03 13:00:23 +01:00
Edward Betts d26e4535bc Add Christmas day
Closes: #4
2023-10-03 11:32:04 +01:00
Edward Betts c1364482fe Add last Christmas posting day
Closes: #5
2023-10-03 09:54:38 +01:00
Edward Betts 760ebc6980 Add end of financial year: 5 April
Closes: #3
2023-10-03 09:46:05 +01:00
Edward Betts 14133f591c Economist summer and Christmas double issues
Closes: #9
2023-10-03 09:27:14 +01:00
Edward Betts b68654e4ac Functions take input_date instead of assuming today 2023-10-03 09:27:03 +01:00
Edward Betts a3f455d1de Add mothers' day and fathers' day
Closes: #8
2023-10-03 09:06:46 +01:00
Edward Betts c6861c7d51 Assert config file exists. 2023-10-03 08:19:34 +01:00
Edward Betts a17f97e953 Remove unused code. 2023-10-03 08:19:19 +01:00