aboutsummaryrefslogtreecommitdiff
path: root/lib/GTFS.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-05-20use OsPath instead of FilePath in easy casesstuebinm1-4/+10
this is still far from being supported by most libraries, but does make it possible to remove some uses of String (though most times, there is a conversion back to String later). Note that using the default.nix now only works on nixpkgs-unstable for a bit; using the newer filepath package on stable leads to broken other packages.
2024-04-24restructure: save a ticket's stop in the databasestuebinm1-8/+8
now mostly independent of the gtfs, but still no live-reloading of it.
2024-04-20restructure: have "tickets" independent of gtfsstuebinm1-16/+16
this is mostly meant to guard against the gtfs changing under tracktrain, and not yet complete (e.g. a ticket does not yet save its expected stops, which it probably should).
2024-04-17general housekeepingstuebinm1-16/+8
jumps to GHC2021 as default language, adds in some fields, moves the old org mode glossary to markdown, etc.
2023-05-20expose the gtfs.zip used in the APIstuebinm1-6/+14
2023-01-28better web interface & cssstuebinm1-2/+12
2022-12-12stylish-haskell runstuebinm1-1/+1
2022-12-03unreasonably stupid and probably unnecessary codestuebinm1-0/+6
(but maybe google will like it)
2022-12-03always display secondsstuebinm1-2/+2
(this is a hack to make the gtfs rt valid)
2022-11-29controlroom: show tripShortName instead of tripIdstuebinm1-0/+5
since the ids really should be internal to the gtfs, and not needed in "normal" contexts.
2022-11-29respect gtfs start/end datestuebinm1-1/+4
not only is this a surprisingly stupid bug, i distinctly remember writing these few lines sometime ago … but they're not in the commit history, so i guess they got lost somehow??
2022-09-02reasonable delay forecastsstuebinm1-18/+18
2022-08-31guess at future delays (horrible, incorrect, and unfinished)stuebinm1-7/+27
2022-08-28some config thingyesodstuebinm1-22/+26
works kinda well, but doesn't complain about unknown config values in json, which is kinda hmpf tbh
2022-08-28this does way too much tbh (also functioning delays)stuebinm1-85/+228
most of it deals with timezones, and all the weird implications that has
2022-08-27controlroom: lots of pretty little knobsstuebinm1-0/+10
(also some database schema changes, for good measure)
2022-08-14better Show instance for Timestuebinm1-3/+7
2022-07-17fix an operator precedence bugstuebinm1-6/+6
2022-07-11somewhat functioning control roomstuebinm1-0/+2
tbh i've kinda lost track at what has all been changed in this, but the control room form handling now works, and i can write announcements into the database. Now on to making it do useful things!
2022-07-03barebones webform API & frontendstuebinm1-1/+9
2022-07-02more or less functional servicealerts for gtfs rtstuebinm1-14/+17
(kinda barebones, but the important things should be there)
2022-06-19handle GTFS shapes (& send them out along trips)stuebinm1-10/+60
unfortunately, this makes some responses pretty large. Let's see if it works this way or if i have to find some way to break them up instead.
2022-06-16foreign keys are a thingstuebinm1-3/+3
(and they can be useful, too!) Also, documentation & deleting imports / extensions that aren't used.
2022-06-10generate OpenAPI docsstuebinm1-80/+101
lots of lenses in this stuff :(
2022-06-06restructure GTFS typesstuebinm1-52/+75
unfortunately doesn't quite get rid of all the type family still since it's just too useful … but does reduce it somewhat. Also, maps are much easier for looking things up than vectors!
2022-06-06better aeson genericsstuebinm1-8/+44
(template haskell doesn't work well with type families, unfortunately)
2022-06-05basic server setupstuebinm1-44/+50