summaryrefslogtreecommitdiff
path: root/server (follow)
Commit message (Collapse)AuthorAgeFilesLines
* universum's microlens exports are deprecatedstuebinm2024-10-295-34/+39
| | | | | 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-247-44/+102
| | | | | | | | | | | | | 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
* code formatterstuebinm2022-10-113-7/+7
|
* use template haskell aeson, not genericsstuebinm2022-10-113-9/+8
| | | | this has been bothering me for MONTHS, and it compiles faster now. also fixed some warnings
* mapserver: symlink outdirs to human-readable pathsstuebinm2022-04-142-2/+9
| | | | | (meant for use of this server without exneuland / the whole map resolution api on a dump simple workadventure backend)
* server: expose jitsi rooms in maps list endpointstuebinm2022-04-061-1/+2
|
* server: less boring output for very successful mapsstuebinm2022-04-051-8/+16
| | | | | (actually i feel like there should be an easteregg or sth for maps that really pass everything, but i can't think of something fitting)
* server: actually use git repository updatesstuebinm2022-04-041-1/+1
| | | | | | before this, the server would fetch updates but then not update the corresponding reference, leading to the initial state being checked out and linted again.
* server: fix map paths in apistuebinm2022-04-032-6/+9
|
* server: add a howto linkstuebinm2022-03-282-2/+6
|
* server: show helpful information for resultstuebinm2022-03-284-43/+73
| | | | | | 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-233-32/+56
| | | | | | (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: use fdp as dot layout modestuebinm2022-03-201-17/+19
| | | | | (though apparently there's no way to set the -LC option? would look much nicer with that …)
* server: better html outputstuebinm2022-03-201-5/+7
|
* server: keep (one) last good result per repostuebinm2022-03-204-41/+64
| | | | | (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-192-19/+25
| | | | | | | | | | | | | 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: fix an annoying spacestuebinm2022-03-191-2/+1
|
* server: small html improvementsstuebinm2022-03-191-3/+6
| | | | bootstrap is horrible and should be replaced
* server: don't hardcode the websocket domain/protocolstuebinm2022-03-191-1/+2
|
* server: websocket for updates & auto-reloadstuebinm2022-03-195-84/+146
| | | | todo: find a better solution than writing javascript in haskell strings. SERIOUSLY.
* server: add a very simple relint buttonstuebinm2022-03-195-40/+79
|
* mapserver: somewhat more decent loggingstuebinm2022-03-192-27/+30
|
* server: write out adjusted mapsstuebinm2022-03-194-23/+52
|
* switch to universum preludestuebinm2022-03-193-4/+8
| | | | also don't keep adjusted maps around if not necessary
* sprinkle some NFData everywherestuebinm2022-03-193-7/+14
| | | | (also some evaluateNF, leading to slightly less memory usage)
* server: remove a thunk leakstuebinm2022-03-193-21/+33
| | | | | (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-192-19/+16
|
* server: post map updates to exneuland's APIstuebinm2022-03-192-19/+65
|
* server: remove cli-git, cli-extrasstuebinm2022-03-192-38/+56
| | | | | | | | 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-195-57/+71
|
* internal state: sort according to orgstuebinm2022-03-195-41/+82
| | | | (also, more lenses i guess)
* server: repositores & orgs fixed in configstuebinm2022-03-195-198/+231
| | | | a very simple setup that might be usable for divoc and similar small events
* … several hours of fighting with TOML laterstuebinm2022-03-193-70/+101
| | | | | | 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-194-138/+129
| | | | it's slightly less of a mess than it was before
* server: added (somewhat) sensible loggingstuebinm2022-03-192-27/+42
| | | | it's not very sensible, but at least it exists
* server: more debug outputstuebinm2022-03-191-1/+1
|
* server: admin interfacestuebinm2022-03-194-64/+117
| | | | (for now, just a list of all maps and their current status)
* server: present lint results in pretty htmlstuebinm2022-03-192-47/+124
| | | | | (this is mostly a rewrite / translation of the django templates built into rc3's hub)
* server: simple servant-lucid stuffstuebinm2022-03-193-8/+95
|
* server: simple toml configstuebinm2022-03-192-17/+39
|
* server: proper job handlingstuebinm2022-03-193-67/+110
| | | | | Note: the server will not check submissions for duplicates! (nor does it do any kind of rate-limiting)
* non-blocking serverstuebinm2022-03-194-88/+126
|
* basic server setup (using servant)stuebinm2022-03-193-0/+179
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 …