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

103 commits

Author SHA1 Message Date
Dragory
5b1875b381 Add message IDs to default message edit/delete logs 2019-05-03 16:42:14 +03:00
Miikka
86783f4604 Reduce spacing in edit logs 2019-05-03 14:38:16 +03:00
Dragory
2500b1db48 Fix unknown users in logs in several places 2019-04-30 06:20:55 +03:00
Dragory
6e1f858f8a Standardize how message summaries are generated in logs 2019-04-30 06:07:48 +03:00
Dragory
ead7c51404 Show rich embeds in message deletions logs 2019-04-30 05:35:19 +03:00
Dragory
8baed81e1d 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
0987125b35 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
57dad804b6 Fix user's name not appearing in MEMBER_TIMED_UNMUTE log messages 2019-04-20 19:09:24 +03:00
Dragory
9a206455dc 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
4e5f87fb49 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
4e0bd46e0d 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
25b986740f Fix right click bans causing logs with the banned user's username missing 2019-04-14 13:26:29 +03:00
Dragory
2dd6fb22fe 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
d0b3d5a259 Add timestamps to !cases 2019-04-13 02:27:52 +03:00
Dragory
21ba6b15cc Logs: fix double member IDs in voice channel logs 2019-03-16 17:54:26 +02:00
Dragory
69bcf9619e 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
f8ae8a3003 Add templateFormatter; migrate from formatTemplateString to templateFormatter 2019-03-16 15:42:55 +02:00
Dragory
ff8ac31f7b Add user mention to message deletion log 2019-03-16 12:37:45 +02:00
Dragory
20e6a6bdaa Logs: make default log message for censored messages clearer 2019-03-16 12:31:05 +02:00
Dragory
0f21f5010a 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
c129341e61 Slowmode: add support for native slowmode 2019-03-16 11:26:50 +02:00
Dragory
5903eab05c 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
ceb8506ff8 ModActions: add !cases cmd without user, tweak old !cases response message 2019-02-23 21:33:57 +02:00
Dragory
5681270216 plugins.Logs: log multiple role changes in one properly 2019-02-23 21:20:35 +02:00
Dragory
52ff1a2fcf Add reminders 2019-02-20 00:01:14 +02:00
Dragory
bd97255f6c Add SelfGrantableRoles 2019-02-19 00:02:46 +02:00
Dragory
660a68275c spam: add support for non-message spam; add max_voice_move spam detection 2019-02-17 17:09:49 +02:00
Dragory
7b07cf7ac9 Allow using !update without a case number. Will update the mod's latest case instead. 2019-02-17 15:23:40 +02:00
Dragory
2cb68ff9c5 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
0cc131b3ab 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
af4ad0b0cd Add user id and show recent cases in 'member joined with prior records' log entry 2019-01-15 04:15:22 +02:00
Dragory
0558fc7ab2 Add GuildArchives.getUrl for getting the archive entry URL 2019-01-15 04:03:04 +02:00
Dragory
6f48ba932f GuildSavedMessages: don't ignore edits with the same content (since embeds, attachments, etc. can differ) 2019-01-15 03:59:26 +02:00
Dragory
09bc1526bb Add 'joined with prior records' log entry 2019-01-13 18:10:48 +02:00
Dragory
9e9d0ed7a0 Fix mod info in CASE_CREATE log message 2019-01-13 18:10:09 +02:00
Dragory
799ac2d502 Add support for hiding cases with !hidecase 2019-01-13 17:56:25 +02:00
Dragory
1ddbb379c5 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
e322776bf0 Add support for pingable roles 2019-01-12 14:09:11 +02:00
Dragory
9670a17e99 Add auto-reaction support 2019-01-12 13:42:11 +02:00
Dragory
8c0a2561c9 Add name history plugin 2019-01-06 15:27:51 +02:00
Dragory
4b31a28ea2 tags: delete command/response msg if the other is deleted 2019-01-06 14:39:16 +02:00
Dragory
78c907cc7c Test a more clear emoji for unmute logs 2019-01-06 12:32:07 +02:00
Dragory
a2e567798c tags: add !tag list command 2019-01-03 06:16:00 +02:00
Dragory
627ba82196 Separate timed/indefinite mutes/unmutes in logs 2019-01-03 04:37:44 +02:00
Dragory
8bec6afbab persist: fix roles not being reapplied properly on rejoin 2019-01-03 03:11:45 +02:00
Miikka
33cfe4da02 Fix buggy mute cases 2018-12-23 01:00:56 +02:00
Dragory
a96e4b2483 SavedMessages: ignore fake edit events 2018-12-22 15:00:06 +02:00
Dragory
77a0cc8397 SavedMessages: don't emit message deletion events for non-saved messages 2018-12-22 14:37:41 +02:00
Dragory
3755f1655d Add user mention to member join log 2018-12-22 13:28:17 +02:00
Dragory
29782bbfda 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