Commit Graph

59 Commits (2660b0397aaea041c2d1f4d247d65e92a377c379)

Author SHA1 Message Date
6543 b135313c47
[Refactor] convert team(s) to apiTeam(s) (#13745) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
qwerty287 ac6c338428
Add API to check if team has repo access (#19540) 3 years ago
qwerty287 ae6a52440a
Fix panic in team repos API (#19431) 3 years ago
delvh d139c23967
Fix panic in teams API when requesting members (#19360) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Gusted d3b31cc1ee
Add `GetUserTeams` (#18499) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 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 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 f1a810e090
Related refactors to ctx.FormX functions (#16567) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
6543 290cf75f93
[refactor] Unify the export of user data via API (#15144) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 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
Cirno the Strongest 81324cf37c
Add pagination headers on endpoints that support total count from database (#11145) 4 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
zeripath 48890ce546
Allow site admin to check /api/v1/orgs endpoints (#10867) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 1080c768d3 [API] orgEditTeam make Fields optional (#9556) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
David Svantesson 69a255defb Team permission to create repository in organization (#8312) 5 years ago
Lunny Xiao daab245167
Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
David Svantesson 72aa5a20ec Add team option to grant rights for all organization repositories (#8688) 5 years ago
David Svantesson 36bcd4cd6b API endpoint for searching teams. (#8108) 5 years ago
Lunny Xiao be0f7ff9bf
Fix team user api (#8172) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
renothing cbf231a675 fix wrong email when use gitea as OAuth2 provider (#7640) 5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
ngourdon 4e311123d8 Fix team edit API panic (#6780) 6 years ago
Lanre Adelowo 5c82ef098e make sure units of a team are returned (#6379) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
Harshit Bansal 5ac6da3c41 api: Add missing GET teams endpoints (#5382) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago
Lunny Xiao b3000ae623 Fix create team, update team missing units (#5188) 6 years ago
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
Antoine GIRARD 908e8942cc Fix swagger errors (#4220) 7 years ago
Morgan Bazalgette e3028d124f don't reset team/repo count when updating team via API (#3831) 7 years ago
Ethan Koenig 515cdaa85d Fix ignored errors when checking if organization, team member (#3177) 7 years ago
Ethan Koenig f26f4a7e01 Update swagger documentation (#2899) 7 years ago
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment (#1247) 8 years ago
Ethan Koenig d1b5498cc0 Use handlers for API authorization (#723) 8 years ago