262 Commits

Author SHA1 Message Date
gfleury
ffb767fdb8 Adding GetUserWithMetadataResponse 2020-03-18 11:09:19 -03:00
gfleury
254a11e522 Adding LastReviewedCommit 2020-03-18 11:05:55 -03:00
gfleury
691c6b2c37 Merge branch 'master' of https://github.com/gfleury/go-bitbucket-v1 2020-03-17 21:42:54 -03:00
gfleury
eabcdbeccb Updating Swagger files 2020-03-17 21:42:36 -03:00
George Fleury
efe46359cc
Update README.md 2020-03-17 19:54:35 -03:00
George Fleury
e5d806c842
Update README.md 2020-03-17 19:53:56 -03:00
gfleury
da305a07b8 Fix Delete 204 response with no body 2020-03-17 16:35:03 -03:00
gfleury
92d089b1ab Include version on PR Deletion 2020-03-17 16:00:50 -03:00
gfleury
85968e42c6 Fix broken Delete PullRequests 2020-03-17 15:00:19 -03:00
George Fleury
e4c8a88c87
Merge pull request #53 from gfleury/GetUsersResponse
Adding GetUsersReponse and modifying Users structure from Email to Em…
2020-03-17 14:09:56 -03:00
gfleury
1864c1339e Adding GetUsersReponse and modifying Users structure from Email to EmailAddress 2020-03-17 13:57:44 -03:00
George Fleury
672adbf0aa
Merge pull request #52 from gfleury/ParseError
Adding error parser
2020-03-17 11:25:09 -03:00
gfleury
bdb008af0e Adding error parser 2020-03-17 11:07:47 -03:00
gfleury
b97eee6769 Revert GetPullRequestResponse last modifiction 2020-03-16 23:05:30 -03:00
George Fleury
ab43fa296d
Merge pull request #51 from gfleury/CreatePullRequest
Adding new wrapper for CreatePullRequest and struct as parameter
2020-03-16 21:46:09 -03:00
gfleury
4776448b1d Adding missing err check 2020-03-16 21:32:40 -03:00
gfleury
d31cf4f36b Adding new wrapper for CreatePullRequest and struct as parameter 2020-03-16 21:26:03 -03:00
George Fleury
86617dcb3a
Merge pull request #50 from gfleury/removeDeps
Remove unecessary dependencies
2020-03-16 14:23:48 -03:00
gfleury
8a5e95480d Remove unecessary dependencies 2020-03-16 14:17:05 -03:00
gfleury
9ceb610761 Remove unecessary dependencies 2020-03-16 14:11:54 -03:00
gfleury
6f17238a32 Adding Paged responses helper 2020-03-16 14:02:16 -03:00
George Fleury
bc434965a7
Merge pull request #49 from gfleury/ApiResponse-Pullrequests
Api response pullrequests
2020-03-16 13:42:16 -03:00
gfleury
54339f3615 Adding Paged responses helper 2020-03-16 13:31:26 -03:00
gfleury
e0d3f04d90 Adding tests for GetPullRequest(s) and adding pagination arguments for all paged api methods 2020-03-14 10:55:16 -03:00
George Fleury
e5170e3280
Merge pull request #48 from gfleury/UpgradingDeps
Upgrading deps
2020-03-12 15:04:34 -03:00
gfleury
892dc7a142 Rebase master + TestGetGroupsPermissionResponse 2020-03-12 14:52:56 -03:00
gfleury
619be332ac Merge branch 'UpgradingDeps' of https://github.com/gfleury/go-bitbucket-v1 into UpgradingDeps 2020-03-12 14:49:37 -03:00
gfleury
74fb5cf290 Upgrading deps 2020-03-12 14:49:27 -03:00
George Fleury
4c26ee6b24
Merge pull request #47 from gfleury/IntegrationTests
Integration tests base, change from dep to mod and GO111MODULE
2020-03-12 14:29:14 -03:00
gfleury
d88bf00736 Upgrading deps 2020-03-12 13:07:16 -03:00
gfleury
d3d55d78fe Disabling golangci-lint for golang 1.11 2020-03-11 10:23:49 -03:00
gfleury
e8eec2c11d Enable GO111MODULE 2020-03-10 18:50:01 -03:00
gfleury
e077dadbc4 Migrating to go modules 2020-03-10 16:48:26 -03:00
George Fleury
14a2630ae6
Merge pull request #46 from mpreu/bugfix/RevokePermissionsForGroup
Skip body parsing for RevokePermissionsForGroup
2020-03-09 17:30:09 -03:00
George Fleury
fa02706c69
Merge pull request #45 from mpreu/feature/GetGroupWithAnyPermission-response-helper
Add response helper for group permissions
2020-03-09 17:28:09 -03:00
Matthias Preu
abd53ff322 Skip body parsing for RevokePermissionsForGroup
For the different variants the body parsing has to be skipped due to
return code '204'.
2020-03-07 00:32:08 +01:00
gfleury
8ce3f75050 Adding second integration test 2020-03-06 16:31:29 -03:00
gfleury
879cd27e11 Fix typo 2020-03-06 16:05:31 -03:00
gfleury
36ecc06cb7 Adding integration tests with bitbucket container 2020-03-06 16:03:30 -03:00
gfleury
e83fdd057e First test with local container of Bitbucket server 2020-03-06 14:00:10 -03:00
Matthias Preu
e132e33e07 Add reponse helper function for group permissions
Reponse to extract groups and their permissions was added.

Additional definitons for the avilable Bitbucket Server permission
levels were added to allow for easier usage.

Tests were added and udpated.
2020-03-06 14:38:02 +01:00
George Fleury
e7592ef714
Merge pull request #43 from gfleury/travis-go
Travis go
2020-03-05 17:14:21 -03:00
gfleury
459d89fa44 Normalizing tests with golang 1.4 2020-03-05 17:04:12 -03:00
gfleury
89ba0cdc30 Normalizing tests with golang 1.4 2020-03-05 16:59:10 -03:00
gfleury
ee1529b887 Adding more go on travis 2020-03-05 16:42:45 -03:00
gfleury
c68685e002 Adding more go on travis 2020-03-05 16:39:44 -03:00
George Fleury
9ff1cfab79
Merge pull request #42 from gfleury/AddingMissingParams
Adding missing params
2020-03-05 16:29:28 -03:00
gfleury
baf37305d1 Adding golangvi to travis 2020-03-05 16:25:28 -03:00
gfleury
604a3243b0 Adding missing parameters on a bunch of functions 2020-03-05 16:24:19 -03:00
George Fleury
283fa95bce
Merge pull request #41 from gfleury/new-contributors
Adding new contributors
2020-03-05 13:13:42 -03:00