1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-02 03:46:01 -04:00
gitea/modules/context
wxiaoguang f3eb835886
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.
2024-02-14 21:48:45 +00:00
..
access_log.go
api_org.go
api_test.go
api.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
base.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
captcha.go
context_cookie.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
context_model.go
context_request.go
context_response.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
context_template.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
context_test.go
context.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
csrf.go
org.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
package.go Prevent anonymous container access if RequireSignInView is enabled (#28877) 2024-01-21 16:31:29 +00:00
pagination.go
permission.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
private.go
repo.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
response.go
utils.go Avoid double-unescaping of form value (#26853) 2023-09-01 12:01:36 +00:00
xsrf_test.go
xsrf.go