This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers
zeripath 3183a465d7
Make modules/context.Context a context.Context (#16031)
* 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>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-05-31 02:18:11 -04:00
..
admin Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
api/v1 Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -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 Unified link creation. (#15619) 2021-04-30 19:25:13 +02:00
private Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
repo Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04:00
routes Improve assets handler middleware (#15961) 2021-05-30 18:25:11 +08:00
user Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04: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 Make modules/context.Context a context.Context (#16031) 2021-05-31 02:18:11 -04: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