forgejo/routers/web/user/setting
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
..
security Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
account.go [SECURITY] Rework long-term authentication 2024-02-05 15:06:15 +01:00
account_test.go
adopt.go
applications.go Fix inconsistent naming of OAuth 2.0 ENABLE setting (#28951) 2024-01-28 12:36:44 +00:00
blocked_users.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
keys.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
main_test.go
oauth2.go
oauth2_common.go
packages.go
profile.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
runner.go
webhooks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00