Commit graph

188 commits

Author SHA1 Message Date
Dragory
831ff1893a
fix: potential fix for a rare database deadlock 2021-10-27 00:43:46 +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
8b486e280c
feat(tags): remove foreign key from tag_responses, use raw deletion events 2021-10-17 11:49:34 +03:00
Dragory
1f4f27c26a
perf(messageSaver): passthrough bot messages without saving them 2021-10-17 08:13:08 +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
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
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
58e69a19a3
Fix permanent mutes being removed immediately as if they expired 2021-09-26 09:47:14 +03:00
Dragory
617a4ea7fc
Centralize archive deletion loop; stagger different centralized loops slightly 2021-09-25 21:53:48 +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
5fe403ba8c
Initial work on custom guild-specific events 2021-09-12 22:41:54 +03:00
Dragory
57470e5a7f
Potential optimization to message deletion loop 2021-09-12 22:09:29 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
3b09d2d679
Add rudimentary user management to dashboard 2021-09-05 16:42:35 +03:00
Dragory
48c4b3578d
Update server owner dashboard permissions automatically 2021-09-05 14:34:06 +03:00
Dragory
ff648e7071
Start work on API audit logs 2021-09-05 13:58:08 +03:00
Dragory
947a49761e
Add support for API permission expiry 2021-09-05 13:53:46 +03:00
Dragory
0d1bfefce0
Optimize/tweak message saving 2021-09-04 19:05:47 +03:00
Dragory
ce8618957f
Add debugging for duplicate audit_log_ids 2021-08-21 00:17:29 +03:00
Dragory
7054412640
MessageSaver: use a queue, add more logging for duplicate IDs 2021-08-20 21:00:53 +03:00
Dragory
e2486e53a8
Reword default role addition/removal log messages 2021-08-19 19:44:06 +03:00
Dragory
7deb737918
-+debug 2021-08-19 01:24:01 +03:00
Dragory
9244ee54a7
Hotfix 14 2021-08-19 00:55:45 +03:00
Dragory
b06e51f25c
Hotfix 12 2021-08-18 23:03:28 +03:00
Dragory
929716a958
Hotfix 11 2021-08-18 22:50:31 +03:00
Dragory
d109a58cb7
Type fixes + use template safe values for renderTemplate() everywhere 2021-08-18 20:32:45 +03:00
Dragory
e6286c3eaa
Fix missing content in message archives 2021-08-18 20:09:25 +03:00
Dragory
bed6589d48
Typed log functions + more 2021-08-18 01:51:42 +03:00
Dragory
9058b0fd63
Fix emoji mentions in default log messages 2021-08-17 19:23:56 +03:00
Dark
ff774aa5f6
Context Menu Actions v1, clean and mute support with full options 2021-08-13 05:01:08 +02:00
almeidx
3537305c59
upgrade discord.js 2021-08-04 20:45:42 +01:00
Dark
e5985e8776
Allow =0 condition in counter triggers 2021-07-29 01:14:21 +02:00
Dark
3886d2d1dd
Include Sticker and Emoji events in Logs 2021-07-29 01:02:29 +02:00
almeidx
12d2724256
fix: updated some properties that were renamed on the discord.js side 2021-07-28 16:08:36 +01:00
Dark
c932269b7d
DJS Update, Full Import Cleanup 2021-07-25 14:32:08 +02:00
Dark
acb4913495
More fixes, change rest of stripObjectToScalars to configAccessibleObj 2021-07-21 22:14:09 +02:00
Dark
968889e529
Add missing logtypes, add change visualization 2021-07-01 04:40:39 +02:00
Dark
144c9c43e0
Add logging for threads and stages 2021-07-01 02:21:16 +02:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
2700f4e389
Allow !clean to delete messages not already saved
If a message is found that is not stored, we save it and then bulk delete
2021-06-17 02:10:23 +02:00
Dark
5c7c3c8cba
Make message with default buttons stateful 2021-06-08 04:34:32 +02:00
Dark
5efdf5ce95
Formatting and initial ButtonRoles DB work 2021-06-08 02:23:30 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
43c23263f0
Properly order reaction roles 2021-06-06 02:41:06 +02:00
Dark
edcfd2333f
Bot now connects, lint fixes 2021-06-02 19:35:44 +02:00
Dark
d0a1beb809
Finish preliminary rework, ready to test 2021-06-02 04:07:50 +02:00