forgejo/build
Gusted dfe3ffc581 feat: harden localization against malicious HTML (#5703)
- Add a new script that proccess the localization files and verify that
they only contain HTML according to our strictly defined rules.
- This should make adding malicious HTML near-impossible.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5703
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2024-10-30 15:59:48 +00:00
..
codeformat Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
backport-locales.go [CHORE] Remove println 2024-04-12 13:36:31 +02:00
code-batch-process.go Add interface{} to any replacement to make fmt, exclude *.pb.go (#30461) 2024-04-15 20:01:36 +02:00
generate-bindata.go Change use of Walk to WalkDir to improve disk performance (#22462) 2023-01-16 16:21:44 +00:00
generate-emoji.go s/Gitea/Forgejo in various log messages and comments 2024-04-21 21:26:15 +05:00
generate-gitignores.go
generate-go-licenses.go Forgejo v9.0 is GPLv3+ 2024-08-22 09:09:29 +02:00
generate-licenses.go
gocovmerge.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
lint-locale.go feat: harden localization against malicious HTML (#5703) 2024-10-30 15:59:48 +00:00
lint-locale_test.go feat: harden localization against malicious HTML (#5703) 2024-10-30 15:59:48 +00:00
merge-forgejo-locales.go [I18N] make merge-locales & build/merge-forgejo-locales.go are noop 2024-03-28 18:02:55 +01:00
test-echo.go Clean some legacy files and move some build files (#23699) 2023-03-25 16:22:51 -04:00
test-env-check.sh
test-env-prepare.sh
update-locales.sh Clarify Gitea/Crowdin locale behaviors, add tests for LocaleStore, fix some strings with semicolons (#23819) 2023-03-31 12:16:41 +08:00