summaryrefslogtreecommitdiff
path: root/server/Main.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-23server: add a "panic i'm on a train"-offline modestuebinm1-5/+13
(this also adds general cli arguments, but the main point is that downloading monstrously large repositories is a silly idea when i'm on a train with surprisingly bad wifi)
2022-03-19server: websocket for updates & auto-reloadstuebinm1-6/+9
todo: find a better solution than writing javascript in haskell strings. SERIOUSLY.
2022-03-19server: add a very simple relint buttonstuebinm1-11/+15
2022-03-19mapserver: somewhat more decent loggingstuebinm1-9/+7
2022-03-19server: write out adjusted mapsstuebinm1-11/+14
2022-03-19server: remove a thunk leakstuebinm1-15/+13
(really a lot of these data structures should be eagerly evaluated into normal form, i suspect there's still a lot to be gained)
2022-03-19server: exneuland wants a token, apparentlystuebinm1-13/+7
2022-03-19server: post map updates to exneuland's APIstuebinm1-11/+44
2022-03-19server: remove cli-git, cli-extrasstuebinm1-4/+4
both these packages are hard to use, seem to be either unfinished or abandoned, and also generally not very good. Also for some reason they depend on `lens`. Removing them dramatically shrunk the dependency closure!
2022-03-19server: add mapservice GET endpointstuebinm1-4/+9
2022-03-19internal state: sort according to orgstuebinm1-5/+8
(also, more lenses i guess)
2022-03-19server: repositores & orgs fixed in configstuebinm1-62/+60
a very simple setup that might be usable for divoc and similar small events
2022-03-19… several hours of fighting with TOML laterstuebinm1-12/+16
WHO THOUGHT THIS SYNTAX WAS A GOOD IDEA?? (and who decided to write the least obvious combinator library to parse it?)
2022-03-19server: switch to universum prelude, some cleanupstuebinm1-51/+49
it's slightly less of a mess than it was before
2022-03-19server: added (somewhat) sensible loggingstuebinm1-20/+34
it's not very sensible, but at least it exists
2022-03-19server: more debug outputstuebinm1-1/+1
2022-03-19server: admin interfacestuebinm1-4/+10
(for now, just a list of all maps and their current status)
2022-03-19server: simple servant-lucid stuffstuebinm1-7/+18
2022-03-19server: simple toml configstuebinm1-3/+2
2022-03-19server: proper job handlingstuebinm1-18/+24
Note: the server will not check submissions for duplicates! (nor does it do any kind of rate-limiting)
2022-03-19non-blocking serverstuebinm1-24/+21
2022-03-19basic server setup (using servant)stuebinm1-0/+74
adds a very basic http server that can be sent links to repositories & will download & lint them, then answer the request with the lints. Should probably do this in a non-blocking way …