summaryrefslogtreecommitdiff
path: root/gitlab
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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'.
* | chore: bump version to 2.1.0Max Wittig2020-03-081-1/+1
| |
* | fix: do not require empty data dict for create()Nejc Habjan2020-03-071-1/+4
| |
* | Merge pull request #1034 from filipowm/feat/api-oauth-applicationsMax Wittig2020-03-013-0/+39
|\ \ | | | | | | feat(api): add support for GitLab OAuth Applications using Applications API
| * | feat(api): add support for GitLab OAuth Applications APIMateusz Filipowicz2020-03-013-0/+39
| | |
* | | Merge pull request #1003 from python-gitlab/feat/all-keyset-paginationRoger Meier2020-02-251-0/+6
|\ \ \ | |/ / |/| | feat: use keyset pagination by default for `all=True`
| * | feat: use keyset pagination by default for `all=True`Max Wittig2020-01-271-0/+6
| | |
* | | Merge pull request #1026 from nejch/feat/user-membershipsMax Wittig2020-02-242-0/+44
|\ \ \ | | | | | | | | feat: add support for user memberships API (#1009)
| * | | feat: add support for user memberships API (#1009)Nejc Habjan2020-02-222-0/+44
| | | |
* | | | fix: remove trailing slashes from base URL (#913)Nejc Habjan2020-02-231-2/+2
| | | |
* | | | test: add unit tests for base URLs with trailing slashesNejc Habjan2020-02-231-0/+17
|/ / /
* | | test: remove duplicate resp_get_projectNejc Habjan2020-02-191-9/+1
| | |
* | | test: use lazy object in unit testsNejc Habjan2020-02-191-1/+1
| | |
* | | test: add unit tests for revert commit APINejc Habjan2020-02-191-0/+52
| | |
* | | 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-182-0/+20
| | |
* | | 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-072-0/+5
| | | | | | | | with HTTP 500
* | feat: add capability to control GitLab features per project or groupMateusz Filipowicz2020-02-071-2/+19
| |
* | chore: bump version to 2.0.1Max Wittig2020-02-051-1/+1
| |
* | 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
* Merge pull request #1000 from matusf/update-auth-docsMax Wittig2020-01-261-5/+1
|\ | | | | Update auth docs
| * docs(auth): remove email/password authMatus Ferech2020-01-261-5/+1
| |
* | feat: add global order_by option to ease paginationfeat/keyset-paginationMax Wittig2020-01-263-0/+13
| |
* | feat: support keyset pagination globallyMax Wittig2020-01-263-0/+14
| |
* | 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-223-0/+166
|
* Merge pull request #980 from python-gitlab/refactor/cleanup-upgradeRoger Meier2019-12-186-27/+22
|\ | | | | Refactor/cleanup upgrade
| * chore: bump to 2.0.0refactor/cleanup-upgradeMax Wittig2019-12-181-1/+1
| | | | | | | | Dropping support for legacy python requires a new major version
| * refactor: remove six dependencyMax Wittig2019-12-186-26/+21
| |
* | test: add project snippet testsMax Wittig2019-12-182-0/+140
| |
* | fix(projects): adjust snippets to match the APIMax Wittig2019-12-181-2/+5
|/
* feat: add autocompletion supportMartin Chlumsky2019-12-161-0/+6
|
* chore: bump version to 1.15.0v1.15.0Max Wittig2019-12-161-1/+1
|
* feat: allow cfg timeout to be overrided via kwargsAndrew Tergis2019-12-162-13/+15
| | | | | | | | | | | | | 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-162-0/+90
| | | | | | | | | | | | | | | | | | | 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 #973 from mitar/patch-1Max Wittig2019-12-161-4/+6
|\ | | | | Nicer stacktrace
| * feat: nicer stacktraceMitar2019-12-161-4/+6
| |
* | 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
* | Merge pull request #968 from mitar/statsMax Wittig2019-12-132-0/+78
|\ \ | | | | | | Stats
| * | test: added tests for statisticsMitar2019-12-121-0/+56
| | |
| * | feat: access project's issues statisticsMitar2019-12-121-0/+11
| | | | | | | | | | | | Fixes #966
| * | feat: adding project statsMitar2019-12-121-0/+11
| |/ | | | | | | Fixes #967
* | feat: retry transient HTTP errorsMitar2019-12-121-1/+5
|/ | | | Fixes #970