Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat(api): add support for events scope parameter | Samuël WEBER | 2023-05-03 | 1 | -1/+1 |
| | |||||
* | feat: usernames support for MR approvals | Nick Brown | 2023-04-19 | 1 | -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 | ||||
* | chore: release v3.14.0v3.14.0 | github-actions | 2023-04-11 | 1 | -1/+1 |
| | |||||
* | fix(cli): warn user when no fields are displayed | Nejc Habjan | 2023-04-11 | 1 | -16/+28 |
| | |||||
* | feat(projects): allow importing additional items from GitHub | Nejc Habjan | 2023-04-10 | 1 | -2/+10 |
| | |||||
* | feat(objects): support fetching PATs via id or `self` endpoint | Nejc Habjan | 2023-04-07 | 1 | -2/+9 |
| | |||||
* | refactor(client): let mypy know http_password is set | Nejc Habjan | 2023-03-27 | 1 | -1/+1 |
| | |||||
* | feat: add resource_weight_event for ProjectIssue | Paul Fariello | 2023-03-23 | 2 | -0/+21 |
| | |||||
* | fix(client): properly parse content-type when charset is present | Nejc Habjan | 2023-03-12 | 2 | -6/+13 |
| | |||||
* | fix: support int for `parent_id` in `import_group` | John L. Villalovos | 2023-03-12 | 2 | -6/+10 |
| | | | | | | | | | This will also fix other use cases where an integer is passed in to MultipartEncoder. Added unit tests to show it works. Closes: #2506 | ||||
* | chore: use a dataclass to return values from `prepare_send_data` | John L. Villalovos | 2023-03-12 | 2 | -15/+24 |
| | | | | | | | | I found the tuple of three values confusing. So instead use a dataclass to return the three values. It is still confusing but a little bit less so. Also add some unit tests | ||||
* | fix(cli): add ability to escape at-prefixed parameter (#2513) | PyHedgehog | 2023-03-11 | 1 | -0/+2 |
| | | | | | | | * fix(cli): Add ability to escape at-prefixed parameter (#2511) --------- Co-authored-by: Nejc Habjan <hab.nejc@gmail.com> | ||||
* | 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 |
| |