forgejo/routers/web/user
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
..
setting Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
avatar.go Replace -1 with GhostUserID (#27703) 2023-10-20 14:43:08 +00:00
code.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
home.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
home_test.go Include public repos in doer's dashboard for issue search (#28304) 2023-12-07 13:26:18 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
package.go Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
profile.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
search.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
stop_watch.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
task.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00