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.
gitea/routers/web
wxiaoguang 3f9c3e7bc3
Refactor render system (#32492)
There were too many patches to the Render system, it's really difficult
to make further improvements.

This PR clears the legacy problems and fix TODOs.

1. Rename `RenderContext.Type` to `RenderContext.MarkupType` to clarify
its usage.
2. Use `ContentMode` to replace `meta["mode"]` and `IsWiki`, to clarify
the rendering behaviors.
3. Use "wiki" mode instead of "mode=gfm + wiki=true"
4. Merge `renderByType` and `renderByFile`
5. Add more comments

----

The problem of "mode=document": in many cases it is not set, so many
non-comment places use comment's hard line break incorrectly
3 months ago
..
admin Move admin routers from /admin to /-/admin (#32189) 4 months ago
auth Fix LFS route mock, realm, middleware names (#32488) 3 months ago
devtest Refactor names (#31405) 8 months ago
events Move context from modules to services (#29440) 12 months ago
explore Respect UI.ExploreDefaultSort setting again (#32357) 3 months ago
feed Refactor render system (#32492) 3 months ago
healthcheck Always enable caches (#28527) 1 year ago
misc Refactor render system (#32492) 3 months ago
org Calculate `PublicOnly` for org membership only once (#32234) 3 months ago
repo Refactor render system (#32492) 3 months ago
shared Add option to filter board cards by labels and assignees (#31999) 5 months ago
user Refactor render system (#32492) 3 months ago
base.go Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (#32365) 3 months ago
githttp.go Fix LFS route mock, realm, middleware names (#32488) 3 months ago
goget.go Refactor RepoRefByType (#32413) 3 months ago
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 11 months ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 12 months ago
passkey.go Move context from modules to services (#29440) 12 months ago
swagger_json.go Move context from modules to services (#29440) 12 months ago
web.go Fix LFS route mock, realm, middleware names (#32488) 3 months ago
webfinger.go Move context from modules to services (#29440) 12 months ago