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
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
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
Almeida
047ab872df
fix parsing of file extension in match_attachment_type trigger ( #425 )
2023-12-27 18:44:35 +00:00
Tiago R
d162418be5
Add missing dependency to mutes plugin & fix timeout expiry ( #430 )
...
* +debug
Signed-off-by: GitHub <noreply@github.com>
* Revert "+debug"
This reverts commit 83daee09d9
.
* add missing dependency to mutes
Signed-off-by: GitHub <noreply@github.com>
* lower max timeout duration
Signed-off-by: GitHub <noreply@github.com>
---------
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 18:38:26 +00:00
Tiago R
00fb71f26d
compose: Don't expose MySQL through all interfaces ( #435 )
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 18:36:37 +00:00
Tiago R
f17232e0c1
dont allow self targeting for set-perms ( #434 )
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-27 18:35:16 +00:00
zay
e5e574625a
chore(basic-config): rename plugin ( #359 )
2023-12-27 18:33:20 +00:00
Almeida
cf55eb161f
fix formatting and globs in package.json ( #440 )
2023-12-27 18:30:08 +00:00
Tiago R
94a712832a
Display available emojis separately from total on server info ( #433 )
...
* respect .available (almeida-approved code!!)
Signed-off-by: GitHub <noreply@github.com>
* Update backend/src/plugins/Utility/functions/getServerInfoEmbed.ts
Co-authored-by: Almeida <almeidx@pm.me>
---------
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Almeida <almeidx@pm.me>
2023-12-27 18:20:48 +00:00
Miikka
fdefca17ae
Merge pull request #439 from metal0/typeorm-counters
...
fix: typeorm counters missing "where" from new typeorm update
2023-12-22 23:49:10 +02:00
Tiago R
48d5696552
add missing "where"
...
Signed-off-by: GitHub <noreply@github.com>
2023-12-22 20:21:22 +00:00
Dragory
fafaefa1fb
feat: limit logs timestamp_format length
2023-11-25 12:28:28 +02:00
Dragory
c82e147ea1
feat: more robust tag error handling
2023-11-25 12:15:32 +02:00
Dragory
09b6d43a5c
Merge branch 'master' of github.com:Dragory/ZeppelinBot
2023-11-25 12:06:02 +02:00