Commit graph

115 commits

Author SHA1 Message Date
Edward Betts 37e74404d5 Add meteor info page
Fixes #164
2025-07-16 12:42:21 +02:00
Edward Betts 2203677146 Trip debug page needs user to be authenticated. 2025-07-16 12:12:47 +02:00
Edward Betts 46091779f0 Format code with black, remove unused import. 2025-07-16 12:12:27 +02:00
Edward Betts 0e2c95117c Add debug page for trip objects
Add /trip/<start>/debug endpoint that displays the complete trip object
data in pretty-printed JSON format with syntax highlighting. Includes
both raw data and computed properties for debugging purposes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 11:25:17 +02:00
Edward Betts af492750cb Add location tracking to weekend page
Weekend page now shows specific location (city and country) for each
Saturday and Sunday based on travel history:

- Analyzes flight arrivals and accommodation check-ins to determine exact location
- Shows "home" when at Bristol, UK
- Shows "City, 🏴 Country" format when traveling
- Handles multi-location trips by finding most recent travel within trip period
- Optimized to parse YAML files once instead of per-date lookup

Closes #191

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 03:59:35 +02:00
Edward Betts f41930f811 Use get_country for Schengen report 2025-07-15 18:12:11 +02:00
Edward Betts f499015466 Adjust weekend page high pithing
Don't highlight a week number when showing weekends for different year.

Example: https://edwardbetts.com/agenda/weekends?year=2100&week=1

Closes: #198
2025-07-15 17:48:44 +02:00
Edward Betts 7f12282c42 Add week and year parameters to weekends page.
Fixes #190
2025-07-15 17:42:47 +02:00
Edward Betts d2c4fa69ee Implement Schengen Area Compliance Report
How many close am I to 90 days in the last 180.

Fixes #193.
2025-07-15 14:43:37 +02:00
Edward Betts 63c7c54bfc Show CO₂ for flights on trip list. 2025-05-26 10:07:37 -05:00
Edward Betts f6fba93a54 Add optional date parameter for weekend. 2025-01-27 08:38:55 +00:00
Edward Betts f5a8676336 Weekend page to show full year.
Highlight current week.
2025-01-24 20:49:16 +01:00
Edward Betts 2f574264e5 Show new badge next to new countries on travel stats page. 2025-01-24 20:19:25 +01:00
Edward Betts c3be926ff7 Current trip summary on index page
Closes: #169
2025-01-11 15:29:07 -06:00
Edward Betts d7b636784d now.date() 2025-01-11 15:18:45 -06: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 9f1f64708f Remove old unused code. 2024-10-31 08:27:40 +00:00
Edward Betts a1cdf62eef Bug fix trip stats page 2024-10-16 06:36:26 +01:00
Edward Betts aad968a174 Unbooked flight great circle goes to airport (Closes: #179) 2024-10-13 09:39:02 +01:00
Edward Betts d2c6a778e3 Swtich to including future travel in trip stats page 2024-09-25 12:16:42 +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 15c5053e44 Show page render time on events list 2024-08-04 12:01:54 +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 19a9015dba Fix typo 2024-07-07 19:20:54 +01:00
Edward Betts a873060949 Move functions out of web_view.py 2024-07-07 11:32:03 +01:00
Edward Betts b65d79cb63 Add filters for space launches 2024-07-01 22:29:13 +03:00
Edward Betts 0e49d18721 Correct spelling mistake 2024-07-01 22:29:13 +03: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 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 882fa52ae5 Move past conferences to separate page
Closes: #157
2024-06-15 20:56:37 +01:00
Edward Betts 4c651198f3 Add birthday list page 2024-06-03 19:30:14 +01:00
Edward Betts 38f2e10c6d Show distances for all past and future trips. 2024-05-27 10:16:03 +02:00
Edward Betts d5a92c9a8e Trip list URL to redirect 2024-05-18 12:46:32 +02:00
Edward Betts 2e1cf0ce84 Show current trip on future trip map 2024-05-18 12:42:41 +02:00
Edward Betts c9fcf1d5e7 Include current trip in future list 2024-05-18 12:14:34 +02:00
Edward Betts cd16b857a0 Split trip list into future and past pages
Redo page layout and trip display. Map is now shown on the right.
2024-05-18 12:02:21 +02:00
Edward Betts dd59c809e1 Split out busy events code 2024-05-16 16:23:46 +02:00
Edward Betts 6d6e416df3 Adjust travel page to show flights grouped by booking with booking reference and price
Closes: #152
2024-04-20 14:17:32 +01:00
Edward Betts 5ab9d93484 Convert prices to GBP and show
Closes: #120
2024-04-20 07:54:29 +01:00
Edward Betts 0fcaf76104 Simplify code 2024-04-17 14:48:18 +01:00
Edward Betts 32e07d4ce4 More code re-use 2024-04-17 14:33:23 +01:00
Edward Betts e2afe0ffa4 Show prices for logged in users
Trip prices are visible on trip list, accommodation list,
conference list and travel list.

Prices are hidden if not logged in, except conference prices.

Still need to show prices on individual trip page.
2024-04-17 11:40:13 +01:00