20 Commits

Author SHA1 Message Date
Vincent Boulaye
9757d7e57c
add Jobs.showPipelineBridges (#1766) 2021-05-14 13:34:24 -04:00
Justin Dalrymple
502d8180a7
Update service typing and peripheral endpoints (#1768)
* Dependency and Configuration updates
* CHANGELOG and README updates
* Added support for camel case and snake case response types in the request helper and base service
* Added support for the Dockerfile Templates API
* Added support for the Issue Note Award Emojis API
* Removed redundant Group Projects service
* Updated types for a variety of services
* Added type updates and removed protect and unprotect endpoints from the Branches API 
* Added type updates and signature endpoint to the Commits API
* Added type updates and edit support to the Deployments API
* Added type updates and a showRepository function to the Container Registry API
* Added type updates and updated the service support to include create, edit, show and remove for the Feature Flags API
* Added type updates and support for the removal of geonodes with the Geo Nodes API
* Renamed UserKeys to UserSSHKeys and added type updates for the User SSH Keys API
* Added type updates for the License Templates API and renamed the export to fix the spelling error
* Added type updates and support for the transfer projects endpoint for the Groups API
* Added type updates and removed removed events endpoint on the Projects API
* Added type updates and modified the create function to require a resource name in the Todos API
2021-05-14 10:07:11 -04:00
divido
939d81372d
Change Issues.unsubscribe to a POST operation instead of DELETE (#1726)
This conforms to the GitLab API Documentation:
https://docs.gitlab.com/ee/api/issues.html#unsubscribe-from-an-issue
2021-05-04 00:21:56 -04:00
Justin Dalrymple
c6432cc22d
Replacing BaseService 'url' constructor argument with 'prefixUrl' for clarity (#1412) 2020-12-28 12:46:45 -05:00
Justin Dalrymple
565bd15449
Removed circular references (#1387)
- Updated requester structure
- Removed duplicate pipeline jobs function
2020-12-18 14:23:49 -05:00
Niklas Lochschmidt
d3cd35c5f2
Add approval rule management (#1233)
See: https://docs.gitlab.com/ee/api/merge_request_approvals.html

* Move Approval API into MergeRequestApprovals

Breaking change, see https://github.com/jdalrymple/gitbeaker/pull/1233#issuecomment-709262998
2020-10-15 20:15:58 +02:00
Niklas Lochschmidt
13d43b77b4
Add support for Freeze Periods (#1231)
See https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/freeze_periods.md
2020-10-15 13:24:14 +02:00
Justin Dalrymple
af5463b7dc
Updating incorrect showExtended->showExpanded property documentation (#1205) 2020-10-07 11:14:06 +02:00
Justin Dalrymple
1434384803
Support keyset pagination (#1184)
* Additionally adding support for maxPages when using keyset pagination

Fixes #1115

Co-authored-by: Max Wittig <max.wittig@siemens.com>
2020-10-05 12:11:55 +02:00
Justin
a02d815f95 Restructing the requester utils and update the related typings 2020-09-27 16:48:57 +02:00
Justin Dalrymple
f0e9ef8d2b
Fixing closes_issues endpoint (#953) 2020-07-08 20:55:23 +02:00
Flavien Bridault
704ab0c5b3
Add related merge requests and closed by in Issues service (#903)
* Add `related merge requests` and `closed by` in Issues service
* Rename all issueId variables to issueIid to comply with GitLab API
* Reflect also the change in the unit-test, though only one occurrence was
found.
2020-06-25 23:19:19 +02:00
Justin Dalrymple
db63076a5a
Reach > 90% coverage and add Integration Testing (#709)
- Added many many more unit tests to increase coverage to 90% +
- Removed the upsert functionality of PushRules to maintain documented API parity
2020-06-20 14:55:12 +02:00
Justin Dalrymple
6426ce1fb1
Removal of esinterlop to prefer namespace imports over default exports (#893) 2020-06-16 13:37:56 +02:00
Justin Dalrymple
1cec2d736c
Update typing to specify that path or name must be passed (#796) 2020-05-16 13:33:03 +02:00
Justin
176dadf9a6 Fixing the types path in the package.json for browser and requester-utils (#742) 2020-05-02 00:12:41 +02:00
Justin Dalrymple
4751ed225f
fix(core): Adding better handling for form type arguments (#570)
This should be able to account for any form arguments passed to the requestHelper.

BREAKING CHANGE: Trigger.pipeline now has a defined variables property to house all the pipeline variables to be set. Before these variables were set on the root object, but this made it difficult to parse any future options that may be added to this function.

fixes: #568
2020-03-24 22:08:33 +01:00
Justin
3e49ab98cc chore: ✏️ Updating release configuration and commit linting 2020-03-22 15:09:25 +01:00
Justin Dalrymple
b8c23d3279 test(gitbeaker-core): 💍 Added tests for all template files 2020-02-02 16:53:54 +01:00
Justin Dalrymple
d9cd4c9a91 refactor: 💡 Migrated to a monorepo structure
Gitbeaker has been split up into 5 subpackages: gitbeaker-core, gitbeaker-node, gitbeaker-cli, gitbeaker-browser and gitbeaker-requester-utils.

gitbeaker-[node,cli,browser] are enviroment
specific sub packages. For example, if you want to use gitbeaker in a NodeJS environment, use gitbeaker-node. gitbeaker-core is where all the
base logic exists, and gitbeaker-requester-utils is a collection of utility functions for making custom requester libraries.

BREAKING CHANGE: 🧨 This migration requires users to import specific subpackages. For NodeJS
usage, that would be @gitbeaker/node.
2020-02-02 16:53:54 +01:00