6543
688ee1978e
All Function return http responce ( #416 )
...
Add Docs on how to deal with this breaking change
doResponse should return responce in all cases, to prosses things manualy if wanted
helper func return http response
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/416
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-14 02:37:09 +00:00
6543
1a3d9bf20c
Use enum AccessMode for OrgTeam and Collaborator functions ( #408 )
...
add docu for breaking change
Use enum AccessMode for OrgTeam and Collaborator functions
and update Team structs
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/408
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-06 13:24:45 +00:00
6543
5d880baff1
Add Validate func for Create/Edit Options ( #370 )
...
add TestLabels TEST
fix ...
impruve CreatePullReviewOptions Validate
some code refactor & reformat
add Validate functions where it make sence
add Validate() for CreateLabelOption
rm ToDo - not needed
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/370
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-06-09 10:47:55 +00:00
seelensonne
2f920dbb01
Add missing JSON header to Client.AddCollaborator
( #306 )
...
Add missing JSON header to `Client.AddCollaborator`
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/306
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-04-07 14:26:05 +00:00
spawn2kill
e7bf8a6842
added pagination options for listing requests ( #205 )
...
fix golint issue
small improvements
ListMyRepos now receives a value instead of a pointer
reverted makefile changes
added sleep in order to increase CI stability
resolved conflicts
Use RepositoryMeta struct on Issues (#267 )
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/267
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
extend SearchUsers (#248 )
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: spawn2kill <spawn2kill@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/248
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Implement Repo Transfer (#264 )
fix test
check version
add TestRepoTransfer
add TransferRepo
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/264
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Add notifications (#226 )
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: spawn2kill <spawn2kill@noreply.gitea.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/226
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Use StateType (#265 )
use StateType
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/265
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
opt setDefaults on issue_comment
trigger CI
Trigger notification
resolved conflicts
Fix AddEmail (#260 )
Merge branch 'master' into fix-AddEMail
Add ListIssueCommentOptions for optional param (#243 )
Merge branch 'master' into impruve-ListXIssueComments
Remove ListUserIssues() ... (#262 )
Merge branch 'master' into rm-ListUserIssues
correct version (#257 )
Merge branch 'master' into targed-version
Extend Issue Struct (#258 )
fix
extend IssueTest
add Repository to Issue struct
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/258
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Merge branch 'master' into targed-version
format code (#245 )
fix if test is to fast
remove lgtm bot config (gitea handle this now)
format code
Add GetIssueComment (#216 )
Merge branch 'master' into update-comment-api
Fix & Refactor UserApp Functions (#247 )
Merge branch 'master' into refactor-user-app
Add SearchRepo API Call (#254 )
Merge branch 'master' into search_repo
IssueSubscribtion: Check http Status responce (#242 )
Merge branch 'master' into impruve-issueWatch
Refactor RepoWatch (#241 )
Merge branch 'master' into refactor-repoWatch
Add ListMilestoneOption to ListRepoMilestones (#244 )
use StateType
use PageSize
adjut test since gitea bug got fixed (#gitea/10047)
add TestMilestones
add optional ListMilestoneOption
format
Add ListOptions struct (#249 )
same struct as in models/list_options.go
add mising license header
add ListOptions struct
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
[README] add import path (#239 )
add import path
add import path to readme
Changelog v0.11.0 (#235 )
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/235
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Add TestMyUser (#237 )
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/237
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/239
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/244
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Merge branch 'master' into refactor-repoWatch
Add ListOptions struct (#249 )
same struct as in models/list_options.go
add mising license header
add ListOptions struct
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
add TEST
fix GetMyWatchedRepos
[README] add import path (#239 )
add import path
add import path to readme
Changelog v0.11.0 (#235 )
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/235
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Ol...
Co-authored-by: Hilário Coelho <hilario.coelho@securityside.com>
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/205
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-02-05 07:59:55 +00:00
6543
9373eb89a4
format code ( #245 )
...
fix if test is to fast
remove lgtm bot config (gitea handle this now)
format code
Add GetIssueComment (#216 )
Merge branch 'master' into update-comment-api
Fix & Refactor UserApp Functions (#247 )
Merge branch 'master' into refactor-user-app
Add SearchRepo API Call (#254 )
Merge branch 'master' into search_repo
IssueSubscribtion: Check http Status responce (#242 )
Merge branch 'master' into impruve-issueWatch
Refactor RepoWatch (#241 )
Merge branch 'master' into refactor-repoWatch
Add ListMilestoneOption to ListRepoMilestones (#244 )
use StateType
use PageSize
adjut test since gitea bug got fixed (#gitea/10047)
add TestMilestones
add optional ListMilestoneOption
format
Add ListOptions struct (#249 )
same struct as in models/list_options.go
add mising license header
add ListOptions struct
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
[README] add import path (#239 )
add import path
add import path to readme
Changelog v0.11.0 (#235 )
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/235
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Add TestMyUser (#237 )
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/237
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/239
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/244
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Merge branch 'master' into refactor-repoWatch
Add ListOptions struct (#249 )
same struct as in models/list_options.go
add mising license header
add ListOptions struct
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
add TEST
fix GetMyWatchedRepos
[README] add import path (#239 )
add import path
add import path to readme
Changelog v0.11.0 (#235 )
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/235
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Add TestMyUser (#237 )
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/237
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/239
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
refactor RepoWatch
* add CheckRepoWatch
* add GetMyWatchedRepos
* minimize func_options on GetWatchedRepos
* WatchRepo return nil/error
* UnWatchRepo return nil/error
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/241
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Merge branch 'master' into impruve-issueWatch
Add ListMilestoneOption to ListRepoMilestones (#244 )
use StateType
use PageSize
adjut test since gitea bug got fixed (#gitea/10047)
add TestMilestones
add optional ListMilestoneOption
format
Add ListOptions struct (#249 )
same struct as in models/list_options.go
add mising license header
add ListOptions struct
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/249
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
[README] add import path (#239 )
add import path
add import path to readme
Changelog v0.11.0 (#235 )
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/235
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Add TestMyUser (#237 )
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/237
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/239
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/244
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Add ListOp...
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: spawn2kill <spawn2kill@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/245
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
2020-02-02 15:19:11 +00:00
Lunny Xiao
e41e9ea72c
Move all structs from code.gitea.io/gitea/modules/structs to local to resolve the dependencies problem ( #188 )
2019-10-13 01:34:01 +00:00
Lunny Xiao
38803cbe75
Refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs ( #171 )
...
* refactor codes to remove structs and depend them on code.gitea.io/gitea/modules/structs
* fix testing
2019-05-11 18:38:52 +03:00
Ethan Koenig
1da52cf95f
Updates to swagger documentation ( #77 )
2017-11-12 11:10:33 +02:00
Ethan Koenig
54a391b88f
Functions for Collaborators
2016-12-21 11:05:53 -05:00
Lunny Xiao
c9135ef778
fix most of all the lint errors
2016-11-10 17:44:00 +08:00
Thomas Boerger
4218c36205
Moved source files into subfolder
2016-11-07 11:26:36 -02:00