1
0
Fork 0
forgejo/modules/context
wxiaoguang abcf5a7b5e
Fix install page context, make the install page tests really test (#24858)
Fix #24856

Rename "context.contextKey" to "context.WebContextKey", this context is
for web context only. But the Context itself is not renamed, otherwise
it would cause a lot of changes (if we really want to rename it, there
could be a separate PR).

The old test code doesn't really test, the "install page" gets broken
not only one time, so use new test code to make sure the "install page"
could work.
2023-05-23 09:29:15 +08:00
..
access_log.go Fix regression: access log template, gitea manager cli command (#24838) 2023-05-22 09:38:38 +08:00
api.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
api_org.go
api_test.go
base.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
captcha.go
context.go Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
context_cookie.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2023-05-09 01:30:14 +02:00
context_model.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2023-05-09 01:30:14 +02:00
context_request.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
context_response.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
context_test.go Use standard HTTP library to serve files (#24693) 2023-05-13 16:04:57 +02:00
csrf.go
org.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
package.go Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
pagination.go
permission.go
private.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
repo.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
response.go Fix regression: access log template, gitea manager cli command (#24838) 2023-05-22 09:38:38 +08:00
utils.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
xsrf.go
xsrf_test.go