gitea/routers
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.
2024-12-24 11:43:57 +08:00
..
api Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
common Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
install Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
private Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
init.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00