mirror of
1
Fork 0
forgejo/routers
zeripath 51775f65bc
Make commit info cancelable (#16032)
* Make modules/context.Context a context.Context

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Simplify context calls

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Set the base context for requests to the HammerContext

Signed-off-by: Andrew Thornton <art27@cantab.net>

* pass context into get-last-commit

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Make commit_info cancellable

Signed-off-by: Andrew Thornton <art27@cantab.net>

* use context as context

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-06-06 19:44:58 -04:00
..
admin Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
api/v1 Add missing SameSite settings for the i_like_gitea cookie (#16037) 2021-05-31 14:22:36 -04:00
dev [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
events Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
org Fix case change in ownernames (#16045) 2021-06-02 13:03:59 +01:00
private Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
repo Make commit info cancelable (#16032) 2021-06-06 19:44:58 -04:00
routes Rewrite of the LFS server (#15523) 2021-06-06 02:59:27 +03:00
user Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
home.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
init.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
install.go Fix language switch for install page (#16043) 2021-06-01 21:12:50 +02:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00