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 6d5aa9218e
Refactor request context (#32956)
Introduce RequestContext: is a short-lived context that is used to store
request-specific data.

RequestContext could be used to clean form tmp files, close context git
repo, and do some tracing in the future.

Then a lot of legacy code could be removed or improved. For example:
most `ctx.Repo.GitRepo.Close()` could be removed because the git repo
could be closed when the request is done.
2 months ago
..
admin Refactor template & test related code (#32938) 2 months ago
auth Refactor template & test related code (#32938) 2 months ago
devtest Add auto-expanding running actions step (#30058) 2 months ago
events Move context from modules to services (#29440) 1 year ago
explore Refactor template & test related code (#32938) 2 months ago
feed Move GetFeeds to service layer (#32526) 3 months ago
healthcheck Always enable caches (#28527) 1 year ago
misc Refactor template & test related code (#32938) 2 months ago
org Refactor template & test related code (#32938) 2 months ago
repo Refactor template & test related code (#32938) 2 months ago
shared Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) 2 months ago
user Refactor template & test related code (#32938) 2 months ago
base.go Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (#32365) 4 months ago
githttp.go Fix LFS route mock, realm, middleware names (#32488) 3 months ago
goget.go Refactor RepoRefByType (#32413) 4 months ago
home.go Refactor template & test related code (#32938) 2 months ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 1 year ago
passkey.go Move context from modules to services (#29440) 1 year ago
swagger_json.go Move context from modules to services (#29440) 1 year ago
web.go Refactor request context (#32956) 2 months ago
webfinger.go Move context from modules to services (#29440) 1 year ago