Commit graph

311 commits

Author SHA1 Message Date
Edward Betts b9adb3d15e Move timedelta_display() function to agenda.utils 2024-08-04 09:23:13 +02:00
Edward Betts 7169d1ba27 Improve support for adding a new currency 2024-08-04 11:44:44 +08:00
Edward Betts fb65b4d6fb Split code out into rocket_launch_events() 2024-08-03 14:58:32 +08:00
Edward Betts 7cdb6903fc Make mypy happier 2024-08-03 14:51:30 +08:00
Edward Betts f423fcdcbe Split up train and flight loading
Reduce complexity of train and flight loading functions by splitting
code out into separate functions.
2024-08-03 14:49:21 +08:00
Edward Betts a130a85a48 Add attendees to Conference dataclass 2024-07-27 19:39:22 +09:00
Edward Betts 9f54c3ac03 rename n_somerset_waste_collection_events function 2024-07-18 14:24:44 +09:00
Edward Betts 5b9a481bb2 move time_function to utils 2024-07-18 14:24:14 +09:00
Edward Betts f63b4d6b08 tell mypy to ignore the lack of types for ephem module 2024-07-18 14:22:55 +09:00
Edward Betts ace517c482 Reorder functions 2024-07-15 03:17:29 +08:00
Edward Betts 28ad4950fd Improve types 2024-07-14 23:12:17 +08:00
Edward Betts 5c4eac60ee Adjust bristol waste function names 2024-07-14 23:10:00 +08:00
Edward Betts 0f3f596cb3 Split waste_schedule.py in two 2024-07-14 22:19:13 +08:00
Edward Betts 17eca6a95a Travel stats to show number of conference stats
Closes: #167
2024-07-10 19:28:56 +01:00
Edward Betts efae1b9b14 Hide GB from countries visited on trip stats 2024-07-10 19:28:07 +01:00
Edward Betts d1898686e9 Catch and ignore space launch API errors 2024-07-09 08:22:33 +01:00
Edward Betts 0c36591e2f Bug fix 2024-07-08 12:01:48 +01:00
Edward Betts 0683c98e6f Refactor 2024-07-08 11:58:12 +01:00
Edward Betts 07cf7dee3c Watch for new upcoming geomob events and announce 2024-07-08 11:49:50 +01:00
Edward Betts ff51bb9ff9 Move send_mail() to own module 2024-07-08 10:44:39 +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 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 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 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 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 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 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 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 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 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 cd8dfb74a4 Use defaultdict, not Counter for travel distances 2024-05-27 10:13:24 +02:00
Edward Betts 5758d3f1d0 Add more flags on trip list 2024-05-19 13:33:04 +02:00
Edward Betts 1948ab8ff5 Rewrite TripElement.get_emoji() to use dict lookup 2024-05-19 08:59:27 +02:00