Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat: add basic GraphQL support (wip)feat/graphql | Nejc Habjan | 2022-12-11 | 2 | -0/+23 |
| | |||||
* | 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 |
| | |||||
* | fix: use epic id instead of iid for epic notes | Shreya | 2022-10-16 | 1 | -0/+7 |
| | |||||
* | refactor(deps): drop compose v1 dependency in favor of v2 | Nejc Habjan | 2022-10-15 | 1 | -0/+5 |
| | |||||
* | chore: topic functional tests | Liora Milbaum | 2022-10-15 | 1 | -5/+11 |
| | |||||
* | feat(api): add support for topics merge API | Nejc Habjan | 2022-10-14 | 1 | -0/+18 |
| | |||||
* | chore: fix flaky test | John L. Villalovos | 2022-10-09 | 1 | -4/+3 |
| | |||||
* | fix(cli): handle list response for json/yaml output | John L. Villalovos | 2022-10-06 | 1 | -0/+44 |
| | | | | | | | | | 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 | ||||
* | fix: intermittent failure in test_merge_request_reset_approvals | John L. Villalovos | 2022-10-05 | 2 | -2/+4 |
| | | | | | | | | | | Have been seeing intermittent failures in the test: tests/functional/api/test_merge_requests.py::test_merge_request_reset_approvals Also saw a failure in: tests/functional/cli/test_cli_v4.py::test_accept_request_merge[subprocess] Add a call to `wait_for_sidekiq()` to hopefully resolve the issues. | ||||
* | chore: simplify `wait_for_sidekiq` usage | John L. Villalovos | 2022-10-05 | 4 | -13/+8 |
| | | | | | Simplify usage of `wait_for_sidekiq` by putting the assert if it timed out inside the function rather than after calling it. | ||||
* | feat: Add reset_approvals api | Lucas Zampieri | 2022-09-26 | 1 | -0/+9 |
| | | | | | | Added the newly added reset_approvals merge request api. Signed-off-by: Lucas Zampieri <lzampier@redhat.com> | ||||
* | chore: bump GitLab docker image to 15.4.0-ee.0 | John L. Villalovos | 2022-09-22 | 3 | -6/+13 |
| | | | | | | | | | * Use `settings.delayed_group_deletion=False` as that is the recommended method to turn off the delayed group deletion now. * Change test to look for `default` as `pages` is not mentioned in the docs[1] [1] https://docs.gitlab.com/ee/api/sidekiq_metrics.html#get-the-current-queue-metrics | ||||
* | 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: Only check for our UserWarning | John L. Villalovos | 2022-08-24 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | The GitHub CI is showing a ResourceWarning, causing our test to fail. Update test to only look for our UserWarning which should not appear. What was seen when debugging the GitHub CI: {message: ResourceWarning( "unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('127.0.0.1', 50862), raddr=('127.0.0.1', 8080)>" ), category: 'ResourceWarning', filename: '/home/runner/work/python-gitlab/python-gitlab/.tox/api_func_v4/lib/python3.10/site-packages/urllib3/poolmanager.py', lineno: 271, line: None } | ||||
* | chore: fix issue if only run test_gitlab.py func test | John L. Villalovos | 2022-08-24 | 1 | -0/+1 |
| | | | | | | | Make it so can run just the test_gitlab.py functional test. For example: $ tox -e api_func_v4 -- -k test_gitlab.py | ||||
* | feat: add support for merge_base API | Nejc Habjan | 2022-08-19 | 1 | -0/+10 |
| | |||||
* | 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 | 2 | -1/+24 |
| | |||||
* | 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 #2188 from python-gitlab/jlvillal/fix_functional_ci | Nejc Habjan | 2022-07-29 | 2 | -11/+71 |
|\ | | | | | test: attempt to make functional test startup more reliable | ||||
| * | test: attempt to make functional test startup more reliable | John L. Villalovos | 2022-07-29 | 2 | -11/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | The functional tests have been erratic. Current theory is that we are starting the tests before the GitLab container is fully up and running. * Add checking of the Health Check[1] endpoints. * Add a 20 second delay after we believe it is up and running. * Increase timeout from 300 to 400 seconds [1] https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html | ||||
* | | 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. |