Zack Urben
1289c2bac0
Addressing PR comments.
2019-10-03 19:13:06 +00:00
Justin
78b9ad652d
Forgotten folder references
2019-08-30 20:22:13 -04:00
Justin
6f90f4c67d
feat: Adding support for CLI
...
closes : #146
2019-08-30 17:50:16 -04:00
Justin
7ad98e2ae6
Adding extra log to narrow down where gitlab error occurs
2019-08-28 12:08:46 -04:00
Kimmo Sääskilahti
f66f50c2de
Add type exports.
...
- Add type exports.
- Add types to bundle unit tests.
2019-08-27 13:10:19 +03:00
Justin
45ab1fe66d
test: Fixing tests expectations
2019-08-22 16:47:51 -04:00
Justin
8e5dfc00cd
chore: Major linting fixes
2019-08-22 11:52:28 -04:00
Justin
e68bdabd8a
Add pagination object check
2019-07-12 12:12:00 -04:00
Justin
6fea712a69
Typo and typing
2019-07-12 11:05:48 -04:00
Justin
19acfc6928
Adding all test
2019-07-12 10:21:55 -04:00
Justin
ae5cb1730a
test fixes
2019-07-11 17:39:26 -04:00
Justin
199e32d34e
refactor: Adding required labelName and colour option to the create method
...
BREAKING CHANGE: Labels require a colour and a name to be created. Now the create method takes a second and third argument: 'labelName' and 'color'
2019-07-11 17:18:28 -04:00
Justin
c9a681d402
test: Adding basic Labels API test
2019-07-11 16:02:43 -04:00
Justin
4d758e415f
test: Improved unit tests for pagination checks
2019-07-11 16:02:43 -04:00
Justin
3e82ef6e5e
Incorrect test string
2019-07-04 15:57:36 -04:00
Justin
63c2844198
Missing nesting in test logic
2019-07-04 15:44:42 -04:00
Justin
666fe7a519
Missing async keyword
2019-07-04 15:20:51 -04:00
Justin
ad4e973817
test: Adding project upload test
2019-07-04 13:30:38 -04:00
Justin
f7425a72e2
fix: PushRules were missing from the ProjectBundle export and the README. #373
...
BREAKING CHANGE: PushRule export was renamed to PushRules to match the plurality of the export names
2019-07-02 13:48:52 -04:00
Justin
d50f53ceb5
test: Switching integration tests to be run on the compiled library
2019-07-01 12:52:39 -04:00
Justin
f9a47c7beb
fix: Revert support for the rejectUnauthorized option until issues in #377 are sorted.
2019-07-01 12:30:39 -04:00
Justin
2e9b8e8ac4
test: Fixing errors in the tests due to restrictive typing
2019-06-28 14:26:50 -04:00
Justin
3b9454f5ad
test: Include check to not use rejectUnauthorized in integration tests since they are directed towards localhost
2019-06-27 14:16:41 -04:00
Justin
67aa49cde3
test: Fixing some linting in the tests
2019-06-27 14:13:02 -04:00
Justin
b68d294145
test: Remove every code except 2339
2019-06-17 00:16:12 -04:00
mseyma
4d99902a10
feat: Add configurable request timeout ( #341 )
...
Adds the ability for the client to configure the timeout (default is still 300 seconds)
2019-06-08 17:14:51 -04:00
Justin
6c5f81b83e
test: Updating push rule test to improve clarity
2019-05-25 19:05:28 -04:00
Justin
c10690c609
test: More jest matcher updates
2019-05-25 19:05:28 -04:00
Justin
106e112dbe
test: General updates to various tests to use the proper jest matchers
2019-05-25 19:05:28 -04:00
Justin
052d6ea11e
test: Fix the ApplicationSettings test to work with the default camelize option
2019-05-25 19:05:28 -04:00
Justin
844e8f44ab
test: Add integration test for the ProjectBundle export
2019-05-25 19:05:28 -04:00
Justin
7ebb616a67
test: Remove nested test structure
2019-05-25 19:05:28 -04:00
Justin
54d804e0ae
test: Updating tests to match changes to bundler function
2019-05-25 19:05:28 -04:00
Justin
4349da7408
test: Adding tests for the new camelize option
2019-05-25 19:05:28 -04:00
Justin
b780a5f520
test: Modified maxPages test to better handle the issue seen in #311
2019-05-25 19:05:28 -04:00
Pavel Birukov
5b62707c2e
Merge branch 'master' into add-types
2018-10-30 15:19:12 +01:00
Pavel Birukov
f2da029b15
Fix unreliable ApplicationSettings test
...
it tests internals of Gitlab instead of funtionality, and fails on new versions of Gitlab, if they change the list of available settings
2018-10-30 12:16:10 +01:00
Pavel Birukov
0b4c7849ce
Merge branch 'master' into add-types
2018-10-30 12:00:37 +01:00
Justin Dalrymple
dececa6bd1
fix: Updating application settings test to match updated API
2018-10-29 09:55:08 -04:00
Pavel Birukov
ba65cd288e
Fix type error after rebase
2018-10-12 11:48:46 +03:00
Pavel Birukov
4b1753260d
Another batch of fixes
2018-10-12 00:20:59 +03:00
Pavel Birukov
6bfffa0f14
Verify types in tests
2018-10-11 21:17:24 +03: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 Dalrymple
0d345b717f
fix: Updating ApplicationSettings test
2018-09-25 18:13:18 -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
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
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
jdalrymple
0723a7af8a
fix(test): Application settings api updated ( #177 )
2018-08-27 21:11:50 -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
395f83c335
feat: Add push rule service ( #143 )
2018-08-10 21:43:16 -04:00