feat: Add new locales (fr-CA, pt-BR, sw) and CSP violation reporting - #338
Merged
Merged
Conversation
## Frontend Locales - Add fr-CA (French Canadian), pt-BR (Brazilian Portuguese), sw (Swahili) to supported locales - Create new translation files for each locale - Update LanguageSelector component to include new locales in dropdown - Update i18n.ts to import and use new translation files - Locales now available: en, es, fr, fr-CA, pt-BR, sw ## Backend CSP Report - Add CspReportController that logs CSP violations to LoggerService at warn level - Controller has @public decorator to allow unauthenticated access - Endpoint path: /api/v1/csp-report - Update SecurityModule to register CspReportController - Add reportUri to Helmet CSP directives pointing to /api/v1/csp-report
The LoggerService.warn method expects (message, context, meta), not (meta, message, context).
abimbolaalabi
force-pushed
the
feat/swahili
branch
from
July 15, 2026 23:12
20e50c5 to
8d4c563
Compare
Contributor
|
Awesome work on this! Thanks for the contribution 🚀 Merging now. |
Contributor
|
Hi 👋 Thanks for this PR! There are some merge conflicts with the current main. Could you rebase onto main and push when you have a moment? Once it's clean we'll get it merged 🚀 |
abimbolaalabi
force-pushed
the
feat/swahili
branch
from
July 17, 2026 13:57
5e8f005 to
a9d625c
Compare
Contributor
Author
|
@kilodesodiq-arch Thank you. All checks have passed. |
kilodesodiq-arch
approved these changes
Jul 17, 2026
ifygreg01-best
pushed a commit
to ifygreg01-best/ChainForge
that referenced
this pull request
Jul 23, 2026
…hainForgee#338) * feat: Add new locales (fr-CA, pt-BR, sw) and CSP violation reporting ## Frontend Locales - Add fr-CA (French Canadian), pt-BR (Brazilian Portuguese), sw (Swahili) to supported locales - Create new translation files for each locale - Update LanguageSelector component to include new locales in dropdown - Update i18n.ts to import and use new translation files - Locales now available: en, es, fr, fr-CA, pt-BR, sw ## Backend CSP Report - Add CspReportController that logs CSP violations to LoggerService at warn level - Controller has @public decorator to allow unauthenticated access - Endpoint path: /api/v1/csp-report - Update SecurityModule to register CspReportController - Add reportUri to Helmet CSP directives pointing to /api/v1/csp-report * fix: Correct LoggerService argument order in CspReportController The LoggerService.warn method expects (message, context, meta), not (meta, message, context). * chore: update pnpm lockfile * fix: import LoggerModule into SecurityModule * chore: update openapi.json with csp-report endpoint * fix: remove trailing comma in package.json scripts block
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #291
feat: Add new locales (fr-CA, pt-BR, sw) and CSP violation reporting
Frontend Locales
Backend CSP Report