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/common
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
..
auth.go Move context from modules to services (#29440) 1 year ago
compare.go feat(api): implement branch/commit comparison API (#30349) 11 months ago
db.go Refactor the DB migration system slightly (#32344) 4 months ago
deadline.go Fix milestone deadline and date related problems (#32339) 4 months ago
errpage.go Refactor template & test related code (#32938) 2 months ago
errpage_test.go Refactor request context (#32956) 2 months ago
lfs.go Fix LFS route mock, realm, middleware names (#32488) 3 months ago
markup.go Fix markup render regression and fix some tests (#32640) 3 months ago
middleware.go Refactor request context (#32956) 2 months ago
redirect.go Refactor AppURL usage (#30885) 10 months ago
serve.go Move context from modules to services (#29440) 1 year ago