githaven-fork/cmd
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_auth_ldap_test.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
admin_auth_ldap.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
admin.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
cert.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
cmd.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
convert.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
docs.go Fix offBy1 errors (#17606) 2021-11-14 10:11:49 +02:00
doctor.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
dump_repo.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
dump.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
embedded_stub.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
embedded.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
generate.go Add asymmetric JWT signing (#16010) 2021-06-17 23:56:46 +02:00
hook_test.go Add agit flow support in gitea (#14295) 2021-07-28 17:42:56 +08:00
hook.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
keys.go Second attempt at preventing zombies (#16326) 2021-07-14 10:43:13 -04:00
mailer.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
manager.go Second attempt at preventing zombies (#16326) 2021-07-14 10:43:13 -04:00
migrate_storage.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
migrate.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
restore_repo.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
serv.go not show double error response in git hook (#18292) 2022-01-16 09:32:32 +00:00
web_graceful.go Make SSL cipher suite configurable (#17440) 2021-11-20 01:12:43 -05:00
web_https.go Add user settings key/value DB table (#16834) 2021-11-22 04:47:23 -05:00
web_letsencrypt.go Upgrade certmagic from v0.14.1 to v0.15.2 (#18138) 2022-01-01 17:43:28 +08:00
web.go Replace "unix" by "http+unix" for PROTOCOL (#17771) 2021-12-05 23:46:11 -05:00