6543
cd52f0058b
Add Ref to Issue structs ( #466 )
...
Add Ref to Issue structs
Add TEST
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/466
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
2020-12-16 06:16:31 +08:00
6543
6ea6e887f2
Update Issue Struct ( #458 )
...
add HTMLURL
deprecate Assignee
add backwards compatibility
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/458
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
2020-11-29 23:07:36 +08:00
6543
9c81fa936f
Use Predefind Versions & Compare Function ( #442 )
...
update min go requrement & update required go-version lib
use special version in notifications
migrate to new version check function
add predefined versions & comparsion function
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/442
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
2020-11-13 04:59:04 +08:00
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
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
6543
8829e1fe6f
Issue/Pull add IsLocked Property ( #357 )
...
Merge branch 'master' into issue-pull_add_IsLocked
Issue/Pull add IsLocked Property
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/357
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-06-04 01:01:13 +00:00
6543
f224b4e50c
ListIssues: add milestones filter ( #327 )
...
use string.Join
Code Format
add test case
add Milestones to ListIssueOption
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/327
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-05-20 06:48:06 +00:00
6543
01b2959d4d
Add IssueType as filter for ListIssues ( #286 )
...
add IssueType as filter for ListIssues
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/286
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-03-31 11:13:06 +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
f84cd3442d
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>
2020-02-04 15:15:35 +00:00
6543
524bda1e14
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>
2020-02-04 07:58:46 +00:00
6543
617741019e
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 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-au...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: spawn2kill <spawn2kill@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/243
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-02-03 03:18:14 +00:00
6543
16c2690af4
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 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
Rev...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/262
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-02-03 02:45:18 +00:00
6543
1b11eb569b
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>
2020-02-03 00:48:49 +00:00
6543
d96f9692df
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>
2020-01-31 02:41:33 +00:00
techknowlogick
92f764ddf4
use golangci-lint and revive for linting (match main repo) ( #220 )
...
Co-authored-by: 6543 <6543@noreply.gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/220
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
2020-01-26 19:08:47 +00:00
6543
5612bf91d6
Fix ListIssue Functions (now respect ListIssueOption's) ( #225 )
...
fix test
add Test
add more test cases and fix
nice log
add Issue Tests
impruve
more Repo Tests and mv createTestRepo
introduce "createTestRepo" a standad func to create a repo for testing
add workaround
* Update Dates
* Fix ListIssueOption
Fix ListRepoPullRequests (#219 )
add ToDo notice
add ListRepoPullRequests TEST
remove useless drone config emtrys
fmt
ping CI
add new Options from PR #217
use query params
Add some PR list options (#217 )
Empty Commit
Add enums
Add some PR list options
Add test framework (#227 )
[Extend] StopWatch struct & functions (#211 )
add StopWatch struct & functions
[Add] reaction struct and functions (#213 )
add struct and functions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] issue Un-/Subscription function (#214 )
fix lint
add issue subscription function
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] GetBlob (#212 )
fix header from PR 206
add GetBlob
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
Add test framework (#227 )
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Add some PR list options (#217 )
Empty Commit
Add enums
Add some PR list options
Add test framework (#227 )
[Extend] StopWatch struct & functions (#211 )
add StopWatch struct & functions
[Add] reaction struct and functions (#213 )
add struct and functions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] issue Un-/Subscription function (#214 )
fix lint
add issue subscription function
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] GetBlob (#212 )
fix header from PR 206
add GetBlob
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
Add test framework (#227 )
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/225
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-01-26 02:46:38 +00:00
6543
4f17bb0fbc
[Extend] StopWatch struct & functions ( #211 )
...
add StopWatch struct & functions
[Add] reaction struct and functions (#213 )
add struct and functions
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] issue Un-/Subscription function (#214 )
fix lint
add issue subscription function
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
[Add] GetBlob (#212 )
fix header from PR 206
add GetBlob
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-01-09 19:04:15 +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
Lanre Adelowo
600c19aa03
add SDK methods for starting/stopping a stopwatch ( #142 )
2019-02-08 12:38:52 +02:00
BetaCat
aa2397dec8
Prepare for prioritize issues & update .gitignore for goland users ( #117 )
...
Prepare for Prioritize issues & update .gitignore for goland users.
Target on the [Issue](https://github.com/go-gitea/gitea/issues/2616 )
Signed-off-by: BetaCat0 <outman99@hotmail.com>
2018-08-30 22:29:03 +08:00
kolaente
40e36e1d2f
Added deadline structs for api ( #105 )
...
* Added deadline structs for api
* fixed lint + fmt
2018-05-03 17:30:21 +03:00
kolaente
142acef5ce
Preparation for Issue due dates (go-gitea/gitea#2533) ( #103 )
...
* Added deadline for issue
* Added deadline for pull requests
* Added comment for swagger date format
2018-04-17 08:54:29 +08:00
Lauris BH
417abc7c5d
Add closed at field for issue and pull request ( #93 )
...
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
2018-03-29 15:34:44 +08:00
kolaente
92585b27a0
Modified assignees field in issue struct for preperation of go-gitea/gitea#3705 ( #99 )
...
* Modified assignees field in issue struct for preperation of go-gitea/gitea#1884
* Modified assignees field in pr struct for preperation of go-gitea/gitea#1884
* Re-Added `Assignee`
* Added missing `assignees`
* fmt
2018-03-22 22:32:16 +08:00
kolaente
fa91af7569
Modified assignees field in issue struct for preperation of go-gitea/gitea#1884 ( #97 )
...
* Modified assignees field in issue struct for preperation of go-gitea/gitea#1884
* Modified assignees field in pr struct for preperation of go-gitea/gitea#1884
* Re-Added `Assignee`
2018-03-06 09:22:45 +08:00
Vlad Temian
a184f2d334
Run go fmt
for the entire project ( #85 )
2018-01-09 02:26:05 +02:00
Ethan Koenig
1da52cf95f
Updates to swagger documentation ( #77 )
2017-11-12 11:10:33 +02:00
Aaron Walker
06902fe195
expose url field in issues and pull requests ( #39 )
2017-02-19 19:17:32 +08:00
Kim "BKC" Carlbäcker
4ea32995e4
More endpoints for issue-api
2016-11-28 07:47:09 +01:00
Lunny Xiao
c05a7bb741
bug fixed & lint fixed
2016-11-10 23:08:54 +08:00
Kim "BKC" Carlbäcker
cc453bfe27
Merge pull request #9 from go-gitea/fix/github-compliance
...
GitHub-API compliance
2016-11-10 12:33:06 +01:00
Lunny Xiao
c9135ef778
fix most of all the lint errors
2016-11-10 17:44:00 +08:00
Kim "BKC" Carlbäcker
66fbec9354
GitHub-API compliance
2016-11-09 17:08:29 +01:00
Thomas Boerger
4218c36205
Moved source files into subfolder
2016-11-07 11:26:36 -02:00