Commit Graph

262 Commits

Author SHA1 Message Date
408dd14306 Add Description in Repository struct 2022-04-17 11:37:34 +02:00
8e7ed04b84 Merge pull request #69 from brainexe/real_all_body
read full request.Body to reuse http/1 connections
2022-03-01 10:11:31 -03:00
9c00479ef6 read full request.Body to reuse http/1 connections 2022-01-27 15:11:36 +01:00
51217eae02 read full request.Body to reuse http/1 connections
see https://tipsfordev.com/go-http-requests-json-reusing-connections
2022-01-27 12:08:09 +01:00
90a950f9bc Merge pull request #68 from mlosicki/bugfix/get-branches-no-pagination
fix: support pagination for GetBranches
2022-01-25 10:25:02 -03:00
87c7b6dfff Merge pull request #67 from mlosicki/feature/get-branch-response
feat: add GetBranchResponse
2022-01-25 10:23:45 -03:00
bb0818da29 fix: lint error 2022-01-24 02:23:49 +01:00
b5aee2ce51 improve test 2022-01-24 01:01:54 +01:00
4d3afe3c12 feat: add GetBranchResponse
Parse a single Branch from an APIResponse
Useful in combination with the GetDefaultBranch API call
2022-01-24 00:41:10 +01:00
4880bdf0b7 fix: support pagination for GetBranches
The docs mention that this is a Paged API, yet there is no support for
limit and start query params.
2022-01-24 00:30:09 +01:00
dff2223ade Merge pull request #65 from yahavi/commit-status
Fix set and get commit status
2021-08-26 18:30:55 +02:00
264191a6ab Fix fallen test 2021-08-26 19:00:18 +03:00
bec68b53de Merge pull request #64 from yahavi/get-archive
Get archive should use RawAPIResponse
2021-08-25 19:04:23 +02:00
29084e5e35 Fix set and get commit status 2021-08-23 18:52:54 +03:00
be1a0d5b84 Get archive should use RawAPIResponse 2021-08-23 18:10:05 +03:00
7d616f7c18 Merge pull request #62 from gfleury/gfleury/update-travis-ci
Update travis-ci.com on README.md
2021-07-07 22:27:13 +02:00
5273250b14 Merge pull request #61 from tomcruise81/bugfix/hook-bodies
Option to include request body for enabling hooks
2021-07-07 22:26:57 +02:00
3aa0d63c33 Update README.md 2021-07-07 22:21:29 +02:00
1713871196 Including basic test 2021-06-30 11:00:27 -04:00
f350c54008 Option to include request body for enabling hooks 2021-06-30 10:50:33 -04:00
c843caaa80 Added GetProjectsResponse to unmarshall get projects response 2021-06-11 10:40:46 -04:00
412cc3323e Merge pull request #58 from syndicut/create-comment-and-activities
Fix create comment and get activities methods
2021-01-19 07:38:41 -03:00
c08e6350a4 Do not change signature of old CreateComment method 2021-01-19 08:51:30 +03:00
3a28116813 Use recommended way to install golangci-lint to avoid failing builds
See https://golangci-lint.run/usage/install/#install-from-source
2021-01-17 10:07:55 +03:00
03c898e3b6 Add CreatePullRequestComment and GetActivities 2021-01-17 10:07:47 +03:00
219e8c92ad Fix create comment method for commit 2021-01-14 12:20:07 +03:00
15f2a16ca8 Merge pull request #57 from danilopopeye/feature/implement-AddUserToGroups-parameters
add parameters to `AddUserToGroups` method
2020-08-10 14:58:52 +02:00
ae4ad57f4f Merge pull request #56 from danilopopeye/feature/handle-create-user-response
handle `CreateUser` empty body response
2020-08-10 14:57:49 +02:00
90ff150627 add parameters to AddUserToGroups method 2020-08-07 20:15:53 -03:00
7758229a74 handle CreateUser empty body response 2020-08-07 17:35:57 -03:00
a1f7d4e0d6 Merge pull request #55 from ribaptista/master
Body argument to CreateProject
2020-07-28 21:37:22 +02:00
479bf9f8ea fix: concrete Project input to CreateProject 2020-07-27 14:39:30 -03:00
72cab483df fix: input to CreateProject test 2020-07-27 14:21:46 -03:00
9860b0c19e fix: project api tests 2020-07-27 14:14:09 -03:00
d6503a151c fix: project api methods 2020-07-27 14:09:36 -03:00
b3c7f99f7f Adding search endpoint SearchCode 2020-03-27 15:51:23 -03:00
cf6f9657ee Adding WebHook and GetPullRequestDiffRaw 2020-03-23 20:24:05 -03:00
022f4bab90 Update README.md 2020-03-20 14:37:42 -03:00
8ff9de0001 Revert GetRepositoryResponse mistaken change of structure 2020-03-20 10:53:01 -03:00
f1225dcec2 Changing Repository struct to allow omit on serialization 2020-03-20 10:14:43 -03:00
284a2dc210 Fix CreateRepository 2020-03-20 09:56:41 -03:00
22f785dafa Adding build-status api to mocked server 2020-03-20 08:29:14 -03:00
0caba5642b Adding build-status api to mocked server 2020-03-20 08:12:49 -03:00
f399837676 Adding tests for HasNextPage 2020-03-19 19:35:17 -03:00
c269de5f9f Better checks on HasNextPage 2020-03-19 19:05:36 -03:00
defacfd94c Better checks on HasNextPage 2020-03-19 19:02:06 -03:00
d6c940c167 Merge pull request #54 from gfleury/MockServer
Mock server
2020-03-18 16:59:12 -03:00
dede03b917 Adding GetBuildStatusesResponse 2020-03-18 16:48:33 -03:00
14d4b869a5 Adding mock server for simple projects 2020-03-18 15:20:48 -03:00
aabce9f497 Adding build-status endpoints and test coverage 2020-03-18 14:24:41 -03:00