Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test(unit): increase V4 CLI coverage | Nejc Habjan | 2023-04-11 | 3 | -0/+42 |
| | |||||
* | fix(cli): warn user when no fields are displayed | Nejc Habjan | 2023-04-11 | 1 | -0/+10 |
| | |||||
* | feat(objects): support fetching PATs via id or `self` endpoint | Nejc Habjan | 2023-04-07 | 1 | -9/+54 |
| | |||||
* | feat: add resource_weight_event for ProjectIssue | Paul Fariello | 2023-03-23 | 1 | -1/+12 |
| | |||||
* | 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/+0 |
| | | | | 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 | ||||
* | fix(cli): add ability to escape at-prefixed parameter (#2513) | PyHedgehog | 2023-03-11 | 1 | -0/+20 |
| | | | | | | | * fix(cli): Add ability to escape at-prefixed parameter (#2511) --------- Co-authored-by: Nejc Habjan <hab.nejc@gmail.com> | ||||
* | test(functional): clarify MR fixture factory name | Nejc Habjan | 2023-02-06 | 3 | -49/+52 |
| | |||||
* | fix(cli): display items when iterator is returned | Nejc Habjan | 2023-02-06 | 1 | -0/+15 |
| | |||||
* | chore(deps): update black (23.1.0) and commitizen (2.40.0) (#2479) | John Villalovos | 2023-02-06 | 2 | -3/+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 | 3 | -0/+205 |
| | |||||
* | test(functional): do not require config file | Nejc Habjan | 2022-12-18 | 2 | -12/+13 |
| | |||||
* | 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 | 2 | -0/+42 |
| | | | | `from_config` (#2392) | ||||
* | chore: validate httpx package is not installed by default | Liora Milbaum | 2022-11-23 | 1 | -0/+6 |
| | |||||
* | feat: add support for SAML group links (#2367) | Abhishek Singh | 2022-11-22 | 2 | -1/+121 |
| | |||||
* | test(api): fix flaky test `test_cancel_merge_when_pipeline_succeeds` | John L. Villalovos | 2022-11-21 | 1 | -0/+1 |
| | | | | | | | | | This is an attempt to fix the flaky test `test_cancel_merge_when_pipeline_succeeds`. Were seeing a: 405 Method Not Allowed error when setting the MR to merge_when_pipeline_succeeds. Closes: #2383 | ||||
* | feat(groups): add LDAP link manager and deprecate old API endpoints | Nejc Habjan | 2022-11-17 | 2 | -10/+32 |
| | |||||
* | 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 | 2 | -2/+63 |
| | |||||
* | feat(api): add support for remote project import (#2348) | Abhishek Singh | 2022-11-01 | 2 | -0/+45 |
| | |||||
* | feat(api): add application statistics | Shreya | 2022-11-01 | 3 | -1/+73 |
| | |||||
* | fix: use POST method and return dict in ↵ | John Villalovos | 2022-10-31 | 2 | -1/+32 |
| | | | | | | | | | | | | | | `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: add basic type checks to functional/api tests | Nejc Habjan | 2022-10-27 | 4 | -4/+4 |
| | |||||
* | chore: add basic typing to functional tests | Nejc Habjan | 2022-10-27 | 2 | -6/+9 |
| | |||||
* | chore: add basic type checks to meta tests | Nejc Habjan | 2022-10-27 | 1 | -4/+4 |
| | |||||
* | chore: add basic typing to smoke tests | Nejc Habjan | 2022-10-27 | 1 | -3/+3 |
| | |||||
* | chore: add basic typing to test root | Nejc Habjan | 2022-10-27 | 1 | -6/+9 |
| | |||||
* | test: fix `test_project_push_rules` test | John L. Villalovos | 2022-10-18 | 1 | -4/+9 |
| | | | | Make the `test_project_push_rules` test work. | ||||
* | chore: revert compose upgrade | Nejc Habjan | 2022-10-18 | 1 | -5/+0 |
| | | | | This reverts commit f825d70e25feae8cd9da84e768ec6075edbc2200. | ||||
* | test: enable skipping tests per GitLab plan | Nejc Habjan | 2022-10-18 | 7 | -23/+49 |
| | |||||
* | refactor: migrate legacy EE tests to pytest | Nejc Habjan | 2022-10-18 | 9 | -165/+173 |
| | |||||
* | 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 | ||||
* | refactor: pytest-docker fixtures | Liora Milbaum | 2022-10-16 | 3 | -25/+31 |
| |