Commit graph

472 commits

Author SHA1 Message Date
Edward Betts 19a9015dba Fix typo 2024-07-07 19:20:54 +01:00
Edward Betts 5e70cbd633 Remove unused import 2024-07-07 13:30:41 +01:00
Edward Betts 8e34ceb458 Refactor 2024-07-07 13:30:27 +01:00
Edward Betts 089f569fd3 Remove unused URL 2024-07-07 13:29:47 +01:00
Edward Betts 4ef47374c2 Refactor bristol waste schedule code 2024-07-07 13:27:00 +01:00
Edward Betts e677082560 Add tests for utility functions 2024-07-07 12:02:21 +01:00
Edward Betts 128d7ac282 Add support for plural/singular time periods 2024-07-07 12:01:56 +01:00
Edward Betts e38e357f63 No need for DateOrDateTime type alias 2024-07-07 12:01:21 +01:00
Edward Betts e7ae7123f6 Rewrite date utils using match/case 2024-07-07 11:50:59 +01:00
Edward Betts a873060949 Move functions out of web_view.py 2024-07-07 11:32:03 +01:00
Edward Betts e66945a825 Refactor validate_yaml.py 2024-07-03 09:54:00 +03:00
Edward Betts e814e1b135 Adjust airline YAML format to allow more fields 2024-07-02 14:46:51 +03:00
Edward Betts 1e39e75117 Merge branch 'main' of https://git.4angle.com/edward/agenda 2024-07-02 07:15:23 +01:00
Edward Betts 52810ca676 Fix rocket name 2024-07-02 07:15:19 +01:00
Edward Betts 4e328d401e No wrap for date in weekend list 2024-07-01 22:29:13 +03:00
Edward Betts b65d79cb63 Add filters for space launches 2024-07-01 22:29:13 +03:00
Edward Betts c41bcc3304 Catch errors retrieving FX rates and return cached version 2024-07-01 22:29:13 +03:00
Edward Betts 01b42845c3 Move some functions into a utils module 2024-07-01 22:29:13 +03:00
Edward Betts 0e49d18721 Correct spelling mistake 2024-07-01 22:29:13 +03:00
Edward Betts b8ed1d5d65 Handle missing space launch 2024-06-26 08:48:58 +01:00
Edward Betts f4557d14e8 Show flight prices on individual trip pages
Closes: #153
2024-06-20 12:40:26 +01:00
Edward Betts 672948ed4d Hide GB from country list unless country
Closes: #162
2024-06-19 22:32:08 +01:00
Edward Betts 2e87d0f120 Consider railway stations for trip countries 2024-06-19 22:27:56 +01:00
Edward Betts b28d5241c6 Add missing calendar template 2024-06-19 22:16:22 +01:00
Edward Betts d91eab02ad Split recent events and calendar into separate pages.
Closes: #140
2024-06-19 22:15:32 +01:00
Edward Betts fcf935271c Market display filter
Closes: #158

Closes: #150
2024-06-18 06:51:45 +01:00
Edward Betts 895bf7c972 Include airport countries in trip country list 2024-06-17 16:29:19 +01:00
Edward Betts 0079f46a80 Improve display of countries on stats page 2024-06-17 16:28:45 +01:00
Edward Betts 40578196bc Show number of flights and trains on travel stats page
Closes: #161
2024-06-17 16:28:14 +01:00
Edward Betts d5bf004912 Add countries visited to trip stats page
Closes: #160
2024-06-17 16:10:07 +01:00
Edward Betts 1e14a99419 Travel stats: distance and price by year and travel type
Closes: #155
2024-06-16 11:31:23 +01:00
Edward Betts 12a2b739e8 Highlight followed space launches
Closes: #159
2024-06-15 23:02:09 +01:00
Edward Betts 31cd7e8b97 Include slug in launch summary 2024-06-15 23:01:31 +01:00
Edward Betts e400360697 Send alert emails for particular rocket launches
Closes: #156
2024-06-15 21:35:18 +01:00
Edward Betts ce07ae65b1 Switch to plurals for navbar labels 2024-06-15 20:57:59 +01:00
Edward Betts 882fa52ae5 Move past conferences to separate page
Closes: #157
2024-06-15 20:56:37 +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 4c651198f3 Add birthday list page 2024-06-03 19:30:14 +01:00
Edward Betts 733608bc2f Fix spelling 2024-06-02 19:05:04 +01:00
Edward Betts 5de5e22883 Fix docstrings 2024-06-02 19:04:37 +01:00
Edward Betts ade6989300 Show links to flight data web sites 2024-06-02 19:01:18 +01:00
Edward Betts 537a84ff67 Move flag display to trip list template 2024-05-27 11:10:53 +02:00
Edward Betts 75242c2952 Show end times for travel 2024-05-27 10:57:46 +02:00
Edward Betts 38f2e10c6d Show distances for all past and future trips. 2024-05-27 10:16:03 +02:00
Edward Betts cd8dfb74a4 Use defaultdict, not Counter for travel distances 2024-05-27 10:13:24 +02:00
Edward Betts f8c523c674 Add format_distance macro 2024-05-27 10:12:58 +02:00
Edward Betts 093000bbc3 Show more detail for flights 2024-05-20 20:56:14 +02:00
Edward Betts 8181dfbe3b Remove unused code from trip list HTML 2024-05-20 18:33:53 +02:00
Edward Betts a96aefe22b Improve trip list template 2024-05-20 18:32:49 +02:00