1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00
forgejo/routers/web/admin
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868)
This PR continues the work in #17125 by progressively ensuring that git
commands run within the request context.

This now means that the if there is a git repo already open in the context it will be used instead of reopening it.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-01-19 23:26:57 +00:00
..
admin.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
admin_test.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
auths.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
emails.go Move more model into models/user (#17826) 2021-11-28 22:11:58 +08:00
hooks.go Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
notice.go Move user functions into user.go (#17659) 2021-11-18 13:58:42 +08:00
orgs.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
repos.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
users.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
users_test.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00