Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test(unit): increase V4 CLI coverage | Nejc Habjan | 2023-04-11 | 3 | -0/+42 |
| | |||||
* | feat(objects): support fetching PATs via id or `self` endpoint | Nejc Habjan | 2023-04-07 | 1 | -9/+54 |
| | |||||
* | test(unit): split the last remaining unittest-based classes into modules" | Nejc Habjan | 2023-03-12 | 5 | -388/+417 |
| | |||||
* | test(unit): remove redundant package | Nejc Habjan | 2023-03-12 | 1 | -0/+0 |
| | |||||
* | test(unit): consistently use inline fixtures | Nejc Habjan | 2023-03-12 | 3 | -88/+31 |
| | |||||
* | test(meta): move meta suite into unit tests | Nejc Habjan | 2023-03-12 | 4 | -0/+289 |
| | | | | They're always run with it anyway, so it makes no difference. | ||||
* | fix(client): properly parse content-type when charset is present | Nejc Habjan | 2023-03-12 | 1 | -0/+14 |
| | |||||
* | fix: support int for `parent_id` in `import_group` | John L. Villalovos | 2023-03-12 | 1 | -4/+17 |
| | | | | | | | | | 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 | -0/+38 |
| | | | | | | | | 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 | ||||
* | 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/+50 |
| | | | | | In order to support some new API calls we need to support the HTTP `PATCH` method. Closes: #2469 | ||||
* | chore: add a UserWarning if both `iterator=True` and `page=X` are used (#2462) | John Villalovos | 2023-01-26 | 1 | -1/+12 |
| | | | | | 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 | -0/+12 |
| | | | | | | | | | | | | | 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/+17 |
| | |||||
* | chore: add test, docs, and helper for 409 retries | Nejc Habjan | 2022-12-19 | 1 | -0/+57 |
| | |||||
* | feat(api): add support for bulk imports API | Nejc Habjan | 2022-12-19 | 2 | -0/+164 |
| | |||||
* | feat(api): add support for resource groups | Nejc Habjan | 2022-12-18 | 1 | -0/+79 |
| | |||||
* | test(unit): expand tests for pipeline schedules | Nejc Habjan | 2022-12-11 | 2 | -4/+54 |
| | |||||
* | refactor: Moving RETRYABLE_TRANSIENT_ERROR_CODES to const | Liora Milbaum | 2022-12-06 | 1 | -1/+1 |
| | |||||
* | feat: add resource iteration events (see ↵ | Oliver Blasius | 2022-12-04 | 1 | -0/+55 |
| | | | | 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 | -0/+23 |
| | | | | `from_config` (#2392) | ||||
* | feat: add support for SAML group links (#2367) | Abhishek Singh | 2022-11-22 | 1 | -1/+113 |
| | |||||
* | feat(groups): add LDAP link manager and deprecate old API endpoints | Nejc Habjan | 2022-11-17 | 1 | -4/+4 |
| | |||||
* | refactor: explicitly use ProjectSecureFile | Nejc Habjan | 2022-11-17 | 1 | -2/+2 |
| | |||||
* | feat(groups): add support for listing ldap_group_links (#2371) | Ray | 2022-11-16 | 1 | -0/+27 |
| | |||||
* | feat: implement secure files API | Ben Brown | 2022-11-10 | 1 | -0/+101 |
| | |||||
* | feat(api): add support for getting a project's pull mirror details | John L. Villalovos | 2022-11-04 | 1 | -0/+27 |
| | | | | | | | 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 | ||||
* | feat(api): add support for remote project import from AWS S3 (#2357) | Abhishek Singh | 2022-11-02 | 1 | -1/+42 |
| | |||||
* | feat(api): add support for remote project import (#2348) | Abhishek Singh | 2022-11-01 | 1 | -0/+31 |
| | |||||
* | feat(api): add application statistics | Shreya | 2022-11-01 | 1 | -0/+49 |
| | |||||
* | test: use false instead of /usr/bin/false | Andrey Skvortsov | 2022-10-17 | 1 | -2/+2 |
| | | | | | | | | On Debian systems false is located at /bin/false (coreutils package). This fixes unit test failure on Debian system: FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/false' /usr/lib/python3.10/subprocess.py:1845: FileNotFoundError | ||||
* | feat(api): add support for topics merge API | Nejc Habjan | 2022-10-14 | 1 | -0/+18 |
| | |||||
* | feat: add support for deployment approval endpoint | John L. Villalovos | 2022-08-25 | 1 | -2/+132 |
| | | | | | | | 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: consolidate license and authors | Nejc Habjan | 2022-08-04 | 7 | -122/+0 |
| | |||||
* | feat(client): warn user on misconfigured URL in `auth()` | Nejc Habjan | 2022-08-04 | 1 | -1/+23 |
| | |||||
* | test(unit): reproduce duplicate encoded query params | Nejc Habjan | 2022-08-04 | 1 | -0/+18 |
| | |||||
* | fix: optionally keep user-provided base URL for pagination (#2149) | Omar Mochtar | 2022-08-03 | 1 | -0/+55 |
| | |||||
* | Merge pull request #2157 from python-gitlab/jlvillal/mypy_step_by_step | Nejc Habjan | 2022-07-29 | 2 | -2/+3 |
|\ | | | | | chore: enable mypy check `warn_return_any` | ||||
| * | chore: enable mypy check `warn_return_any` | John L. Villalovos | 2022-07-28 | 2 | -2/+3 |
| | | | | | | | | 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 | 2 | -2/+3 |
|\ \ | | | | | | | chore: make code PEP597 compliant | ||||
| * | | chore: make code PEP597 compliant | John L. Villalovos | 2022-07-28 | 2 | -2/+3 |
| |/ | | | | | | | | | | | 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. | ||||
* | | fix: use the [] after key names for array variables in `params` | John L. Villalovos | 2022-07-27 | 3 | -12/+72 |
|/ | | | | | | | | | | | | | | | | | | 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 | 1 | -0/+47 |
| | |||||
* | feat(groups): add support for shared projects API | Nejc Habjan | 2022-07-26 | 1 | -0/+38 |
| | |||||
* | test: always ensure clean config environment | Nejc Habjan | 2022-07-26 | 2 | -14/+10 |
| | |||||
* | feat(issues): add support for issue reorder API | Nejc Habjan | 2022-07-24 | 1 | -0/+20 |
| | |||||
* | test: fix broken test if user had config files | John L. Villalovos | 2022-07-23 | 1 | -1/+6 |
| | | | | | | | Use `monkeypatch` to ensure that no config files are reported for the test. Closes: #2172 | ||||
* | feat: add support for group and project invitations API | Nejc Habjan | 2022-07-23 | 1 | -0/+159 |
| |