gitea/routers
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726)
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.
2023-08-25 19:07:42 +08:00
..
api PATCH branch-protection updates check list even when checks are disabled (#26351) 2023-08-24 05:36:04 +00:00
common Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
install Make web context initialize correctly for different cases (#26726) 2023-08-25 19:07:42 +08:00
private Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Make web context initialize correctly for different cases (#26726) 2023-08-25 19:07:42 +08:00
init.go Pre-register OAuth2 applications for git credential helpers (#26291) 2023-08-09 14:24:07 +02:00