aboutsummaryrefslogtreecommitdiff
path: root/lib/Server/Util.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-05-20use OsPath instead of FilePath in easy casesstuebinm1-4/+16
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-05-08restructure: split up the server modulestuebinm1-26/+38
2024-05-02restructure: get the tracker to work againstuebinm1-5/+44
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-17general housekeepingstuebinm1-4/+0
jumps to GHC2021 as default language, adds in some fields, moves the old org mode glossary to markdown, etc.
2022-10-16simple prometheus metricsstuebinm1-1/+8
2022-09-10gtfs realtime: add tripUpdate feedstuebinm1-7/+23
2022-08-27controlroom: lots of pretty little knobsstuebinm1-3/+9
(also some database schema changes, for good measure)
2022-08-14control room: translations & form inputstuebinm1-4/+1
still basic, but works pretty well overall
2022-07-17some work on the control roomstuebinm1-3/+8
(it can do useful stuff! but it also still breaks on some things!)
2022-07-03add service monad (with built-in logging)stuebinm1-0/+13