Add Discord allowed mentions configuration to notification settings #64

Merged
Twyco merged 3 commits from koda/allowed-mentions-ui-for-discord into main 2026-04-25 18:31:26 +00:00
Contributor

Summary

  • add Discord allowed_mentions support in delivery payloads with strict sanitization (users, roles, everyone)
  • add request validation for channel_configuration.allowed_mentions on create/update notification actions
  • expose Discord-only allowed mention checkboxes in project notification settings create/edit forms
  • persist and round-trip allowed mention configuration in notification settings payloads

Testing

  • npm run build
  • APP_KEY=base64:$(php -r 'echo base64_encode(random_bytes(32));') php artisan test --compact tests/Feature/Notifications/DeliverNotificationActionTest.php tests/Feature/Projects/ProjectNotificationSettingsControllerTest.php
## Summary - add Discord `allowed_mentions` support in delivery payloads with strict sanitization (`users`, `roles`, `everyone`) - add request validation for `channel_configuration.allowed_mentions` on create/update notification actions - expose Discord-only allowed mention checkboxes in project notification settings create/edit forms - persist and round-trip allowed mention configuration in notification settings payloads ## Testing - `npm run build` - `APP_KEY=base64:$(php -r 'echo base64_encode(random_bytes(32));') php artisan test --compact tests/Feature/Notifications/DeliverNotificationActionTest.php tests/Feature/Projects/ProjectNotificationSettingsControllerTest.php`
Twyco changed target branch from codex/v0.5-webhook-notification/06-notification-tests-and-release-hardening to main 2026-04-25 14:15:17 +00:00
Twyco added 1 commit 2026-04-25 14:15:17 +00:00
Twyco added 1 commit 2026-04-25 16:55:09 +00:00
replaced allowed mentions with enum
tests / ci (8.4) (pull_request) Failing after 1m31s
linter / quality (pull_request) Successful in 1m20s
e66b798429
Twyco added 1 commit 2026-04-25 18:28:04 +00:00
request fix
linter / quality (pull_request) Successful in 1m17s
tests / ci (8.4) (pull_request) Successful in 1m33s
22caed4fa1
Twyco merged commit cce21fff84 into main 2026-04-25 18:31:26 +00:00
Twyco deleted branch koda/allowed-mentions-ui-for-discord 2026-04-25 18:31:26 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: PetschStudios/KanbanGit#64