aboutsummaryrefslogtreecommitdiff
path: root/lib/GTFS.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use OsPath instead of FilePath in easy casesHEADmainstuebinm48 min.1-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.
* restructure: save a ticket's stop in the databasestuebinm2024-04-241-8/+8
| | | | now mostly independent of the gtfs, but still no live-reloading of it.
* restructure: have "tickets" independent of gtfsstuebinm2024-04-201-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).
* general housekeepingstuebinm2024-04-171-16/+8
| | | | | jumps to GHC2021 as default language, adds in some fields, moves the old org mode glossary to markdown, etc.
* expose the gtfs.zip used in the APIstuebinm2023-05-201-6/+14
|
* better web interface & cssstuebinm2023-01-281-2/+12
|
* stylish-haskell runstuebinm2022-12-121-1/+1
|
* unreasonably stupid and probably unnecessary codestuebinm2022-12-031-0/+6
| | | | (but maybe google will like it)
* always display secondsstuebinm2022-12-031-2/+2
| | | | (this is a hack to make the gtfs rt valid)
* controlroom: show tripShortName instead of tripIdstuebinm2022-11-291-0/+5
| | | | | since the ids really should be internal to the gtfs, and not needed in "normal" contexts.
* respect gtfs start/end datestuebinm2022-11-291-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??
* reasonable delay forecastsstuebinm2022-09-021-18/+18
|
* guess at future delays (horrible, incorrect, and unfinished)stuebinm2022-08-311-7/+27
|
* some config thingyesodstuebinm2022-08-281-22/+26
| | | | | works kinda well, but doesn't complain about unknown config values in json, which is kinda hmpf tbh
* this does way too much tbh (also functioning delays)stuebinm2022-08-281-85/+228
| | | | most of it deals with timezones, and all the weird implications that has
* controlroom: lots of pretty little knobsstuebinm2022-08-271-0/+10
| | | | (also some database schema changes, for good measure)
* better Show instance for Timestuebinm2022-08-141-3/+7
|
* fix an operator precedence bugstuebinm2022-07-171-6/+6
|
* somewhat functioning control roomstuebinm2022-07-111-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!
* barebones webform API & frontendstuebinm2022-07-031-1/+9
|
* more or less functional servicealerts for gtfs rtstuebinm2022-07-021-14/+17
| | | | (kinda barebones, but the important things should be there)
* handle GTFS shapes (& send them out along trips)stuebinm2022-06-191-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.
* foreign keys are a thingstuebinm2022-06-161-3/+3
| | | | | | (and they can be useful, too!) Also, documentation & deleting imports / extensions that aren't used.
* generate OpenAPI docsstuebinm2022-06-101-80/+101
| | | | lots of lenses in this stuff :(
* restructure GTFS typesstuebinm2022-06-061-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!
* better aeson genericsstuebinm2022-06-061-8/+44
| | | | (template haskell doesn't work well with type families, unfortunately)
* basic server setupstuebinm2022-06-051-0/+314