Commit graph

484 commits

Author SHA1 Message Date
Edward Betts b0381db3b5 Add docstrings and types 2024-04-18 11:56:51 +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 d28e172a8c Add 'free' badge to conferences 2024-04-17 11:49:18 +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
Edward Betts dbffd60937 Ensure all pages have a title
Closes: #117
2024-04-16 22:01:16 +01:00
Edward Betts 875f50e684 Fix LUX country code in ESA list 2024-04-16 21:52:30 +01:00
Edward Betts e1688629a3 Trip distance by means of transport: air and rail
Closes: #148
2024-04-16 12:41:00 +01:00
Edward Betts dce8fde29a Update template 2024-04-16 12:12:19 +01:00
Edward Betts ab60721e15 Move code around a bit 2024-04-16 12:08:14 +01:00
Edward Betts b1507702cf Tidy code for conference list 2024-04-08 09:11:22 +02:00
Edward Betts 291b545915 Split accommodation list: past, current, future
Closes: #145
2024-04-08 09:08:57 +02:00
Edward Betts 37be85593b Show distances on trip pages
Closes: #144
2024-04-06 16:13:07 +02:00
Edward Betts eb3be4cb51 Show flight distance 2024-04-06 09:26:09 +02:00
Edward Betts 87aaba64b2 Calculate flight distances 2024-04-06 09:25:32 +02:00
Edward Betts a7296c943b Show trip total distance on trip list page
Closes: #142
2024-04-06 09:24:10 +02:00
Edward Betts fe4bde32ba Include route distances on trips page 2024-04-05 20:17:19 +02:00
Edward Betts b5c1e16901 Less precision for distances 2024-04-05 15:10:43 +01:00
Edward Betts 48549ce009 Bug fix travel template grid layout 2024-04-05 16:00:51 +02:00
Edward Betts 8ef67e0cee Add train route distance info 2024-04-05 15:58:44 +02:00
Edward Betts 5964899a00 Validate YAML to check events 2024-04-05 11:23:29 +02:00
Edward Betts a607f29259 Validate YAML to catch bad train rotues
Closes: #143
2024-04-05 11:21:51 +02:00
Edward Betts e5325a0392 Hide booking URLs on calendar if not logged in 2024-04-02 10:42:06 +01:00
Edward Betts 7208e10cb2 Hide booking URLs if not logged in 2024-04-02 10:37:06 +01:00
Edward Betts ae630a8f68 Show links for train journeys
Closes: #79
2024-04-01 10:36:48 +01:00
Edward Betts f0c28d2440 Download domain info from gandi 2024-03-30 19:32:05 +00:00
Edward Betts 748ec3a1bc pass gandi domain end date as date 2024-03-30 19:31:48 +00:00
Edward Betts d813bff812 dockbot is optional 2024-03-30 19:31:29 +00:00
Edward Betts ebd46a7a21 Add empty index.js for webpack 2024-03-30 10:19:54 +00:00
Edward Betts efc660b0ac Avoid CDN for frontend CSS and Javascript
Closes: #137
2024-03-30 10:18:21 +00:00
Edward Betts 422cd8aa9d Use gandi API to get domain renewal dates
Closes: #134
2024-03-27 17:47:48 +00:00
Edward Betts 1e90df76dd Bug fix 2024-03-27 16:38:22 +00:00
Edward Betts 6018f0217d Make use of CDN optional 2024-03-27 16:37:26 +00:00
Edward Betts cff981eb8b Adjust default event duration to be 30 minutes 2024-03-27 16:37:26 +00:00
Edward Betts 826eafbc86 Add UnknownStation Exception 2024-03-27 16:37:26 +00:00
Edward Betts d690442f0f Add option for unpublished trips 2024-03-26 14:54:02 +00:00
Edward Betts e3cae68d2f Flight arrive can be missing 2024-03-12 15:10:17 +00:00
Edward Betts 9d691bee40 Fix trip page that crashes when showing Unicode Kosovo flag
Closes: #139
2024-03-12 15:09:53 +00:00
Edward Betts 4ebb08f68e Add command line utility to validate YAML 2024-03-11 15:58:56 +00:00
Edward Betts f1338e5970 Handle rail journeys without specific time 2024-03-11 10:53:55 +01:00
Edward Betts 1ed6c50ad8 Only show trains with a full departure datetime 2024-03-11 10:46:18 +01:00
Edward Betts 96ab89b42f No need for emojis for free weekends 2024-03-05 11:29:52 +00:00
Edward Betts ff15f380fa Consider current trips for free weekends list
Closes: #138
2024-03-05 12:28:34 +01:00
Edward Betts a37af733cd Combine cron update scripts into one script
Closes: #135
2024-03-05 10:26:54 +01:00
Edward Betts 4ade643de6 Move UPRN and postcode values to config
Closes: #136
2024-03-05 10:07:28 +01:00
Edward Betts 7d5cfe859a Don't show prices for travel and accommodation if not authenticated 2024-03-05 08:01:17 +01:00
Edward Betts 0e7a4c2386 Fix incorrect docstring 2024-03-05 07:44:12 +01:00
Edward Betts 5fdfd9d533 Generate trip titles from railway station names 2024-02-28 15:49:48 +00:00
Edward Betts 8f749c8e35 Allow unprivileged view
Closes: #101
2024-02-25 09:08:19 +00:00
Edward Betts f3f9ee5bf9 Merge branch 'main' of https://git.4angle.com/edward/agenda 2024-02-21 13:08:59 +00:00