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

763 commits

Author SHA1 Message Date
Dragory
546835d421 starboard: fix starboards accepting any emoji instead of just the specified one 2019-11-30 23:39:12 +02:00
Dragory
29d0bc3a18 typeorm: set migrationsDir to the dev folder
The actual migrations are run based on the "migrations" array, so this
only affects the migration creation command (which is always in dev).
2019-11-30 23:38:19 +02:00
Dragory
b47872bf87 utility: fix !clean response delete behaviour
The !clean response is intended to be deleted after a delay when
cleaning the current channel i.e. not specifying a different channel
to clean. This behaviour was reversed, so the response got deleted when
cleaning a different channel and stayed when cleaning the current
channel.
2019-11-30 22:23:11 +02:00
Dragory
23a9a5e800 utility: reply with archive url when !cleaning other channels 2019-11-30 22:22:25 +02:00
Dragory
53e7c2f17d utility: add --bot/-bot to !search to search for bot members 2019-11-30 22:16:57 +02:00
Dragory
17f34ffeb7 utility: fix !search --export/-e only showing the first 15 results 2019-11-30 22:13:48 +02:00
Dragory
51bfb376cf tags: allow using --delete/-d with !tag to delete tags 2019-11-30 22:06:48 +02:00
Dragory
42df230e71 automod: better formatting for matched content in log messages 2019-11-30 22:06:26 +02:00
Dragory
48adb1df90 chore: clean up getInviteCodesInString 2019-11-30 22:05:48 +02:00
Dragory
e586bfbda3 automod: add normalize and loose_matching trigger options 2019-11-30 22:04:28 +02:00
Dragory
64e1fbc10c Add !context utility command 2019-11-30 19:54:44 +02:00
Dragory
7df1bb91d2 automod: show matched text in summaries; don't use show post date in summaries; add logMessage variable to alert action
Post date will always be more or less the time the log message is posted.

The logMessage variable in the alert action contains the full,
formatted log message that would be posted in a log channel as the
AUTOMOD_ACTION log type.
2019-11-30 18:16:02 +02:00
Dragory
fb43ec159a Update README instructions 2019-11-30 17:11:20 +02:00
Dragory
8b46a07078 Remove now-unused nodemon 2019-11-30 17:08:11 +02:00
Dragory
8b1aa9bce0 Remove obsolete GuildStarboards repository 2019-11-30 17:05:36 +02:00
Dragory
2a646f5a6e Switch from ts-node to tsc-watch for faster watch restarts; move format npm script to project root 2019-11-30 17:05:18 +02:00
Dragory
fd8a4598aa automod: add add_roles and remove_roles actions 2019-11-30 16:18:29 +02:00
Dragory
b0df86692f automod: simplify preprocessStaticConfig 2019-11-28 18:34:48 +02:00
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
f3af836020 Update prettier to 1.19.1 for optional chaining/nullish coalescing support 2019-11-27 22:02:37 +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
f0f4f1bd6c Merge branch 'DarkView-newStarboard' 2019-11-27 20:47:53 +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
d82f5fbc46 Finished Starboard (Pre Override test) 2019-11-09 00:48:38 +01:00
Dragory
92402662e6 Update dashboard instructions in README 2019-11-08 00:22:17 +02:00
Dragory
0dee588231 Update README instructions and example config, add some notes 2019-11-08 00:20:24 +02:00
Dragory
bd7c41ab1f Add related links as a comment to register-tsconfig-prod-paths.js 2019-11-08 00:16:57 +02:00
Dragory
8fd2b10842 Code cleanup 2019-11-08 00:05:36 +02:00
Dragory
289470126a Fix invalid redirect in GuildConfigEditor if guild was not found 2019-11-08 00:05:01 +02:00
Dragory
c9a21c64bf More work on API permissions 2019-11-08 00:04:24 +02:00
Dragory
79b0adf81a Ignore .cache everywhere, not just repository root 2019-11-08 00:03:24 +02:00
Dragory
9390b164d8 Fix issues caused by @shared tsconfig path 2019-11-08 00:03:02 +02:00
Dragory
53ed83b701 dashboard: update babel packages 2019-11-07 22:56:51 +02:00
Dragory
9f445f0424 dashboard: use tsconfig path aliases in webpack automatically 2019-11-07 22:53:28 +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
5880489039 Update husky and lint-staged 2019-11-02 22:16:43 +02:00
Dragory
d4f064346d Add api permissions groundwork 2019-11-02 22:12:07 +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
Dragory
80a82fe348 Automod: add custom status support; add rule cooldown support (not for raidspam yet) 2019-10-26 02:59:11 +03:00
Dragory
9a04e0fb25 Revamp !help command. Add support for linking to specific commands in zep docs. 2019-10-26 02:13:16 +03:00