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/modules/web/middleware
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
..
binding.go Refactor locale&string&template related code (#29165) 12 months ago
cookie.go Delete legacy cookie before setting new cookie (#31306) 8 months ago
data.go Refactor request context (#32956) 2 months ago
flash.go Refactor request context (#32956) 2 months ago
locale.go Refactor cookie (#24107) 2 years ago
request.go Improve template system and panic recovery (#24461) 2 years ago