287 Commits

Author SHA1 Message Date
WEBER Logan
82038305e3
feat(services): add protected tags 2018-12-12 17:54:45 +01:00
Justin
26235ff6f4 fix: handing the function arguments in the incorrect order 2018-11-26 18:26:40 -05:00
Justin Dalrymple
266de00c9a fix: Update pagination docs and conditions #238 2018-11-26 15:37:42 -05:00
Justin Dalrymple
cce5f35c74 Merge branch '240-fix-project-variables' 2018-11-26 15:22:38 -05:00
Justin Dalrymple
5f21a4673d fix: Event properties using the incorrect boolean operator 2018-11-26 14:48:01 -05:00
Justin Dalrymple
28b28cfb21 fix: Project variables urls were being generated incorrectly 2018-11-26 14:36:37 -05:00
Justin Dalrymple
cda23b85ec fix: Filtering all events shouldnt require an action or a target #61 2018-11-26 13:47:23 -05:00
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