aboutsummaryrefslogtreecommitdiff
path: root/lib/Server/Util.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use OsPath instead of FilePath in easy casesstuebinm2024-05-201-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.
* restructure: split up the server modulestuebinm2024-05-081-26/+38
|
* restructure: get the tracker to work againstuebinm2024-05-021-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)
* general housekeepingstuebinm2024-04-171-4/+0
| | | | | jumps to GHC2021 as default language, adds in some fields, moves the old org mode glossary to markdown, etc.
* simple prometheus metricsstuebinm2022-10-161-1/+8
|
* gtfs realtime: add tripUpdate feedstuebinm2022-09-101-7/+23
|
* controlroom: lots of pretty little knobsstuebinm2022-08-271-3/+9
| | | | (also some database schema changes, for good measure)
* control room: translations & form inputstuebinm2022-08-141-4/+1
| | | | still basic, but works pretty well overall
* some work on the control roomstuebinm2022-07-171-3/+8
| | | | (it can do useful stuff! but it also still breaks on some things!)
* add service monad (with built-in logging)stuebinm2022-07-031-0/+13