summaryrefslogtreecommitdiff
path: root/server/Main.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* universum's microlens exports are deprecatedstuebinm8 days1-9/+9
| | | | | unfortunately, there seems to be no better way than hiding them manually, so this code will still break once they remove them.
* a year went bystuebinm2023-10-241-10/+4
| | | | | | | | | | | | | This does many meta-things, but changes no functionality: - get rid of stack, and use just cabal with a stackage snapshot instead (why did I ever think stack was a good idea?) - update the stackage snapshot to something halfway recent - thus making builds work on nixpkgs-23.05 (current stable) - separating out packages into their own cabal files - use the GHC2021 set of extensions as default - very slight code changes to make things build again - update readme accordingly - stylish-haskell run
* server: show helpful information for resultstuebinm2022-03-281-8/+7
| | | | | | This includes the backlink to the lobby (auto-generated only for now) and a "help!"-button for sending mails. Also general info regarding which commit was linted / published.
* server: add a "panic i'm on a train"-offline modestuebinm2022-03-231-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)
* server: websocket for updates & auto-reloadstuebinm2022-03-191-6/+9
| | | | todo: find a better solution than writing javascript in haskell strings. SERIOUSLY.
* server: add a very simple relint buttonstuebinm2022-03-191-11/+15
|
* mapserver: somewhat more decent loggingstuebinm2022-03-191-9/+7
|
* server: write out adjusted mapsstuebinm2022-03-191-11/+14
|
* server: remove a thunk leakstuebinm2022-03-191-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)
* server: exneuland wants a token, apparentlystuebinm2022-03-191-13/+7
|
* server: post map updates to exneuland's APIstuebinm2022-03-191-11/+44
|
* server: remove cli-git, cli-extrasstuebinm2022-03-191-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!
* server: add mapservice GET endpointstuebinm2022-03-191-4/+9
|
* internal state: sort according to orgstuebinm2022-03-191-5/+8
| | | | (also, more lenses i guess)
* server: repositores & orgs fixed in configstuebinm2022-03-191-62/+60
| | | | a very simple setup that might be usable for divoc and similar small events
* … several hours of fighting with TOML laterstuebinm2022-03-191-12/+16
| | | | | | WHO THOUGHT THIS SYNTAX WAS A GOOD IDEA?? (and who decided to write the least obvious combinator library to parse it?)
* server: switch to universum prelude, some cleanupstuebinm2022-03-191-51/+49
| | | | it's slightly less of a mess than it was before
* server: added (somewhat) sensible loggingstuebinm2022-03-191-20/+34
| | | | it's not very sensible, but at least it exists
* server: more debug outputstuebinm2022-03-191-1/+1
|
* server: admin interfacestuebinm2022-03-191-4/+10
| | | | (for now, just a list of all maps and their current status)
* server: simple servant-lucid stuffstuebinm2022-03-191-7/+18
|
* server: simple toml configstuebinm2022-03-191-3/+2
|
* server: proper job handlingstuebinm2022-03-191-18/+24
| | | | | Note: the server will not check submissions for duplicates! (nor does it do any kind of rate-limiting)
* non-blocking serverstuebinm2022-03-191-24/+21
|
* basic server setup (using servant)stuebinm2022-03-191-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 …