summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove remnants of python2 importsNejc Habjan2020-08-221-2/+0
|
* feat: add share/unshare group with groupMathieu Parent2020-07-231-0/+38
|
* fix: add masked parameter for variables commandSébastien GERVAIS2020-06-251-4/+4
|
* fix(merge): parse arguments as query_dataFerhat Aram2020-06-191-1/+1
|
* feat: add group runners apiMax Wittig2020-05-161-1/+14
|
* chore: bring commit signatures up to date with 12.10Nejc Habjan2020-04-221-2/+2
|
* feat: add play command to project pipeline schedulesChristopher Zorn2020-04-201-0/+18
| | | | | | | | fix: remove version from setup feat: add pipeline schedule play error exception docs: add documentation for pipeline schedule play
* Merge pull request #1077 from Flor1an-dev/masterNejc Habjan2020-04-181-0/+1
|\ | | | | feat(api): added support in the GroupManager to upload Group avatars
| * feat(api): added support in the GroupManager to upload Group avatarsFlorian2020-04-171-0/+1
| |
* | chore: remove old builds-email serviceNejc Habjan2020-04-171-1/+0
| |
* | chore(services): update available service attributesMax Wittig2020-04-161-26/+203
| |
* | feat(services): add project service list APIMax Wittig2020-04-161-1/+1
|/ | | | | Can be used to list available services It was introduced in GitLab 12.7
* fix(project): add missing project parametersfix/missing-project-attributesNejc Habjan2020-04-081-2/+58
|
* Merge pull request #1059 from python-gitlab/fix/raise-fromMax Wittig2020-04-071-2/+2
|\ | | | | chore: use raise..from for chained exceptions (#939)
| * chore: use raise..from for chained exceptions (#939)fix/raise-fromNejc Habjan2020-03-301-2/+2
| |
* | Merge pull request #1052 from machine424/deploy-tokens-supportMax Wittig2020-04-071-0/+39
|\ \ | | | | | | feat(api): add support for Gitlab Deploy Token API
| * | feat(api): add support for Gitlab Deploy Token APIayoub mrini2020-04-061-0/+39
| |/
* | feat(api): add support for remote mirrors API (#1056)feat/project-remote-mirrorsNejc Habjan2020-04-071-0/+13
| |
* | Merge pull request #1063 from python-gitlab/feat/group-import-exportMax Wittig2020-04-061-28/+51
|\ \ | | | | | | Feat: support for group import/export API
| * | 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
|
* 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