3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-22 17:25:01 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Dark
addb614023 Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
1ee016e85e Bot now connects, lint fixes 2021-06-02 19:35:44 +02:00
Dragory
df0a0718e5 Validate override criteria and extra criteria. When loading existing configs, silently remove invalid overrides. 2021-05-23 18:10:23 +03:00
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)