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/routers/api/v1
Lunny Xiao 4f879a00df
Refactor find forks and fix possible bugs that weak permissions check (#32528)
- Move models/GetForks to services/FindForks
- Add doer as a parameter of FindForks to check permissions
- Slight performance optimization for get forks API with batch loading
of repository units
- Add tests for forking repository to organizations

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
4 months ago
..
activitypub Remove SHA1 for support for ssh rsa signing (#31857) 7 months ago
admin Move admin routers from /admin to /-/admin (#32189) 6 months ago
misc Refactor render system (#32492) 4 months ago
notify Refactor names (#31405) 9 months ago
org Calculate `PublicOnly` for org membership only once (#32234) 5 months ago
packages remove util.OptionalBool and related functions (#29513) 1 year ago
repo Refactor find forks and fix possible bugs that weak permissions check (#32528) 4 months ago
settings Move context from modules to services (#29440) 1 year ago
shared Refactor names (#31405) 9 months ago
swagger Support repo license (#24872) 6 months ago
user refactor: remove redundant err declarations (#32381) 5 months ago
utils Move admin routers from /admin to /-/admin (#32189) 6 months ago
api.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 5 months ago