Tamal Saha
|
171b359877
|
Use gitea forked macaron (#7933)
Signed-off-by: Tamal Saha <tamal@appscode.com>
|
5 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 |
Lunny Xiao
|
eabbddcd98
|
Restrict permission check on repositories and fix some problems (#5314)
* fix units permission problems
* fix some bugs and merge LoadUnits to repoAssignment
* refactor permission struct and add some copyright heads
* remove unused codes
* fix routes units check
* improve permission check
* add unit tests for permission
* fix typo
* fix tests
* fix some routes
* fix api permission check
* improve permission check
* fix some permission check
* fix tests
* fix tests
* improve some permission check
* fix some permission check
* refactor AccessLevel
* fix bug
* fix tests
* fix tests
* fix tests
* fix AccessLevel
* rename CanAccess
* fix tests
* fix comment
* fix bug
* add missing unit for test repos
* fix bug
* rename some functions
* fix routes check
|
6 years ago |
Bo-Yi Wu
|
1c5cbc390b
|
refactor: import order. (#3736)
|
7 years ago |
Morgan Bazalgette
|
65861900cd
|
Handle refactor (#3339)
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
|
7 years ago |
Ethan Koenig
|
515cdaa85d
|
Fix ignored errors when checking if organization, team member (#3177)
|
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 |
Ethan Koenig
|
b689bb6180
|
Webhooks for repo creation/deletion (#1663)
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
|
7 years ago |
Antoine GIRARD
|
fd8e8a421a
|
Improve swagger doc (#2274)
* Add swagger comment for adminCreateOrg
* Add swagger comment for admin route
* add hook swagger doc
* Add tags
* Add auth
* Fix name of responses
* Edit name method
* Update vendor
* make generate-swagger
|
7 years ago |
Ethan Koenig
|
93a1de4842
|
Fix repo API bug (#2133)
Don't require token when not necessary
|
8 years ago |
Antoine GIRARD
|
30787e48f2
|
Improve org error handling (#2117)
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests
* Fix unchanged method name report
|
8 years ago |
Jonas Östanbäck
|
ad70af1248
|
Add repo fork swagger (#1941)
|
8 years ago |
Ethan Koenig
|
ec0ae5d50c
|
Refactor and fix incorrect comment (#1247)
|
8 years ago |
Ethan Koenig
|
b75450ad36
|
API endpoints for forks (#509)
|
8 years ago |