summaryrefslogtreecommitdiff
path: root/gitlab/v4
Commit message (Collapse)AuthorAgeFilesLines
...
| * | chore: rename ExportMixin to DownloadMixinfeat/group-import-exportNejc Habjan2020-04-051-2/+2
| | |
| * | feat(api): add support for Group Import/Export API (#1037)Nejc Habjan2020-04-051-0/+50
| | |
| * | chore(mixins): factor out export download into ExportMixinNejc Habjan2020-04-051-28/+1
| |/
* | chore(group): update group_manager attributes (#1062)Max Wittig2020-04-061-1/+24
|/ | | | | | * chore(group): update group_manager attributes Co-Authored-By: Nejc Habjan <hab.nejc@gmail.com>
* Merge pull request #1053 from lassimus/masterNejc Habjan2020-03-231-0/+4
|\ | | | | feat: add create from template args to ProjectManager
| * feat: add create from template args to ProjectManagerlassimus2020-03-201-0/+4
| | | | | | | | | | | | This commit adds the v4 Create project attributes necessary to create a project from a project, instance, or group level template as documented in https://docs.gitlab.com/ee/api/projects.html#create-project
* | feat: add support for commit GPG signature APINejc Habjan2020-03-221-0/+18
|/
* fix: add missing import_project paramNejc Habjan2020-03-181-0/+3
|
* chore(user): update user attributes to 12.8Max Wittig2020-03-091-0/+4
|
* Merge pull request #1039 from python-gitlab/fix/set-approversv2.1.0Max Wittig2020-03-081-1/+2
|\ | | | | Fix/set approvers
| * fix(projects): correct copy-paste errorfix/set-approversMax Wittig2020-03-081-1/+1
| |
| * fix(objects): add default name data and use http postCharles2020-02-151-2/+3
| | | | | | | | Updating approvers new api needs a POST call. Also It needs a name of the new rule, defaulting this to 'name'.
* | feat(api): add support for GitLab OAuth Applications APIMateusz Filipowicz2020-03-011-0/+11
| |
* | feat: add support for user memberships API (#1009)Nejc Habjan2020-02-221-0/+12
| |
* | fix: return response with commit dataNejc Habjan2020-02-191-1/+4
| |
* | style: fix black violationsNejc Habjan2020-02-181-0/+1
| |
* | feat: add support for commit revert API (#991)Nejc Habjan2020-02-181-0/+16
| |
* | Merge pull request #1005 from charlesfayal/fix_set_approversMax Wittig2020-02-121-3/+14
|\ \ | |/ | | change path for set_approvers to new api, with defaulted rule_type an…
| * fix(objects): update set_approvers function callCharles2020-01-301-6/+12
| | | | | | | | Added a miss paramter update to the set_approvers function
| * fix(objects): update to new gitlab api for path, and argsCharles2020-01-301-3/+8
| | | | | | | | Updated the gitlab path for set_approvers to approvers_rules, added default arg for rule type, and added arg for # of approvals required.
* | fix: remove null values from features POST data, because it failsMateusz Filipowicz2020-02-071-0/+1
| | | | | | | | with HTTP 500
* | feat: add capability to control GitLab features per project or groupMateusz Filipowicz2020-02-071-2/+19
| |
* | chore(user): update user attributesMax Wittig2020-02-051-0/+5
|/ | | This also workarounds an GitLab issue, where private_profile, would reset to false if not supplied
* refactor: support new list filtersMax Wittig2020-01-261-1/+12
| | | | This is most likely only useful for the CLI
* feat: add appearance APIfeat/appearanceMax Wittig2020-01-221-0/+45
|
* Merge pull request #980 from python-gitlab/refactor/cleanup-upgradeRoger Meier2019-12-181-4/+2
|\ | | | | Refactor/cleanup upgrade
| * refactor: remove six dependencyMax Wittig2019-12-181-4/+2
| |
* | fix(projects): adjust snippets to match the APIMax Wittig2019-12-181-2/+5
|/
* feat: allow cfg timeout to be overrided via kwargsAndrew Tergis2019-12-161-13/+13
| | | | | | | | | | | | | On startup, the `timeout` parameter is loaded from config and stored on the base gitlab object instance. This instance parameter is used as the timeout for all API requests (it's passed into the `session` object when making HTTP calls). This change allows any API method to specify a `timeout` argument to `**kwargs` that will override the global timeout value. This was somewhat needed / helpful for the `import_github` method. I have also updated the docs accordingly.
* feat: add support for /import/githubAndrew Tergis2019-12-161-0/+63
| | | | | | | | | | | | | | | | | | | Addresses python-gitlab/python-gitlab#952 This adds a method to the `ProjectManager` called `import_github`, which maps to the `/import/github` API endpoint. Calling `import_github` will trigger an import operation from <repo_id> into <target_namespace>, using <personal_access_token> to authenticate against github. In practice a gitlab server may take many 10's of seconds to respond to this API call, so we also take the liberty of increasing the default timeout (only for this method invocation). Unfortunately since `import` is a protected keyword in python, I was unable to follow the endpoint structure with the manager namespace. I'm open to suggestions on a more sensible interface. I'm successfully using this addition to batch-import hundreds of github repositories into gitlab.
* Merge pull request #971 from jooola/ci_vars_typeMax Wittig2019-12-161-4/+4
|\ | | | | feat: add more options for project/group ci variables manipulation
| * feat: add variable_type/protected to projects ci variablesjo2019-12-121-2/+2
| | | | | | | | | | | | | | | | This adds the ci variables types and protected flag for create/update requests. See https://docs.gitlab.com/ee/api/project_level_variables.html#create-variable
| * feat: add variable_type to groups ci variablesjo2019-12-121-2/+2
| | | | | | | | | | | | | | This adds the ci variables types for create/update requests. See https://docs.gitlab.com/ee/api/group_level_variables.html#create-variable
* | feat: access project's issues statisticsMitar2019-12-121-0/+11
| | | | | | | | Fixes #966
* | feat: adding project statsMitar2019-12-121-0/+11
|/ | | | Fixes #967
* style: format with the latest black versionMax Wittig2019-12-081-4/+4
|
* feat: add audit endpointidanbensha2019-12-021-0/+10
|
* Merge pull request #946 from lundbird/masterMax Wittig2019-11-251-0/+92
|\ | | | | feat: add project and group clusters
| * feat: add project and group clustersalex lundberg2019-11-241-0/+92
| |
* | fix(project-fork): copy create fix from ProjectPipelineManagerChoy Rim2019-11-201-0/+19
| |
* | fix(project-fork): correct path computation for project-fork listChoy Rim2019-11-201-23/+1
|/
* fix(labels): ensure label.save() worksMathieu Parent2019-11-141-2/+2
| | | | | | | | | | | | | | | Otherwise, we get: File "gitlabracadabra/mixins/labels.py", line 67, in _process_labels current_label.save() File "gitlab/exceptions.py", line 267, in wrapped_f return f(*args, **kwargs) File "gitlab/v4/objects.py", line 896, in save self._update_attrs(server_data) File "gitlab/base.py", line 131, in _update_attrs self.__dict__["_attrs"].update(new_attrs) TypeError: 'NoneType' object is not iterable Because server_data is None.
* fix: added missing attributes for project approvalsTymoteusz Blazejczyk2019-11-121-0/+2
| | | | | | | | Reference: https://docs.gitlab.com/ee/api/merge_request_approvals.html#change-configuration Missing attributes: * merge_requests_author_approval * merge_requests_disable_committers_approval
* feat: add support for include_subgroups filterConor Nevin2019-11-061-0/+1
|
* fix(projects): support `approval_rules` endpoint for projectsSrikanth Chelluri2019-10-271-0/+14
| | | | | | | | | | | | The `approvers` API endpoint is deprecated [1]. GitLab instead uses the `approval_rules` API endpoint to modify approval settings for merge requests. This adds the functionality for project-level merge request approval settings. Note that there does not exist an endpoint to 'get' a single approval rule at this moment - only 'list'. [1] https://docs.gitlab.com/ee/api/merge_request_approvals.html
* feat: add users activate, deactivate functionalityMax Wittig2019-10-251-0/+42
| | | | These were introduced in GitLab 12.4
* feat: add deployment creationfeat/deployment-createMax Wittig2019-10-241-2/+3
| | | | | | Added in GitLab 12.4 Fixes #917
* docs(project): add submodule docsMax Wittig2019-10-061-1/+1
|
* feat(project): implement update_submoduleSebastian Kratzert2019-10-061-0/+23
|
* feat(project): add file blame apiVincent Lae2019-10-041-0/+22
| | | | https://docs.gitlab.com/ee/api/repository_files.html#get-file-blame-from-repository