gitea/services
wxiaoguang 6d5aa9218e
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
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
..
actions Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) 2024-12-23 09:59:16 +00:00
agit Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +00:00
asymkey Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
attachment Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +00:00
auth Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
automerge Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
context Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
contexttest Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
convert Add more load functions to make sure the reference object loaded (#32901) 2024-12-19 14:10:08 +08:00
cron Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
doctor Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
externalaccount
feed Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
forms Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
gitdiff Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
indexer
issue Issue time estimate, meaningful time tracking (#23113) 2024-12-05 13:07:53 +00:00
lfs Fix LFS route mock, realm, middleware names (#32488) 2024-11-13 16:58:09 +08:00
mailer Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
markup Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
migrations Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
mirror Refactor pprof labels and process desc (#32909) 2024-12-20 12:17:14 +08:00
notify Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 2024-11-26 21:55:06 +00:00
org Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
packages Fix Arch package metadata introduced incorrect field (#32881) 2024-12-18 15:25:05 +08:00
projects
pull Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
release Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
repository Fix repo avatar conflict (#32958) 2024-12-23 02:52:25 +00:00
secrets
task
uinotification
user Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
webhook Add more load functions to make sure the reference object loaded (#32901) 2024-12-19 14:10:08 +08:00
webtheme
wiki