summaryrefslogtreecommitdiff
path: root/server/Server.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* code formatterstuebinm2022-10-111-1/+1
|
* use template haskell aeson, not genericsstuebinm2022-10-111-3/+3
| | | | this has been bothering me for MONTHS, and it compiles faster now. also fixed some warnings
* mapserver: symlink outdirs to human-readable pathsstuebinm2022-04-141-0/+2
| | | | | (meant for use of this server without exneuland / the whole map resolution api on a dump simple workadventure backend)
* server: fix map paths in apistuebinm2022-04-031-3/+6
|
* server: add a howto linkstuebinm2022-03-281-0/+2
|
* server: show helpful information for resultstuebinm2022-03-281-7/+11
| | | | | | 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-4/+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: keep (one) last good result per repostuebinm2022-03-201-15/+24
| | | | | (i.e. we want to still have a valid version of the map if new results where introduced)
* remove leftover rc3 things & some new stuffstuebinm2022-03-191-8/+14
| | | | | | | | | | | | | this removes: - the bbb properties - all explicit mentions of rc3 - the weird script domain hacks (done via a substitution now) - some (few) of the weirder code choices it also adds some more type level witchery to deal with configs, which for some reason seems to be the hardest problem of this entire program … also the server now does inter-assembly dependency checking!
* server: websocket for updates & auto-reloadstuebinm2022-03-191-50/+61
| | | | todo: find a better solution than writing javascript in haskell strings. SERIOUSLY.
* server: add a very simple relint buttonstuebinm2022-03-191-7/+12
|
* server: write out adjusted mapsstuebinm2022-03-191-4/+12
|
* switch to universum preludestuebinm2022-03-191-1/+4
| | | | also don't keep adjusted maps around if not necessary
* sprinkle some NFData everywherestuebinm2022-03-191-5/+12
| | | | (also some evaluateNF, leading to slightly less memory usage)
* server: remove a thunk leakstuebinm2022-03-191-4/+17
| | | | | (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-6/+9
|
* server: post map updates to exneuland's APIstuebinm2022-03-191-8/+21
|
* server: add mapservice GET endpointstuebinm2022-03-191-5/+11
|
* internal state: sort according to orgstuebinm2022-03-191-14/+50
| | | | (also, more lenses i guess)
* server: repositores & orgs fixed in configstuebinm2022-03-191-59/+58
| | | | a very simple setup that might be usable for divoc and similar small events
* … several hours of fighting with TOML laterstuebinm2022-03-191-30/+52
| | | | | | 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-18/+22
| | | | it's slightly less of a mess than it was before
* server: admin interfacestuebinm2022-03-191-34/+30
| | | | (for now, just a list of all maps and their current status)
* server: present lint results in pretty htmlstuebinm2022-03-191-5/+6
| | | | | (this is mostly a rewrite / translation of the django templates built into rc3's hub)
* server: simple servant-lucid stuffstuebinm2022-03-191-1/+20
|
* server: simple toml configstuebinm2022-03-191-14/+37
|
* server: proper job handlingstuebinm2022-03-191-5/+22
| | | | | Note: the server will not check submissions for duplicates! (nor does it do any kind of rate-limiting)
* non-blocking serverstuebinm2022-03-191-0/+61