gitea/modules/context
wxiaoguang 31bb9f3247
Refactor more code in templates ()
Follow . 

* Introduce JSONTemplate to help to render JSON templates
* Introduce JSEscapeSafe for templates. Now only use `{{ ... |
JSEscape}}` instead of `{{ ... | JSEscape | Safe}}`
* Simplify "UserLocationMapURL" useage
..
access_log.go Replace `interface{}` with `any` ()
api.go Refactor locale&string&template related code ()
api_org.go Implement FSFE REUSE for golang files ()
api_test.go Implement FSFE REUSE for golang files ()
base.go Refactor locale&string&template related code ()
captcha.go Replace `interface{}` with `any` ()
context.go Refactor locale&string&template related code ()
context_cookie.go Enhanced auth token / remember me ()
context_model.go Improve Gitea's web context, decouple "issue template" code into service package ()
context_request.go Decouple the different contexts from each other ()
context_response.go Refactor more code in templates ()
context_template.go Start using template context function ()
context_test.go Use standard HTTP library to serve files ()
csrf.go Refactor cookie ()
org.go Even more `db.DefaultContext` refactor ()
package.go Prevent anonymous container access if `RequireSignInView` is enabled ()
pagination.go Replace `interface{}` with `any` ()
permission.go Add context parameter to some database functions ()
private.go Replace `interface{}` with `any` ()
repo.go Refactor locale&string&template related code ()
response.go Refactor web package and context package ()
utils.go Avoid double-unescaping of form value ()
xsrf.go Update gitea-vet to check FSFE REUSE ()
xsrf_test.go Update gitea-vet to check FSFE REUSE ()