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

124 commits

Author SHA1 Message Date
Dragory
08dbfaef5b automod: don't use log system for alert actions, require channel id directly instead; allow disabling logging from specific rules 2019-10-11 23:16:15 +03:00
Dragory
98908e8a9f Automod logging improvements 2019-10-11 22:56:34 +03:00
Dragory
def46941c9 Automod work. Add config examples to automod. 2019-10-11 01:59:56 +03:00
Dragory
40d909fa39 automod: add alert action support 2019-09-30 00:47:19 +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
Dragory
d7a21facdc Dashboard styling; don't allow login if you have no guild perms; allow logging out 2019-07-22 00:11:24 +03:00
Dragory
16a5b5c13a Add temporary config auto-reload 2019-07-22 00:10:54 +03:00
Dragory
0634fd542c GuildInfoSaver: also update owner id 2019-07-12 14:25:27 +03:00
Nils Blömeke
738ade4d73 Made it possible to list all alerts and delete them
Might be needed since you can potentially set reminders for far far in the future
2019-06-28 23:26:24 +02:00
Nils Blömeke
df1bbe9754 Fully functional LocatePlugin with alerts in DB and reminders 2019-06-26 01:04:11 +02:00
Dragory
1ecce52973 Dashboard work and related 2019-06-23 19:18:41 +03:00
Dragory
5279ab06fa dashboard: auth fixes, guild listing, config editing 2019-06-23 03:40:53 +03:00
Dragory
323c7e66aa Dashboard work. Move configs to DB. Some script reorganization. Add nodemon configs. 2019-06-22 18:52:24 +03:00
Dragory
c94c8849a5 Initial dashboard work (auth flow) 2019-05-26 00:13:42 +03:00
Dragory
9109e9a2c3 Split BaseRepository into non-guild and guild
BaseRepository includes all the non-guild-specific functionality,
such as with() and getRelations().
BaseGuildRepository includes guild-specific functionality, such as
getInstance().
2019-05-25 21:25:34 +03:00
Dragory
ad9b4a63b7 Don't run migrations on start (must be run explicitly) 2019-05-25 21:23:09 +03:00
Dragory
b0943b44b9 Add some extra comments 2019-05-07 19:54:16 +03:00
Dragory
c7fc789c1e Add a generic bot alert log type. Use this in several places. 2019-05-04 19:18:16 +03:00
Dragory
718029e9a5 Add post scheduling. Add cleaner post_embed syntax. 2019-05-04 18:41:50 +03:00
Dragory
100b338288 Include message id in censored message logs 2019-05-04 01:46:27 +03:00
Dragory
f33b3c37ff Fix username change logging and saving. Re-enable migrations. 2019-05-03 23:31:38 +03:00
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