Commit graph

530 commits

Author SHA1 Message Date
Edward Betts 34d1ee3b30 Add photo links to trip and day summaries
Enhance trip UI by adding photo links for authenticated
users. This provides quick access to relevant trip photos.
Closes: #184
2024-10-21 10:20:09 +01:00
Edward Betts 662808b545 Restore trip stats link in trip list 2024-10-21 09:52:21 +01:00
Edward Betts 3c0694de19 🇬🇧 Hide UK flags for all UK trips with show_flags logic 🏴
Implement show_flags property to conditionally display country flags for international trips. Remove unnecessary UK flags on purely UK-based trips. Closes: #183

🔧 Updated templates to use show_flags property.
📝 Adjusted map and trip details to reflect flag changes.
2024-10-19 19:43:48 +01:00
Edward Betts 9ad2ba9462 🔧 Fix: Correct date handling in Trip class
🗓️ Utilize utils.as_date for date conversions in travel checks.

Closes: #181
2024-10-17 12:56:25 +01:00
Edward Betts a1cdf62eef Bug fix trip stats page 2024-10-16 06:36:26 +01:00
Edward Betts 81b0234794 Add map size toggle button to trip list page 2024-10-13 10:39:28 +01:00
Edward Betts 7587c3d3b7 Add map size toggle button to trip page
Closes: #178
2024-10-13 10:12:39 +01:00
Edward Betts aad968a174 Unbooked flight great circle goes to airport (Closes: #179) 2024-10-13 09:39:02 +01:00
Edward Betts 5f13bff9bd Better space launch change email 2024-10-12 14:00:58 +01:00
Edward Betts 237db73b5d No need for the UnknownStation exception 2024-10-02 15:39:22 +01:00
Edward Betts 868c1407b5 Use pattern matching: train/flight/ferry 2024-10-02 15:36:26 +01:00
Edward Betts 7d803e0267 Refactor 2024-10-02 14:12:34 +01:00
Edward Betts 0b23f71aa6 Refactor and add some docstrings. 2024-10-02 10:16:30 +01:00
Edward Betts 8cbfb745c4 Split code into new file stats.py 2024-10-02 09:09:39 +01:00
Edward Betts a324046332 Split 'class Event' into its own file 2024-10-01 11:13:39 +01:00
Edward Betts 02fd6dbbe6 Bug fix train_row macro 2024-10-01 10:43:24 +01:00
Edward Betts d2c6a778e3 Swtich to including future travel in trip stats page 2024-09-25 12:16:42 +01:00
Edward Betts 96ec2b7d89 Catch missing station in train leg
Raise UnknownStation for missing stations in train journey leg.
2024-09-25 12:15:17 +01:00
Edward Betts 488ecf8b71 GWR ticket date mail shows weekends
GWR advance ticket change email now shows Saturdays and Sundays in
addition to Weekdays.

Switched from ISO dates to human readable dates.

Closes: #177
2024-09-23 09:22:20 +01:00
Edward Betts 197f6e5bfd Install location changed 2024-09-23 09:21:13 +01:00
Edward Betts 4b449d0d98 Show space launch weather concerns 2024-09-23 09:21:13 +01:00
Edward Betts 9856a609bd Include probability and weather_concerns 2024-09-23 09:21:13 +01:00
Edward Betts 9f6ed9c372 Validate accommodation YAML 2024-09-23 09:18:35 +01:00
Edward Betts 20e8515bb7 Sometimes the diff includes Python types 2024-09-09 19:16:21 +01:00
Edward Betts 82b2f69005 Fix text wrapping on gaps page 2024-09-02 09:00:37 +01:00
Edward Betts d1d7079056 Add hashtag as a field for conference 2024-08-27 12:49:57 +01:00
Edward Betts cf4508719a Switch tech conference emojii from 🎤 to 🖥️. 2024-08-17 14:40:04 +01:00
Edward Betts 259642ff52 Show current trip on home page 2024-08-11 12:51:06 +02:00
Edward Betts 6e9604e4c1 Use as_date() from utils 2024-08-11 12:51:06 +02:00
Edward Betts cf298f261f Bug fix 2024-08-07 06:26:42 +01:00
Edward Betts 23aa70bb84 Add option to filter launches by orbit 2024-08-05 14:03:37 +02:00
Edward Betts 8032cd2ed4 Increase rocket lanuch limit from 200 to 500 2024-08-05 14:02:45 +02:00
Edward Betts bd129aea5c Bug fix 2024-08-04 16:17:52 +01:00
Edward Betts b5188771be Ignore types in geopy.distance 2024-08-04 09:23:34 +02:00
Edward Betts b9adb3d15e Move timedelta_display() function to agenda.utils 2024-08-04 09:23:13 +02:00
Edward Betts 15c5053e44 Show page render time on events list 2024-08-04 12:01:54 +08:00
Edward Betts 11bc0419b3 Reorder accommodation list 2024-08-04 11:45:13 +08: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 ef695af7af Show year on birthday page 2024-07-15 02:23:13 +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