Justin Dalrymple
56cae15b40
Merge pull request #405 from jdalrymple/404-remove-deprecated-session-api
...
fix: Removing deprecated Session endpoint (since GitLab 10.2.0)
2019-08-06 11:08:38 -04:00
Justin
a907c7ce83
fix: Adding missing TS type import 'FormData'
...
closes : #401
2019-08-06 10:37:49 -04:00
Justin
fe720d8a21
fix: Removing deprecated Session endpoint (since GitLab 10.2.0)
...
closes : #404
2019-08-06 10:23:45 -04:00
Justin Dalrymple
f59d51d15d
Merge pull request #387 from jdalrymple/385-pagination-tests
...
Extending pagination tests to ensure proper functionality
2019-07-15 10:15:18 -04:00
Justin
d46efc55a4
Remove console logs
2019-07-15 08:47:02 -04:00
Justin
84f619ff33
Numbers should be ints not strings
2019-07-12 12:31:13 -04:00
Justin
856a4a6a89
Linting and removing direct exposure of version option as it conflicted with the version function in the MergeRequest API
2019-07-12 11:43:13 -04:00
Justin
d9b6f16d2e
Using a literal instead of a string
2019-07-12 11:00:55 -04:00
Justin
356466f684
feat: Adding support for branchName key seen in the Gitlab API v3
2019-07-12 10:49:58 -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
fe395904e7
fix: Accept any variables that begin with uppercase letters and include an underscore #254
...
This updated regex isn't foolproof. If the user decides to use lowercase variables, this will not work. Would beed to change the internal logic to allow for the skipping of the camelization.
closes : #254
2019-07-11 16:06:11 -04:00
Justin
4d758e415f
test: Improved unit tests for pagination checks
2019-07-11 16:02:43 -04:00
Justin
aa33061f68
refactor: Standardizing the upload argument header
...
This was done to improve consistency between the two functions used to upload files to gitlab.
BREAKING CHANGE: path argument is no longer required/available. Now, it follows a similar function header to Project.upload with an optional metadata argument
Missing dependency
dede
2019-07-04 15:01:40 -04:00
Justin
184253e728
fix: Fixing project upload #355
...
closes : #355
2019-07-04 14:53:16 -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
f9a47c7beb
fix: Revert support for the rejectUnauthorized option until issues in #377 are sorted.
2019-07-01 12:30:39 -04:00
Justin
f58b489194
style: Linting
2019-06-28 15:07:11 -04:00
Justin
b23dd29b5b
feat: Adding missing endpoints for deploy keys #373
...
BREAKING CHANGE: all method now takes an optional object since projectId is no longer required. If no projectId is passed, the all method returns all deploy keys across all projects of the GitLab instance
2019-06-28 15:04:12 -04:00
Justin
861f89ea22
fix: Missing headers when posting json data
2019-06-28 14:26:20 -04:00
Justin
17bed59e52
refactor: Conditionally add the https new Agent
2019-06-28 10:33:07 -04:00
Justin
71dde54d02
chore: Updating dependancies affecting the build success
2019-06-27 15:10:43 -04:00
Justin
67aa49cde3
test: Fixing some linting in the tests
2019-06-27 14:13:02 -04:00
Justin
b1fa90bffc
style: Fixing linting problems
2019-06-27 13:13:49 -04:00
Justin
00068c918e
feat: Adding support for Group Issues
...
closes : #306
2019-06-26 11:17:24 -04:00
Justin Dalrymple
8ec97e34e4
Merge branch 'master' into 355-project-upload
2019-06-16 22:44:26 -04:00
Justin
a135841043
fix: Handle body types properly if not JSON ie formData
...
fixes : #355
2019-06-15 18:23:25 -04:00
Justin
775d755dd5
fix: Use the correct agent configuration for the rejectUnauthorized option
...
fixes : #357
2019-06-15 18:21:27 -04:00
Joseph Petersen
7e94e0bae1
fix: string regex 😭
2019-06-12 22:35:43 +02:00
Joseph Petersen
2b290b5fe0
fix: Use improved pagination regex to remove service url + leaf
...
fixes : #352
2019-06-12 16:15:11 -04:00
Daniel Rose
b53e997c16
refactor: Fix formatting
2019-06-12 15:06:03 +02:00
Daniel Rose
bd4e14107e
fix: Fix error due to Typescript 3.5.1
...
encodeURIComponent() does not handle undefined.
To be precise, it actually does and returns undefined, but normally
that is an error, so the Typescript definition wants sensible input
values, i.e. string | number | boolean.
2019-06-12 15:06:02 +02:00
Daniel Rose
5474f0658f
fix: Fix error due to Typescript 3.5.1
...
decamelizeKeys is defined to return Object, but Typescript 3.5.1 is a
bit stricter about Object and indexing properties. The correct fix
would need to be done in the type definition of humps.
2019-06-12 15:06:02 +02:00
Daniel Rose
da1a8f6a63
fix: Make package Typescript-conformant
...
Remove the typings directory.
Declare and use the types/interfaces in the various index.ts files.
This will produce a package that can be used by Typescript without
errors.
Remove the typings directory. Declare and use the types/interfaces in the various index.ts files.
This will produce a package that can be used by Typescript without errors.
2019-06-12 15:06:00 +02:00
Justin
45f963c82d
Fixing some styling problems
2019-06-11 13:45:44 -04:00
Justin
38d50dc6e8
Add trailing slash to replace function
2019-06-11 13:05:08 -04:00
Justin
a2a612648a
fix: Wrong endpoint being passed during pagination
...
fixes : #344
2019-06-11 12:55:09 -04:00
Justin Dalrymple
21c91c3408
Merge pull request #347 from jdalrymple/343-error-handling
2019-06-10 16:01:13 -04:00
Justin
dabcb3d0ac
fix: Handle edge cases where content-type headers are missing or the content text is null
...
fixes : #343
2019-06-10 15:38:31 -04:00
Justin Dalrymple
3b031d722f
Merge pull request #346 from jdalrymple/343-error-handling
2019-06-10 14:10:19 -04:00
Justin
a54a6aec37
fix: Moving the error wrapper for the Ky Requester to be only around the Ky function request. Also checking to see if the error contains a response before looking for an error message.
...
fixes : #343
2019-06-10 13:42:35 -04:00
Justin Dalrymple
c6ff86d9c1
fix: Resource Discussion API was using the incorrect url to add a note ( #345 )
...
fixes : #342
2019-06-10 13:19:10 -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
59f92869ca
feat: Adding support for Container Registry API #274
2019-06-07 15:11:30 -04:00
Justin Dalrymple
9391f3559c
Merge pull request #337 from jdalrymple/336-showjobs-optional
...
fix: Make the options argument optional #336
2019-06-06 14:26:00 -04:00
Justin Dalrymple
fb2f0e8830
Merge branch 'master' into 295-releases
2019-06-06 14:07:16 -04:00
Justin
cf3c17e1f6
fix: Make the options argument optional #336
2019-06-06 13:33:22 -04:00
Justin
7191e81cd8
feat: Adding support for Releases API #295
2019-06-06 13:29:57 -04:00
Justin
d6a2248d36
feat: Adding support for ReleaseLinks API
2019-06-06 13:29:38 -04:00
Justin Dalrymple
4b51a11925
Merge pull request #323 from jdalrymple/refactor-repositoryfiles
...
refactor(RepositoryFiles): Missing a required argument from the function headers
2019-06-02 01:18:08 -04:00
rkrasiuk
28d3211d73
include path to typings dir in src/index
2019-06-01 10:05:11 -05:00