1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-16 06:13:43 -04:00
gitea/modules/context
wxiaoguang 8f00979f73
Drop "unrolled/render" package (#23965)
None of the features of `unrolled/render` package is used. 

The Golang builtin "html/template" just works well. Then we can improve
our HTML render to resolve the "$.root.locale.Tr" problem as much as
possible.

Next step: we can have a template render pool (by Clone), then we can
inject global functions with dynamic context to every `Execute` calls.
Then we can use `{{Locale.Tr ....}}` directly in all templates , no need
to pass the `$.root.locale` again and again.
2023-04-08 14:21:50 +08:00
..
access_log.go Parse external request id from request headers, and print it in access log (#22906) 2023-03-10 09:54:32 -06:00
api_org.go
api_test.go
api.go Set X-Gitea-Debug header once (#23361) 2023-03-08 15:40:04 -05:00
auth.go
captcha.go Add new captcha: cloudflare turnstile (#22369) 2023-02-05 15:29:03 +08:00
context.go Drop "unrolled/render" package (#23965) 2023-04-08 14:21:50 +08:00
csrf.go
form.go
org.go Add missing tabs to org projects page (#22705) 2023-03-10 09:18:20 -06:00
package.go Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
pagination.go Make branches list page operations remember current page (#23420) 2023-03-14 13:11:38 +08:00
permission.go
private.go
repo.go Ensure RSS icon is present on all repo tabs (#23904) 2023-04-07 16:48:23 +08:00
response.go
utils.go
xsrf_test.go
xsrf.go