Commit graph

549 commits

Author SHA1 Message Date
Edward Betts f6d715e52a Check flight bookings are in chronological order. 2024-12-08 14:12:36 +00:00
Edward Betts 9a204d8526 Send mail with HTML if GWR advance ticket page not parsable 2024-11-18 16:02:17 +00:00
Edward Betts f4fc839926 Move code around 2024-11-13 15:52:02 +01:00
Edward Betts 53f6d05e52 Bug fix to return 404 for unknown trip. 2024-11-13 14:36:49 +00:00
Edward Betts 40bac83790 Remove old unused code. 2024-11-13 14:36:19 +00:00
Edward Betts b3e7070b84 Update tests, function moved. 2024-11-13 14:32:29 +00:00
Edward Betts 7a08c4b56d Adjust size of map on trip page to avoid scrollbar. 2024-11-13 14:32:00 +00:00
Edward Betts 42066f9dde Refactor 2024-11-13 14:31:35 +00:00
Edward Betts 1caf233075 Show airline counts on trip stats page 2024-11-10 21:02:37 +00:00
Edward Betts 6d1b01485a Check for unknown currencies during validation 2024-11-04 10:23:21 +00:00
Edward Betts 67b1adf956 More support for offline_mode 2024-11-04 09:59:55 +00:00
Edward Betts 3c3939c525 Not all stations have UIC, use name instead 2024-10-31 11:29:08 +01:00
Edward Betts eaa6369dc9 Add offline mode 2024-10-31 11:13:55 +01:00
Edward Betts 9f1f64708f Remove old unused code. 2024-10-31 08:27:40 +00:00
Edward Betts 1ce82858ae Avoid empty 'Past' seciton on conference page 2024-10-31 08:26:10 +00:00
Edward Betts 6333587cc2 Add hover text for country flags on space launch page
Closes: #174
2024-10-23 07:10:31 +01:00
Edward Betts 38792a1721 Enhance YAML validation 🛠️: Add airline checks
Closes: #186
2024-10-22 21:19:11 +01:00
Edward Betts aec1d0e140 Tidy accommodation validation 2024-10-22 18:55:57 +01:00
Edward Betts ef624f83dd Enhance conference validation and add MAX_CONF_DAYS
- Add checks for conference start and end dates.
- Set maximum conference duration to 20 days.

Closes: #182
2024-10-21 10:39:49 +01:00
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