Commit graph

1356 commits

Author SHA1 Message Date
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
Dragory
20edcb4c86
Fix missing awaits 2021-09-26 00:23:09 +03:00
Dragory
617a4ea7fc
Centralize archive deletion loop; stagger different centralized loops slightly 2021-09-25 21:53:48 +03:00
metal
2d84a02d48
Fix Persist assigning deleted roles (#288) 2021-09-25 21:40:17 +03:00
Luke
a45b5c8ba0 Fixed mute error message double negative 2021-09-25 21:39:40 +03:00
Almeida
1e7a35eb4d
allow running cleancmd on news and thread channels (#293) 2021-09-25 21:37:50 +03:00
Almeida
2042459fd2
perf: rolescmd with -counts option (#294) 2021-09-25 21:37:07 +03:00
Dragory
c7751a9da1
Centralize periodic checks for mutes, tempbans, vcalerts, reminders, and scheduled posts
This should result in a significant performance improvement.
The new method is also more precise than the old one, allowing
the aforementioned checks to be performed with second-precision.
2021-09-25 21:34:07 +03:00
Dragory
c84d1a0be1
tags: validate input types for timeAdd and timeSub 2021-09-14 01:47:05 +03:00
Dragory
7edfe1581a
Raise slow query log threshold to 250ms 2021-09-12 22:52:31 +03:00
Dragory
5fe403ba8c
Initial work on custom guild-specific events 2021-09-12 22:41:54 +03:00
Dragory
aea3f4d657
Temporarily disable nickname history before optimization 2021-09-12 22:41:34 +03:00
Dragory
92ac9c21ad
Add index on messages.is_bot 2021-09-12 22:17:22 +03:00
Dragory
6a79a59fb8
Raise slow query log threshold 2021-09-12 22:09:40 +03:00
Dragory
57470e5a7f
Potential optimization to message deletion loop 2021-09-12 22:09:29 +03:00
Dragory
b33fd8d604
Add slow query logging 2021-09-12 21:47:03 +03:00
Dragory
f733f081e0
Fix batched logs not being separated by newlines 2021-09-12 12:05:58 +03:00
Dragory
2128b1a089
Tweak rate limit debug command formatting 2021-09-12 02:02:48 +03:00
Dragory
57ed43b018
Add rate limit logging 2021-09-12 00:17:26 +03:00
Dragory
0a00be7a72
Derp 2021-09-11 21:48:12 +03:00
Dragory
de540a2a8a
Add count parameter to rest_performance 2021-09-11 21:44:01 +03:00
Dragory
14753bb4ce
Disable case creating on manual kick
Discord has no "Kick" event. Instead, kicking a member just fires
a regular "Member Leave" event. Because of this, all manual kick
checks were being run every time a member leaves. Most importantly,
audit logs were being fetched on *every member leave*.

No.
2021-09-11 21:24:03 +03:00
Dragory
07f23d4137
Add adhoc REST call debug stats 2021-09-11 21:14:47 +03:00
Dragory
3bc0015dbe
Add owner debug command for channel information 2021-09-11 20:11:14 +03:00
Dragory
3e7313d40f
Fix error in onMessageDelete logs 2021-09-11 19:55:46 +03:00
Dragory
a26eaa480c
MessageBuffer: take embed length into account 2021-09-11 19:53:20 +03:00
Dragory
bd87e1f000
Potential fix for role_added/role_removed Automod triggers triggering randomly 2021-09-11 19:24:13 +03:00
Dragory
f5d1bbee90
Remove some debug code 2021-09-11 19:22:25 +03:00
Dragory
e6694f3751
Chunk text-only log messages. Use a cooldown if running into Missing Access / Missing Permissions error during logging. 2021-09-11 19:20:31 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
0cde0d46d2
Update .prettierignore, use subproject specific ignore files 2021-09-11 19:06:01 +03:00
Dragory
ff2a7b38f3
Fix duplicate entries in !help 2021-09-11 18:57:20 +03:00
Dragory
001b6d00ea
Batch embed logs. Always use log batching. 2021-09-11 18:57:06 +03:00
Dragory
0b7a5dbfbc
Enable source maps in backend 2021-09-11 18:46:48 +03:00
Dragory
a3669a2eeb
Fix !clean performance 2021-09-11 18:46:28 +03:00
Dragory
8dfa9aec2a
Fix !nickname crash 2021-09-06 00:55:35 +03:00
Dragory
c33f144944
Fix starboard reactions within threads 2021-09-05 23:49:35 +03:00
Dragory
82ca94e8c9
Limit which changed props are included in update logs 2021-09-05 23:46:40 +03:00
Dragory
70fb0b5baa
Ignore mime type charset and other extra details in match_mime_type 2021-09-05 21:01:13 +03:00
Dragory
497d334b15
Fix channel/category/thread matching for threads in Automod overrides 2021-09-05 20:58:50 +03:00
Dragory
9dea0e7d17
Allow using thread/is_thread override criteria 2021-09-05 20:58:26 +03:00
Dragory
375837c31f
Use permissions for dashboard perm listing commands 2021-09-05 20:09:22 +03:00