summaryrefslogtreecommitdiff
path: root/gitlab/v4
Commit message (Collapse)AuthorAgeFilesLines
* feat(api): add support for events scope parameterSamuël WEBER2023-05-031-1/+1
|
* feat: usernames support for MR approvalsNick Brown2023-04-191-1/+1
| | | | | | This can be used instead of 'user_ids' See: https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule
* fix(cli): warn user when no fields are displayedNejc Habjan2023-04-111-16/+28
|
* feat(projects): allow importing additional items from GitHubNejc Habjan2023-04-101-2/+10
|
* feat(objects): support fetching PATs via id or `self` endpointNejc Habjan2023-04-071-2/+9
|
* feat: add resource_weight_event for ProjectIssuePaul Fariello2023-03-232-0/+21
|
* fix: support int for `parent_id` in `import_group`John L. Villalovos2023-03-121-2/+2
| | | | | | | | | This will also fix other use cases where an integer is passed in to MultipartEncoder. Added unit tests to show it works. Closes: #2506
* fix(cli): display items when iterator is returnedNejc Habjan2023-02-061-0/+2
|
* feat(cli): add setting of `allow_force_push` for protected branchJohn L. Villalovos2023-02-031-0/+1
| | | | | | | | | | For the CLI: add `allow_force_push` as an optional argument for creating a protected branch. API reference: https://docs.gitlab.com/ee/api/protected_branches.html#protect-repository-branches Closes: #2466
* feat(group): add support for group restore APIMahadevan Karthi2023-01-181-0/+15
|
* chore: update attributes for create and update projectsjrdescartes2023-01-181-2/+26
|
* feat(api): add support for bulk imports APINejc Habjan2022-12-192-0/+55
|
* fix: change return value to "None" in case getattr returns None to prevent errorWu Yang2022-12-191-1/+1
|
* feat(api): add support for resource groupsNejc Habjan2022-12-183-0/+48
|
* feat(api): support listing pipelines triggered by pipeline schedulesSteve Vermeulen2022-12-111-0/+13
|
* feat: allow filtering pipelines by sourceNick Brown2022-12-101-0/+1
| | | | | | See: https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines Added in GitLab 14.3
* feat: add resource iteration events (see ↵Oliver Blasius2022-12-042-0/+21
| | | | https://docs.gitlab.com/ee/api/resource_iteration_events.html)
* fix: Use the ProjectIterationManager within the Project objectRyan Holleran2022-12-031-2/+2
| | | | | | | | The Project object was previously using the GroupIterationManager resulting in the incorrect API endpoint being used. Utilize the correct ProjectIterationManager instead. Resolves #2403
* fix(api): Make description optional for releaseslovetox2022-12-031-1/+1
|
* feat: add support for SAML group links (#2367)Abhishek Singh2022-11-221-0/+21
|
* feat(groups): add LDAP link manager and deprecate old API endpointsNejc Habjan2022-11-171-19/+67
|
* refactor: explicitly use ProjectSecureFileNejc Habjan2022-11-172-9/+11
|
* feat(groups): add support for listing ldap_group_links (#2371)Ray2022-11-161-0/+17
|
* feat: implement secure files APIBen Brown2022-11-103-0/+72
|
* feat(api): add support for getting a project's pull mirror detailsJohn L. Villalovos2022-11-041-0/+23
| | | | | | | Add the ability to get a project's pull mirror details. This was added in GitLab 15.5 and is a PREMIUM feature. https://docs.gitlab.com/ee/api/projects.html#get-a-projects-pull-mirror-details
* fix(cli): expose missing mr_default_target_self project attributeRomain Dartigues2022-11-031-0/+1
| | | | | | | | | | | | Example:: gitlab project update --id 616 --mr-default-target-self 1 References: * https://gitlab.com/gitlab-org/gitlab/-/merge_requests/58093 * https://gitlab.com/gitlab-org/gitlab/-/blob/v13.11.0-ee/doc/user/project/merge_requests/creating_merge_requests.md#new-merge-request-from-a-fork * https://gitlab.com/gitlab-org/gitlab/-/blob/v14.7.0-ee/doc/api/projects.md#get-single-project
* feat(api): add support for remote project import from AWS S3 (#2357)Abhishek Singh2022-11-021-2/+64
|
* feat(api): add support for remote project import (#2348)Abhishek Singh2022-11-011-0/+45
|
* feat(api): add application statisticsShreya2022-11-011-0/+14
|
* fix: use POST method and return dict in ↵John Villalovos2022-10-311-7/+8
| | | | | | | | | | | | | | `cancel_merge_when_pipeline_succeeds()` (#2350) * Call was incorrectly using a `PUT` method when should have used a `POST` method. * Changed return type to a `dict` as GitLab only returns {'status': 'success'} on success. Since the function didn't work previously, this should not impact anyone. * Updated the test fixture `merge_request` to add ability to create a pipeline. * Added functional test for `mr.cancel_merge_when_pipeline_succeeds()` Fixes: #2349
* fix: remove `project.approvals.set_approvals()` methodJohn L. Villalovos2022-10-191-32/+0
| | | | | | | | | | | | The `project.approvals.set_approvals()` method used the `/projects/:id/approvers` end point. That end point was removed from GitLab in the 13.11 release, on 2-Apr-2021 in commit 27dc2f2fe81249bbdc25f7bd8fe799752aac05e6 via merge commit e482597a8cf1bae8e27abd6774b684fb90491835. It was deprecated on 19-Aug-2019. See merge request: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57473
* fix: use epic id instead of iid for epic notesShreya2022-10-161-4/+4
|
* feat(api): add support for topics merge APINejc Habjan2022-10-141-1/+39
|
* fix(cli): handle list response for json/yaml outputJohn L. Villalovos2022-10-061-4/+4
| | | | | | | | | Handle the case with the CLI where a list response is returned from GitLab and json/yaml output is requested. Add a functional CLI test to validate it works. Closes: #2287
* feat: Add reset_approvals apiLucas Zampieri2022-09-261-0/+18
| | | | | | Added the newly added reset_approvals merge request api. Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
* fix(cli): add missing attributes for creating MRsNejc Habjan2022-09-231-3/+6
|
* fix(cli): add missing attribute for MR changesNejc Habjan2022-09-231-1/+1
|
* feat: add support for deployment approval endpointJohn L. Villalovos2022-08-251-1/+51
| | | | | | | Add support for the deployment approval endpoint[1] [1] https://docs.gitlab.com/ee/api/deployments.html#approve-or-reject-a-blocked-deployment Closes: #2253
* feat: add support for merge_base APINejc Habjan2022-08-191-1/+27
|
* chore: consolidate license and authorsNejc Habjan2022-08-042-35/+0
|
* Merge pull request #2211 from python-gitlab/jlvillal/mypy_step_stepNejc Habjan2022-08-014-9/+21
|\ | | | | chore: enable mypy check `disallow_any_generics`
| * chore: enable mypy check `disallow_any_generics`John L. Villalovos2022-08-014-9/+21
| |
* | chore: enable mypy check `no_implicit_optional`John L. Villalovos2022-07-313-3/+3
|/
* chore: change `_repr_attr` for Project to be `path_with_namespace`John L. Villalovos2022-07-291-1/+1
| | | | | | | Previously `_repr_attr` was `path` but that only gives the basename of the path. So https://gitlab.com/gitlab-org/gitlab would only show "gitlab". Using `path_with_namespace` it will now show "gitlab-org/gitlab"
* Merge pull request #2199 from orf/patch-1Nejc Habjan2022-07-291-3/+7
|\ | | | | Support downloading archive subpaths
| * feat: Support downloading archive subpathsTom Forbes2022-07-291-3/+7
| |
* | Merge pull request #2194 from python-gitlab/jlvillal/update-gitlabNejc Habjan2022-07-291-1/+4
|\ \ | |/ |/| test(functional): bump GitLab docker image to 15.2.0-ee.0
| * chore(topics): 'title' is required when creating a topicJohn L. Villalovos2022-07-281-1/+4
| | | | | | | | In GitLab >= 15.0 `title` is required when creating a topic.
* | Merge pull request #2198 from nickbroon/nickbroon-release-sort-orderNejc Habjan2022-07-281-0/+5
|\ \ | | | | | | feat: allow sort/ordering for project releases
| * | feat: allow sort/ordering for project releasesNick Brown2022-07-281-0/+5
| |/ | | | | | | See: https://docs.gitlab.com/ee/api/releases/#list-releases