aboutsummaryrefslogtreecommitdiff
path: root/tracktrain.cabal (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use OsPath instead of FilePath in easy casesstuebinm2024-05-201-4/+5
| | | | | | | | | 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.
* new feature: Server.Frontend.Tickerstuebinm2024-05-161-0/+1
| | | | | | | | A simple way to have "announcements" available via API, and otherwise distinct from the service announcements which show up in Gtfs Realtime. These are meant to go e.g. be embedded on the operator's website, or in other places where it's not as easy to display per-trip specific messages.
* rough initial work on space-time diagramsstuebinm2024-05-091-0/+1
| | | | | | this does svg templating with hamlet. It might be better to use a javascript library instead (templating svgs is a little confusing tbh), but for now i'll see how far i get with this.
* restructure: split web frontend into several modulesstuebinm2024-05-091-1/+8
|
* changelog for 0.0.2stuebinm2024-05-021-1/+1
| | | | this is the initial version used during 2024's Ilztalbahn season.
* restructure: get the tracker to work againstuebinm2024-05-021-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)
* restructure: save a ticket's stop in the databasestuebinm2024-04-241-0/+1
| | | | now mostly independent of the gtfs, but still no live-reloading of it.
* restructure: have "tickets" independent of gtfsstuebinm2024-04-201-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).
* general housekeepingstuebinm2024-04-171-16/+7
| | | | | jumps to GHC2021 as default language, adds in some fields, moves the old org mode glossary to markdown, etc.
* replace protocol-buffers with proto-lensstuebinm2024-04-171-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).
* switch to ghc 9.0.2stuebinm2023-01-221-16/+5
| | | | this makes the nix builds /much/ nicer
* oauth2 via uffdstuebinm2023-01-221-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.
* cabal: set minimum warp version to make conferer-warp buildstuebinm2022-12-071-1/+1
|
* use the threaded rtsstuebinm2022-11-231-0/+1
| | | | (apparently i didn't do that yet???)
* simple prometheus metricsstuebinm2022-10-161-0/+3
|
* correct the generated openapi descriptionstuebinm2022-09-111-0/+1
|
* fix the nix buildstuebinm2022-09-021-2/+2
|
* some config thingyesodstuebinm2022-08-281-0/+8
| | | | | 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-0/+3
| | | | most of it deals with timezones, and all the weird implications that has
* controlroom: some stylingstuebinm2022-08-261-0/+2
|
* ControlRoom: default layoutstuebinm2022-08-141-0/+1
|
* control room: translations & form inputstuebinm2022-08-141-0/+1
| | | | still basic, but works pretty well overall
* controlroom: replace servant/lucid with yesodstuebinm2022-08-141-3/+2
| | | | aka use something meant for webapps to write the webapp
* somewhat functioning control roomstuebinm2022-07-111-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!
* generic html forms for ADTsstuebinm2022-07-071-0/+1
| | | | this does some GHC generics witchery, now in its own module!
* barebones webform API & frontendstuebinm2022-07-031-0/+4
|
* websockets and better (empty) response messagesstuebinm2022-07-021-0/+2
| | | | (tough mostly untested)
* better module namesstuebinm2022-07-021-1/+1
|
* more or less functional servicealerts for gtfs rtstuebinm2022-07-021-2/+3
| | | | (kinda barebones, but the important things should be there)
* gtfs realtime proof of conceptstuebinm2022-07-021-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)
* handle GTFS shapes (& send them out along trips)stuebinm2022-06-191-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.
* make connstring configurable at runtimestuebinm2022-06-181-0/+95