3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 22:01:50 +00:00
Commit graph

98 commits

Author SHA1 Message Date
Dragory
d30fbbbbaa Do saved message clean-up globally, not per-guild
Possible fix for the DEADLOCK errors on the server, and should also be
more performant (though probably marginally).
2019-04-20 19:51:33 +03:00
Dragory
f6e487d073 Reduce retention period of saved messages from 1 week to 5 days
Step 1 of a multi-step change to reduce the retention period to 1-3 days
to save database space.
2019-04-20 19:24:36 +03:00
Dragory
b8077e59a4 Fix user's name not appearing in MEMBER_TIMED_UNMUTE log messages 2019-04-20 19:09:24 +03:00
Dragory
608f17c532 Deprecate GuildActions. Fix double case posting when muting a user for message spam. Update to new mute/case style when muting a user for "other" spam.
GuildActions turned out to be a fairly pointless abstraction in the end.
It didn't really solve the problems it was meant to solve (that is,
reduce code spaghetti by having all inter-plugin calls go through a
single service, and allow easier ways to replace core plugins with
alternatives that share the same interface) any better than simply
using `this.getPlugin()` when needed, and introduced extra complexity
and made static analysis messier.
2019-04-20 17:36:28 +03:00
Dragory
f3e6c05c67 Work on better error messages for mod actions, allow muting users that are not on the server; WIP 2019-04-18 08:45:51 +03:00
Dragory
c34532e348 Add safety net for attempts to create a duplicate case for a single kick audit log entry 2019-04-14 17:05:07 +03:00
Dragory
434758b8ad Fix right click bans causing logs with the banned user's username missing 2019-04-14 13:26:29 +03:00
Dragory
fe88766f02 Notify user for spam detection mutes. Add notification status ('user notified in DMs' etc.) to the case. Log case updates. Add 'unmuted immediately' to the case for unmutes without a time. 2019-04-13 17:35:02 +03:00
Dragory
5eeb3d2536 Add timestamps to !cases 2019-04-13 02:27:52 +03:00
Dragory
45b06ece20 Logs: fix double member IDs in voice channel logs 2019-03-16 17:54:26 +02:00
Dragory
11558df665 Logs: add permission for whether a user is pinged in logs or not (mainly to not ping mods); templateFormatter: fix error when following a plain value variable with a function variable 2019-03-16 16:10:30 +02:00
Dragory
ba3af1cb63 Add templateFormatter; migrate from formatTemplateString to templateFormatter 2019-03-16 15:42:55 +02:00
Dragory
ea3fde49a6 Add user mention to message deletion log 2019-03-16 12:37:45 +02:00
Dragory
515c91d2c2 Logs: make default log message for censored messages clearer 2019-03-16 12:31:05 +02:00
Dragory
e755784483 Improve mentions in default log messages. Add !vcmove logging. Don't attempt to !vcmove to the same channel the user is already in. 2019-03-16 11:45:30 +02:00
Dragory
cabccf5bd3 Slowmode: add support for native slowmode 2019-03-16 11:26:50 +02:00
Dragory
ffafc765d8 ModActions: !cases without id now returns 5 most recent cases created by you, or the mod specified with --mod 2019-02-23 22:40:43 +02:00
Dragory
147dcc973d ModActions: add !cases cmd without user, tweak old !cases response message 2019-02-23 21:33:57 +02:00
Dragory
56a1f51f56 plugins.Logs: log multiple role changes in one properly 2019-02-23 21:20:35 +02:00
Dragory
6491c48289 Add reminders 2019-02-20 00:01:14 +02:00
Dragory
457d57fb8c Add SelfGrantableRoles 2019-02-19 00:02:46 +02:00
Dragory
30db4d58b4 spam: add support for non-message spam; add max_voice_move spam detection 2019-02-17 17:09:49 +02:00
Dragory
fa759d1f46 Allow using !update without a case number. Will update the mod's latest case instead. 2019-02-17 15:23:40 +02:00
Dragory
0b0bb05eed GuildActions: create overloads for known actions; refactor certain actions, using only 1 args object; mutes: move !mutes to the Mutes plugin, fix case number not showing in mute list, make mute list prettier 2019-02-15 05:07:28 +02:00
Dragory
e841f20ab0 Add special mention if a mod action was performed on behalf of another mod with the --mmod option 2019-02-08 20:25:35 +02:00
Dragory
f6f1c29fc1 Add user id and show recent cases in 'member joined with prior records' log entry 2019-01-15 04:15:22 +02:00
Dragory
429653c66d Add GuildArchives.getUrl for getting the archive entry URL 2019-01-15 04:03:04 +02:00
Dragory
a2b7038b71 GuildSavedMessages: don't ignore edits with the same content (since embeds, attachments, etc. can differ) 2019-01-15 03:59:26 +02:00
Dragory
bf25342122 Add 'joined with prior records' log entry 2019-01-13 18:10:48 +02:00
Dragory
bbb1acb998 Fix mod info in CASE_CREATE log message 2019-01-13 18:10:09 +02:00
Dragory
8de31844d5 Add support for hiding cases with !hidecase 2019-01-13 17:56:25 +02:00
Dragory
ab71481b8f Allow making archives permanent. Make archives permanent when attached to a case. Add log file metadata dynamically when served (instead of in the body directly). Add missing index on archives.expires_at. 2019-01-13 17:29:26 +02:00
Dragory
3efd64c489 Add support for pingable roles 2019-01-12 14:09:11 +02:00
Dragory
d3a4989dc0 Add auto-reaction support 2019-01-12 13:42:11 +02:00
Dragory
681517341e Add name history plugin 2019-01-06 15:27:51 +02:00
Dragory
50c6233190 tags: delete command/response msg if the other is deleted 2019-01-06 14:39:16 +02:00
Dragory
19dc621e85 Test a more clear emoji for unmute logs 2019-01-06 12:32:07 +02:00
Dragory
435de37dc8 tags: add !tag list command 2019-01-03 06:16:00 +02:00
Dragory
7139d81a5e Separate timed/indefinite mutes/unmutes in logs 2019-01-03 04:37:44 +02:00
Dragory
f7c29eb2cf persist: fix roles not being reapplied properly on rejoin 2019-01-03 03:11:45 +02:00
Miikka
d0f8ec2b57
Fix buggy mute cases 2018-12-23 01:00:56 +02:00
Dragory
69fccbc2d8 SavedMessages: ignore fake edit events 2018-12-22 15:00:06 +02:00
Dragory
e2c57f8057 SavedMessages: don't emit message deletion events for non-saved messages 2018-12-22 14:37:41 +02:00
Dragory
cf17374a24 Add user mention to member join log 2018-12-22 13:28:17 +02:00
Dragory
ce0b7ded08 Message archive formatting tweaks and fixes; only emit deleteBulk event from SavedMessages if any messages were actually marked as deleted 2018-12-22 13:06:40 +02:00
Dragory
3c3602f8d3 Log text/style tweaks; add message date to deletion logs 2018-12-22 12:38:52 +02:00
Dragory
022fcc537e Fix error when editing non-saved messages 2018-12-15 23:07:19 +02:00
Dragory
0c8efedb8c Add Starboard plugin 2018-12-15 23:01:45 +02:00
Dragory
62afd8e8e6 Show attachments in message deletion logs 2018-12-15 17:15:32 +02:00
Dragory
0431b3c225 Add Slowmode plugin 2018-12-15 17:04:04 +02:00