78 Commits

Author SHA1 Message Date
Claude Abounegm
e7f8fea96e
Changed delete() to remove() 2018-02-08 00:50:27 -05:00
Claude Abounegm
f99258539e
Added delete key method to UserKeys.js
Just a small edit to UserKeys.js which allows to delete an SSH key from a User.

# Usage
`await gitlabApi.users.keys.delete(userId, userKey);`

# Gitlab Docs
https://docs.gitlab.com/ce/api/users.html#delete-ssh-key-for-given-user
2018-02-08 00:44:47 -05:00
William Wheeler
a1a95e5a82 fix: missing options for tags.all
Signed-off-by: William Wheeler <william.wheeler@valuecentric.com>
2018-02-07 09:10:16 -05:00
Justin Dalrymple
ce7f176931 Fixing issues within the customAttributes logic 2018-02-03 19:59:36 -05:00
Justin Dalrymple
5ddbcc8c33 Adding fix for version 2018-01-24 10:20:57 -05:00
Justin Dalrymple
e864064c98 Adding version api support 2018-01-22 19:26:19 -05:00
Justin Dalrymple
de1375389b Fixing an error in the responses of get request where the body's were returned with the full request response, also cleaned up unused references 2018-01-19 12:51:37 -05:00
Justin Dalrymple
dcdcdd382f Issue #24 2018-01-18 23:29:14 -05:00
Justin Dalrymple
ca1f655318 Moving function calls out of the template string for clarity 2018-01-18 23:07:22 -05:00
jdalrymple
1f783272db
Merge pull request #23 from arsdehnel/master
Added project-repository-files docs page
2018-01-18 23:07:00 -05:00
jdalrymple
f5b312c280
Merge pull request #26 from fewieden/feature/merge-requests
Expose merge requests
2018-01-18 22:55:50 -05:00
fewieden
1784df7413
remove projectid parameter 2018-01-17 14:59:10 +01:00
Jeff Pelton
3de97af4cb Project Environments Model 2018-01-16 20:57:47 -08:00
Jeff Pelton
b3eaa54495 Project Jobs Model 2018-01-16 20:41:59 -08:00
fewieden
054818b255
Expose merge requests 2018-01-16 17:00:25 +01:00
dehnel
2b2be721e0 adjusted repository files to use the parse util for filepath values 2018-01-10 08:42:34 -06:00
MartinBenninger
732537f50f Remove unneeded console.log call 2018-01-04 13:43:03 +01:00
MartinBenninger
66d7fe5b98 Add the options when getting the commit comments 2018-01-03 18:01:06 +01:00
MartinBenninger
f7a4ed9a8d Add the options when getting commits 2018-01-03 17:32:16 +01:00
Justin Dalrymple
e5b0a3dbb1 Adding traspilation to es5 and fixed some bugs 2017-12-17 17:27:13 -05:00
Justin Dalrymple
5dedd5a8ea Fixing up the imports and exports 2017-12-17 15:26:52 -05:00
Justin Dalrymple
ecdf2391aa See readme 2017-12-17 15:01:44 -05:00
Justin Dalrymple
91af9e393c Missing comma 2017-11-30 19:03:50 -05:00
Justin Dalrymple
6d987eee1c More extension updates
- Removed unused labels endpoint since it already exists under projects.labels 
- Added a mergeRequests class for the merge_requests endpoints 
- Extended the ProjectMergeRequests class for additional functionality that was missing for project merge requests such as  
accepting merge requests, cancelling merges when the pipeline succeeds, listing issues that will close on merge, subscribing/unsubscribing to merges, creating todos, time spent and time estimates as well as time stats. 
- Fixed the notes endpoints for ProjectMergeRequests. This can now be access via projects.mergeRequests.notes.[command here] 
- Added comments endpoints to the ProjectRepositoryCommits class 
- Added the ability to post a status to a specific commit to the Project class
2017-11-30 19:03:16 -05:00
Justin Dalrymple
c8a0cf4aca Major updates
- Fixing up some inheritance schemes,
- Adding proper access requests support for projects,
- Adding full milestone support for projects
- Adding custom attributes to projects, groups and users
2017-11-29 20:58:26 -05:00
Justin Dalrymple
78feb16e12 Updating v2 2017-11-29 20:15:57 -05:00
Tamás Török-Vistai
f0937d5fdd
Added pagination to pipelines 2017-11-29 21:36:15 +02:00
Justin Dalrymple
31a5576c0b Adding default values 2017-11-28 18:17:53 -05:00
Justin Dalrymple
87e3d4b0a9 Adding default values 2017-11-28 18:17:13 -05:00
Justin Dalrymple
1567b66861 Adding latest hotfix change 2017-11-27 18:56:15 -05:00
Justin Dalrymple
ba80ac10e1 Fixing broken argument references 2017-11-27 18:45:46 -05:00
Justin Dalrymple
7246896c7b Additional v2.0.0 changes 2017-11-25 20:55:51 -05:00
Justin Dalrymple
a40036c880 Merge branch 'v2.0.0rc' 2017-11-25 20:45:34 -05:00
Justin Dalrymple
e273199967 Finished the docs 2017-11-25 20:39:11 -05:00
Justin Dalrymple
154f664c49 Updating more docs 2017-11-25 20:17:38 -05:00
Justin Dalrymple
84aaf1fdf5 Fixing linting of group class 2017-11-25 19:49:11 -05:00
Justin Dalrymple
de77db7d4e Fixing linting errors 2017-11-25 19:44:49 -05:00
Justin Dalrymple
52bce813e7 Major updates pt2
- Methods in the ProjectDeployKeys class updated for consistency
- Methods in the ProjectHooks updated for consistency
- Updated the structure of the ProjectRepository class with commits, branches, tags and files properties
2017-11-25 19:11:26 -05:00
Justin Dalrymple
c6c001caf4 Major updates to the hierarchy structure of the classes.
- Renaming addKey just to add in UserKeys class
- Renaming deploy_keys and merge_requests to deployKeys and mergeRequests for consistancy
- Adding Project Access Requests
- Removing old group member functions from the groups class as they have been moved to the GroupMembers class. This includes the addMember, listMembers, editMember, and removeMember. These functions can now be access via group.members.add, group.members.all, group.members.edit and group.members.remove respectively.
- Removed the old group project functions from the Group class. These are now located in the GroupProject class. The functions that have been removed are listProjects, addProjects. These functions can be access by group.projects.all, and group.projects.add respectively.
2017-11-25 18:26:09 -05:00
Justin Dalrymple
4e94b6b767 Adding extended group functionality 2017-11-25 18:20:13 -05:00
Justin Dalrymple
84eef7024f Ensuring that the options is set by default 2017-11-25 14:06:00 -05:00
Justin Dalrymple
d78db02014 Modified the logic to be selective about paging 2017-11-25 14:05:04 -05:00
Justin Dalrymple
b08779a321 Updating packages, adding better file functionality and fixing oauth param 2017-11-25 13:18:22 -05:00
Salim Benabbou
6e55f8861c
fix code-climate error 2017-11-24 10:18:16 +00:00
Salim Benabbou
af44b93bb7 fix oauthToken not passed to API from constructor 2017-11-22 10:58:07 +00:00
Christoph Lehmann
8439157280 Fix typo in project sharing function
See https://docs.gitlab.com/ce/api/projects.html#share-project-with-group
2017-11-12 17:32:27 +01:00
Justin Dalrymple
36570c32be Minor updates 2017-10-29 22:01:36 -04:00
Justin Dalrymple
67df1c8772 Fixing broken object reference 2017-09-24 10:01:21 -04:00
Justin Dalrymple
385ef9f351 Fixing paging 2017-09-24 09:55:14 -04:00
Justin Dalrymple
a65fb48903 Adding pagination support 2017-09-24 09:22:37 -04:00