Dragory
a558af1038
Fix crash from passing an invalid regex source to TRegex validation function
2021-04-13 23:50:39 +03:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly.
2020-11-09 20:03:57 +02:00
Dragory
0af03978e5
Fixes to RegExpRunner usage in !search and !bansearch, validate that input regex is valid
2020-08-10 01:31:32 +03:00
Dragory
a7fa258f2a
Run user-supplied regexes in worker threads with a timeout
2020-08-05 01:15:36 +03:00
Dragory
ed757dcbe2
Validate basic plugin options structure and override criteria types
2020-07-30 00:29:44 +03:00
Dragory
1064a1ca46
Add custom logger. Fix a bunch of errors. Optimize imports.
2020-07-22 22:56:21 +03:00
Dragory
ba2873a29a
Run a loose pre-check before preprocessStaticConfig
...
This loose pre-check checks the config schema by treating every object
as partial. This means that if a property exists, it's guaranteed to be
the correct type (e.g. object). However, there's no guarantee that all
or any properties exist.
This allows preprocessStaticConfig implementations to be much less
defensive and thus reduce boilerplate.
2019-11-28 02:34:41 +02:00
Dragory
cbcd2bd67d
Mark StrictValidationError errors property as readonly
2019-11-27 22:03:10 +02:00
Dragory
16111bbe84
Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests.
2019-11-02 22:11:26 +02:00