3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-19 07:20:00 +00:00
Commit graph

21 commits

Author SHA1 Message Date
Dragory
d54897acdd 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
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
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
50c6233190 tags: delete command/response msg if the other is deleted 2019-01-06 14:39:16 +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
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
22c515be38 Allow mentions in "!clean user"; fix some clean command bugs 2018-11-24 19:42:51 +02:00
Dragory
9687359105 Fix bulk message deletion logging. Remove !clean command and response after a short delay. 2018-11-24 19:33:29 +02:00
Dragory
2bce771c59 Create archives from bulk deletes and cleans. Use GuildSavedMessages for cleans. 2018-11-24 18:39:17 +02:00
Dragory
2c8603ca70 Use GuildSavedMessages events in logs. Fix code blocks in edit logs. 2018-11-24 17:59:05 +02:00
Dragory
1a6e680d81 Port Censor and Spam plugins to use GuildSavedMessages events 2018-11-24 17:12:36 +02:00
Dragory
effaff5dc8 Add QueuedEventEmitter, use it for GuildSavedMessages events 2018-11-24 14:58:54 +02:00
Dragory
01d73565b6 GuildSavedMessages: save messages in a more compact way 2018-11-24 14:53:55 +02:00
Dragory
2f341d97d8 GuildSavedMessages: only return non-deleted messages with find 2018-11-24 14:33:43 +02:00
Dragory
68fa25fbc4 GuildSavedMessages: remove guild_id override 2018-11-24 14:23:10 +02:00
Dragory
b692c06b4f Some code reorganisation 2018-11-24 14:18:48 +02:00
Dragory
ba2ad8a528 Add MessageSaver plugin. Fix some buggy queries. 2018-11-24 14:01:06 +02:00