Joseph Petersen
4bd130dd89
fixes : #234 use correct XMLHttpRequest for GET req
2018-11-15 20:45:10 +01:00
jdalrymple
fdb84a7b97
Merge pull request #185 from evolution-gaming/add-types
...
fix: Adding more TS types
2018-11-02 12:02:24 -04:00
Maximilian Krauß
24dac9bf10
Adds slash after merge request id for editApprovals and editApprovers methods
2018-10-30 15:07:44 +01:00
Pavel Birukov
0b4c7849ce
Merge branch 'master' into add-types
2018-10-30 12:00:37 +01:00
Pavel Birukov
104e91271e
Revert snake_case parameters to camelCase
2018-10-30 11:59:50 +01:00
Lukas Eipert
2f859c6089
Fix array syntax to brackets
2018-10-28 23:40:28 +01:00
Louis Cherel
bfcfad819b
services/NotificationSettings: fix #219
2018-10-17 11:48:53 +02:00
Pavel Birukov
f946569882
Add types for Object.assign
2018-10-12 20:50:51 +03:00
Pavel Birukov
ba65cd288e
Fix type error after rebase
2018-10-12 11:48:46 +03:00
Pavel Birukov
ffad9a34da
Add types for requesters
2018-10-12 00:22:47 +03:00
Pavel Birukov
ce8b0b3154
Add type annotations
2018-10-12 00:22:09 +03:00
Pavel Birukov
4b1753260d
Another batch of fixes
2018-10-12 00:20:59 +03:00
Pavel Birukov
703caed506
Improve Bundler annotation
2018-10-12 00:19:55 +03:00
Pavel Birukov
b5372fb2ea
Add ProjectId type to arguments
2018-10-12 00:19:55 +03:00
Pavel Birukov
f2c4259f02
Annotate BaseService constructor
2018-10-11 21:17:24 +03:00
Pavel Birukov
5523ca46b5
Annotate Bundler
2018-10-11 21:17:24 +03:00
jdalrymple
b28fc57b65
Merge pull request #211 from jdalrymple/update-packages
...
chore(packages): Updating dev packages
2018-10-09 21:15:38 -04:00
Justin
dcee7ac5a5
fix: jest.config file to properly run tests again. Follow up issue to fix these exceptions
2018-10-09 20:22:39 -04:00
Justin
72c9b7084e
chore: Linting
2018-10-09 19:07:32 -04:00
Justin
4bf574c0c0
feat: Add sudo abilities #203
2018-10-09 19:01:46 -04:00
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