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
Edward Betts
9506e5e60e
Bug fix missing space launch data
2023-12-09 11:38:34 +00:00
Edward Betts
0465e5eddd
Send error mail to admin
...
Closes : #73
2023-12-07 17:15:58 +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
8cc8e3f9d3
Handle birthdays where the year isn't known
2023-12-01 11:08:45 +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
9ca1a7358f
Use a dataclass to represent conferences
...
Don't add conference location if location is in conference name
Closes : #77
2023-11-26 10:41:25 +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
b654e75cf5
Handle launch["net_precision"] == None
2023-11-25 09:53:04 +00:00
Edward Betts
afd538d362
Add emoji
2023-11-25 09:52:11 +00:00
Edward Betts
a4e226ea03
Add emojis to events
2023-11-23 22:05:53 +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
05453e8f1a
Switch if/elif/else to use pattern matching instead
2023-11-23 21:31:29 +00:00
Edward Betts
44fcf46178
Handle rocket launches with precision set to year
2023-11-23 21:23:29 +00:00
Edward Betts
0a33c069b0
Show future birthdays
2023-11-23 14:27:32 +00:00
Edward Betts
5c3cb47ab5
Add events from meetup.com
...
Closes : #46
2023-11-21 08:15:16 +00:00
Edward Betts
71e9ce4af8
Show economist double issues (weeks 25 and 51)
...
Closes : #62
2023-11-20 07:51:35 -03:00
Edward Betts
0181b9ce66
Split travel YAML parsing into function.
2023-11-19 08:45:34 -03: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
77d2fef43a
Merge branch 'main' of git.4angle.com:edward/agenda
2023-11-12 20:00:03 +01:00
Edward Betts
3d8eadb011
Add domain name renew dates
...
Closes : #49
2023-11-12 19:58:56 +01:00
Edward Betts
cb4b733bbb
Remove unused code
2023-11-12 18:15:09 +00:00
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
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
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