Commit Graph

53 Commits (0a0cd75071ac2e2ca36f0d89efbc14ab66d2985c)

Author SHA1 Message Date
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
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
6543 54e9ee37a7
format with gofumpt (#18184) 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 baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
Lunny Xiao c2ab19888f
Support pagination of organizations on user settings pages (#16083) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Romain d0a681fbc3
[API] Add endpount to get user org permissions (#17232) 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
Sergey Dryabzhinsky 22a0636544
Add Visible modes function from Organisation to Users too (#16069) 4 years ago
6543 75205b5669
Fix some API bugs (#16184) 4 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
6543 9e456b5a56
HotFix: Hide private partisipation in Orgs (#13994) 4 years ago
赵智超 b74ed16c41
Fix ListUserOrgs (#12910) 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) 5 years ago
Cirno the Strongest 27a6e03906
Remove page size limit comment from swagger (#11806) 5 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 10055bd2b1 [API] add GET /orgs endpoint (#9560) 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
David Svantesson a0e88dfc2e Add teams to repo on collaboration page. (#8045) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Richard Mahn 43cf2f3b55 Fixes #7023 - API Org Visibility (#7028) 6 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
Rémy Boulanouar 64ce159a6e Allow to set organization visibility (public, internal, private) (#1763) 6 years ago
Shashvat Kedia 6e20b504b1 Delete organization endpoint added (#5601) 6 years ago
Shashvat Kedia ba2c02b75d Fix route in swagger (#5598) 6 years ago
Lunny Xiao 58c4559d3b fix permission check on api create org (#5523) 6 years ago
Lunny Xiao da5a0b8382
add tests for api user orgs (#5494) 6 years ago
Lunny Xiao 8ef177f8c5 add api for user to create org (#5268) 6 years ago
stevegt a5f63fc4d1 swagger: add 'required: true' for params in URL (#4097) 7 years ago
Ethan Koenig f26f4a7e01 Update swagger documentation (#2899) 7 years ago
Lunny Xiao f960e19c59 Only update needed columns when update user (#2296) 7 years ago
Ethan Koenig d1b5498cc0 Use handlers for API authorization (#723) 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
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Thomas Boerger 4c6c16f358
Replaced go-gogs-client with go-sdk imports 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 9 years ago
Unknwon b1d41cfa60 #1692 add admin APIs to add/remove a user from teams 9 years ago
Unknwon 9bd9ad4205 #1692 add CRUD issue APIs 9 years ago