Commit Graph

40 Commits (56e722f825afacfa88a814d16ac200c7bfa06f91)

Author SHA1 Message Date
6543 6637bbf510
Delete repos of org when purge delete user (#27273) (#27728) 1 year ago
JakobDev aaeec2a392
Add missing 404 response to Swagger (#27038) 1 year ago
Jason Song 174213530d
Fix `Permission` in API returned repository struct (#25388) 1 year ago
yp05327 d74a7efb60
Use context for `RepositoryList.LoadAttributes` (#23435) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
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