3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 08:45:03 +00:00
Commit graph

9 commits

Author SHA1 Message Date
Dragory
fc35f690c3 Fix crash from passing an invalid regex source to TRegex validation function 2021-04-13 23:50:39 +03:00
Dragory
6f2d5a3784 Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
91305d2941 Fixes to RegExpRunner usage in !search and !bansearch, validate that input regex is valid 2020-08-10 01:31:32 +03:00
Dragory
e14a93d752 Run user-supplied regexes in worker threads with a timeout 2020-08-05 01:15:36 +03:00
Dragory
19f6e49251 Validate basic plugin options structure and override criteria types 2020-07-30 00:29:44 +03:00
Dragory
0c9a619880 Add custom logger. Fix a bunch of errors. Optimize imports. 2020-07-22 22:56:21 +03:00
Dragory
c10d12ac22 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
5dee58d36e Mark StrictValidationError errors property as readonly 2019-11-27 22:03:10 +02:00
Dragory
9250c84637 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
Renamed from src/validatorUtils.ts (Browse further)