Commit Graph

61 Commits (097d4e30b180eef30600beef2c08095e2571319c)

Author SHA1 Message Date
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
KN4CK3R 59b867dc2d
Add `ContextUser` to http request context (#18798) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
6543 73394f435c
[API] List limited and private orgs if authentificated (#16866) 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
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 3 years ago
6543 b3fbd37e99
[API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 3 years ago
6543 290cf75f93
[refactor] Unify the export of user data via API (#15144) 4 years ago
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
Norwin f6bec85296
rework heatmap permissions (#14080) 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
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 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
Monty Taylor ee7b153dd9 Fix 500 when getting user as unauthenticated user (#8653) 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
Richard Mahn 6db3dc7c02 Fixes #6881 - API users search fix (#6882) 6 years ago
zeripath 837116875e Return a UserList from /api/v1/admin/users (#6629) 6 years ago
Lunny Xiao 1b7dffc3a3 fix bug user search API pagesize didn't obey ExplorePagingNum (#6579) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
Lanre Adelowo 141c58f5a6 add isAdmin to user model (#6231) 6 years ago
John Olheiser 994b1be9d1 Admins can now do unlimited page size user search (listAllUsers & listAllOrgs) (#6143) 6 years ago
kolaente 6759237eda User action heatmap (#5131) 6 years ago
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
zeripath dd62ca7ba9 Add support for search by uid (#4876) 6 years ago
zeripath 36e7cb9755 Update Swagger API to match the return of /users/search (#4847) 6 years ago
Lanre Adelowo 4bf0cae1f5 Respect email privacy option in user search via API (#4512) 6 years ago
Ethan Koenig f26f4a7e01 Update swagger documentation (#2899) 7 years ago
Lunny Xiao 178bd498b9
fix imports 7 years ago
Lunny Xiao 219ca5cadb
some fixes 7 years ago
Lunny Xiao 6eeadb2082 Hide unactive on explore users and some refactors (#2741) 7 years ago
Antoine GIRARD fd8e8a421a Improve swagger doc (#2274) 7 years ago
Antoine GIRARD 3edb0c5894 Generate swagger json (#1402) 8 years ago
Bo-Yi Wu 3576e1ee73 fix: trim the whitespaces for the search keyword (#893) 8 years ago
Kim "BKC" Carlbäcker 42ec5ce740 Fix breakage from vendor-update 8 years ago
Lunny Xiao 3917ed45de golint fixed for routers (#208) 8 years ago
Sandro Santilli a1c5f02444 Fix import path of go-sdk (#141) 8 years ago