Commit graph

922 commits

Author SHA1 Message Date
Dragory
08d49ad477 Some improvements to 'unknown member' error reporting 2019-08-04 16:51:42 +03:00
Dragory
a1aa995a7a Fix for non-object-literals in deepKeyIntersect 2019-08-04 16:47:42 +03:00
Dragory
e4f1a6eb15 Censor: use decoded TSafeRegex for blocked_regex, disable default i flag(!) 2019-08-04 15:48:03 +03:00
Dragory
82a0fa4b43 Use GlobalZeppelinPlugin when applicable 2019-08-04 15:47:09 +03:00
Dragory
a602164c13 Forgot to commit these a couple commits ago 2019-08-04 15:46:36 +03:00
Dragory
e0bef49a84 BotControl: more robust owner checking, use GlobalZeppelinPlugin, add show_plugin_config command 2019-08-04 15:46:09 +03:00
Dragory
a188b0433c api: crash on unhandled rejections 2019-08-04 15:45:35 +03:00
Dragory
6043fd5cd3 Configs are not decoded as well as validated by io-ts. Improvements to config validation, error messages, and TSafeRegex type. 2019-08-04 15:44:41 +03:00
Dragory
6282c13b70 Don't fetch all users on load (again...) 2019-08-04 13:42:39 +03:00
Dragory
68380c5ac3 Add support for safe regex type checking; make sure regexes passed to Censor are safe 2019-08-04 13:41:35 +03:00
Dragory
4034c6a850 Also run tslint on pre-commit 2019-08-04 13:18:41 +03:00
Dragory
460562d485 tslint: enable no-floating-promises 2019-08-04 13:18:26 +03:00
Dragory
aab3a0cb1d Post: don't confirm post commands if the target channel is the same as the command channel 2019-08-04 13:18:02 +03:00
Dragory
5aa1f3cec9 Code cleanup 2019-08-04 13:16:46 +03:00
Dragory
f0ba484f79 Utility: make sure the data in !info is always fresh 2019-08-04 13:16:23 +03:00
Dragory
09464e56e3 Mutes: fix mutes/unmutes sometimes not applying/removing the role 2019-08-04 13:16:01 +03:00
Dragory
66d6642bc6 Add forceFresh parameter to resolveMember. Clean up resolveUser/resolveMember code. 2019-08-04 13:14:23 +03:00
Dragory
08dec5d703 Disable dynamic scss imports (weird errors in prod builds, FIXME) 2019-07-29 22:58:38 +03:00
Dragory
b52a4e1225 Code style tweak 2019-07-29 22:58:13 +03:00
Dragory
a45d2965e9 Dashboard: disable source maps in prod builds, add debug build with source maps and no minification 2019-07-29 22:57:58 +03:00
Dragory
c5c0ed55d0 Dashboard: fix docs link after logging in, move logout button to the right 2019-07-29 22:36:04 +03:00
Dragory
735eddae17 Splash: docs -> documentation 2019-07-29 22:32:11 +03:00
Dragory
3c02935cb4 Dashboard: don't collapse whitespace in code blocks (or anywhere) 2019-07-29 22:31:47 +03:00
Dragory
34f7d6f937 Docs: update user section of ArgumentTypes (from Dark) 2019-07-29 21:56:03 +03:00
Dragory
ab87efac1f Tweaks 2019-07-29 21:51:38 +03:00
Dragory
c0739ba326 Docs: add 'work in progress' notification 2019-07-29 21:51:25 +03:00
Dragory
d1c837e89f Move material icons import to docs.scss for lazy loading 2019-07-29 21:34:34 +03:00
Dragory
cb8392de2c Include buefy in package-lock.json 2019-07-29 21:34:19 +03:00
Dragory
e67cc27b10 Docs: consistent menu capitalization 2019-07-29 21:30:36 +03:00
Miikka
4c652cf95c
Merge pull request #15 from DarkView/master
More docs work - Page for Document types and done LocateUser
2019-07-29 21:30:09 +03:00
Nils Blömeke
66705678a6 More docs work - Page for Document types and done LocateUser 2019-07-29 18:55:32 +02:00
Dragory
17f605dd6d More docs 2019-07-28 20:13:01 +03:00
Dragory
b065b1b18e Dashboard: rename component folders to lowercase 2019-07-28 18:26:36 +03:00
Dragory
f186e5c61f Work on documentation 2019-07-28 18:24:32 +03:00
Dragory
c2935bd1d7 Better config validator error message for missing properties 2019-07-22 13:50:41 +03:00
Dragory
ee58769460 Add bot alerts for missing audit log permissions; ignore internal server errors on discord's side when fetching audit logs 2019-07-22 13:50:24 +03:00
Dragory
fb481aa583 CompanionChannels: snake_case for config options, 'companions' -> 'entries' 2019-07-22 13:27:28 +03:00
Dragory
6eff4dd80f Better debug message 2019-07-22 13:14:10 +03:00
Dragory
20d7d77178 CompanionChannels: refactor config format, don't do unnecessary permission changes 2019-07-22 13:11:14 +03:00
Dragory
0ea655ecee dashboard: fix space indents; code formatting 2019-07-22 13:10:36 +03:00
Dragory
00e34b322d Fix unknown property validation; fix override validation; be clear about which property is unknown 2019-07-22 13:09:05 +03:00
Dragory
6f75185e74 Handle OAuth2 token errors separately from regular server errors 2019-07-22 02:44:45 +03:00
Dragory
828385d0eb Fix YAML errors not showing the proper error message in config editor 2019-07-22 02:00:15 +03:00
Dragory
004a753a58 Revert emoji match fix 2019-07-22 01:33:38 +03:00
Dragory
e34f3b1442 Fix invalid response in default route 2019-07-22 01:13:08 +03:00
Dragory
283041cd52 Don't post server errors publically 2019-07-22 01:11:36 +03:00
Dragory
541856d3b5 Include process file for API, separate bot/api process files 2019-07-22 01:04:31 +03:00
Dragory
1c7508ffc5 Fix overzealous auth requirement in API 2019-07-22 00:49:05 +03:00
Dragory
b24dd6a938 Remove LogServer in favor of API server's log endpoint (again) 2019-07-22 00:48:26 +03:00
Dragory
c0603a73fc Lazy-load dashboard components 2019-07-22 00:28:02 +03:00