1784 Commits

Author SHA1 Message Date
Justin
62e032b5e6 refactor: Triggers API required arguments exposed as optional
The Trigger API's pipeline function requires two new arguments, the ref and token but was previously exposed as optional arguments.

BREAKING CHANGE: Triggers API pipeline function requires the ref and token
2019-05-25 19:05:28 -04:00
Justin
7453779e60 refactor: Requiring content for the Note related APIs
The Note APIs were  checking the options argument for a body parameter misleading the user to believe it was optional.

BREAKING CHANGE: Notes now require a body argument
2019-05-25 19:05:28 -04:00
Justin
1ba912603f refactor: Expose optional parameters for the NotiicationSettings API
The NotificationSettings API was missing optional parameters in its function headers.

BREAKING CHANGE: NotificationSettings API edit function now takes one parameter, `options`
2019-05-25 19:05:28 -04:00
Justin
46a541ba8c refactor: Updating the MergeRequest API's pipeline function header
The function requires the mergerequestId but was exposing this parameter as optional.

BREAKING CHANGE: MergeRequest Pipelines require the mergeRequestId
2019-05-25 19:05:28 -04:00
Justin
e4ba731bea fix: Merge Request Approvals API did not match official API
Updated the function headers to match the official API.

BREAKING CHANGE: Updated Approvals API support to match https://docs.gitlab.com/ee/api/merge_request_approvals.html
2019-05-25 19:05:28 -04:00
Justin
97dd060ae1 refactor: Similar to the RepositoryFiles API changes
Removed the dependency on FS for better browser support.

BREAKING CHANGE: Removed dependency on FS. Now the Projects API takes in two arguments `projectId` and `content` as well as an option fileName argument
2019-05-25 19:05:28 -04:00
Justin
6ea90d32ce refactor: SystemHooks API function header updates
No point in having extra arguments in the function header if they arent required!

BREAKING CHANGE: Removed projectId from System Hooks API since it wasn't required
2019-05-25 19:05:28 -04:00
Justin
037f4ed1ee refactor: Removed Fs dependency for better browser support
Allowing the user to pass in the content directly removes this limitation.

BREAKING CHANGE: Added content as a required parameter for RepositoryFiles
2019-05-25 19:05:28 -04:00
Justin
aa6acb1d18 fix: #227 Fixing array syntax thanks to Lukas Eipert (https://github.com/leipert) 2019-05-25 19:05:28 -04:00
Justin
cea5a2bc5e fix: Fixing Todos support. If todoId was not passed, an undefined value would be introduced into the url 2019-05-25 19:05:28 -04:00
Justin
a7b29c17dc fix: ResourceAwardEmojis API wasn't properly filtering based on awardId 2019-05-25 19:05:28 -04:00
Justin
3f6d4095cd feat: Added LDAP support to the Groups API 2019-05-25 19:05:28 -04:00
Justin
ee6d490799 feat: Added the missing edit function to the Groups API 2019-05-25 19:05:28 -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
7e4a3f1291 refactor(config): Updating tslint configuration 2019-05-25 19:05:28 -04:00
Justin
a79dabefea fix: Fixing typing structure and configuration 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
Justin
ee4730fbd0 fix: Removed xhr library in favour of ky, and switched request for got for a smaller package size and retry functionality 2019-05-25 19:05:28 -04:00
Justin
18effa2aca feat: Added the ability to add sudo to specific requests 2019-05-25 19:05:28 -04:00
Justin
5f97193dfd feat: Adding the option to conditionally camelize response body 2019-05-25 19:05:28 -04:00
Justin
03e85ef171 refactor: Removed inconsistent export strategies
Some exports were default ie Gitlab while others were named. This created some confusion and as such have been standardized as named exports.

BREAKING CHANGE: Changing everything to named exports for simplicity
2019-05-25 19:05:28 -04:00
Justin
26e2e52fad refactor: Removed the confusing url parameter from BaseService
It was interfering with an internally defined property which lead to confusion.

BREAKING CHANGE: Switching required initialization argument from 'url' to 'host'
2019-05-25 19:05:28 -04:00
Justin
3ad35f69fe refactor: Updating bundler function to follow the function name standard 2019-05-25 17:19:03 -04:00
Justin
bbd0b09cd1 test(config): Updating test configuration to handle main versions of nodejs available 2019-05-25 17:17:06 -04:00
Justin
92467c57e6 refactor(build): Incorporating rollup in build process 2019-05-25 17:16:34 -04:00
Justin
ce408be0df docs: Updating README and performing some basic linting 2019-05-25 17:15:34 -04:00
Justin
4f3066f167 style(docs): Linting Licence.md 2019-05-25 17:15:08 -04:00
Justin
cde6fe79c8 refactor(config): Replacing jest.config.js with jest.config.json 2019-05-25 17:14:51 -04:00
Justin
cdbcf1f42a style(docs): Linting markdown docs 2019-05-25 17:14:23 -04:00
Justin
b682425248 style(config): Linting the releaserc config file 2019-05-25 17:13:28 -04:00
Justin
77e38dc47e refactor(config): Adding prettier config 2019-05-25 17:12:49 -04:00
Justin
19ec742b96 refactor(config): Adding a husky config to handle lintstaged 2019-05-25 17:12:22 -04:00
Justin
9199ffd078 refactor(config): Updating gitignore 2019-05-25 17:10:51 -04:00
Justin
436c952567 chore(templates): Updating github templates 2019-05-25 17:10:14 -04:00
Justin
fed5df1fdb refactor(config): Linting the code climate, codeconv and editorconfig configurations 2019-05-25 17:09:44 -04:00
jdalrymple
a5c9491cd9
Merge pull request #307 from gbonnefille/erase-artifacts
feat: Add function to erase artifacts only
2019-04-29 15:08:30 -04:00
Guilhem Bonnefille
4a8fd87176 Add function to erase artifacts only 2019-04-29 18:11:52 +02:00
jdalrymple
ad130ed0b8
Merge pull request #305 from jdalrymple/greenkeeper/husky-2.0.0
chore: Update husky to the latest version 🚀
2019-04-25 15:58:04 -04:00
greenkeeper[bot]
dfde038595 chore(package): update lockfile package-lock.json 2019-04-24 16:46:21 +00:00
greenkeeper[bot]
bae7a36d2f chore(package): update husky to version 2.0.0 2019-04-24 16:46:16 +00:00
jdalrymple
21206c94f4
Merge pull request #304 from gpineda-dev/patch-1
docs: Add Markdown to the supported APIs list
2019-04-23 18:05:23 -04:00
PINEDA Guillaume
4a2ea03b09
add Markdown in supported API's features 2019-04-23 17:45:54 +02:00
Justin
fe49edb36b docs: Removing some outdated README information 2019-04-22 23:45:18 -04:00