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

2092 commits

Author SHA1 Message Date
Dragory
ba3c3b4115 perf(messageSaver): passthrough bot messages without saving them 2021-10-17 08:13:08 +03:00
Dragory
5e371b1656 perf(automod): also merge regexes in match_links, match_words 2021-10-17 08:03:38 +03:00
Dragory
fbf21e8ce0 fix: fix custom emojis not being recognized in !reaction_roles 2021-10-09 15:03:09 +03:00
Dragory
f2011134db feat: re-enable auto-leaving unknown servers 2021-10-09 14:56:31 +03:00
Dragory
cd3d84a6ab fix: fix archive body encryption trying to encode/decode the archive as JSON 2021-10-09 14:51:18 +03:00
Dragory
2cc9353e26 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
6c9160a8a1 perf: use thread pool for encryption/decryption 2021-10-09 14:43:46 +03:00
Dragory
bbb5372811 fix: hotfix 2021-10-09 14:30:46 +03:00
Dragory
750354a6e3 perf: move encryption/decryption to a separate thread 2021-10-09 14:22:51 +03:00
Dragory
3e4def4ab2 perf: insert + ignore errors instead of INSERT IGNORE 2021-10-09 13:05:02 +03:00
Dragory
eeea48170a perf: merge regexes in match_regex trigger while taking backreferences into account 2021-10-09 12:50:47 +03:00
Dragory
50824bec1e fix: fix most message edits not being logged 2021-10-09 12:26:09 +03:00
Dragory
95e22538c8 chore: move saved message clean-up loop with other global loops 2021-10-09 12:18:19 +03:00
Dragory
3fa65a16b6 chore: code clean-up for GuildSavedMessages 2021-10-09 12:03:29 +03:00
Dragory
ab5ad2036a 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
dfa5ef69f4 debug: more profiling for Automod 2021-10-05 23:54:58 +03:00
Dragory
ebd18e5374 debug: re-enable Automod with extra profiling 2021-10-05 23:49:00 +03:00
Dragory
2fa817d27a debug: enable MessageSaver, disable Automod, re-enable slow query logs 2021-10-05 23:28:16 +03:00
Dragory
939a6cbb4c debug: disable MessageSaver globally 2021-10-05 23:21:14 +03:00
Dragory
fdcdeb872d debug+++++ 2021-10-05 23:06:12 +03:00
Dragory
352816fbb7 debug++++ 2021-10-05 22:52:10 +03:00
Dragory
7b3794bd7a debug+++ 2021-10-05 22:47:33 +03:00
Dragory
b17168174b debug++ 2021-10-05 22:40:43 +03:00
Dragory
578e1fbf38 fix: revert regex batching 2021-10-05 22:10:56 +03:00
Dragory
0125c87cce debug+ 2021-10-05 21:51:29 +03:00
Dragory
4800fa2f15 fix(automod): fix empty patterns list in match_regex matching every message 2021-10-05 21:48:02 +03:00
Dragory
2e38a81d4f perf(automod): bundle automod regex patterns for potentially increased performance 2021-10-05 21:30:35 +03:00
Dragory
085918cb29 fix(automod): always break triggerLoop on match, even if allow_further_rules is enabled 2021-10-05 21:11:41 +03:00
Dragory
52b0731784 feat: add more detailed automod profiling 2021-10-05 21:09:03 +03:00
Dragory
70f1d23a7e feat: upgrade to Knub v30.0.0-beta.46, add better performance profiling tools 2021-10-05 20:49:58 +03:00
Dragory
fffbcb1f86 Limit cache size 2021-10-04 19:27:00 +03:00
Dragory
2aaa92af11 Fix permanent mutes being removed immediately as if they expired 2021-09-26 09:47:14 +03:00
Dragory
e893bd118d Re-enable automod and other plugins for Zeppelin's own messages 2021-09-26 00:34:47 +03:00
Dragory
d154a61d9f Raise slow query threshold to 500ms 2021-09-26 00:27:11 +03:00
Dragory
a6bbf79c2d Add missing register/clear for expiring tempbans in !ban 2021-09-26 00:25:03 +03:00
Dragory
ba2a3a6edb Fix missing awaits 2021-09-26 00:23:09 +03:00
Dragory
50d623ee57 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-09-25 21:54:00 +03:00
Dragory
a573eb3b97 Centralize archive deletion loop; stagger different centralized loops slightly 2021-09-25 21:53:48 +03:00
metal
a0ab32df2e docs: document new thread overrides (#280) 2021-09-25 21:41:49 +03:00
metal
1b516b42b8 Fix Persist assigning deleted roles (#288) 2021-09-25 21:40:17 +03:00
Luke
44413155a6 Fixed mute error message double negative 2021-09-25 21:39:40 +03:00
Almeida
0b862f3d8d allow running cleancmd on news and thread channels (#293) 2021-09-25 21:37:50 +03:00
Almeida
bc0c54d8d8 perf: rolescmd with -counts option (#294) 2021-09-25 21:37:07 +03:00
Dragory
076d69b989 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
544363058e tags: validate input types for timeAdd and timeSub 2021-09-14 01:47:05 +03:00
Dragory
f1d6ee3a2c Raise slow query log threshold to 250ms 2021-09-12 22:52:31 +03:00
Dragory
7206d5e5a1 Initial work on custom guild-specific events 2021-09-12 22:41:54 +03:00
Dragory
c24830542a Temporarily disable nickname history before optimization 2021-09-12 22:41:34 +03:00
Dragory
209a9a8214 Add index on messages.is_bot 2021-09-12 22:17:22 +03:00
Dragory
0e02edd655 Raise slow query log threshold 2021-09-12 22:09:40 +03:00