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/services
John Olheiser 5e36024105
Require repo scope for PATs for private repos and basic authentication (#24362)
> 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: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
actions Handle canceled workflow as a warning instead of a fail (#24282) 2 years ago
agit add user rename endpoint to admin api (#22789) 2 years ago
asymkey Add context cache as a request level cache (#22294) 2 years ago
attachment Preserve file size when creating attachments (#23406) 2 years ago
auth Require repo scope for PATs for private repos and basic authentication (#24362) 2 years ago
automerge Add force_merge to merge request and fix checking mergable (#23010) 2 years ago
context Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2 years ago
convert Display when a repo was archived (#22664) 2 years ago
cron Add Cargo package registry (#21888) 2 years ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Title can be empty when creating tag only (#23917) 2 years ago
gitdiff Update go tool dependencies, restructure lint targets (#24239) 2 years ago
issue Use more specific test methods (#24265) 2 years ago
lfs Require repo scope for PATs for private repos and basic authentication (#24362) 2 years ago
mailer Preserve file size when creating attachments (#23406) 2 years ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations Improve test logger (#24235) 2 years ago
mirror Fill head commit to in payload when notifying push commits for mirroring (#23215) 2 years ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages Introduce path Clean/Join helper functions (#23495) 2 years ago
pull Make more functions use ctx instead of db.DefaultContext (#24068) 2 years ago
release Delete deleted release attachments immediately from storage (#23913) 2 years ago
repository Use more specific test methods (#24265) 2 years ago
task Implement FSFE REUSE for golang files (#21840) 2 years ago
user add user rename endpoint to admin api (#22789) 2 years ago
webhook Fix incorrect `HookEventType` of pull request review comments (#23650) 2 years ago
wiki Fix bug when deleting wiki with no code write permission (#24274) 2 years ago