Commit Graph

66 Commits (crystal/ci)

Author SHA1 Message Date
KN4CK3R a35749893b
Move `convert` package to services () 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter () 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files () 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods () 2 years ago
6543 c5e88fb03d
[API] teamSearch show teams with no members if user is admin () 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages () 2 years ago
Lunny Xiao 999392f6a5
Fix owners cannot create organization repos bug () 2 years ago
6543 b135313c47
[Refactor] convert team(s) to apiTeam(s) () 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access () 3 years ago
qwerty287 ac6c338428
Add API to check if team has repo access () 3 years ago
qwerty287 ae6a52440a
Fix panic in team repos API () 3 years ago
delvh d139c23967
Fix panic in teams API when requesting members () 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package () 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. () 3 years ago
Gusted d3b31cc1ee
Add `GetUserTeams` () 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission () 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs () 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo () 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm () 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization () 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ () 3 years ago
6543 2289580bb7
[API] generalize list header () 4 years ago
6543 f1a810e090
Related refactors to ctx.FormX functions () 4 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file () 4 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form () 4 years ago
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions () 4 years ago
6543 290cf75f93
[refactor] Unify the export of user data via API () 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi () 4 years ago
6543 7ac8a770e1
Move Repo APIFormat to convert package () 4 years ago
zeripath 2ef318e6f1
Add Access-Control-Expose-Headers () 5 years ago
Cirno the Strongest 81324cf37c
Add pagination headers on endpoints that support total count from database () 5 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger () 5 years ago
zeripath 48890ce546
Allow site admin to check /api/v1/orgs endpoints () 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination () 5 years ago
6543 1080c768d3 [API] orgEditTeam make Fields optional () 5 years ago
6543 2848c5eb8f Swagger info corrections () 5 years ago
David Svantesson 69a255defb Team permission to create repository in organization () 5 years ago
Lunny Xiao daab245167
Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert () 5 years ago
David Svantesson 72aa5a20ec Add team option to grant rights for all organization repositories () 5 years ago
David Svantesson 36bcd4cd6b API endpoint for searching teams. () 5 years ago
Lunny Xiao be0f7ff9bf
Fix team user api () 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron () 6 years ago
renothing cbf231a675 fix wrong email when use gitea as OAuth2 provider () 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs () 6 years ago
ngourdon 4e311123d8 Fix team edit API panic () 6 years ago
Lanre Adelowo 5c82ef098e make sure units of a team are returned () 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses () 6 years ago
Harshit Bansal 5ac6da3c41 api: Add missing GET teams endpoints () 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems () 6 years ago
Lunny Xiao b3000ae623 Fix create team, update team missing units () 6 years ago