0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 14:54:57 +01: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
api.go
api_org.go
api_test.go
auth.go
captcha.go
context.go Drop "unrolled/render" package (#23965) 2023-04-08 14:21:50 +08:00
csrf.go
form.go
org.go
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.go
xsrf_test.go