3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00
Commit graph

1533 commits

Author SHA1 Message Date
Dragory
7cd56303fc
refactor: use npm workspaces and ts project references 2024-03-02 09:24:07 +00:00
Dragory
ffa9eeb3f5
feat: handle template errors
Fixes ZDEV-20
2024-01-27 16:01:48 +02:00
Dragory
2ce5082018
fix: shorter than 6 character invite codes
Fixes ZDEV-108
2024-01-27 15:05:40 +02:00
Dragory
008ac1bec0
fix: missing imports 2024-01-27 15:04:39 +02:00
Dragory
6840fb4646
fix: clamp counter values in config 2024-01-27 14:57:57 +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
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
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
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
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
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
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
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
Tiago R
ae651c8a70 paginated user cases
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:23:57 +00:00
Tiago R
2ac7ae85ce missed one
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
2b5a5e636a almeida review.mp4
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00
Tiago R
e0637a206f better startThread if checks (almeida is happy)
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 20:20:17 +00:00