97 Commits

Author SHA1 Message Date
Justin
a7858bd3c9 feat: Updating Project Snippets API #138 2018-08-02 00:00:45 -04:00
jennparise
9f3de02642 feat: Adding update push rules to Projects, and updating the Protected Branches service to match the updated API thanks to [jennparise](https://github.com/jennparise)(#134)
* added updatePushRule for updating the push rule options

* added updatePushRule for updating the push rule options

* added updatePushRule and put in alphabetical order

* updated protect branches to current gitlab api documentation

* fixed format issues

* fixed trailing spaces

* made branch name formatted for being required for protect

* made branch name formatted for being required - fixed missed key
2018-07-30 22:09:24 -04:00
Justin
f60e7ed5f7 feat: Updating participants function for issues 2018-07-23 19:40:15 -04:00
Justin
03a2f2d1ed feat: Updating Jobs API
- Added cancel, retry, erase, keepArtifacts, downloadLatestArtifacts and downloadTraceFile
2018-07-23 19:36:14 -04:00
Joseph Petersen
b6ccb806a9 feat: add mirror pull trigger (#130) 2018-07-23 19:19:39 -04:00
Justin
9763807095 chore: Fixing lint errors 2018-07-23 19:13:13 -04:00
jnovick
c7dd5e6574 Add MR pipelines endpoint (#128) 2018-07-23 12:13:33 -04:00
Fabian Aussems
7ff06cf30f added participants function for issues (#125)
see: https://docs.gitlab.com/ee/api/issues.html#participants-on-issues
2018-07-18 09:40:41 -04:00
Norm MacLennan
aa2738bb3e Fix methods for editing MR approval/approver settings
The code was previously trying to do GETs to the routes, which was giving me
404s. Updated to correctly change the `/approvals` router to POST and the
`/approvers` router to PUT as in the GitLab API documentation:

https://docs.gitlab.com/ee/api/merge_request_approvals.html
2018-07-05 09:54:51 -04:00
Artem
5f376fc91e
Fix ProjectIssueBoards api url 2018-07-01 19:46:50 +03:00
Michael Townsend
9e73ad5bc9 Thanks linter 2018-06-18 14:45:43 -04:00
Michael Townsend
243648ce33 Endpoint for the retrieval of projects by user id 2018-06-18 14:33:45 -04:00
Giuseppe Angri
6c0a4b48ec Fix Issue #102: The function to Get languages used in a project is absent 2018-06-05 12:14:19 +02:00
Giuseppe Angri
2fdeb5fe99 Fix Issue #101: Show functions (in Users, Projects and Commits) not support the options 2018-06-05 12:11:52 +02:00
Justin
fe0a941745 Updating changelog and adding CommitDiscussions support 2018-06-01 22:15:34 -04:00
Justin
82173a21bc Adding merge request discussions 2018-06-01 22:09:42 -04:00
Justin
e0afc08828 Fixing typo in merge request awards and updating packages 2018-06-01 22:05:41 -04:00
Justin
38ce7fffda Linting fix 2018-05-23 18:24:13 -04:00
Justin
6d8e4a6426 Merge branch 'gitlabci' 2018-05-23 18:07:55 -04:00
Justin
7fc5f1238e Linting 2018-05-22 23:06:26 -04:00
jdalrymple
850b338e32
Merge pull request #91 from Defenderbass/bugfix/branch-name-encode
applied "encodeURIComponent" to "branchName"
2018-05-22 15:49:51 -04:00
Igor Katsuba
be1a3c095c applied "encodeURIComponent" to "branchName" 2018-05-22 18:40:59 +03:00
Justin
aae249cd6f Noticing jobs.show was missing 2018-05-21 17:24:51 -04:00
Pavel Birukov
7275b11dde Remove non-standard Babel's plugins 2018-05-18 18:55:58 +03:00
Justin
d36364a7bf Updating tests 2018-05-17 18:30:18 -04:00
Pavel Birukov
df963e77c5 Reexport missing ProjectSnippet and ProjectBadges 2018-05-16 01:25:33 +03:00
Justin Dalrymple
0ae9065bf9 Moving over the template projects test 2018-05-09 21:38:53 -04:00
dehnel
62b9c0e1cf first crack at some testing 2018-05-09 21:35:12 -04:00
Justin
c34a9ae095 Fixing undefined search variable #83 2018-05-09 19:42:53 -04:00
jdalrymple
91239aaa72
Merge pull request #77 from pmctire/feature/jobs-pipeline-endpoints
Add some Jobs related endpoint support
2018-05-04 09:03:50 -04:00
Justin
a42d9a74dc - Set the default for the stream request option
- throw an error if the user tries to stream with xml
2018-05-03 10:22:29 -04:00
Justin
62b1094576 Fixing missing Version API 2018-05-02 13:05:51 -04:00
Justin
d9edee521e Moved some things around 2018-04-27 08:49:04 -04:00
Isaac Ouellet Therrien
99f7ddd640 thats a post, not a get... 2018-04-25 15:29:55 -04:00
Isaac Ouellet Therrien
61f282c592 Add Playing a job support 2018-04-24 13:24:44 -04:00
Isaac Ouellet Therrien
72968897a7 Duplicate get pipeline jobs list to Jobs API 2018-04-24 11:44:46 -04:00
Isaac Ouellet Therrien
1fc3bd7c3d Move endpoint to get pipeline jobs list to Pipelines API 2018-04-24 11:44:01 -04:00
Isaac Ouellet Therrien
8f65bb6508 Add endpoint to download single job artifact file via stream 2018-04-24 11:39:15 -04:00
Isaac Ouellet Therrien
747d478998 Add options parameter to the get all jobs for pipeline endpoint 2018-04-24 09:25:37 -04:00
Isaac Ouellet Therrien
b01f72d85d Add download single file artifact from specific job 2018-04-23 17:16:59 -04:00
Isaac Ouellet Therrien
3dc1de24b5 Add get all jobs for pipeline support 2018-04-23 17:05:08 -04:00
Frederic G.-Boutin
4d194725c9 Support for retry and cancel 2018-04-20 15:20:42 -04:00
Frederic G.-Boutin
9047c62794 Support for pipeline endpoints GET and CREATE 2018-04-20 12:11:08 -04:00
Justin
ce7d5ffe97 UserCustomAttributes Bug fix 2018-04-17 09:27:02 -04:00
Justin
aeb4cb484a - Added addTimeEstimate, addTimeSpent, timeStats, resetTimeSpent and resetTimeEstimate to the Issues API. Requested in PR [#68](https://github.com/jdalrymple/node-gitlab-api/pull/68)
**Breaking Change**

- Renamed timeEstimate to addTimeEstimate, and timeSpend to addTimeSpent, in the MergeRequests API
2018-04-16 19:06:49 -04:00
zhao0
bfd584f13d
fix request method and path of Commits.editStatus
Doc: https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/commits.md#post-the-build-status-to-a-commit
2018-04-10 15:43:02 +08:00
Ev Haus
c5f5beb68a
Fix broken MergeRequestNotes requests
The correct resource name for Merge Request notes is `merge_requests` not `mergerequests`. See https://docs.gitlab.com/ee/api/notes.html#create-new-merge-request-note for reference.
2018-04-09 13:04:59 -07:00
Justin
a83a2cb8e4 Fixing error with the events 2018-04-05 19:13:06 -04:00
Justin Dalrymple
42dd55705f Fixing current user endpoints 2018-04-04 16:19:17 -04:00
Justin
e34bceee37 Adding pages domains and search 2018-03-31 11:27:15 -04:00