You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
1 year ago
..
access_log.go Fix regression: access log template, gitea manager cli command (#24838) 1 year ago
api.go Decouple the different contexts from each other (#24786) 1 year ago
api_org.go Implement FSFE REUSE for golang files (#21840) 2 years ago
api_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Decouple the different contexts from each other (#24786) 1 year ago
captcha.go Add new captcha: cloudflare turnstile (#22369) 1 year ago
context.go Fix install page context, make the install page tests really test (#24858) 1 year ago
context_cookie.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 1 year ago
context_model.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 1 year ago
context_request.go Decouple the different contexts from each other (#24786) 1 year ago
context_response.go Decouple the different contexts from each other (#24786) 1 year ago
context_test.go Use standard HTTP library to serve files (#24693) 1 year ago
csrf.go Refactor cookie (#24107) 1 year ago
org.go Decouple the different contexts from each other (#24786) 1 year ago
package.go Fix install page context, make the install page tests really test (#24858) 1 year ago
pagination.go Make branches list page operations remember current page (#23420) 1 year ago
permission.go Require repo scope for PATs for private repos and basic authentication (#24362) 1 year ago
private.go Decouple the different contexts from each other (#24786) 1 year ago
repo.go Decouple the different contexts from each other (#24786) 1 year ago
response.go Fix regression: access log template, gitea manager cli command (#24838) 1 year ago
utils.go Decouple the different contexts from each other (#24786) 1 year ago
xsrf.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
xsrf_test.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago