Commit graph

370 commits

Author SHA1 Message Date
Dragory
f8444c1a3d utility.about: fix git repo path; don't throw an error if a git repo is not found 2019-11-28 02:47:15 +02:00
Dragory
581cf80feb starboard: post-merge tweaks; use preprocessStaticConfig; utilize overrides rather than config properties when possible 2019-11-28 02:39:26 +02: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
279a8fe7ae post: use content as raw embed source in !post_embed with --raw/-r switch 2019-11-27 22:04:00 +02:00
Dragory
cbcd2bd67d Mark StrictValidationError errors property as readonly 2019-11-27 22:03:10 +02:00
Dragory
969e06e00e utils: add messageLink() and isValidEmbed() 2019-11-27 22:02:11 +02:00
Dragory
00e047f701 Change target in tsconfig from esnext to es2018 to support optional chaining/nullish coalescing on Node.js 12 2019-11-27 21:43:54 +02:00
Dragory
02e53aa358 nodemon: set watch delay of 300 to prevent mass-restarts on pulls/refactors 2019-11-27 21:19:18 +02:00
Dragory
b36fcb41fe Merge branch 'newStarboard' of https://github.com/DarkView/ZeppelinBot into DarkView-newStarboard 2019-11-27 20:47:39 +02:00
Dragory
9164bcd045 Fix URL matching in automod, censor, and spam plugin 2019-11-27 20:41:45 +02:00
Dragory
682d8e9153 Don't apply multiple automod rules to the same message 2019-11-27 20:30:50 +02:00
Dragory
cec2c74eaa Disable unneeded tslint warning 2019-11-27 20:30:36 +02:00
Nils Blömeke
97ca671f1b Fixed locateUser being unable to load and added w alias for where 2019-11-09 16:38:12 +01:00
Nils Blömeke
d82f5fbc46 Finished Starboard (Pre Override test) 2019-11-09 00:48:38 +01:00
Dragory
bd7c41ab1f Add related links as a comment to register-tsconfig-prod-paths.js 2019-11-08 00:16:57 +02:00
Dragory
c9a21c64bf More work on API permissions 2019-11-08 00:04:24 +02:00
Dragory
9390b164d8 Fix issues caused by @shared tsconfig path 2019-11-08 00:03:02 +02:00
Dragory
f0e9d9ff7f Fix @shared tsconfig paths so they resolve properly 2019-11-07 22:53:11 +02:00
Dragory
ba4ddfcc32 Update Typescript to 3.7 2019-11-07 22:52:40 +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