Repository navigation
fix(moderation): ban mateapp.it links - #160
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit details
|
| Layer / File(s) | Summary |
|---|---|
Add a banned domain src/middlewares/auto-moderation-stack/constants.ts |
BANNED_DOMAINS now includes mateapp.it. |
Change: Bug fix
Merge Risk: 
Low · previous review 88ae4
-
Uppercase mateapp.it links can still evade moderation; normalize hostnames before merging.
Pre-merge checks: 
4
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.
-
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Extract and normalize hostnames from text_link entities and raw message text, and match a banned domain as the bare host or a dot-delimited suffix. Path-based entries and the existing invite checks are unchanged.
Adds
mateapp.ittoBANNED_DOMAINSin the auto-moderation stack, since the app is being spammed in our groups.