260 Commits

Author SHA1 Message Date
Justin
95e8999e36 feat: Added user edit support #186 2018-09-18 18:52:00 -04:00
Bruno Guimarães
11a50ebc29 Added user snippets API support (#189)
* Added user snippets API support

* Combined functions 'all' and 'allPublic'

* Added 'Snippets' as supported API

* Fixed lint error (` should be ')

* Added test for creating snippets
2018-09-18 18:37:29 -04:00
jdalrymple
4b1589ad3b
fixes: #188: stream option is lost in any get request that is streamable (#192) 2018-09-18 14:38:07 -04:00
jdalrymple
2113e8ebb8
feat: Adding markdown support #182 (#193) 2018-09-18 14:37:39 -04:00
Max Wittig
5b07b6ae50 feat: Re-add list all project members endpoint (#190)
Related to :e081a1629f (diff-379104d7d595f3793c2d7380496cc3c3)
See: https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project-including-inherited-members

Fixes #141
2018-09-18 12:29:29 -04:00
Justin
ce0c1fe317 perf: Conversion to Typescript (#183)
chore(package): Updating typescript  3.0.1  →  3.0.3
chore(package): Updating @semantic-release/git   ^7.0.1  →    ^7.0.3
chore(package): Updating @semantic-release/npm   ^5.0.2  →    ^5.0.4
chore(package): Updating semantic-release       ^15.9.8  →  ^15.9.12
chore(package): Updating codecov                 ^3.0.4  →    ^3.1.0
chore(package): Updating ts-jest                ^23.1.3  →   ^23.1.4
chore(package): Updating tslint-config-airbnb    ^5.9.2  →   ^5.11.0
2018-09-05 12:17:11 -04:00
jdalrymple
6d5a4b92b0
Typescript Support (#183)
* chore: Introduce typescript 
* chore: Remove lodash.pick, use native js instead
* chore: Add tslint and extend Airbnb ruleset
* chore: Remove Babel Dependency, replace build steps with tsc
* chore: change target for modern env from es2017 to es6 (async/await should be transpiled to downlevel js)
* chore(package): Updating packages
* fix: Fix error while throwing an error in RequestHelper (#156)
* feat: Support rejectUnauthorized parameter (#164)
* feat: Adding project archive abilities
* fix(test): Application settings API updated (#177)
* fix: Removing token requirement (#176)
* chore: Removing npmignore and using files instead.
* fix: obey rate limits for all request types correctly (#170)
* fix: Camel casing broke the body params
2018-09-05 11:22:28 -04:00
Justin
e50f588fe8 fix: Camelcasing broke the body params 2018-08-31 08:02:03 -04:00
Max Wittig
4bc7c69d87 fix: obey rate limits for all request types correctly (#170)
Fixes #165
2018-08-27 21:33:57 -04:00
jdalrymple
e33c08ac2e
Remove token requirement (#176)
* fix: Removing token requirement #173

* chore: Updating npmignore to decrease package size
2018-08-27 21:26:43 -04:00
Max Wittig
f0213caa9b fix(applications-settings): Edit of application settings not working (#169)
PUT need to be used instead of POST
See: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/api/settings.md
2018-08-22 10:37:56 -04:00
Max Wittig
5e7b1bda05 feat(projects): add archive/unarchive functionality (#168)
Uses this endpoint https://docs.gitlab.com/ce/api/projects.html#archive-a-project

Fixes #166
2018-08-20 13:04:59 -04:00
Justin
24d9bcd5f5 fix: Revert "fix(api): Updating project members all function to include the inherited members. #141" until properly implemented by GitLab (https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6669)
This reverts commit e081a1629f33e3af172101b94977f281879539c9.
2018-08-20 13:01:43 -04:00
CraigAllardyce
128f1502dc fix: Typo in PagesDomains all() method (#162)
Updated URL to point to correct endpoint
2018-08-16 09:31:36 -04:00
Joseph Petersen
01a2ce2801 feat: Expose reject unauthorized in request helper (#160)
Allows to be set service wide or on individual request
fixes #142
2018-08-15 16:46:43 -04:00
Joseph Petersen
ab14ed775c fix: Linting Master (#157) 2018-08-15 08:19:18 -04:00
Justin
177d7fdf9c fix: Fix error while throwing an error in RequestHelper (#156) 2018-08-15 06:49:46 -04:00
Michael Matzka
66547ad1b7 feat: Add deploy keys enable functionality (#155) thanks to [Michael Matzka](https://github.com/mimaidms ) 2018-08-15 05:59:34 -04:00
Justin
bc3b366ac6 fix: Handling errors before retrying request (#142) [skip-ci] 2018-08-15 05:57:01 -04:00
Pavel Birukov
b412222fc5 chore: Fixed wrong wait import (#149)
* Fix incorrectly imported 'wait'
* Updated README to mention that we assume Promise polyfilled
2018-08-14 13:49:31 -04:00
Pavel Birukov
09c2ab416f Make CI green again (#150)
* Disable cache on travis

* Fix linter failures

* Disable PushRule test (EE-only feature)
2018-08-14 13:18:09 -04:00
Joseph Petersen
87e9f55049 feat: Add transfer a project to a new namespace (#145) 2018-08-10 21:44:10 -04:00
Joseph Petersen
395f83c335 feat: Add push rule service (#143) 2018-08-10 21:43:16 -04:00
Justin
e081a1629f fix(api): Updating project members all function to include the inherited members. #141 2018-08-07 18:28:03 -04:00
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
a2732b9eda feat: Making API version modifyable 2018-07-23 19:43:53 -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
Max Wittig
9b46250619 feat: obey the rate limit
Wait as long as specified in the retry-after header, send out by GitLab

Fixes #73
2018-07-04 09:55:06 +02:00
Justin
f1c3e1af1d fix: Title parameter in the Project Milestones API was not being passed in the request
#116
2018-07-02 13:09:01 -04:00
Justin
0d14dff49b chore: Fix linting 2018-07-02 11:49:49 -04:00
Justin
216128dc47 fix: #113, and Updating changelog and contributers list 2018-07-02 11:45:29 -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
Justin Dalrymple
eeec3716ad Fixing some test linting warnings, and duplicate data declaration 2018-06-06 12:53:03 -04:00
Giuseppe Angri
764fdef928 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	src/infrastructure/RequestHelper.js
2018-06-06 11:29:34 +02:00
Justin
da8c8313ea Linting 2018-06-05 22:25:10 -04:00
Justin
fd79421e5a Remove some white space 2018-06-05 22:19:52 -04:00
Justin
20ce703a2e Updating tests 2018-06-05 21:49:34 -04:00
Justin
d4518e237c Adding tests and updating pagination properties 2018-06-05 21:15:46 -04:00
Justin
a7163eced0 Fixing inversion 2018-06-05 18:00:59 -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