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.
gitea/modules/context
Giteabot d2efd2bf73
Require repo scope for PATs for private repos and basic authentication (#24362) (#24364)
Backport #24362 by @jolheiser

> The scoped token PR just checked all API routes but in fact, some web
routes like `LFS`, git `HTTP`, container, and attachments supports basic
auth. This PR added scoped token check for them.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
access_log.go Render access log template as text instead of HTML (#23013) 2 years ago
api.go Fix wrong error info in RepoRefForAPI (#24344) (#24351) 2 years 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
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
captcha.go Add new captcha: cloudflare turnstile (#22369) 2 years ago
context.go Improve template error reporting (#23396) (#23600) 2 years ago
csrf.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
form.go Implement FSFE REUSE for golang files (#21840) 2 years ago
org.go Add missing tabs to org projects page (#22705) (#23412) 2 years ago
package.go Rename almost all Ctx functions (#22071) 2 years ago
pagination.go Make branches list page operations remember current page (#23420) (#23460) 2 years ago
permission.go Require repo scope for PATs for private repos and basic authentication (#24362) (#24364) 2 years ago
private.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Ensure RSS icon is present on all repo tabs (#23904) (#23973) 2 years ago
response.go Implement FSFE REUSE for golang files (#21840) 2 years ago
utils.go Implement FSFE REUSE for golang files (#21840) 2 years 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