Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | chore: release v3.7.0v3.7.0 | github-actions | 2022-07-28 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2198 from nickbroon/nickbroon-release-sort-order | Nejc Habjan | 2022-07-28 | 1 | -0/+5 |
|\ \ | | | | | | | feat: allow sort/ordering for project releases | ||||
| * | | feat: allow sort/ordering for project releases | Nick Brown | 2022-07-28 | 1 | -0/+5 |
| | | | | | | | | | | | | See: https://docs.gitlab.com/ee/api/releases/#list-releases | ||||
* | | | fix: support array types for most resources | Nejc Habjan | 2022-07-28 | 13 | -14/+61 |
| | | | |||||
* | | | feat(cli): add a custom help formatter | Waldek Maleska | 2022-07-28 | 2 | -1/+21 |
|/ / | | | | | | | | | | | | | | | | | | | Add a custom argparse help formatter that overrides the output format to list items vertically. The formatter is derived from argparse.HelpFormatter with minimal changes. Co-authored-by: John Villalovos <john@sodarock.com> Co-authored-by: Nejc Habjan <nejc.habjan@siemens.com> | ||||
* | | fix: use the [] after key names for array variables in `params` | John L. Villalovos | 2022-07-27 | 3 | -19/+57 |
|/ | | | | | | | | | | | | | | | | | | 1. If a value is of type ArrayAttribute then append '[]' to the name of the value for query parameters (`params`). This is step 3 in a series of steps of our goal to add full support for the GitLab API data types[1]: * array * hash * array of hashes Step one was: commit 5127b1594c00c7364e9af15e42d2e2f2d909449b Step two was: commit a57334f1930752c70ea15847a39324fa94042460 Fixes: #1698 [1] https://docs.gitlab.com/ee/api/#encoding-api-parameters-of-array-and-hash-types | ||||
* | feat: add support for iterations API | Nejc Habjan | 2022-07-27 | 4 | -0/+31 |
| | |||||
* | feat(groups): add support for shared projects API | Nejc Habjan | 2022-07-26 | 2 | -1/+27 |
| | |||||
* | feat(issues): add support for issue reorder API | Nejc Habjan | 2022-07-24 | 1 | -1/+33 |
| | |||||
* | feat(namespaces): add support for namespace existence API | Nejc Habjan | 2022-07-24 | 1 | -1/+26 |
| | |||||
* | feat: add support for group and project invitations API | Nejc Habjan | 2022-07-23 | 5 | -0/+98 |
| | |||||
* | feat(projects): add support for project restore API | Nejc Habjan | 2022-07-23 | 2 | -0/+19 |
| | |||||
* | refactor: migrate services to integrations | Nejc Habjan | 2022-07-23 | 3 | -9/+27 |
| | |||||
* | fix(runners): fix listing for /runners/all | Nejc Habjan | 2022-07-23 | 2 | -1/+17 |
| | |||||
* | fix(config): raise error when gitlab id provided but no config section found | Nejc Habjan | 2022-07-22 | 1 | -0/+6 |
| | |||||
* | fix(config): raise error when gitlab id provided but no config file found | Nejc Habjan | 2022-07-22 | 1 | -0/+5 |
| | |||||
* | fix: add `get_all` param (and `--get-all`) to allow passing `all` to API | Nejc Habjan | 2022-07-21 | 2 | -6/+23 |
| | |||||
* | feat: add support for filtering jobs by scope | Nick Brown | 2022-07-21 | 1 | -0/+1 |
| | | | | | See: 'scope' here: https://docs.gitlab.com/ee/api/jobs.html#list-project-jobs | ||||
* | Merge pull request #1872 from python-gitlab/jlvillal/as_dict | Nejc Habjan | 2022-07-20 | 1 | -13/+19 |
|\ | | | | | feat: add `asdict()` and `to_json()` methods to Gitlab Objects | ||||
| * | feat: add `asdict()` and `to_json()` methods to Gitlab Objects | John L. Villalovos | 2022-07-20 | 1 | -14/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an `asdict()` method that returns a dictionary representation copy of the Gitlab Object. This is a copy and changes made to it will have no impact on the Gitlab Object. The `asdict()` method name was chosen as both the `dataclasses` and `attrs` libraries have an `asdict()` function which has the similar purpose of creating a dictionary represenation of an object. Also add a `to_json()` method that returns a JSON string representation of the object. Closes: #1116 | ||||
| * | fix: results returned by `attributes` property to show updates | John L. Villalovos | 2022-07-20 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | Previously the `attributes` method would show the original values in a Gitlab Object even if they had been updated. Correct this so that the updated value will be returned. Also use copy.deepcopy() to ensure that modifying the dictionary returned can not also modify the object. | ||||
* | | chore: add a `lazy` boolean attribute to `RESTObject` | John L. Villalovos | 2022-07-20 | 2 | -2/+11 |
|/ | | | | | | | | This can be used to tell if a `RESTObject` was created using `lazy=True`. Add a message to the `AttributeError` if attribute access fails for an instance created with `lazy=True`. | ||||
* | feat(api): add support for instance-level registry repositories | Nejc Habjan | 2022-07-20 | 2 | -1/+25 |
| | |||||
* | feat(groups): add support for group-level registry repositories | Nejc Habjan | 2022-07-20 | 2 | -0/+9 |
| | |||||
* | Merge pull request #2146 from python-gitlab/jlvillal/mypy_strict_step_by_step | Nejc Habjan | 2022-07-20 | 1 | -5/+13 |
|\ | | | | | chore: enable mypy check `strict_equality` | ||||
| * | chore: enable mypy check `strict_equality` | John L. Villalovos | 2022-07-19 | 1 | -5/+13 |
| | | | | | | | | Enable the `mypy` `strict_equality` check. | ||||
* | | fix: Enable epic notes | John Gunnison | 2022-07-19 | 1 | -0/+2 |
|/ | | | | Add the notes attribute to GroupEpic | ||||
* | feat: Add 'merge_pipelines_enabled' project attribute | Nick Brown | 2022-07-11 | 1 | -0/+2 |
| | | | | | | | | Boolean. Enable or disable merge pipelines. See: https://docs.gitlab.com/ee/api/projects.html#edit-project https://docs.gitlab.com/ee/ci/pipelines/merged_results_pipelines.html | ||||
* | feat: support validating CI lint results | Nejc Habjan | 2022-07-09 | 3 | -1/+48 |
| | |||||
* | fix(cli): remove irrelevant MR approval rule list filters | Nejc Habjan | 2022-07-09 | 1 | -1/+0 |
| |