summaryrefslogtreecommitdiff
path: root/server/Worker.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* universum's microlens exports are deprecatedstuebinm8 days1-1/+2
| | | | | 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-7/+5
| | | | | | | | | | | | | 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
* use template haskell aeson, not genericsstuebinm2022-10-111-2/+1
| | | | 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-2/+7
| | | | | (meant for use of this server without exneuland / the whole map resolution api on a dump simple workadventure backend)
* 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: add a "panic i'm on a train"-offline modestuebinm2022-03-231-23/+30
| | | | | | (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-18/+32
| | | | | (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-11/+11
| | | | | | | | | | | | | 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-2/+26
| | | | todo: find a better solution than writing javascript in haskell strings. SERIOUSLY.
* server: add a very simple relint buttonstuebinm2022-03-191-3/+4
|
* mapserver: somewhat more decent loggingstuebinm2022-03-191-18/+23
|
* server: write out adjusted mapsstuebinm2022-03-191-5/+21
|
* switch to universum preludestuebinm2022-03-191-2/+3
| | | | also don't keep adjusted maps around if not necessary
* sprinkle some NFData everywherestuebinm2022-03-191-0/+1
| | | | (also some evaluateNF, leading to slightly less memory usage)
* server: remove a thunk leakstuebinm2022-03-191-2/+3
| | | | | (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: remove cli-git, cli-extrasstuebinm2022-03-191-34/+52
| | | | | | | | 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/+8
|
* internal state: sort according to orgstuebinm2022-03-191-1/+1
| | | | (also, more lenses i guess)
* server: repositores & orgs fixed in configstuebinm2022-03-191-0/+73
a very simple setup that might be usable for divoc and similar small events