aboutsummaryrefslogtreecommitdiff
path: root/lib/Server.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* controlroom: replace servant/lucid with yesodstuebinm2022-08-141-1/+4
| | | | aka use something meant for webapps to write the webapp
* somewhat functioning control roomstuebinm2022-07-111-1/+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!
* don't have the ControlRoom API in Swaggerstuebinm2022-07-071-2/+2
| | | | | | just causes pain and isn't really useful for anything since it's a webform API meant to be used by the web frontend, not by other applications.
* barebones webform API & frontendstuebinm2022-07-031-0/+2
|
* remove some unused importsstuebinm2022-07-031-30/+11
|
* add service monad (with built-in logging)stuebinm2022-07-031-19/+20
|
* websockets and better (empty) response messagesstuebinm2022-07-021-48/+65
| | | | (tough mostly untested)
* better module namesstuebinm2022-07-021-1/+1
|
* rudimentary admin api implementationstuebinm2022-07-021-2/+17
|
* gtfs realtime: add vehicle positionsstuebinm2022-07-021-1/+2
| | | | | | (or at least something that looks like it might be correct — though it carries very little information, and lacks things like what the next stop along the route is)
* more or less functional servicealerts for gtfs rtstuebinm2022-07-021-62/+8
| | | | (kinda barebones, but the important things should be there)
* gtfs realtime proof of conceptstuebinm2022-07-021-1/+63
| | | | | | | | 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)
* optional date parameter for the timetable endpointstuebinm2022-06-271-4/+8
| | | | (mostly to make debugging easier, but also more generially useful i guess)
* foreign keys are a thingstuebinm2022-06-161-47/+19
| | | | | | (and they can be useful, too!) Also, documentation & deleting imports / extensions that aren't used.
* actually use the databasestuebinm2022-06-161-96/+103
| | | | | | (at least for a few simple things) Also, more modules!
* add some persist stuffstuebinm2022-06-151-22/+35
| | | | | this doesn't yet actually use the database, but it's getting close to 3am and I should probably go to bed or something
* generate OpenAPI docsstuebinm2022-06-101-37/+69
| | | | lots of lenses in this stuff :(
* restructure GTFS typesstuebinm2022-06-061-8/+6
| | | | | | | 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-2/+7
| | | | (template haskell doesn't work well with type families, unfortunately)
* basic server setupstuebinm2022-06-051-0/+96