You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/context
wxiaoguang e3750370df
Use globally shared HTMLRender (#24436)
The old `HTMLRender` is not ideal.

1. It shouldn't be initialized multiple times, it consumes a lot of
memory and is slow.
2. It shouldn't depend on short-lived requests, the `WatchLocalChanges`
needs a long-running context.
3. It doesn't make sense to use FuncsMap slice.


HTMLRender was designed to only work for GItea's specialized 400+
templates, so it's good to make it a global shared instance.
1 year ago
..
access_log.go Correct the access log format (#24085) 1 year ago
api.go Refactor "route" related code, fix Safari cookie bug (#24330) 1 year ago
api_org.go Implement FSFE REUSE for golang files (#21840) 2 years ago
api_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
captcha.go Add new captcha: cloudflare turnstile (#22369) 1 year ago
context.go Use globally shared HTMLRender (#24436) 1 year ago
context_test.go Refactor "route" related code, fix Safari cookie bug (#24330) 1 year ago
csrf.go Refactor cookie (#24107) 1 year ago
form.go Implement FSFE REUSE for golang files (#21840) 2 years ago
org.go Add missing tabs to org projects page (#22705) 1 year ago
package.go Use globally shared HTMLRender (#24436) 1 year ago
pagination.go Make branches list page operations remember current page (#23420) 1 year ago
permission.go Require repo scope for PATs for private repos and basic authentication (#24362) 1 year ago
private.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` (#24270) 1 year ago
response.go Implement FSFE REUSE for golang files (#21840) 2 years ago
utils.go Implement FSFE REUSE for golang files (#21840) 2 years ago
xsrf.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
xsrf_test.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago