Commit graph

148 commits

Author SHA1 Message Date
Lunny Xiao
4d94826874 Merge pull request #11 from go-gitea/api-pull-request-support
API support for Pull Requests
2016-11-10 16:01:15 +08:00
Kim "BKC" Carlbäcker
fea83e692a Merge branch 'api-pull-request-support' of https://github.com/lstahlman/go-gogs-client 2016-11-09 19:57:21 +01:00
Kim "BKC" Carlbäcker
66fbec9354 GitHub-API compliance 2016-11-09 17:08:29 +01:00
Kim "BKC" Carlbäcker
a3afbca7dc More data and methods for issue-comments 2016-11-09 16:57:33 +01:00
Andrey Nering
0a0a04ccf7 Merge pull request #6 from go-gitea/readme
Fixed godoc link
2016-11-07 13:06:50 -02:00
Thomas Boerger
6c250eb484
Fixed godoc link 2016-11-07 15:57:17 +01:00
Thomas Boerger
9d32c6cced Merge pull request #4 from go-gitea/drone
More drone requirements
2016-11-07 14:46:16 +01:00
Thomas Boerger
b774b17fca
Signed drone config 2016-11-07 14:34:24 +01:00
Thomas Boerger
43d406285c
Dropped coverage server for now 2016-11-07 14:34:02 +01:00
Thomas Boerger
3a5838c94e
Added drone and aircover to readme 2016-11-07 14:33:36 +01:00
Thomas Boerger
4218c36205 Moved source files into subfolder 2016-11-07 11:26:36 -02:00
Thomas Boerger
4b7fa472b5 Updated readme with proper badges 2016-11-07 11:26:36 -02:00
Thomas Boerger
1f1805b1a7 Added a basic drone config 2016-11-07 11:26:36 -02:00
Thomas Boerger
4fd43e0dc1 Added a simple makefile 2016-11-07 11:26:36 -02:00
Thomas Boerger
7fae4abdd2 Added contribution and maintainer files 2016-11-07 11:26:36 -02:00
Thomas Boerger
b67cd54958 Added lgtm config 2016-11-07 11:26:36 -02:00
Thomas Boerger
298897b6c1 Updated licenses info 2016-11-07 11:26:36 -02:00
Thomas Boerger
6ae0de687e Added more common gitignore 2016-11-07 11:26:36 -02:00
Thomas Boerger
af4eb9da57 Merge pull request #1 from lunny/master
Sync from upstream gogits/go-gogs-client and merge
2016-11-07 09:57:16 +01:00
Lunny Xiao
b4896975c6 Merge branch 'master' of github.com:gogits/go-gogs-client 2016-11-07 09:57:49 +08:00
Kim "BKC" Carlbäcker
5a556d6046 More fields in PR-struct 2016-11-02 00:36:09 +01:00
lstahlman
95c5f7a280 API support for pull requests 2016-10-11 23:40:50 -07:00
Kurt Madel
d8aff570fa Pull Request hook branch/head info (#47)
* added additional branch/repo info to PR webhook

* added additional branch/repo info to PR webhook
2016-08-30 05:34:33 -07:00
Kurt Madel
7bea055c4a API support to list repos by org and user (#45) 2016-08-28 05:35:23 -07:00
Iwan Budi Kusnanto
c317bcf8d1 Split Client.getResponse to Client.doRequest & Client.getResponse. (#44)
There is some API that give empty response and we only need
to check HTTP status code.
example :
https://developer.github.com/v3/issues/assignees/#check-assignee

But there is no way to do this in current code because
getResponse will parse the response body and not returning
HTTP status code.

Client.doRequest makes it possible to do this.
2016-08-26 10:52:08 -07:00
Unknwon
c52f7ee0cc #26 code cleanup 2016-08-24 20:58:09 -07:00
Iwan Budi Kusnanto
3d69f7ccdc issues comment API client (#26) 2016-08-24 20:49:11 -07:00
Unknwon
2ffd4704c6 Change EditMilestoneOption.Title to non-pointer 2016-08-24 15:52:02 -07:00
Unknwon
cdfad4c78c #39 code clean up 2016-08-24 14:36:36 -07:00
lstahlman
82d9ef436f Additional API support for milestones (#39) 2016-08-24 14:30:53 -07:00
Kim Carlbäcker
5e50f02925 Add Status-flag to EditIssueOption (#41)
* EditIssueOption takes Status-flag

* json-element renamed 'state' to reflect GitHub-API

* Renamed Status=>State for EditIssueOption
2016-08-19 08:13:44 -07:00
Unknwon
51c4df8c35 Rename Issue.User -> Issue.Poster 2016-08-16 10:16:51 -07:00
Unknwon
e363d3ff8f Remove unused payload types 2016-08-14 04:16:36 -07:00
Unknwon
5799eb65e0 Add pull request 2016-08-14 03:32:53 -07:00
Robin Lambertz
87e433464c Add optional MaxRepoCreation field to EditUserOption (#22) 2016-08-11 11:46:49 -07:00
Unknwon
1fef67c191 gofmt 2016-08-11 11:34:16 -07:00
Robin Lambertz
f286f03526 Add AddCollaborator API Endpoint (#24) 2016-08-11 09:07:42 -07:00
Unknwon
d1020b4da5 Add Timestamp to PayloadCommit 2016-08-09 18:26:35 -07:00
lstahlman
9cf52efdff Add committer information to webhook payload. (#40) 2016-08-09 16:24:17 -07:00
Unknwon
9408f9de81 Add binding validation rule 2016-08-05 21:25:42 -07:00
Unknwon
28d53c48e2 Fix compile error 2016-08-05 21:12:21 -07:00
Unknwon
58af7d8521 #21 code cleanup 2016-08-05 20:56:36 -07:00
Robin Lambertz
3a3b83760f Add the AddOrgMembership API endpoint (#21) 2016-08-05 20:52:27 -07:00
Unknwon
d725743594 #35 improve code structure 2016-08-03 11:50:33 -07:00
Unknwon
e3ad13b2f3 BREAK CHANGES: rename argument type for issue APIs
int -> int64
2016-08-02 11:59:54 -07:00
Unknwon
181ccc696c #35 code cleanup 2016-08-02 11:59:14 -07:00
lstahlman
84314343cb API Label Support (#35) 2016-08-02 11:51:02 -07:00
Richard Mahn
442b4e5ddc Added Full Name to CreateUserOption (#36) 2016-07-27 02:42:24 +08:00
Unknwon
f2f681f7cb Simplify code 2016-07-17 08:46:54 +08:00
lstahlman
ee68cd9eef Add timestamps to repository api response (#34)
Add created_at and updated_at properties to repository api response
2016-07-12 05:02:42 +08:00