gitea/services/markup
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
..
main_test.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
renderhelper.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
renderhelper_codepreview.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
renderhelper_codepreview_test.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
renderhelper_issueicontitle.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
renderhelper_issueicontitle_test.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00
renderhelper_mention_test.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00