Commit graph

2454 commits

Author SHA1 Message Date
Miikka
48507499bc
Merge pull request #454 from ZeppelinBot/metal0-fix-member-cases
Some fixes to !cases (continued)
2024-01-27 14:51:52 +02:00
Dragory
90c7024b05
chore: run prettier 2024-01-27 14:50:57 +02:00
Dragory
e42bbb953f
fix: use lower casesPerPage
Temporary fix to make it unlikely to go over the 4096 character limit

Needs a proper fix in the future where we pre-render the case
summaries and paginate based on their length.
2024-01-27 14:47:59 +02:00
Dragory
e72abb05b2
Merge master 2024-01-27 14:45:35 +02:00
Miikka
c3601ae7ef
Merge pull request #452 from ZeppelinBot/fix-timeout-expiration-note
fix case note on timeout expiration for manual timeouts
2024-01-27 14:39:44 +02:00
Miikka
601050838e
Merge pull request #453 from ZeppelinBot/metal0-display-names
Update DJS + Display names fixes + per-server avatars (continued)
2024-01-27 14:39:01 +02:00
Dragory
710bedd050
chore: run prettier 2024-01-27 14:38:02 +02:00
Dragory
1518d58e25
Merge master 2024-01-27 14:35:11 +02:00
Miikka
d70a56a01f
Merge pull request #450 from ZeppelinBot/iots_to_zod
io-ts -> zod
2024-01-27 14:24:29 +02:00
Dragory
873bf7eb99
chore: run prettier 2024-01-27 14:23:13 +02:00
Dragory
77ab2718e7
chore: resolve lint errors 2024-01-27 14:21:32 +02:00
Dragory
59c5176cbd
Merge remote-tracking branch 'origin/master' into iots_to_zod 2024-01-27 14:12:06 +02:00
Dragory
adab5dd591
fix: revert dashboard tsconfig
There are a lot of errors with the stricter settings that the backend
uses and it's not worth it fixing the dashboard now when we're
rewriting it in the near future.
2024-01-27 14:04:57 +02:00
Dragory
49866d375a
feat: zod config schema formatting 2024-01-27 13:55:26 +02:00
Dragory
7ba318a6d9
chore: centralize common TS config options 2024-01-27 12:50:09 +02:00
Dragory
b83f388096
feat: add cli command to export configs as json schema 2024-01-27 12:47:30 +02:00
Dragory
b0a9cf1bcd
fix: tweaks to config types 2024-01-27 12:46:48 +02:00
Dragory
6110b8190c
chore: use @zeppelinbot scope over @zeppelin for package names 2024-01-27 12:45:52 +02:00
Almeida
681b19b69c
fmt 2024-01-23 16:47:58 +00:00
Almeida
be87fe6c43
fix case note on timeout expiration for manual timeouts 2024-01-23 16:36:45 +00:00
Dragory
a562182e7c
chore: remove unused log types from presetup-configurator 2024-01-15 22:45:38 +00:00
Dragory
1b76af3579
fix: cases types 2024-01-15 22:45:07 +00:00
Dragory
61b5f3f0d3
feat: add cli command to validate active configs 2024-01-15 22:44:43 +00:00
Dragory
e4b098b563
fix: automod types 2024-01-15 22:39:27 +00:00
Dragory
5a5be89573
fix: counter types 2024-01-15 22:38:48 +00:00
Dragory
82d720d308
refactor: change LogType to a plain object instead of an enum 2024-01-15 22:37:39 +00:00
Dragory
cbec80981d
feat: improve ZodIssue rendering in config validation 2024-01-15 22:36:10 +00:00
Dragory
ac8926cdb8
chore: fix inconsistent import paths 2024-01-15 18:05:01 +00:00
Dragory
3db9090705
fix: circular dependency in automod types 2024-01-15 18:03:45 +00:00
Miikka
cfadfe2d91
Merge pull request #451 from metal0/disable-guild-member-cache
fix: Disable guildMemberCache plugin temporarily
2024-01-15 19:22:45 +02:00
Tiago R
39e8367f5f
disable guildmembercache
Signed-off-by: GitHub <noreply@github.com>
2024-01-15 12:23:52 +00:00
Dragory
28692962bc
refactor: replace io-ts with zod 2024-01-14 14:25:42 +00:00
Almeida
c07e4321a7
remove erlpack (#444) 2024-01-08 15:35:55 +00:00
Almeida
47ad8fa4d3
only call disableInvites() if value has changed (#443) 2024-01-08 11:15:57 +00:00
Tiago R
f58e7f5eb7
Fix automod cooldown logic (#442)
* fix automod cooldowns

Signed-off-by: GitHub <noreply@github.com>

* almeida fixes

Signed-off-by: GitHub <noreply@github.com>

* https://shr2.i0.tf/82e683c8/bd310b9c-7492-44f0-aed5-af6a22a3c196.png

Signed-off-by: GitHub <noreply@github.com>

---------

Signed-off-by: GitHub <noreply@github.com>
2024-01-07 21:12:50 +00:00
Ben Richeson
094e94f0f4
Add pause_invites automod action (#423)
* feat(AutomodPlugin): toggle invite action

* feat: rename and change config shape

* refactor: rename disable_invites to pause_invites

* fix: make options an object, else setting an action to `false` ignores it
2024-01-05 01:41:12 +00:00
zay
3912523c92
Moderation Guide (#356)
* create Moderation Guide

* code review

* fix: enable mod_actions plugin

* Apply suggestions from code review

Co-authored-by: Almeida <github@almeidx.dev>

* style: code review

Suggestions that were not automatically resolvable.

---------

Co-authored-by: Almeida <github@almeidx.dev>
2023-12-30 22:09:37 +00:00
Tiago R
c53bfaa233
remove trimLines
Signed-off-by: GitHub <noreply@github.com>
2023-12-29 17:03:45 +00:00
Tiago R
3217f35017
implement MEMBER_MUTE_EXPIRED (#437)
Signed-off-by: GitHub <noreply@github.com>
2023-12-29 14:30:40 +00:00
Ben Richeson
8a4a2d3647
feat: option to trigger antiraid_level only on change (#424)
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 12:52:43 +00:00
hawkeye7662
d51461ee3a
Catch Too Many Reactions error (#326)
Catches Maximum number of reactions reached (20) error by checking for error code 30010

Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 12:32:48 +00:00
hawkeye7662
1cb8431a02
Fix loose matching for automod (#428)
Added a missing closing bracket for the regex to work.

Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 12:29:28 +00:00
Miikka
e7eacb330b
chore: update .clabot 2023-12-29 14:26:20 +02:00
Miikka
b2fc4d69e3
chore: update .clabot 2023-12-29 14:21:58 +02:00
Tiago R
7c946949d6
automod match_link fixes (#432)
* remove trailing dot from FQDN for TLD check

Signed-off-by: GitHub <noreply@github.com>

* yeet all trailing characters from TLDs

Signed-off-by: GitHub <noreply@github.com>

* oops

Signed-off-by: GitHub <noreply@github.com>

* move dumb loop to regex replace

Signed-off-by: GitHub <noreply@github.com>

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-29 11:43:36 +00:00
BanTheNons
d09e0566b3
fix: reactions in the channel archiver command (#308)
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-28 20:43:46 +00:00
rubyowo
b881245640
feat: make update script exit if one of the commands fail (#415)
* feat: make update script fail if merge conflict

* stop on first error with bash command

---------

Co-authored-by: Almeida <github@almeidx.dev>
2023-12-28 20:36:56 +00:00
Tiago R
d8c1a5791b
Reworked automod "set_slowmode" action (#441)
* initial

* fixes

Signed-off-by: GitHub <noreply@github.com>

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Almeida <github@almeidx.dev>
2023-12-28 20:14:26 +00:00
Tiago R
8860d4fb22
Timeouts: better validations (#438)
* better timeout validations

Signed-off-by: GitHub <noreply@github.com>

* almeida reviews

Signed-off-by: GitHub <noreply@github.com>

* better error handling

Signed-off-by: GitHub <noreply@github.com>

* add missing catch noops

Signed-off-by: GitHub <noreply@github.com>

---------

Signed-off-by: GitHub <noreply@github.com>
2023-12-28 14:41:32 +00:00
Tiago R
bb4fdf6530 move embed fields to embed description
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:23:57 +00:00