83 Commits

Author SHA1 Message Date
Joseph Petersen
4bd130dd89
fixes: #234 use correct XMLHttpRequest for GET req 2018-11-15 20:45:10 +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
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
jdalrymple
4b1589ad3b
fixes: #188: stream option is lost in any get request that is streamable (#192) 2018-09-18 14:38:07 -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
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
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
Justin
a2732b9eda feat: Making API version modifyable 2018-07-23 19:43:53 -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
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
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
ea36fe4c1f Fix Issue #100: Show functions not working 2018-06-05 12:00:10 +02:00
Justin
3ffcbd66ff Added new option to readme, and clarified the option name 2018-06-01 20:41:18 -04:00
Justin
8f1ee03cf0 Missing bracket 2018-06-01 20:29:29 -04:00
Justin
eebff7a23b Adding pagination 2018-06-01 20:27:28 -04:00
Justin
6d8e4a6426 Merge branch 'gitlabci' 2018-05-23 18:07:55 -04:00
Justin
f97a80a948 Linting fixes 2018-05-23 17:30:55 -04:00
Justin
7fc5f1238e Linting 2018-05-22 23:06:26 -04:00
jdalrymple
c9504fb1d2
Merge pull request #92 from Defenderbass/bugfix/misspelling
misspelling
2018-05-22 15:49:01 -04:00
Igor Katsuba
85dbc7e2fb misspelling 2018-05-22 22:44:17 +03:00
Pavel Birukov
7275b11dde Remove non-standard Babel's plugins 2018-05-18 18:55:58 +03:00
Justin
c3e2307f14 Fixing null pointer problem 2018-05-14 14:41:40 -04:00
Justin
9a33511a92 Adding more tests 2018-05-09 21:38:53 -04:00