223 Commits

Author SHA1 Message Date
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
gfleury
fbc0a17849 Adding new contributors 2020-03-05 13:11:30 -03:00
George Fleury
6b375ee273
Merge pull request #39 from mpreu/bugfix/GetUsersWithAnyPermission
Fix missing options for GetUsersWithAnyPermission
2020-02-28 19:48:38 -03:00
George Fleury
bd26be4f3a
Merge pull request #40 from mpreu/bugfix/RevokePermissionsForUser
Fix missing parameter RevokePermissionsForUser
2020-02-27 22:18:44 -03:00
Matthias Preu
71fd39a64b Fix missing parameter RevokePermissionsForUser
Variants were missing project and repository slug. Tests changed.
Skipping body parsing as return code is '204' is successful.
2020-02-27 17:53:05 +01:00
Matthias Preu
3f0f92285f Fix missing options for GetUsersWithAnyPermission
In the different variants the project key and repository slug were
missing.

Added as well was a struct to retrieve users and their permissions along
with a getter function for the response. A basic test was included, too.
2020-02-27 14:22:52 +01:00
George Fleury
ddbafbb025
Merge pull request #38 from yareda/set-permission-for-users
Fix issues on SetPermissionForGroups_32 and SetPermissionForGroups_33…
2020-01-04 11:57:11 +01:00
George Fleury
0c2de535d7
Merge pull request #37 from yareda/setpermissionforuser
Fix for missing project and repositorySlug on SetPermissionForUser function
2019-12-31 11:10:31 +01:00
George Fleury
36fee14a8f
Merge pull request #36 from ribaptista/master
Handling empty DeleteWebhook response
2019-12-31 10:56:02 +01:00
Yared Ayalew
d31142dd6a Fix issues on SetPermissionForGroups_32 and SetPermissionForGroups_33 methods 2019-12-29 14:18:14 +01:00
Yared Ayalew
a596d3da70 Change return type of SetPermissionForUser 2019-12-29 12:39:50 +01:00
Yared Ayalew
4e308ad21e Fix SetPermissionForUser issue with project and repositorySlug parameters 2019-12-28 23:27:25 +01:00
Ricardo Baptista
e124d31ae1 Handling empty DeleteWebhook response 2019-12-16 18:51:47 -03:00
George Fleury
b0145373d4
Merge pull request #35 from ribaptista/master
Webhook decoding
2019-11-03 15:17:55 +01:00
Ricardo Baptista
d073bb7962 Webhook decoding 2019-10-31 13:36:57 -03:00
George Fleury
59d14e4d10
Update CONTRIBUTORS 2019-10-23 11:51:29 +02:00
George Fleury
f7901e41fa
Merge pull request #33 from smacker/fix_pagination_pr_activity
Fix pagination for pr activity
2019-10-23 11:49:53 +02:00
Maxim Sukharev
ef9fac9209 Add GetPullRequestActivityWithOptions to enable pagination 2019-10-22 18:40:08 +02:00
George Fleury
bc549694e0
Merge pull request #34 from smacker/fix_get_project
Fix GetProject method
2019-10-17 20:51:12 +02:00
George Fleury
c8b88f2dd2
Merge pull request #32 from smacker/get_pull_request_diff_method
Add GetPullRequestDiff method
2019-10-17 20:50:47 +02:00
Maxim Sukharev
e5d4d4354b Fix tests 2019-10-17 16:52:47 +02:00
Maxim Sukharev
55e1fce0e0 fix tests 2019-10-17 16:49:45 +02:00
Maxim Sukharev
2fb91eb1ff Fix GetProject method 2019-10-17 12:30:26 +02:00
Maxim Sukharev
0fb4f8f3f0 Add GetPullRequestDiff method 2019-10-17 12:24:07 +02:00
gfleury
cb29b96c82 Adding Ricardo Baptista as CONTRIBUTOR 2019-09-25 19:23:32 +02:00
George Fleury
2ed584f5d5
Merge pull request #31 from ribaptista/master
Fixing raw file fetch method
2019-09-25 19:21:11 +02:00
Ricardo Baptista
ad67345b1f Fixing raw file fetch method 2019-09-11 12:33:23 -03:00
George Fleury
66612acc37
Merge pull request #30 from ribaptista/ribaptista-setpermissionforgroup
Fixing SetPermissionForGroup
2019-07-25 22:37:04 +02:00
Ricardo Baptista
621ff29cd2 Fixing call to SetPermissionForGroup 2019-07-25 18:56:55 +00:00
Ricardo Baptista
c4258a07ac
Fixing SetPermissionForGroup parameters 2019-07-25 15:41:15 -03:00
George Fleury
fe4d8b4c77
Merge pull request #29 from gfleury/fix-network-failure-handling
Handling network fail
2019-06-12 20:20:35 +02:00
gfleury
f92b3b30a9 Handling network fail 2019-06-12 19:20:17 +02:00
George Fleury
971021cc0a
Merge pull request #28 from gfleury/content-feature
Adding Content response type structure
2019-06-12 15:22:11 +02:00
gfleury
8a7f1863a2 Migrating to dep 2019-06-12 15:17:51 +02:00
gfleury
012f5e0c08 Fixing typo missing quotes 2019-06-12 15:13:02 +02:00
gfleury
9d1c827cd2 Adding Content response type structure 2019-06-12 14:59:37 +02:00
gfleury
3e6935e03f Fixing GetPullRequestResponse 2019-06-05 10:52:24 +02:00
gfleury
b39a1467fe Fixing Create() 2019-06-05 10:37:10 +02:00
George Fleury
2efe893fff
Merge pull request #27 from gfleury/add-GetPullRequestResponse
Adding GetPullRequestResponse and fixing Create (PullRequest)
2019-06-05 10:23:00 +02:00
gfleury
061898a310 Adding GetPullRequestResponse and fixing Create (PullRequest) 2019-06-05 10:19:00 +02:00