Commit graph

  • fe7872888b
    fix(phisherman): fix caught errors still throwing in getPhishermanDomainInfo() Dragory 2021-11-03 16:49:27 +02:00
  • fb44a6558f
    fix(phisherman): fix api response handling issue when checking subdomains Dragory 2021-11-03 03:29:57 +02:00
  • 4bdce129b3
    fix: increase max API input size to 50MB Dragory 2021-11-03 01:16:29 +02:00
  • 9c1568b911
    feat: download data exports directly from the server without a JS download step Dragory 2021-11-03 01:14:41 +02:00
  • fc4f106afb
    feat: add rate limits to import/export Dragory 2021-11-03 00:49:36 +02:00
  • 45941e47d6
    feat(dashboard): add support for importing/exporting cases Dragory 2021-11-03 00:05:53 +02:00
  • f3dae65747
    fix: fix crash in !rest_performance if there are no rest call stats Dragory 2021-11-02 23:42:21 +02:00
  • 121628e6b1
    perf: use a memory cache for Slowmode Dragory 2021-11-02 23:38:02 +02:00
  • d09d6b776a
    perf: use a memory cache for AutoReactions Dragory 2021-11-02 23:25:09 +02:00
  • 31f18ba27f
    feat: add editing support to InternalPoster Dragory 2021-11-02 23:10:37 +02:00
  • ecd9a5863c
    debug(phisherman): gracefully handle and log unexpected API responses Dragory 2021-11-02 22:48:54 +02:00
  • c5b2812452
    chore: clean up imports in postToCaseLogChannel.ts Dragory 2021-11-02 22:28:28 +02:00
  • 2572fa78df
    fix: missing change from 901a723080 Dragory 2021-11-02 22:16:40 +02:00
  • ac03711574
    feat(phisherman): assume master API key is always valid Dragory 2021-11-02 22:16:06 +02:00
  • 901a723080
    feat: remove blocked-at usage Dragory 2021-11-02 22:14:41 +02:00
  • 3f0c1496dc
    chore: remove unnecessary @discordjs/rest dependency Dragory 2021-11-02 22:13:36 +02:00
  • 8ac117a6f3
    feat: use InternalPoster for Automod alerts Dragory 2021-11-02 22:12:57 +02:00
  • fe63ec9d77
    fix: fix error handling in InternalPoster.sendMessage direct sends Dragory 2021-11-02 21:40:24 +02:00
  • 4179bc4ee1
    feat: move log timestamp prepending to log message format; use native timestamps by default Dragory 2021-11-02 21:27:08 +02:00
  • 9105495d72
    feat: upgrade to discord.js v13.3.1 Dragory 2021-11-02 21:17:00 +02:00
  • 65b87f4e0b
    fix: add missing queryLogger.ts Dragory 2021-11-02 21:03:55 +02:00
  • a7d71e0762
    fix: log all errors when attempting to create a webhook and gracefully return Dragory 2021-11-02 21:00:23 +02:00
  • 0064d8fe3e
    debug: log query counts based on operation and table Dragory 2021-11-02 20:54:05 +02:00
  • 94b21287ad
    fix: don't try to save partial guild information Dragory 2021-11-02 20:51:37 +02:00
  • 59a6d5a56b
    debug: increase 'lowest global remaining' log interval Dragory 2021-11-02 20:14:19 +02:00
  • 3648968439
    fix: fix remove_roles_on_mute: true not working Dragory 2021-11-02 20:10:28 +02:00
  • d80e642cba
    perf: smaller DELETE chunks for saved messages, sleep 1s between batches Dragory 2021-11-02 20:08:54 +02:00
  • 55a39e0758
    feat: use webhooks for logs when possible Dragory 2021-11-02 19:59:30 +02:00
  • 1081d1b361
    fix: fix not being able to catch Phisherman API call errors Dragory 2021-11-01 17:09:02 +02:00
  • b162d8c72e
    fix: add missing noop import Dragory 2021-10-31 22:16:37 +02:00
  • 446f188e16
    feat: add automod thread_archive and thread_unarchive triggers (#292) metal 2021-10-31 20:08:29 +00:00
  • 6709115166
    feat: add thread_create_spam automod trigger (#273) Almeida 2021-10-31 17:23:26 +00:00
  • f9c0e661af
    feat: add automod start_thread action (#274) metal 2021-10-31 15:27:00 +00:00
  • 92dfbca362
    feat: add thread_create and thread_delete automod triggers (#272) Almeida 2021-10-31 15:21:53 +00:00
  • 6e3a6249c7
    fix: increase worker pool timeout as temp fix Dragory 2021-10-31 17:19:49 +02:00
  • 13c94a81cc
    feat: Phisherman integration Dragory 2021-10-31 17:17:31 +02:00
  • f92ee9ba4f
    fix: fix errors when unloading certain plugins after beforeLoad but before afterLoad Dragory 2021-10-31 16:48:32 +02:00
  • 4f811f04e1
    fix: use useUnknownInCatchVariables: false temporarily Dragory 2021-10-31 14:51:13 +02:00
  • 5e1584f04d
    revert: use moduleResolution 'node' after all until TS 4.5 Dragory 2021-10-31 14:50:54 +02:00
  • 48ef66e689
    feat: use TS moduleResolution node12 to retain dynamic imports in compiled code Dragory 2021-10-31 14:28:43 +02:00
  • 339eff79a8
    feat: update to Typescript 4.4 Dragory 2021-10-31 14:28:13 +02:00
  • 95c3efbdb4
    debug: add global rate limit logging Dragory 2021-10-28 17:19:07 +03:00
  • bb94d77143
    feat: add env var to enable profiling Dragory 2021-10-28 17:11:56 +03:00
  • 831ff1893a
    fix: potential fix for a rare database deadlock Dragory 2021-10-27 00:43:46 +03:00
  • b3516cabaa
    fix: missing file Dragory 2021-10-27 00:16:43 +03:00
  • 8f17a835f9
    refactor: debounce and batch simultaneous audit log requests Dragory 2021-10-27 00:09:29 +03:00
  • d7c6e34695
    fix: increase massban ban event ignore time Dragory 2021-10-26 22:42:22 +03:00
  • 2fd5bb3d17
    debug: track resolveUserId username match performance Dragory 2021-10-26 22:40:31 +03:00
  • 23fba8cdcf
    fix: check for snowflake before username match in resolveUserId Dragory 2021-10-26 22:37:26 +03:00
  • 9b805379cf
    fix: potential crash fix Dragory 2021-10-26 13:15:04 +03:00
  • 9771b7e883
    feat: upgrade discord.js to v13.2 Dragory 2021-10-26 12:37:40 +03:00
  • 0a61d865ff
    feat: remove monkeypatched d.js debug code Dragory 2021-10-26 12:34:18 +03:00
  • 76fc36108c
    fix: use locks for tempbans to avoid race conditions Dragory 2021-10-25 22:54:23 +03:00
  • 0a3a5e4e58
    debug: ++debug Dragory 2021-10-25 22:39:20 +03:00
  • 719884d9c0
    perf: disable some performance-intensive niche/edge case features Dragory 2021-10-25 22:09:53 +03:00
  • 73c47bf39d
    fix: temp fix, cache all members again Dragory 2021-10-17 21:02:44 +03:00
  • 0de271994f
    fix(slowmode): fix error if channel.permissionOverwrites doesn't exist Dragory 2021-10-17 21:01:55 +03:00
  • d27f6f94df
    fix: revert member fetching in automod due to 429s Dragory 2021-10-17 20:20:15 +03:00
  • f00a7afab8
    feat(mutes): clear old expired mutes for servers that have disabled the mutes plugin Dragory 2021-10-17 20:12:42 +03:00
  • 66b93dd31c
    chore: clean up unnecessary cache.get ?? fetch Dragory 2021-10-17 19:56:04 +03:00
  • dcc8dbb615
    fix: increase member cache size to 15000 Dragory 2021-10-17 19:53:26 +03:00
  • 3131878cfb
    fix(automod): fetch message user/member if missing from cache Dragory 2021-10-17 19:52:56 +03:00
  • ac3073d3a2
    fix: whoops Dragory 2021-10-17 19:36:03 +03:00
  • 5be1e8e5b0
    debug: include guild id in RecoverablePluginError logs Dragory 2021-10-17 19:19:53 +03:00
  • 19b7b4a5ee
    fix(post): allow editing messages that aren't saved Dragory 2021-10-17 19:16:47 +03:00
  • 05bd84b1f9
    feat: add missing migration file Dragory 2021-10-17 11:56:00 +03:00
  • 8b486e280c
    feat(tags): remove foreign key from tag_responses, use raw deletion events Dragory 2021-10-17 11:49:34 +03:00
  • 86b01f2991
    fix(mutes): whoops Dragory 2021-10-17 11:37:59 +03:00
  • 9180be75b7
    fix(auto_reactions): fix error if the bot member cannot be found in the server Dragory 2021-10-17 11:32:52 +03:00
  • 9562f9d528
    debug(mutes): add guild id to recoverable plugin error 'mute role is above the bot' Dragory 2021-10-17 11:31:57 +03:00
  • 0f465ffa2b
    fix(slowmode): fix error if the slowmode channel isn't cached Dragory 2021-10-17 11:31:32 +03:00
  • 151a5df4af
    feat(automod): add affects_self option for rules Dragory 2021-10-17 08:15:30 +03:00
  • 1f4f27c26a
    perf(messageSaver): passthrough bot messages without saving them Dragory 2021-10-17 08:13:08 +03:00
  • 44f5b77cc7
    perf(automod): also merge regexes in match_links, match_words Dragory 2021-10-17 08:03:38 +03:00
  • aea6999753
    fix: fix custom emojis not being recognized in !reaction_roles Dragory 2021-10-09 15:03:09 +03:00
  • 2e34cc3b6d
    feat: re-enable auto-leaving unknown servers Dragory 2021-10-09 14:56:31 +03:00
  • ea95f3af18
    fix: fix archive body encryption trying to encode/decode the archive as JSON Dragory 2021-10-09 14:51:18 +03:00
  • ba4c54c41b
    debug: disable slow query logging Dragory 2021-10-09 14:43:55 +03:00
  • ac46facc46
    perf: use thread pool for encryption/decryption Dragory 2021-10-09 14:43:46 +03:00
  • 7a35b477bc
    fix: hotfix Dragory 2021-10-09 14:30:46 +03:00
  • b7c7e002eb
    perf: move encryption/decryption to a separate thread Dragory 2021-10-09 14:21:23 +03:00
  • 0b337a13a4
    perf: insert + ignore errors instead of INSERT IGNORE Dragory 2021-10-09 13:05:02 +03:00
  • d874617e48
    perf: merge regexes in match_regex trigger while taking backreferences into account Dragory 2021-10-09 12:50:47 +03:00
  • 50665c7bb7
    fix: fix most message edits not being logged Dragory 2021-10-09 12:26:09 +03:00
  • 72d5d9d17a
    chore: move saved message clean-up loop with other global loops Dragory 2021-10-09 12:18:19 +03:00
  • 394573318d
    chore: code clean-up for GuildSavedMessages Dragory 2021-10-09 12:03:29 +03:00
  • e5389c0e55
    perf(savedMessages): save a db lookup and message content decryption by building the returned entity manually after creation Dragory 2021-10-09 11:49:34 +03:00
  • f582640e8e
    debug: more profiling for Automod Dragory 2021-10-05 23:54:52 +03:00
  • 53d7491c1b
    debug: re-enable Automod with extra profiling Dragory 2021-10-05 23:49:00 +03:00
  • 2d012bc5cf
    debug: enable MessageSaver, disable Automod, re-enable slow query logs Dragory 2021-10-05 23:28:16 +03:00
  • 0830f67736
    debug: disable MessageSaver globally Dragory 2021-10-05 23:21:14 +03:00
  • 9b4c00915f
    debug+++++ Dragory 2021-10-05 23:06:12 +03:00
  • 7f4195eb02
    debug++++ Dragory 2021-10-05 22:52:10 +03:00
  • 215f560836
    debug+++ Dragory 2021-10-05 22:47:33 +03:00
  • 570e5cc491
    debug++ Dragory 2021-10-05 22:40:43 +03:00
  • ef53ee64c6
    fix: revert regex batching Dragory 2021-10-05 22:10:56 +03:00
  • 04c81727fb
    debug+ Dragory 2021-10-05 21:51:29 +03:00
  • b951feeabd
    fix(automod): fix empty patterns list in match_regex matching every message Dragory 2021-10-05 21:48:02 +03:00
  • 392e2da2d1
    perf(automod): bundle automod regex patterns for potentially increased performance Dragory 2021-10-05 21:30:35 +03:00
  • 5e25792734
    fix(automod): always break triggerLoop on match, even if allow_further_rules is enabled Dragory 2021-10-05 21:11:41 +03:00