Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat(files): allow decoding project files directly to stringfeat/decode-to-string | Nejc Habjan | 2022-11-26 | 3 | -6/+27 |
| | |||||
* | chore: validate httpx package is not installed by default | Liora Milbaum | 2022-11-23 | 4 | -1/+50 |
| | |||||
* | feat: add support for SAML group links (#2367) | Abhishek Singh | 2022-11-22 | 4 | -1/+164 |
| | |||||
* | fix(cli): Enable debug before doing auth | Emanuele Aina | 2022-11-21 | 1 | -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 dependencies | renovate[bot] | 2022-11-21 | 1 | -2/+2 |
| | |||||
* | 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 | ||||
* | docs: Use the term "log file" for getting a job log file | John L. Villalovos | 2022-11-18 | 1 | -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 endpoints | Nejc Habjan | 2022-11-17 | 4 | -31/+112 |
| | |||||
* | refactor: explicitly use ProjectSecureFile | Nejc Habjan | 2022-11-17 | 4 | -13/+15 |
| | |||||
* | feat(groups): add support for listing ldap_group_links (#2371) | Ray | 2022-11-16 | 2 | -0/+44 |
| | |||||
* | chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v34.24.0 | renovate[bot] | 2022-11-14 | 1 | -1/+1 |
| | |||||
* | docs(groups): describe GitLab.com group creation limitation | Nejc Habjan | 2022-11-10 | 1 | -0/+6 |
| | |||||
* | feat: implement secure files API | Ben Brown | 2022-11-10 | 6 | -0/+221 |
| | |||||
* | chore: correct website for pylint | John L. Villalovos | 2022-11-10 | 1 | -1/+1 |
| | | | | Use https://github.com/PyCQA/pylint as the website for pylint. | ||||
* | feat(ci): Re-Run Tests on PR Comment workflow | Liora Milbaum | 2022-11-09 | 2 | -0/+27 |
| | |||||
* | docs(api): pushrules remove saying `None` is returned when not found | John L. Villalovos | 2022-11-08 | 2 | -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.0 | renovate[bot] | 2022-11-07 | 1 | -1/+1 |
| | |||||
* | feat(api): add support for getting a project's pull mirror details | John L. Villalovos | 2022-11-04 | 3 | -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 attribute | Romain Dartigues | 2022-11-03 | 1 | -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 Singh | 2022-11-02 | 4 | -4/+141 |
| | |||||
* | feat(api): add support for remote project import (#2348) | Abhishek Singh | 2022-11-01 | 4 | -0/+99 |
| | |||||
* | Merge pull request #2347 from Shreya-7/issue-2264-add-application-statistics | Nejc Habjan | 2022-11-01 | 7 | -1/+111 |
|\ | | | | | feat(api): add application statistics | ||||
| * | feat(api): add application statistics | Shreya | 2022-11-01 | 7 | -1/+111 |
|/ | |||||
* | fix: use POST method and return dict in ↵ | John Villalovos | 2022-10-31 | 4 | -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-patch | Nejc Habjan | 2022-10-31 | 3 | -4/+4 |
|\ | | | | | chore(deps): update all non-major dependencies | ||||
| * | chore(deps): update all non-major dependencies | renovate[bot] | 2022-10-31 | 3 | -4/+4 |
|/ | |||||
* | Merge pull request #2352 from ↵ | Nejc Habjan | 2022-10-31 | 1 | -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 v34 | renovate[bot] | 2022-10-31 | 1 | -1/+1 |
|/ | |||||
* | chore: release v3.11.0v3.11.0 | github-actions | 2022-10-28 | 2 | -1/+21 |
| | |||||
* | chore: add responses to pre-commit deps | Nejc Habjan | 2022-10-27 | 1 | -0/+1 |
| | |||||
* | docs(advanced): add hint on type narrowing | Nejc Habjan | 2022-10-27 | 1 | -0/+20 |
| | |||||
* | chore: add basic type checks to functional/api tests | Nejc Habjan | 2022-10-27 | 5 | -6/+7 |
| | |||||
* | chore: add basic typing to functional tests | Nejc Habjan | 2022-10-27 | 4 | -7/+11 |
| | |||||
* | chore: narrow type hints for license API | Nejc Habjan | 2022-10-27 | 1 | -1/+1 |
| | |||||
* | chore: add basic type checks to meta tests | Nejc Habjan | 2022-10-27 | 2 | -6/+8 |
| | |||||
* | chore: add basic typing to smoke tests | Nejc Habjan | 2022-10-27 | 4 | -24/+10 |
| | |||||
* | chore: add basic typing to test root | Nejc Habjan | 2022-10-27 | 3 | -7/+11 |
| | |||||
* | Merge pull request #2345 from python-gitlab/jlvillal/enable_debug | Nejc Habjan | 2022-10-27 | 1 | -0/+6 |
|\ | | | | | docs: add minimal docs about the `enable_debug()` method | ||||
| * | docs: add minimal docs about the `enable_debug()` method | John L. Villalovos | 2022-10-27 | 1 | -0/+6 |
|/ | | | | Add some minimal documentation about the `enable_debug()` method. | ||||
* | Merge pull request #2343 from python-gitlab/feat/python-3-11 | Max Wittig | 2022-10-26 | 6 | -14/+15 |
|\ | | | | | feat(build): officially support Python 3.11 | ||||
| * | feat(build): officially support Python 3.11 | Nejc Habjan | 2022-10-26 | 6 | -14/+15 |
|/ | |||||
* | Merge pull request #2341 from ↵ | Nejc Habjan | 2022-10-24 | 1 | -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 v33 | renovate[bot] | 2022-10-24 | 1 | -1/+1 |
|/ | |||||
* | chore(deps): update all non-major dependencies | renovate[bot] | 2022-10-23 | 3 | -4/+4 |
| | |||||
* | Merge pull request #2320 from lmilbaum/refactoring | Nejc Habjan | 2022-10-20 | 2 | -7/+10 |
|\ | | | | | refactor: pre-commit triggered from tox | ||||
| * | refactor: pre-commit trigger from tox | Liora Milbaum | 2022-10-19 | 2 | -7/+10 |
|/ | |||||
* | Merge pull request #2333 from python-gitlab/jlvillal/remove_approvers_endpoint | Nejc Habjan | 2022-10-19 | 3 | -37/+1 |
|\ | | | | | fix: remove `project.approvals.set_approvals()` method | ||||
| * | chore: add `not-callable` to pylint ignore list | John L. Villalovos | 2022-10-19 | 1 | -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()` method | John L. Villalovos | 2022-10-19 | 2 | -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_test | Nejc Habjan | 2022-10-19 | 1 | -4/+9 |
|\ | | | | | test: fix `test_project_push_rules` test |