summaryrefslogtreecommitdiff
path: root/lib/LintConfig.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "linter: link hackery for divoc fallback"stuebinm2022-10-111-3/+1
| | | | This reverts commit f116e6487f1041f12b9ea1e4e6a7aef18ff783bb.
* update stack resolverstuebinm2022-10-111-1/+3
| | | | | (also got rid of the map templater, which had version problems with mustache — it's not likely anyone will need it anyways)
* if hacking things, please do the hackery correctlystuebinm2022-04-141-1/+1
|
* linter: link hackery for divoc fallbackstuebinm2022-04-141-1/+1
|
* remove leftover rc3 things & some new stuffstuebinm2022-03-191-61/+102
| | | | | | | | | | | | | 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!
* switch to universum preludestuebinm2022-03-191-16/+16
| | | | also don't keep adjusted maps around if not necessary
* use hpack and clean up modulesstuebinm2022-03-191-1/+1
| | | | as annoying as yaml is, cabal's package format is somehow worse, apparently
* separate blocking for separate contextsstuebinm2021-12-261-6/+9
| | | | | (audio links now have their own allowlist, which won't put things through the dereferrer)
* need rc3_21 slug in inter-assembly-linksstuebinm2021-12-211-1/+1
|
* special handling of world:// and assembly namesstuebinm2021-12-161-1/+18
| | | | | these now have their own top-level config attribute which is essentially a shorthand for setting one that's deeper nested.
* make link adjustments configurablestuebinm2021-11-201-7/+4
| | | | | | this allows for creating custom URI "schemas" in the linter's config, which may be either allowed, prefixed, or translated according to some (domain-based) substitution.
* add domain allow- and blocklists for weblinksstuebinm2021-11-191-0/+5
| | | | | | (these use a rather crude regex for parsing, which may be possible to side-step, and which should probably be replaced by something that was actually written while following the relevant rfc)
* exit with code 1 if maximum lint level exceededstuebinm2021-11-171-1/+1
|
* add adjustment: add prefix for openWebsitestuebinm2021-11-161-0/+1
|
* config options: implement script-related optionsstuebinm2021-11-141-0/+2
|
* config: some small documentationstuebinm2021-11-141-0/+4
|
* config option: don't copy asset filesstuebinm2021-11-141-3/+6
|
* Functional jitsiRoomAdminTag adjustmentstuebinm2021-11-141-2/+2
| | | | also yet another typeclass™, because why not?
* add some simple config optionsstuebinm2021-11-141-9/+30
|
* too much type level stuff to read a config filestuebinm2021-11-141-0/+99
This got kinda out of hand, but it can now (a) read a json config file and (b) patch that with another json given on the command line to change some of the options given in the file. No, I probably didn't need to make the `patch` function sufficiently general to work with arbitrary records, but it was kinda fun to do.