Commit Graph

29 Commits (695c4b4b0ecb65c87fd7e9c8f77e612b99b8abe3)

Author SHA1 Message Date
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Lauris BH 6392f4691a
API: Return primary language and repository language stats API URL (#18396) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
Patrick Schratz ef395286bf
update `user/repos` api description (#16503) 3 years ago
6543 7ac8a770e1
Move Repo APIFormat to convert package (#13787) 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers (#12446) 4 years ago
Clark Boylan 7e401fb026
Fix repo API listing stability (#12057) 4 years ago
Cirno the Strongest 0159851cc3
Rework api/user/repos for pagination (#11827) 5 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
7FM 22272fe1e4 Make /users/{username}/repos list private repos the current user has access to (#8621) 5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago
Daniel Balko 3379141d81 API: '/orgs/:org/repos': return private repos with read access (#5310) (#3829) (#5383) 6 years ago
Ethan Koenig f26f4a7e01 Update swagger documentation (#2899) 7 years ago
Antoine GIRARD fd8e8a421a Improve swagger doc (#2274) 7 years ago
Aaron Walker 6a3c03762a API: support '/orgs/:org/repos' (#2047) 7 years ago
Ethan Koenig 8f1d62ad3b Fix GET /users/:username/repos endpoint (#2125) 7 years ago
Antoine GIRARD 3edb0c5894 Generate swagger json (#1402) 8 years ago
Lunny Xiao 61b08b5c01 bug fixed for API to get user's repos (#1622) 8 years ago
Lunny Xiao c1d5983d3e fix panic when get user repos from api (#1110) 8 years ago
awwalker c0f99e8229 API: support /users/:username/repos 8 years ago