aboutsummaryrefslogtreecommitdiff
path: root/tracktrain.cabal (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-05-02changelog for 0.0.2stuebinm1-1/+1
this is the initial version used during 2024's Ilztalbahn season.
2024-05-02restructure: get the tracker to work againstuebinm1-0/+1
This should hopefully be the final (major) part of the restructuring: a tracker no longer has to know which trip it is on (and indeed it has no idea for now), instead the server keeps state about which trips are currently running and will insert incoming pings in a hopefully reasonable manner, based on their geoposition & time. There's lots of associated TODO items here (especially there should be manual overrides for all this logic in the web ui), but that's work for a future me. (incidentally, this also adds support for sending all log messages out via ntfy-sh)
2024-04-24restructure: save a ticket's stop in the databasestuebinm1-0/+1
now mostly independent of the gtfs, but still no live-reloading of it.
2024-04-20restructure: have "tickets" independent of gtfsstuebinm1-0/+1
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/+7
jumps to GHC2021 as default language, adds in some fields, moves the old org mode glossary to markdown, etc.
2024-04-17replace protocol-buffers with proto-lensstuebinm1-51/+16
I do not really like either option, but at least the second one seems more likely to be maintained (and a little less clunky to use, too, for what it's worth).
2023-01-22switch to ghc 9.0.2stuebinm1-16/+5
this makes the nix builds /much/ nicer
2023-01-22oauth2 via uffdstuebinm1-1/+7
this is unfortunately uffd-specific, since oauth2 is apparently sort of a vague standard. But since it doesn't actually do much it should probably be possible to make it fully configurable & generic if needed.
2022-12-07cabal: set minimum warp version to make conferer-warp buildstuebinm1-1/+1
2022-11-23use the threaded rtsstuebinm1-0/+1
(apparently i didn't do that yet???)
2022-10-16simple prometheus metricsstuebinm1-0/+3
2022-09-11correct the generated openapi descriptionstuebinm1-0/+1
2022-09-02fix the nix buildstuebinm1-2/+2
2022-08-28some config thingyesodstuebinm1-0/+8
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-0/+3
most of it deals with timezones, and all the weird implications that has
2022-08-26controlroom: some stylingstuebinm1-0/+2
2022-08-14ControlRoom: default layoutstuebinm1-0/+1
2022-08-14control room: translations & form inputstuebinm1-0/+1
still basic, but works pretty well overall
2022-08-14controlroom: replace servant/lucid with yesodstuebinm1-3/+2
aka use something meant for webapps to write the webapp
2022-07-11somewhat functioning control roomstuebinm1-0/+1
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-07generic html forms for ADTsstuebinm1-0/+1
this does some GHC generics witchery, now in its own module!
2022-07-03barebones webform API & frontendstuebinm1-0/+4
2022-07-02websockets and better (empty) response messagesstuebinm1-0/+2
(tough mostly untested)
2022-07-02better module namesstuebinm1-1/+1
2022-07-02more or less functional servicealerts for gtfs rtstuebinm1-2/+3
(kinda barebones, but the important things should be there)
2022-07-02gtfs realtime proof of conceptstuebinm1-0/+48
this adds a package for protobuf stuff, generated via hprotoc. Seems to work kinda fine? (the generated API is horrible though, will have to write some wrappers for that)
2022-06-19handle GTFS shapes (& send them out along trips)stuebinm1-0/+1
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-18make connstring configurable at runtimestuebinm1-0/+0
2022-06-17generate javascript functionsstuebinm1-0/+12
(this is commented out in the cabal file, since unfortunately the servant-js package is broken in nixpkgs and therefore otherwise breaks the nix build process … but it can be used "by hand")
2022-06-17rename package to tracktrainstuebinm1-4/+4
2022-06-16foreign keys are a thingstuebinm1-1/+5
(and they can be useful, too!) Also, documentation & deleting imports / extensions that aren't used.
2022-06-16actually use the databasestuebinm1-0/+5
(at least for a few simple things) Also, more modules!
2022-06-15add some persist stuffstuebinm1-1/+9
this doesn't yet actually use the database, but it's getting close to 3am and I should probably go to bed or something
2022-06-10generate OpenAPI docsstuebinm1-20/+14
lots of lenses in this stuff :(
2022-06-05basic server setupstuebinm1-1/+29