summaryrefslogtreecommitdiff
path: root/tests/unit/objects
Commit message (Collapse)AuthorAgeFilesLines
* feat(objects): support fetching PATs via id or `self` endpointNejc Habjan2023-04-071-9/+54
|
* test(unit): consistently use inline fixturesNejc Habjan2023-03-121-8/+31
|
* chore(deps): update black (23.1.0) and commitizen (2.40.0) (#2479)John Villalovos2023-02-061-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(group): add support for group restore APIMahadevan Karthi2023-01-181-0/+17
|
* feat(api): add support for bulk imports APINejc Habjan2022-12-191-0/+159
|
* feat(api): add support for resource groupsNejc Habjan2022-12-181-0/+79
|
* test(unit): expand tests for pipeline schedulesNejc Habjan2022-12-111-4/+49
|
* feat: add resource iteration events (see ↵Oliver Blasius2022-12-041-0/+55
| | | | https://docs.gitlab.com/ee/api/resource_iteration_events.html)
* feat: add support for SAML group links (#2367)Abhishek Singh2022-11-221-1/+113
|
* feat(groups): add LDAP link manager and deprecate old API endpointsNejc Habjan2022-11-171-4/+4
|
* refactor: explicitly use ProjectSecureFileNejc Habjan2022-11-171-2/+2
|
* feat(groups): add support for listing ldap_group_links (#2371)Ray2022-11-161-0/+27
|
* feat: implement secure files APIBen Brown2022-11-101-0/+101
|
* feat(api): add support for getting a project's pull mirror detailsJohn L. Villalovos2022-11-041-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 Singh2022-11-021-1/+42
|
* feat(api): add support for remote project import (#2348)Abhishek Singh2022-11-011-0/+31
|
* feat(api): add application statisticsShreya2022-11-011-0/+49
|
* feat(api): add support for topics merge APINejc Habjan2022-10-141-0/+18
|
* feat: add support for deployment approval endpointJohn L. Villalovos2022-08-251-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
* Merge pull request #2157 from python-gitlab/jlvillal/mypy_step_by_stepNejc Habjan2022-07-291-1/+1
|\ | | | | chore: enable mypy check `warn_return_any`
| * chore: enable mypy check `warn_return_any`John L. Villalovos2022-07-281-1/+1
| | | | | | | | Update code so that the `warn_return_any` check passes.
* | Merge pull request #2201 from python-gitlab/jlvillal/encoding_warningNejc Habjan2022-07-291-1/+1
|\ \ | | | | | | chore: make code PEP597 compliant
| * | chore: make code PEP597 compliantJohn L. Villalovos2022-07-281-1/+1
| |/ | | | | | | | | | | Use `encoding="utf-8"` in `open()` and open-like functions. https://peps.python.org/pep-0597/
* | chore(topics): 'title' is required when creating a topicJohn L. Villalovos2022-07-281-1/+4
|/ | | | In GitLab >= 15.0 `title` is required when creating a topic.
* feat: add support for iterations APINejc Habjan2022-07-271-0/+47
|
* feat(groups): add support for shared projects APINejc Habjan2022-07-261-0/+38
|
* feat(issues): add support for issue reorder APINejc Habjan2022-07-241-0/+20
|
* feat: add support for group and project invitations APINejc Habjan2022-07-231-0/+159
|
* feat(projects): add support for project restore APINejc Habjan2022-07-231-0/+17
|
* refactor: migrate services to integrationsNejc Habjan2022-07-231-25/+31
|
* fix(runners): fix listing for /runners/allNejc Habjan2022-07-231-1/+12
|
* test: add more tests for container registriesNejc Habjan2022-07-201-4/+50
|
* feat(groups): add support for group-level registry repositoriesNejc Habjan2022-07-201-0/+47
|
* feat: support validating CI lint resultsNejc Habjan2022-07-091-8/+36
|
* feat(cli): add support for global CI lintNejc Habjan2022-07-051-11/+33
|
* refactor(objects): move ci lint to separate fileNejc Habjan2022-07-052-46/+49
|
* feat(objects): add Project CI Lint supportJohn L. Villalovos2022-07-041-0/+46
| | | | | | Add support for validating a project's CI configuration [1] [1] https://docs.gitlab.com/ee/api/lint.html
* feat: add support for group push rulesO'Keefe, Gerard (Gerry)2022-07-041-0/+103
| | | | | | Add the GroupPushRules and GroupPushRulesManager classes. Closes: #1259
* Merge pull request #2069 from antoineauger/test/unit-tests-projectsNejc Habjan2022-06-292-107/+533
|\ | | | | test(projects): add unit tests for projects
| * refactor(test-projects): apply suggestions and use fixturesAntoine Auger2022-06-291-27/+26
| |
| * refactor(test-projects): remove test_restore_projectAntoine Auger2022-06-161-5/+0
| |
| * test(projects): add unit tests for projectsAntoine Auger2022-06-162-100/+532
| |
* | feat(api): add support for `get` for a MR approval ruleJohn L. Villalovos2022-06-271-0/+18
| | | | | | | | | | | | | | | | | | In GitLab 14.10 they added support to get a single merge request approval rule [1] Add support for it to ProjectMergeRequestApprovalRuleManager [1] https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-a-single-merge-request-level-rule
* | test: add tests and clean up usage for new enumsNejc Habjan2022-06-271-0/+19
| |
* | feat(users): add approve and reject methods to UserBen Gamari2022-06-251-0/+34
| | | | | | | | | | | | As requested in #1604. Co-authored-by: John Villalovos <john@sodarock.com>
* | feat: Add support for Protected Environmentscalve2022-06-221-1/+26
| | | | | | | | | | | | | | | | - https://docs.gitlab.com/ee/api/protected_environments.html - https://github.com/python-gitlab/python-gitlab/issues/1130 no write operation are implemented yet as I have no use case right now and am not sure how it should be done
* | Merge pull request #2066 from python-gitlab/jlvillal/approval_rule_idNejc Habjan2022-06-201-0/+1
|\ \ | |/ |/| fix(cli): project-merge-request-approval-rule
| * fix(cli): project-merge-request-approval-ruleJohn L. Villalovos2022-06-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the CLI the command: gitlab project-merge-request-approval-rule list --mr-iid 1 --project-id foo/bar Would raise an exception. This was due to the fact that `_id_attr` and `_repr_attr` were set for keys which are not returned in the response. Add a unit test which shows the `repr` function now works. Before it did not. This is an EE feature so we can't functional test it. Closes: #2065
* | feat(users): add ban and unban methodsAntoine Auger2022-06-131-0/+34
|/
* feat(objects): support get project storage endpointNejc Habjan2022-05-271-0/+20
|