forgejo/modules/context
KN4CK3R 0a9a86b943
Respect REQUIRE_SIGNIN_VIEW for packages (#20873)
Fix #20863

When REQUIRE_SIGNIN_VIEW = true, even with public repositories, you can only see them after you login. The packages should not be accessed without login.

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-09-21 21:01:18 +08:00
..
access_log.go
api.go Add Cache-Control header to html and api responses, add no-transform (#20432) 2022-07-23 14:38:03 +08:00
api_org.go
api_test.go
auth.go Respond with a 401 on git push when password isn't changed yet (#20026) 2022-06-19 20:23:00 +01:00
captcha.go
context.go Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00
csrf.go
form.go
org.go Allow access to the Public Organization Member lists with minimal permissions (#20330) 2022-07-15 15:21:54 +01:00
package.go Respect REQUIRE_SIGNIN_VIEW for packages (#20873) 2022-09-21 21:01:18 +08:00
pagination.go Remove tab/TabName usage where it's not needed (#19973) 2022-06-15 23:05:32 +08:00
permission.go
private.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
repo.go Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
response.go
utils.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
xsrf.go
xsrf_test.go