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

712 commits

Author SHA1 Message Date
Dragory
6bc748a275 Dashboard tweaks 2019-10-10 23:03:18 +03:00
Dragory
36e8d5b3fe Update dashboard side to tailwindcss 2019-10-10 22:55:31 +03:00
Dragory
89615a10c3 dashboard: use webpack for builds; use tailwindcss instead of bulma; all sorts of tweaks 2019-10-10 21:58:00 +03:00
Dragory
804223489d Docs updates 2019-10-05 14:46:00 +03:00
Dragory
da044294d2 Switch from CodeMirror to Ace editor 2019-10-05 14:45:13 +03:00
Dragory
d0eb939b86 Remove obsolete doc components 2019-10-05 14:18:21 +03:00
Dragory
40d909fa39 automod: add alert action support 2019-09-30 00:47:19 +03:00
Dragory
46f3932700 Remove obsolete import in Plugin.vue 2019-09-29 15:58:39 +03:00
Dragory
0a8383ef42 Fix error when getUrlsInString doesn't match any URLs 2019-09-29 15:57:08 +03:00
Dragory
b603edb7d7 Add usageGuide/configurationGuide to PluginInfo, make trimPluginDescription dynamic
Previously trimPluginDescription was hardcoded to trim 6 spaces from
the beginning of every line. Now the function looks at the last non-
empty line and uses its indentation to determine how many spaces to
trim from the other lines.
2019-09-29 15:55:17 +03:00
Dragory
e5204d844b docs api: plugin options -> defaultOptions, tweak config schema formatting 2019-09-29 15:54:19 +03:00
Dragory
5006ae4962 dashboard: separate plugin usage/configuration, add usage guide + configuration guide 2019-09-29 15:53:14 +03:00
Dragory
616b3be2fd Update Knub to 24.1.0 to restore support for async type conversion fns 2019-09-28 19:35:51 +03:00
Dragory
3ed6bfa3ed Use ts-node/register with node CLI instead of ts-node CLI
See https://www.npmjs.com/package/ts-node#programmatic
Allows us to use advanced node CLI options (if needed)
for our start scripts
2019-09-28 19:34:36 +03:00
Dragory
c4ba494904 Update to Knub 24. Update Node typings to fix error with [util.inspect.custom] property. 2019-09-22 17:06:22 +03:00
Dragory
12f25346ec More documentation work 2019-08-22 02:58:32 +03:00
Dragory
e5b8409428 Continue work on new automod plugin 2019-08-22 01:23:19 +03:00
Dragory
9e69b3bf5b Auto-generate plugin docs (WIP) 2019-08-22 01:22:26 +03:00
Dragory
7468e5348d Make warn/kick/ban actions in ModActions available to other plugins via public methods 2019-08-22 01:18:36 +03:00
Dragory
9dc0b9613a Add property/type for plugin info in ZeppelinPlugin 2019-08-21 22:07:13 +03:00
Dragory
8d4f19e28b Move vuex dependency from root package.json to dashboard folder 2019-08-21 22:06:31 +03:00
Dragory
44bba67a46 Update Knub to v22.0.0 2019-08-21 22:05:27 +03:00
Dragory
846e623e3e Initial work on new automod 2019-08-18 16:40:15 +03:00
Miikka Virtanen
8914fe83c4 Fix error if the bot attempts to save a message that was already saved 2019-08-14 10:57:39 +03:00
Miikka Virtanen
5861524914 Fix error when calling resolveUserId with null/missing user id 2019-08-14 10:55:34 +03:00
Miikka Virtanen
d6170abeeb Fix issues with long reasons in !ban/softban/kick. Display an error if a ban/softban/kick command fails. 2019-08-14 10:53:35 +03:00
Dragory
0b2d7bc124 Fix userid/channelid argument types; rename userid/userID to userId for consistency; misc code style fix 2019-08-10 01:48:02 +03:00
Dragory
5dbc37f8e3 ChannelArchiver: include message reactions in archive 2019-08-10 00:43:58 +03:00
Dragory
e75b87e8d5 ChannelArchiver: break out of the loop if there are no more messages to archive 2019-08-10 00:28:18 +03:00
Dragory
72dc016cc3 ChannelArchiver: fix archiving of the wrong channel 2019-08-10 00:22:25 +03:00
Dragory
29fd91ed49 Add ChannelArchiver plugin 2019-08-10 00:13:55 +03:00
Dragory
20d7b2f145 Add standardized function for asking the user to confirm an action 2019-08-10 00:13:35 +03:00
Dragory
1912961451 Add a standardized way of checking for bot owners in global plugins 2019-08-10 00:12:16 +03:00
Dragory
3ef23bd871 Update Knub to 21.0.0 2019-08-10 00:11:02 +03:00
Dragory
1500af827a utils: safety checks to resolveUser; ignore a tslint error 2019-08-05 01:40:27 +03:00
Dragory
fba0abf172 ModActions: ignore server errors when getting bans 2019-08-05 01:39:11 +03:00
Dragory
d3eee95ece Debug2 2019-08-04 19:20:46 +03:00
Dragory
4ae43b5a44 Debug 2019-08-04 18:08:20 +03:00
Dragory
5e465b3e67 Temporary fixes to deepKeyIntersect while config modifiers are still a thing 2019-08-04 17:30:47 +03:00
Dragory
21a3f1519e Update Knub to 20.3.2 2019-08-04 17:13:49 +03:00
Dragory
67454a10eb Some improvements to 'unknown member' error reporting 2019-08-04 16:51:42 +03:00
Dragory
6fa0a55b28 Fix for non-object-literals in deepKeyIntersect 2019-08-04 16:47:42 +03:00
Dragory
5e7c70dbf1 Censor: use decoded TSafeRegex for blocked_regex, disable default i flag(!) 2019-08-04 15:48:03 +03:00
Dragory
a50922468f Use GlobalZeppelinPlugin when applicable 2019-08-04 15:47:09 +03:00
Dragory
82bd35f3fe Forgot to commit these a couple commits ago 2019-08-04 15:46:36 +03:00
Dragory
394cf91a8b BotControl: more robust owner checking, use GlobalZeppelinPlugin, add show_plugin_config command 2019-08-04 15:46:09 +03:00
Dragory
545bdf03d1 api: crash on unhandled rejections 2019-08-04 15:45:35 +03:00
Dragory
242bfe2b39 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
2163d43dd1 Don't fetch all users on load (again...) 2019-08-04 13:42:39 +03:00
Dragory
e23108673d Add support for safe regex type checking; make sure regexes passed to Censor are safe 2019-08-04 13:41:35 +03:00