Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat(client): replace basic auth with OAuth ROPC flowfeat/oauth2-resource-password-flow | Nejc Habjan | 2023-02-16 | 2 | -9/+72 |
| | |||||
* | feat(backends): use PEP544 protocols for structural subtyping (#2442) | Liora Milbaum | 2023-02-12 | 2 | -2/+38 |
| | | | | | | | | The purpose of this change is to track API changes described in https://github.com/python-gitlab/python-gitlab/blob/main/docs/api-levels.rst, for example, for package versioning and breaking change announcements in case of protocol changes. This is MVP implementation to be used by #2435. | ||||
* | chore(deps): update mypy (1.0.0) and responses (0.22.0) | John L. Villalovos | 2023-02-07 | 1 | -1/+1 |
| | | | | | | | | | | | | Update the `requirements-*` files. In order to update mypy==1.0.0 we need to also update responses==0.22.0 Fix one issue found by `mypy` Leaving updates for `precommit` to be done in a separate commit by someone. | ||||
* | fix(cli): display items when iterator is returned | Nejc Habjan | 2023-02-06 | 1 | -0/+2 |
| | |||||
* | chore(deps): update black (23.1.0) and commitizen (2.40.0) (#2479) | John Villalovos | 2023-02-06 | 1 | -1/+0 |
| | | | | | | | | | | Update the dependency versions: black: 23.1.0 commitizen: 2.40.0 They needed to be updated together as just updating `black` caused a dependency conflict. Updated files by running `black` and committing the changes. | ||||
* | feat(client): add http_patch method (#2471) | John Villalovos | 2023-02-05 | 1 | -0/+48 |
| | | | | | In order to support some new API calls we need to support the HTTP `PATCH` method. Closes: #2469 | ||||
* | feat(cli): add setting of `allow_force_push` for protected branch | John L. Villalovos | 2023-02-03 | 1 | -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 | ||||
* | chore: release v3.13.0v3.13.0 | github-actions | 2023-01-30 | 1 | -1/+1 |
| | |||||
* | chore: make backends private | Nejc Habjan | 2023-01-30 | 3 | -10/+10 |
| | |||||
* | chore: add a UserWarning if both `iterator=True` and `page=X` are used (#2462) | John Villalovos | 2023-01-26 | 1 | -0/+13 |
| | | | | | If a caller calls a `list()` method with both `iterator=True` (or `as_list=False`) and `page=X` then emit a `UserWarning` as the options are mutually exclusive. | ||||
* | fix(client): regression - do not automatically get_next if page=# and | Helen Koike | 2023-01-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | iterator=True/as_list=False are used This fix a regression introduced on commit https://github.com/python-gitlab/python-gitlab/commit/1339d645ce58a2e1198b898b9549ba5917b1ff12 If page is used, then get_next should be false. This was found on the mesa ci project, after upgrading the python-gitlab version, the script that monitors the ci was getting killed by consuming too much memory. | ||||
* | feat(group): add support for group restore API | Mahadevan Karthi | 2023-01-18 | 1 | -0/+15 |
| | |||||
* | chore: update attributes for create and update projects | jrdescartes | 2023-01-18 | 1 | -2/+26 |
| | |||||
* | refactor: add reason property to RequestsResponse (#2439) | Liora Milbaum | 2022-12-21 | 1 | -0/+4 |
| | |||||
* | chore: add test, docs, and helper for 409 retries | Nejc Habjan | 2022-12-19 | 1 | -7/+14 |
| | |||||
* | feat(client): automatically retry on HTTP 409 Resource lock | Petr Špaček | 2022-12-19 | 1 | -1/+4 |
| | | | | Fixes: #2325 | ||||
* | feat(api): add support for bulk imports API | Nejc Habjan | 2022-12-19 | 3 | -0/+59 |
| | |||||
* | refactor: remove unneeded requests.utils import (#2426) | Liora Milbaum | 2022-12-19 | 1 | -1/+0 |
| | |||||
* | fix: change return value to "None" in case getattr returns None to prevent error | Wu Yang | 2022-12-19 | 1 | -1/+1 |
| | |||||
* | refactor: Migrate MultipartEncoder to RequestsBackend (#2421) | Liora Milbaum | 2022-12-19 | 2 | -35/+36 |
| | |||||
* | refactor: move Response object to backends (#2420) | Liora Milbaum | 2022-12-19 | 3 | -7/+36 |
| | |||||
* | feat(api): add support for resource groups | Nejc Habjan | 2022-12-18 | 3 | -0/+48 |
| | |||||
* | feat(api): support listing pipelines triggered by pipeline schedules | Steve Vermeulen | 2022-12-11 | 1 | -0/+13 |
| | |||||
* | feat: allow filtering pipelines by source | Nick Brown | 2022-12-10 | 1 | -0/+1 |
| | | | | | | See: https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines Added in GitLab 14.3 | ||||
* | refactor: move the request call to the backend (#2413) | Liora Milbaum | 2022-12-10 | 2 | -2/+43 |
| | |||||
* | refactor: Moving RETRYABLE_TRANSIENT_ERROR_CODES to const | Liora Milbaum | 2022-12-06 | 2 | -2/+3 |
| | |||||
* | feat(client): bootstrap the http backends concept (#2391) | Liora Milbaum | 2022-12-05 | 3 | -5/+32 |
| | |||||
* | feat: add resource iteration events (see ↵ | Oliver Blasius | 2022-12-04 | 2 | -0/+21 |
| | | | | https://docs.gitlab.com/ee/api/resource_iteration_events.html) | ||||
* | feat: allow passing kwargs to Gitlab class when instantiating with ↵ | Liora Milbaum | 2022-12-04 | 1 | -1/+8 |
| | | | | `from_config` (#2392) | ||||
* | feat: add keep_base_url when getting configuration from file | Antoine Meynard | 2022-12-03 | 1 | -0/+10 |
| | |||||
* | fix: Use the ProjectIterationManager within the Project object | Ryan Holleran | 2022-12-03 | 1 | -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 releases | lovetox | 2022-12-03 | 1 | -1/+1 |
| | |||||
* | chore: release v3.12.0v3.12.0 | github-actions | 2022-11-28 | 1 | -1/+1 |
| | |||||
* | feat: add support for SAML group links (#2367) | Abhishek Singh | 2022-11-22 | 1 | -0/+21 |
| | |||||
* | fix(cli): Enable debug before doing auth | Emanuele Aina | 2022-11-21 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | Authentication issues are currently hard to debug since `--debug` only has effect after `gl.auth()` has been called. For example, a 401 error is printed without any details about the actual HTTP request being sent: $ gitlab --debug --server-url https://gitlab.com current-user get 401: 401 Unauthorized By moving the call to `gl.enable_debug()` the usual debug logs get printed before the final error message. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com> | ||||
* | feat(groups): add LDAP link manager and deprecate old API endpoints | Nejc Habjan | 2022-11-17 | 1 | -19/+67 |
| | |||||
* | refactor: explicitly use ProjectSecureFile | Nejc Habjan | 2022-11-17 | 2 | -9/+11 |
| | |||||
* | feat(groups): add support for listing ldap_group_links (#2371) | Ray | 2022-11-16 | 1 | -0/+17 |
| | |||||
* | feat: implement secure files API | Ben Brown | 2022-11-10 | 3 | -0/+72 |
| | |||||
* | feat(api): add support for getting a project's pull mirror details | John L. Villalovos | 2022-11-04 | 1 | -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 attribute | Romain Dartigues | 2022-11-03 | 1 | -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 Singh | 2022-11-02 | 1 | -2/+64 |
| | |||||
* | feat(api): add support for remote project import (#2348) | Abhishek Singh | 2022-11-01 | 1 | -0/+45 |
| | |||||
* | feat(api): add application statistics | Shreya | 2022-11-01 | 2 | -0/+16 |
| | |||||
* | fix: use POST method and return dict in ↵ | John Villalovos | 2022-10-31 | 1 | -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 | ||||
* | chore: release v3.11.0v3.11.0 | github-actions | 2022-10-28 | 1 | -1/+1 |
| | |||||
* | chore: narrow type hints for license API | Nejc Habjan | 2022-10-27 | 1 | -1/+1 |
| | |||||
* | fix: remove `project.approvals.set_approvals()` method | John L. Villalovos | 2022-10-19 | 1 | -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 notes | Shreya | 2022-10-16 | 1 | -4/+4 |
| | |||||
* | feat(api): add support for topics merge API | Nejc Habjan | 2022-10-14 | 2 | -1/+43 |
| |