summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects
Commit message (Collapse)AuthorAgeFilesLines
...
| * feat(api): remove responsibility for API inconsistencies for MR reviewersSpencer Phillip Young2021-06-161-16/+0
| |
| * feat(api): add support for creating/editing reviewers in project merge requestsSpencer Young2021-05-311-0/+18
| |
* | docs: make Gitlab class usable for intersphinxNejc Habjan2021-06-142-12/+20
| |
* | feat(api): add MR pipeline manager in favor of pipelines() methodNejc Habjan2021-06-132-19/+43
| |
* | chore: add type-hints to gitlab/v4/objects/projects.pyJohn L. Villalovos2021-06-121-49/+114
| | | | | | | | Adding type-hints to gitlab/v4/objects/projects.py
* | chore: sync create and update attributes for ProjectsJohn L. Villalovos2021-06-031-81/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | Sync the create attributes with: https://docs.gitlab.com/ee/api/projects.html#create-project Sync the update attributes with documentation at: https://docs.gitlab.com/ee/api/projects.html#edit-project As a note the ordering of the attributes was done to match the ordering of the attributes in the documentation. Closes: #1497
* | feat: add keys endpointBen Brown2021-06-032-0/+27
| |
* | feat(objects): add support for Group wikis (#1484)Simon Pamies2021-06-032-0/+20
| | | | | | feat(objects): add support for Group wikis
* | chore: add missing optional create parameter for approval_rulesJohn L. Villalovos2021-05-311-1/+2
| | | | | | | | | | | | | | Add missing optional create parameter ('protected_branch_ids') to the project approvalrules. https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule
* | chore: apply typing suggestionsNejc Habjan2021-05-311-1/+1
| | | | | | | | Co-authored-by: John Villalovos <john@sodarock.com>
* | feat(objects): add support for generic packages APINejc Habjan2021-05-312-1/+116
|/
* feat(api): add deployment mergerequests interfaceLudwig Weiss2021-05-302-3/+34
|
* chore: apply suggestionsNejc Habjan2021-05-302-2/+3
|
* feat(objects): support all issues statistics endpointsNejc Habjan2021-05-302-0/+25
|
* feat(objects): add support for descendant groups APINejc Habjan2021-05-291-0/+17
|
* fix(cli): add missing list filter for jobsNejc Habjan2021-05-291-1/+1
|
* feat(objects): add pipeline test report supportRaphaƫl Monat2021-05-291-0/+14
|
* fix: change mr.merge() to use 'post_data'John L. Villalovos2021-05-251-1/+1
| | | | | | | | | | | | | | | | | | MR https://github.com/python-gitlab/python-gitlab/pull/1121 changed mr.merge() to use 'query_data'. This appears to have been wrong. From the Gitlab docs they state it should be sent in a payload body https://docs.gitlab.com/ee/api/README.html#request-payload since mr.merge() is a PUT request. > Request Payload > API Requests can use parameters sent as query strings or as a > payload body. GET requests usually send a query string, while PUT > or POST requests usually send the payload body Fixes: #1452 Related to: #1120
* feat(objects): add support for billable membersNejc Habjan2021-05-252-1/+34
|
* chore: fix import ordering using isortJohn L. Villalovos2021-05-2557-95/+60
| | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/
* feat: add feature to get inherited member for project/groupOleksii Shkurupii2021-05-073-54/+24
|
* Merge pull request #1420 from python-gitlab/fix/missing-list-attributesJohn Villalovos2021-05-0610-12/+62
|\ | | | | fix(objects): make lists work for filters in all objects
| * fix(objects): allow lists for filters for in all objectsfix/missing-list-attributesNejc Habjan2021-04-2710-12/+62
| |
* | fix(objects): return server data in cancel/retry methodsNejc Habjan2021-05-022-4/+4
| |
* | Merge pull request #1438 from python-gitlab/fix/missing-group-attributesJohn Villalovos2021-05-011-0/+9
|\ \ | | | | | | fix(objects): add missing group attributes
| * | fix(objects): add missing group attributesNejc Habjan2021-05-011-0/+9
| |/
* | feat: add code owner approval as attributeDaniel Lanner2021-04-301-0/+1
|/ | | | | The python API was missing the field code_owner_approval_required as implemented in the GitLab REST API.
* fix: iids not working as a list in projects.issues.list()John L. Villalovos2021-04-271-1/+1
| | | | | | | | | Set the 'iids' values as type ListAttribute so it will pass the list as a comma-separated string, instead of a list. Add a functional test. Closes: #1407
* Merge pull request #1352 from JohnVillalovos/jlvillal/fix_mroNejc Habjan2021-04-275-5/+5
|\ | | | | fix: add a check to ensure the MRO is correct
| * fix: add a check to ensure the MRO is correctJohn L. Villalovos2021-04-245-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a check to ensure the MRO (Method Resolution Order) is correct for classes in gitlab.v4.objects when doing type-checking. An example of an incorrect definition: class ProjectPipeline(RESTObject, RefreshMixin, ObjectDeleteMixin): ^^^^^^^^^^ This should be at the end. Correct way would be: class ProjectPipeline(RefreshMixin, ObjectDeleteMixin, RESTObject): Correctly at the end ^^^^^^^^^^ Also fix classes which have the issue.
* | fix(files): do not url-encode file paths twiceNejc Habjan2021-04-261-1/+0
| |
* | chore(objects): remove noisy deprecation warning for audit eventschore/remove-noisy-deprecation-warningNejc Habjan2021-04-251-18/+0
|/ | | | It's mostly an internal thing anyway and can be removed in 3.0.0
* Merge pull request #1405 from JohnVillalovos/jlvillal/returns_bytesMax Wittig2021-04-231-2/+2
|\ | | | | fix: correct ProjectFile.decode() documentation
| * fix: correct ProjectFile.decode() documentationJohn L. Villalovos2021-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ProjectFile.decode() returns 'bytes' and not 'str'. Update the method's doc-string and add a type-hint. ProjectFile.decode() returns the result of a call to base64.b64decode() The docs for that function state it returns 'bytes': https://docs.python.org/3/library/base64.html#base64.b64decode Fixes: #1403
* | Merge pull request #1397 from JohnVillalovos/jlvillal/flake8Max Wittig2021-04-2317-88/+84
|\ \ | |/ |/| Fix all issues reported by running: tox -e pep8 and enable pep8 as a linter check
| * chore: fix F841 errors reported by flake8John L. Villalovos2021-04-181-1/+1
| | | | | | | | | | | | Local variable name is assigned to but never used https://www.flake8rules.com/rules/F841.html
| * chore: fix F401 errors reported by flake8John L. Villalovos2021-04-1816-87/+83
| | | | | | | | | | | | F401: Module imported but unused https://www.flake8rules.com/rules/F401.html
* | fix: argument type was not a tuple as expectedJohn L. Villalovos2021-04-181-1/+1
| | | | | | | | | | | | While adding type-hints mypy flagged this as an issue. The third argument to register_custom_action is supposed to be a tuple. It was being passed as a string rather than a tuple of strings.
* | chore: fix typo in mr eventsfeat/resource-state-eventsNejc Habjan2021-04-181-4/+2
| |
* | feat(objects): add support for resource state events APINejc Habjan2021-04-183-0/+30
|/
* Merge pull request #1366 from JohnVillalovos/jlvillal/create_attrsNejc Habjan2021-04-1741-266/+324
|\ | | | | chore: have _create_attrs & _update_attrs be a namedtuple
| * chore: have _create_attrs & _update_attrs be a namedtupleJohn L. Villalovos2021-04-1741-266/+324
| | | | | | | | | | | | Convert _create_attrs and _update_attrs to use a NamedTuple (RequiredOptional) to help with code readability. Update all code to use the NamedTuple.
* | Merge pull request #1363 from python-gitlab/feat/all-audit-eventsMax Wittig2021-03-245-18/+61
|\ \ | | | | | | Feat: cover all audit events
| * | feat(objects): add support for group audit events APIfeat/all-audit-eventsNejc Habjan2021-03-073-5/+47
| | |
| * | chore: import audit events in objectsNejc Habjan2021-03-071-0/+1
| | |
| * | fix(objects): add single get endpoint for instance audit eventsNejc Habjan2021-03-071-1/+1
| | |
| * | refactor(objects): move instance audit events where they belongNejc Habjan2021-03-072-13/+13
| |/
* | feat: add ProjectPackageFileJacob Henner2021-03-101-2/+13
|/ | | | | | | Add ProjectPackageFile and the ability to list project package package_files. Fixes #1372
* chore: del 'import *' in gitlab/v4/objects/project_access_tokens.pyJohn L. Villalovos2021-03-011-2/+2
| | | | | Remove usage of 'import *' in gitlab/v4/objects/project_access_tokens.py.
* chore(api): move repository endpoints into separate modulechore/split-repository-methodsNejc Habjan2021-02-282-197/+208
|