Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat(files): allow decoding project files directly to stringfeat/decode-to-string | Nejc Habjan | 2022-11-26 | 1 | -2/+20 |
| | |||||
* | 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 |
| | |||||
* | fix(cli): handle list response for json/yaml output | John L. Villalovos | 2022-10-06 | 1 | -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 | ||||
* | chore: release v3.10.0v3.10.0 | github-actions | 2022-09-28 | 1 | -1/+1 |
| | |||||
* | feat: Add reset_approvals api | Lucas Zampieri | 2022-09-26 | 2 | -0/+22 |
| | | | | | | Added the newly added reset_approvals merge request api. Signed-off-by: Lucas Zampieri <lzampier@redhat.com> | ||||
* | fix(cli): add missing attributes for creating MRs | Nejc Habjan | 2022-09-23 | 1 | -3/+6 |
| | |||||
* | fix(cli): add missing attribute for MR changes | Nejc Habjan | 2022-09-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2254 from python-gitlab/jlvillal/deploy_approve | Nejc Habjan | 2022-08-28 | 2 | -1/+55 |
|\ | | | | | feat: add support for deployment approval endpoint | ||||
| * | feat: add support for deployment approval endpoint | John L. Villalovos | 2022-08-25 | 2 | -1/+55 |
| | | | | | | | | | | | | | | 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 | ||||
* | | chore: release v3.9.0v3.9.0 | github-actions | 2022-08-28 | 1 | -1/+1 |
|/ | |||||
* | feat: add support for merge_base API | Nejc Habjan | 2022-08-19 | 1 | -1/+27 |
| | |||||
* | chore: release v3.8.1v3.8.1 | github-actions | 2022-08-10 | 1 | -1/+1 |
| | |||||
* | fix(client): do not assume user attrs returned for auth() | Nejc Habjan | 2022-08-10 | 1 | -1/+3 |
| | | | | This is mostly relevant for people mocking the API in tests. | ||||
* | chore: remove broad Exception catching from `config.py` | John L. Villalovos | 2022-08-05 | 1 | -25/+21 |
| | | | | | | Change "except Exception:" catching to more granular exceptions. A step in enabling the "broad-except" check in pylint. | ||||
* | chore: consolidate license and authors | Nejc Habjan | 2022-08-04 | 13 | -191/+2 |
| | |||||
* | chore: release v3.8.0v3.8.0 | github-actions | 2022-08-04 | 1 | -1/+1 |
| | |||||
* | feat(client): warn user on misconfigured URL in `auth()` | Nejc Habjan | 2022-08-04 | 1 | -1/+3 |
| | |||||
* | refactor(client): factor out URL check into a helper | Nejc Habjan | 2022-08-04 | 1 | -27/+33 |
| | |||||
* | refactor(client): remove handling for incorrect link header | Nejc Habjan | 2022-08-04 | 1 | -7/+2 |
| | | | | | | | | This was a quirk only present in GitLab 13.0 and fixed with 13.1. See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33714 and https://gitlab.com/gitlab-org/gitlab/-/issues/218504 for more context. | ||||
* | chore: use `urlunparse` instead of string replace | John L. Villalovos | 2022-08-04 | 1 | -1/+1 |
| | | | | | Use the `urlunparse()` function to reconstruct the URL without the query parameters. | ||||
* | fix(client): ensure encoded query params are never duplicated | Nejc Habjan | 2022-08-04 | 1 | -2/+7 |
| | |||||
* | fix: optionally keep user-provided base URL for pagination (#2149) | Omar Mochtar | 2022-08-03 | 1 | -0/+29 |
| | |||||
* | Merge pull request #2211 from python-gitlab/jlvillal/mypy_step_step | Nejc Habjan | 2022-08-01 | 7 | -18/+32 |
|\ | | | | | chore: enable mypy check `disallow_any_generics` | ||||
| * | chore: enable mypy check `disallow_any_generics` | John L. Villalovos | 2022-08-01 | 7 | -18/+32 |
| | | |||||
* | | chore: enable mypy check `no_implicit_optional` | John L. Villalovos | 2022-07-31 | 3 | -3/+3 |
|/ | |||||
* | chore: change `_repr_attr` for Project to be `path_with_namespace` | John L. Villalovos | 2022-07-29 | 1 | -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-1 | Nejc Habjan | 2022-07-29 | 1 | -3/+7 |
|\ | | | | | Support downloading archive subpaths | ||||
| * | feat: Support downloading archive subpaths | Tom Forbes | 2022-07-29 | 1 | -3/+7 |
| | | |||||
* | | Merge pull request #2157 from python-gitlab/jlvillal/mypy_step_by_step | Nejc Habjan | 2022-07-29 | 4 | -10/+43 |
|\ \ | | | | | | | chore: enable mypy check `warn_return_any` | ||||
| * | | chore: enable mypy check `warn_return_any` | John L. Villalovos | 2022-07-28 | 4 | -10/+43 |
| |/ | | | | | | | Update code so that the `warn_return_any` check passes. | ||||
* | | Merge pull request #2201 from python-gitlab/jlvillal/encoding_warning | Nejc Habjan | 2022-07-29 | 1 | -1/+1 |
|\ \ | | | | | | | chore: make code PEP597 compliant | ||||
| * | | chore: make code PEP597 compliant | John L. Villalovos | 2022-07-28 | 1 | -1/+1 |
| |/ | | | | | | | | | | | Use `encoding="utf-8"` in `open()` and open-like functions. https://peps.python.org/pep-0597/ | ||||
* | | Merge pull request #2194 from python-gitlab/jlvillal/update-gitlab | Nejc Habjan | 2022-07-29 | 1 | -1/+4 |
|\ \ | |/ |/| | test(functional): bump GitLab docker image to 15.2.0-ee.0 | ||||
| * | chore(topics): 'title' is required when creating a topic | John L. Villalovos | 2022-07-28 | 1 | -1/+4 |
| | | | | | | | | In GitLab >= 15.0 `title` is required when creating a topic. |