-
Notifications
You must be signed in to change notification settings - Fork 2
feat: hard gate to prevent @here and @everyone mentions #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
78cd350
feat: hard gate to prevent @here and @everyone mentions (#61)
BillChirico d95bb30
docs: add safeSend.js and sanitizeMentions.js to AGENTS.md key files
BillChirico d7b03ee
refactor: migrate all callsites to safeSend wrappers
BillChirico a741bff
Merge branch 'main' into feat/mention-gate
BillChirico 4fe486c
fix: add .catch on error-path safeEditReply in history command
BillChirico 25341d8
docs: document safeReply compatibility with Message objects
BillChirico 4824494
feat: add splitMessage integration and Winston error logging to safe …
BillChirico 6ba4681
docs: document Discord case-sensitivity for @everyone/@here mentions
BillChirico ca5985e
fix: update stale 'Mock logger' comments to describe safeSend mocks
BillChirico a759af2
test: add allowedMentions override, split, and error logging tests
BillChirico f18bf1e
fix: truncate interaction replies instead of splitting for Discord AP…
BillChirico 06836a5
fix: migrate memory.js to safeSend wrappers — close injection vector
BillChirico 4076bbf
fix: prevent email false positives in mention sanitization regex
BillChirico 2785af5
docs: document intentional role mention blocking and opt-in path
BillChirico 15853d6
fix: only attach embeds/components/files to last chunk when splitting
BillChirico aec7f53
fix: migrate buttonInteraction.update() calls to safeUpdate wrapper i…
BillChirico 5bb5d52
fix: format safeSend.test.js import for Biome compliance
github-actions[bot] 3893085
refactor: address PR #62 round 6 review comments
BillChirico efc7332
fix: sanitize embed and component string fields in sanitizeMessageOpt…
BillChirico 893b18e
fix: add global beforeEach to clear mocks in safeSend tests
BillChirico b10c839
fix: resolve merge conflicts with main — use checkAndRecoverMemory + …
BillChirico 6bb5eb7
fix: biome formatting in sanitizeMentions tests
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.