Commit graph

1247 commits

Author SHA1 Message Date
Dragory
d27f6f94df
fix: revert member fetching in automod due to 429s 2021-10-17 20:20:15 +03:00
Dragory
f00a7afab8
feat(mutes): clear old expired mutes for servers that have disabled the mutes plugin 2021-10-17 20:12:42 +03:00
Dragory
66b93dd31c
chore: clean up unnecessary cache.get ?? fetch 2021-10-17 19:56:04 +03:00
Dragory
dcc8dbb615
fix: increase member cache size to 15000 2021-10-17 19:53:26 +03:00
Dragory
3131878cfb
fix(automod): fetch message user/member if missing from cache 2021-10-17 19:52:56 +03:00
Dragory
ac3073d3a2
fix: whoops 2021-10-17 19:36:03 +03:00
Dragory
5be1e8e5b0
debug: include guild id in RecoverablePluginError logs 2021-10-17 19:19:53 +03:00
Dragory
19b7b4a5ee
fix(post): allow editing messages that aren't saved 2021-10-17 19:16:47 +03:00
Dragory
05bd84b1f9
feat: add missing migration file 2021-10-17 11:56:00 +03:00
Dragory
8b486e280c
feat(tags): remove foreign key from tag_responses, use raw deletion events 2021-10-17 11:49:34 +03:00
Dragory
86b01f2991
fix(mutes): whoops 2021-10-17 11:37:59 +03:00
Dragory
9180be75b7
fix(auto_reactions): fix error if the bot member cannot be found in the server 2021-10-17 11:32:52 +03:00
Dragory
9562f9d528
debug(mutes): add guild id to recoverable plugin error 'mute role is above the bot' 2021-10-17 11:31:57 +03:00
Dragory
0f465ffa2b
fix(slowmode): fix error if the slowmode channel isn't cached 2021-10-17 11:31:32 +03:00
Dragory
151a5df4af
feat(automod): add affects_self option for rules 2021-10-17 08:15:30 +03:00
Dragory
1f4f27c26a
perf(messageSaver): passthrough bot messages without saving them 2021-10-17 08:13:08 +03:00
Dragory
44f5b77cc7
perf(automod): also merge regexes in match_links, match_words 2021-10-17 08:03:38 +03:00
Dragory
aea6999753
fix: fix custom emojis not being recognized in !reaction_roles 2021-10-09 15:03:09 +03:00
Dragory
2e34cc3b6d
feat: re-enable auto-leaving unknown servers 2021-10-09 14:56:31 +03:00
Dragory
ea95f3af18
fix: fix archive body encryption trying to encode/decode the archive as JSON 2021-10-09 14:51:18 +03:00
Dragory
ba4c54c41b
debug: disable slow query logging
This was always inaccurate, as the results did not match with
MariaDB's own slow query log.
2021-10-09 14:43:55 +03:00
Dragory
ac46facc46
perf: use thread pool for encryption/decryption 2021-10-09 14:43:46 +03:00
Dragory
7a35b477bc
fix: hotfix 2021-10-09 14:30:46 +03:00
Dragory
b7c7e002eb
perf: move encryption/decryption to a separate thread 2021-10-09 14:22:51 +03:00
Dragory
0b337a13a4
perf: insert + ignore errors instead of INSERT IGNORE 2021-10-09 13:05:02 +03:00
Dragory
d874617e48
perf: merge regexes in match_regex trigger while taking backreferences into account 2021-10-09 12:50:47 +03:00
Dragory
50665c7bb7
fix: fix most message edits not being logged 2021-10-09 12:26:09 +03:00
Dragory
72d5d9d17a
chore: move saved message clean-up loop with other global loops 2021-10-09 12:18:19 +03:00
Dragory
394573318d
chore: code clean-up for GuildSavedMessages 2021-10-09 12:03:29 +03:00
Dragory
e5389c0e55
perf(savedMessages): save a db lookup and message content decryption by building the returned entity manually after creation 2021-10-09 11:49:34 +03:00
Dragory
f582640e8e
debug: more profiling for Automod 2021-10-05 23:54:58 +03:00
Dragory
53d7491c1b
debug: re-enable Automod with extra profiling 2021-10-05 23:49:00 +03:00
Dragory
2d012bc5cf
debug: enable MessageSaver, disable Automod, re-enable slow query logs 2021-10-05 23:28:16 +03:00
Dragory
0830f67736
debug: disable MessageSaver globally 2021-10-05 23:21:14 +03:00
Dragory
9b4c00915f
debug+++++ 2021-10-05 23:06:12 +03:00
Dragory
7f4195eb02
debug++++ 2021-10-05 22:52:10 +03:00
Dragory
215f560836
debug+++ 2021-10-05 22:47:33 +03:00
Dragory
570e5cc491
debug++ 2021-10-05 22:40:43 +03:00
Dragory
ef53ee64c6
fix: revert regex batching 2021-10-05 22:10:56 +03:00
Dragory
04c81727fb
debug+ 2021-10-05 21:51:29 +03:00
Dragory
b951feeabd
fix(automod): fix empty patterns list in match_regex matching every message 2021-10-05 21:48:02 +03:00
Dragory
392e2da2d1
perf(automod): bundle automod regex patterns for potentially increased performance 2021-10-05 21:30:35 +03:00
Dragory
5e25792734
fix(automod): always break triggerLoop on match, even if allow_further_rules is enabled 2021-10-05 21:11:41 +03:00
Dragory
c0c73751c9
feat: add more detailed automod profiling 2021-10-05 21:09:03 +03:00
Dragory
ff8d406e8a
feat: upgrade to Knub v30.0.0-beta.46, add better performance profiling tools 2021-10-05 20:49:58 +03:00
Dragory
cb53061256
Limit cache size 2021-10-04 19:27:00 +03:00
Dragory
58e69a19a3
Fix permanent mutes being removed immediately as if they expired 2021-09-26 09:47:14 +03:00
Dragory
2e9445ce35
Re-enable automod and other plugins for Zeppelin's own messages 2021-09-26 00:34:47 +03:00
Dragory
b7725fdaf7
Raise slow query threshold to 500ms 2021-09-26 00:27:11 +03:00
Dragory
d7810c4cd0
Add missing register/clear for expiring tempbans in !ban 2021-09-26 00:25:03 +03:00