gitea/modules/context
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases ()
The web context (modules/context.Context) is quite complex, it's
difficult for the callers to initialize correctly.

This PR introduces a `NewWebContext` function, to make sure the web
context have the same behavior for different cases.
..
access_log.go Replace `interface{}` with `any` ()
api.go Set commit id when ref used explicitly ()
api_org.go Implement FSFE REUSE for golang files ()
api_test.go Implement FSFE REUSE for golang files ()
base.go Introduce ctx.PathParamRaw to avoid incorrect unescaping ()
captcha.go Replace `interface{}` with `any` ()
context.go Make web context initialize correctly for different cases ()
context_cookie.go Improve Gitea's web context, decouple "issue template" code into service package ()
context_model.go Improve Gitea's web context, decouple "issue template" code into service package ()
context_request.go Decouple the different contexts from each other ()
context_response.go Start using template context function ()
context_template.go Start using template context function ()
context_test.go Use standard HTTP library to serve files ()
csrf.go Refactor cookie ()
org.go Fix display problems of members and teams unit ()
package.go Make web context initialize correctly for different cases ()
pagination.go Replace `interface{}` with `any` ()
permission.go Add context parameter to some database functions ()
private.go Replace `interface{}` with `any` ()
repo.go Add context parameter to some database functions ()
response.go Refactor web package and context package ()
utils.go Decouple the different contexts from each other ()
xsrf.go Update gitea-vet to check FSFE REUSE ()
xsrf_test.go Update gitea-vet to check FSFE REUSE ()