Richard Mahn
43cf2f3b55
Fixes #7023 - API Org Visibility ( #7028 )
6 years ago
Lunny Xiao
34eee25bd4
Move sdk structs to modules/structs ( #6905 )
...
* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor
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 )
...
* Delete organization endpoint added
* Parameters added in comment
* Typo fix
* Newline character removed
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 )
...
* add tests for api user orgs
* add permission for admin to list user's orgs even he is a private user of org
6 years ago
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
6 years ago
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>
7 years ago
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
7 years ago
Lunny Xiao
f960e19c59
Only update needed columns when update user ( #2296 )
...
* only update needed columns when update user
* fix missing update_unix column
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 )
...
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
8 years ago
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
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
...
- Fix go-gogs-client#10
- Related to #809
9 years ago
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago