forgejo/models
wxiaoguang 65248945c9
Refactor locale&string&template related code (#29165)
Clarify when "string" should be used (and be escaped), and when
"template.HTML" should be used (no need to escape)

And help PRs like  #29059 , to render the error messages correctly.

(cherry picked from commit f3eb835886031df7a562abc123c3f6011c81eca8)

Conflicts:
	modules/web/middleware/binding.go
	routers/web/feed/convert.go
	tests/integration/branches_test.go
	tests/integration/repo_branch_test.go
	trivial context conflicts
2024-02-16 15:20:52 +01:00
..
actions Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
activities
admin
asymkey
auth
avatars
db [FEAT] Don't log context cancelled SQL errors 2024-02-12 23:11:50 +01:00
dbfs
fixtures
forgejo/semver
forgejo_migrations
git Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
issues Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
migrations
organization Remove unused KeyID. (#29167) 2024-02-16 15:20:52 +01:00
packages
perm
project
pull
repo Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
secret
shared/types Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
system
unit Add a direct link from repo header to unit settings 2024-02-13 22:42:09 +01:00
unittest
user Remove unused KeyID. (#29167) 2024-02-16 15:20:52 +01:00
webhook
error.go Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go