summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* feat(files): allow decoding project files directly to stringfeat/decode-to-stringNejc Habjan2022-11-263-6/+27
|
* chore: validate httpx package is not installed by defaultLiora Milbaum2022-11-234-1/+50
|
* feat: add support for SAML group links (#2367)Abhishek Singh2022-11-224-1/+164
|
* fix(cli): Enable debug before doing authEmanuele Aina2022-11-211-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>
* chore(deps): update all non-major dependenciesrenovate[bot]2022-11-211-2/+2
|
* test(api): fix flaky test `test_cancel_merge_when_pipeline_succeeds`John L. Villalovos2022-11-211-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
* docs: Use the term "log file" for getting a job log fileJohn L. Villalovos2022-11-181-1/+1
| | | | | | | | The GitLab docs refer to it as a log file: https://docs.gitlab.com/ee/api/jobs.html#get-a-log-file "trace" is the endpoint name but not a common term people will think of for a "log file"
* feat(groups): add LDAP link manager and deprecate old API endpointsNejc Habjan2022-11-174-31/+112
|
* refactor: explicitly use ProjectSecureFileNejc Habjan2022-11-174-13/+15
|
* feat(groups): add support for listing ldap_group_links (#2371)Ray2022-11-162-0/+44
|
* chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v34.24.0renovate[bot]2022-11-141-1/+1
|
* docs(groups): describe GitLab.com group creation limitationNejc Habjan2022-11-101-0/+6
|
* feat: implement secure files APIBen Brown2022-11-106-0/+221
|
* chore: correct website for pylintJohn L. Villalovos2022-11-101-1/+1
| | | | Use https://github.com/PyCQA/pylint as the website for pylint.
* feat(ci): Re-Run Tests on PR Comment workflowLiora Milbaum2022-11-092-0/+27
|
* docs(api): pushrules remove saying `None` is returned when not foundJohn L. Villalovos2022-11-082-2/+2
| | | | | | | | | | | | | In `groups.pushrules.get()`, GitLab does not return `None` when no rules are found. GitLab returns a 404. Update docs to not say it will return `None` Also update docs in `project.pushrules.get()` to be consistent. Not 100% sure if it returns `None` or returns a 404, but we don't need to document that. Closes: #2368
* chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v34.20.0renovate[bot]2022-11-071-1/+1
|
* feat(api): add support for getting a project's pull mirror detailsJohn L. Villalovos2022-11-043-0/+54
| | | | | | | 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 attributeRomain Dartigues2022-11-031-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 Singh2022-11-024-4/+141
|
* feat(api): add support for remote project import (#2348)Abhishek Singh2022-11-014-0/+99
|
* Merge pull request #2347 from Shreya-7/issue-2264-add-application-statisticsNejc Habjan2022-11-017-1/+111
|\ | | | | feat(api): add application statistics
| * feat(api): add application statisticsShreya2022-11-017-1/+111
|/
* fix: use POST method and return dict in ↵John Villalovos2022-10-314-9/+47
| | | | | | | | | | | | | | `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
* Merge pull request #2351 from python-gitlab/renovate/all-minor-patchNejc Habjan2022-10-313-4/+4
|\ | | | | chore(deps): update all non-major dependencies
| * chore(deps): update all non-major dependenciesrenovate[bot]2022-10-313-4/+4
|/
* Merge pull request #2352 from ↵Nejc Habjan2022-10-311-1/+1
|\ | | | | | | | | python-gitlab/renovate/maxbrunet-pre-commit-renovate-34.x chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v34
| * chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v34renovate[bot]2022-10-311-1/+1
|/
* chore: release v3.11.0v3.11.0github-actions2022-10-282-1/+21
|
* chore: add responses to pre-commit depsNejc Habjan2022-10-271-0/+1
|
* docs(advanced): add hint on type narrowingNejc Habjan2022-10-271-0/+20
|
* chore: add basic type checks to functional/api testsNejc Habjan2022-10-275-6/+7
|
* chore: add basic typing to functional testsNejc Habjan2022-10-274-7/+11
|
* chore: narrow type hints for license APINejc Habjan2022-10-271-1/+1
|
* chore: add basic type checks to meta testsNejc Habjan2022-10-272-6/+8
|
* chore: add basic typing to smoke testsNejc Habjan2022-10-274-24/+10
|
* chore: add basic typing to test rootNejc Habjan2022-10-273-7/+11
|
* Merge pull request #2345 from python-gitlab/jlvillal/enable_debugNejc Habjan2022-10-271-0/+6
|\ | | | | docs: add minimal docs about the `enable_debug()` method
| * docs: add minimal docs about the `enable_debug()` methodJohn L. Villalovos2022-10-271-0/+6
|/ | | | Add some minimal documentation about the `enable_debug()` method.
* Merge pull request #2343 from python-gitlab/feat/python-3-11Max Wittig2022-10-266-14/+15
|\ | | | | feat(build): officially support Python 3.11
| * feat(build): officially support Python 3.11Nejc Habjan2022-10-266-14/+15
|/
* Merge pull request #2341 from ↵Nejc Habjan2022-10-241-1/+1
|\ | | | | | | | | python-gitlab/renovate/maxbrunet-pre-commit-renovate-33.x chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v33
| * chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v33renovate[bot]2022-10-241-1/+1
|/
* chore(deps): update all non-major dependenciesrenovate[bot]2022-10-233-4/+4
|
* Merge pull request #2320 from lmilbaum/refactoringNejc Habjan2022-10-202-7/+10
|\ | | | | refactor: pre-commit triggered from tox
| * refactor: pre-commit trigger from toxLiora Milbaum2022-10-192-7/+10
|/
* Merge pull request #2333 from python-gitlab/jlvillal/remove_approvers_endpointNejc Habjan2022-10-193-37/+1
|\ | | | | fix: remove `project.approvals.set_approvals()` method
| * chore: add `not-callable` to pylint ignore listJohn L. Villalovos2022-10-191-0/+1
| | | | | | | | | | | | | | The `not-callable` error started showing up. Ignore this error as it is invalid. Also `mypy` tests for these issues. Closes: #2334
| * fix: remove `project.approvals.set_approvals()` methodJohn L. Villalovos2022-10-192-37/+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
* Merge pull request #2332 from python-gitlab/jlvillal/fix_testNejc Habjan2022-10-191-4/+9
|\ | | | | test: fix `test_project_push_rules` test