summaryrefslogtreecommitdiff
path: root/gitlab/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: fix import ordering using isortJohn L. Villalovos2021-05-251-1/+0
| | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/
* chore: fix F401 errors reported by flake8John L. Villalovos2021-04-181-5/+5
| | | | | | F401: Module imported but unused https://www.flake8rules.com/rules/F401.html
* chore: remove import of gitlab.utils from __init__.pyJohn L. Villalovos2021-02-261-1/+0
| | | | | | | | Initially when extracting out the gitlab/client.py code we tried to remove this but functional tests failed. Later we fixed the functional test that was failing, so now remove the unneeded import.
* refactor: move Gitlab and GitlabList to gitlab/client.pyJohn L. Villalovos2021-02-181-834/+1
| | | | | | | | Move the classes Gitlab and GitlabList from gitlab/__init__.py to the newly created gitlab/client.py file. Update one test case that was depending on requests being defined in gitlab/__init__.py
* feat: add personal access token APIfeat/personal-access-token-apiMax Wittig2021-02-171-0/+1
| | | | See: https://docs.gitlab.com/ee/api/personal_access_tokens.html
* chore: remove unused ALLOWED_KEYSET_ENDPOINTS variableJohn L. Villalovos2021-02-151-2/+0
| | | | | | | | | The variable ALLOWED_KEYSET_ENDPOINTS was added in commit f86ef3bbdb5bffa1348a802e62b281d3f31d33ad. Then most of that commit was removed in commit e71fe16b47835aa4db2834e98c7ffc6bdec36723, but ALLOWED_KEYSET_ENDPOINTS was missed.
* chore: remove Python 2 codeJohn L. Villalovos2021-02-151-4/+1
| | | | | | | httplib is a Python 2 library. It was renamed to http.client in Python 3. https://docs.python.org/2.7/library/httplib.html
* docs: add docs and examples for custom user agentfeat/override-user-agentNejc Habjan2021-01-311-0/+1
|
* feat(api,cli): make user agent configurableNejc Habjan2021-01-311-8/+11
|
* feat: support multipart uploadsfeat/multipart-uploadsMax Wittig2021-01-281-6/+8
|
* chore: bump python-gitlab to 2.5.0chore/bump-to-2-5-0Max Wittig2020-09-011-1/+1
|
* feat(api): add support for instance variablesNejc Habjan2020-08-311-0/+1
|
* refactor: split unit tests by GitLab API resourcesNejc Habjan2020-08-221-9/+1
|
* chore: bump version to 2.4.0v2.4.0Max Wittig2020-07-091-1/+1
|
* fix: do not check if kwargs is nonetyates-indeed2020-06-231-4/+1
| | | Co-authored-by: Traian Nedelea <tron1point0@pm.me>
* fix: make query kwargs consistent between call in init and nextTyler Yates2020-06-221-2/+3
|
* fix: pass kwargs to subsequent queries in gitlab listTyler Yates2020-06-221-1/+7
|
* chore: bump version to 2.3.1Max Wittig2020-06-091-1/+1
|
* fix: disable default keyset paginationMax Wittig2020-06-091-10/+0
| | | | Instead we set pagination to offset on the other paths
* chore: bump to 2.3.0Max Wittig2020-06-081-1/+1
|
* fix: use keyset pagination by default for /projects > 50000Max Wittig2020-06-081-5/+25
| | | | | Workaround for https://gitlab.com/gitlab-org/gitlab/-/issues/218504. Remove this in 13.1
* chore: bump to 2.2.0v2.2.0Max Wittig2020-04-071-1/+1
|
* Merge pull request #1059 from python-gitlab/fix/raise-fromMax Wittig2020-04-071-8/+14
|\ | | | | chore: use raise..from for chained exceptions (#939)
| * chore: use raise..from for chained exceptions (#939)fix/raise-fromNejc Habjan2020-03-301-8/+14
| |
* | feat(api): add support for Gitlab Deploy Token APIayoub mrini2020-04-061-0/+1
|/
* docs: fix comment of prev_page()Donghui Wang2020-03-211-1/+1
| | | | Co-Authored-By: Nejc Habjan <hab.nejc@gmail.com>
* docs: fix comment of prev_page()donhui2020-03-201-2/+2
|
* chore: bump version to 2.1.2v2.1.2Max Wittig2020-03-091-1/+1
|
* Revert "feat: use keyset pagination by default for `all=True`"Max Wittig2020-03-091-6/+0
|
* chore: bump version to 2.1.1v2.1.1Max Wittig2020-03-091-1/+1
|
* chore: bump version to 2.1.0Max Wittig2020-03-081-1/+1
|
* Merge pull request #1034 from filipowm/feat/api-oauth-applicationsMax Wittig2020-03-011-0/+1
|\ | | | | feat(api): add support for GitLab OAuth Applications using Applications API
| * feat(api): add support for GitLab OAuth Applications APIMateusz Filipowicz2020-03-011-0/+1
| |
* | 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
| |
* | fix: remove trailing slashes from base URL (#913)Nejc Habjan2020-02-231-2/+2
| |
* | chore: revert to 2.0.1v2.0.1Max Wittig2020-02-051-1/+1
| | | | | | I've misread the tag
* | chore: bump to 2.1.0Max Wittig2020-02-051-1/+1
| | | | | | There are a few more features in there
* | chore: bump version to 2.0.1Max Wittig2020-02-051-1/+1
|/
* 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-261-0/+4
| |
* | feat: support keyset pagination globallyMax Wittig2020-01-261-0/+4
|/
* feat: add appearance APIfeat/appearanceMax Wittig2020-01-221-0/+1
|
* 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-181-3/+2
|
* 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-161-0/+2
| | | | | | | | | | | | | 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: nicer stacktraceMitar2019-12-161-4/+6
|
* feat: retry transient HTTP errorsMitar2019-12-121-1/+5
| | | | Fixes #970