summaryrefslogtreecommitdiff
path: root/lib/Paths.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-19switch to universum preludestuebinm1-16/+15
also don't keep adjusted maps around if not necessary
2022-03-19sprinkle some NFData everywherestuebinm1-1/+5
(also some evaluateNF, leading to slightly less memory usage)
2021-12-21disallow double courly bracesstuebinm1-1/+1
as per yesterday's discussion about extended scripting variables
2021-12-20disallow extended API variables in linksstuebinm1-2/+8
2021-12-16fixed some warnings (and disabled others)stuebinm1-1/+1
So far i've never found an instance of -Wname-shadowing telling me anything useful, so it's disabled now, and most of the other trivial ones are fixed. (I assume this means I'll need -Wname-shadowing in about a day or two to find some bug ...)
2021-12-16fixed & removed a bunch of old TODOsstuebinm1-1/+2
2021-12-15suggest setting map meta properties if not givenstuebinm1-1/+1
2021-12-13complain if map links that don't go to .json filesstuebinm1-0/+6
2021-12-13add special warning for rc3 old-style linksstuebinm1-0/+8
(the format used last year is no longer applicable to this year's event)
2021-11-20make link adjustments configurablestuebinm1-12/+9
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.
2021-11-19add domain allow- and blocklists for weblinksstuebinm1-0/+10
(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)
2021-09-30simple map-map link dependency checkingstuebinm1-1/+6
This is purely based on a set difference, i.e. it won't catch stupid things like a map linking to itself, a map link going only one-way, etc. Also, it only handles map links; it doesn't check if all ressource files referenced by a map actually exist.
2021-09-23some documentationstuebinm1-3/+9
2021-09-23handle all maps in entire repositoriesstuebinm1-6/+10
(+ checking that paths don't run outside of respositories)
2021-09-23very naïve handling of directoriesstuebinm1-4/+13
2021-09-20typechecking for path depths!stuebinm1-0/+31
This now checks if relative paths are still inside the repository, as a general safety mechanism to stop the linter from accidentally reading other things, as well as a nice hint for users.