Richard Mahn
43cf2f3b55
Fixes #7023 - API Org Visibility (#7028)
il y a 5 ans
Lunny Xiao
34eee25bd4
Move sdk structs to modules/structs (#6905)
* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor
il y a 5 ans
Rémy Boulanouar
64ce159a6e
Allow to set organization visibility (public, internal, private) (#1763)
il y a 5 ans
Shashvat Kedia
6e20b504b1
Delete organization endpoint added (#5601)
* Delete organization endpoint added
* Parameters added in comment
* Typo fix
* Newline character removed
il y a 5 ans
Shashvat Kedia
ba2c02b75d
Fix route in swagger (#5598)
il y a 5 ans
Lunny Xiao
58c4559d3b
fix permission check on api create org (#5523)
il y a 5 ans
Lunny Xiao
da5a0b8382
add tests for api user orgs (#5494)
* add tests for api user orgs
* add permission for admin to list user's orgs even he is a private user of org
il y a 5 ans
Lunny Xiao
8ef177f8c5
add api for user to create org (#5268)
* add api for user to create org
* remove unused blank line on the swagger file end
* fix create and add test
* fix tests
* fix routes of create org API
* fix bug
* add copyright heads
il y a 5 ans
stevegt
a5f63fc4d1
swagger: add 'required: true' for params in URL (#4097)
* Partial fix for #4010
Swagger validation needs 'required: true' for parameters that are in
the URL path.
Signed-off-by: Steve Traugott <stevegt@t7a.org>
il y a 6 ans
Ethan Koenig
f26f4a7e01
Update swagger documentation (#2899)
* Update swagger documentation
Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation
* Restore delete comments
il y a 6 ans
Lunny Xiao
f960e19c59
Only update needed columns when update user (#2296)
* only update needed columns when update user
* fix missing update_unix column
il y a 6 ans
Ethan Koenig
d1b5498cc0
Use handlers for API authorization (#723)
il y a 7 ans
Lunny Xiao
3917ed45de
golint fixed for routers (#208)
il y a 7 ans
Sandro Santilli
a1c5f02444
Fix import path of go-sdk (#141)
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
il y a 7 ans
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
il y a 7 ans
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
il y a 7 ans
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs (#37)
il y a 7 ans
Unknwon
1f2e173a74
Refactor User.Id to User.ID
il y a 8 ans
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
il y a 8 ans
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
il y a 8 ans
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
il y a 8 ans
Unknwon
514382e2eb
Rename module: middleware -> context
il y a 8 ans
Unknwon
9cd16c5b12
#1692 add organization APIs
il y a 8 ans