Commit graph

156 commits

Author SHA1 Message Date
Dragory
3773d659cc
Consolidate .env files. More work on dev containers. 2022-06-26 14:34:54 +03:00
Dragory
3fe71b3e27
feat: add internal role manager plugin; add role buttons plugin 2022-04-23 16:31:41 +03:00
Dragory
9314d57645
chore: formatter pass 2022-04-23 13:14:08 +03:00
Luke
be5b6a8d49
feat: add check to refreshApiKeyExpiryTime to not refresh long lived keys (#301) 2022-04-21 22:47:06 +03:00
Dragory
673ec7b09a
chore: resolve eslint issues 2021-11-03 16:59:08 +02:00
Dragory
fe7872888b
fix(phisherman): fix caught errors still throwing in getPhishermanDomainInfo() 2021-11-03 16:49:27 +02:00
Dragory
fb44a6558f
fix(phisherman): fix api response handling issue when checking subdomains 2021-11-03 03:29:57 +02:00
Dragory
45941e47d6
feat(dashboard): add support for importing/exporting cases 2021-11-03 00:08:01 +02:00
Dragory
31f18ba27f
feat: add editing support to InternalPoster 2021-11-02 23:10:37 +02:00
Dragory
ecd9a5863c
debug(phisherman): gracefully handle and log unexpected API responses 2021-11-02 22:48:54 +02:00
Dragory
ac03711574
feat(phisherman): assume master API key is always valid 2021-11-02 22:16:06 +02:00
Dragory
4179bc4ee1
feat: move log timestamp prepending to log message format; use native timestamps by default 2021-11-02 21:27:08 +02:00
Dragory
65b87f4e0b
fix: add missing queryLogger.ts 2021-11-02 21:03:55 +02:00
Dragory
0064d8fe3e
debug: log query counts based on operation and table 2021-11-02 20:54:47 +02:00
Dragory
d80e642cba
perf: smaller DELETE chunks for saved messages, sleep 1s between batches 2021-11-02 20:08:54 +02:00
Dragory
55a39e0758
feat: use webhooks for logs when possible 2021-11-02 19:59:42 +02:00
Dragory
1081d1b361
fix: fix not being able to catch Phisherman API call errors 2021-11-01 17:10:42 +02:00
Dragory
13c94a81cc
feat: Phisherman integration 2021-10-31 17:17:31 +02:00
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