Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore: bump to 2.0.0refactor/cleanup-upgrade | Max Wittig | 2019-12-18 | 1 | -1/+1 |
| | | | | Dropping support for legacy python requires a new major version | ||||
* | refactor: remove six dependency | Max Wittig | 2019-12-18 | 1 | -3/+2 |
| | |||||
* | chore: bump version to 1.15.0v1.15.0 | Max Wittig | 2019-12-16 | 1 | -1/+1 |
| | |||||
* | feat: allow cfg timeout to be overrided via kwargs | Andrew Tergis | 2019-12-16 | 1 | -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 stacktrace | Mitar | 2019-12-16 | 1 | -4/+6 |
| | |||||
* | feat: retry transient HTTP errors | Mitar | 2019-12-12 | 1 | -1/+5 |
| | | | | Fixes #970 | ||||
* | fix: ignore all parameter, when as_list=True | Max Wittig | 2019-12-08 | 1 | -1/+1 |
| | | | | Closes #962 | ||||
* | chore: bump version to 1.14.0v1.14.0 | Max Wittig | 2019-12-07 | 1 | -1/+1 |
| | |||||
* | feat: add audit endpoint | idanbensha | 2019-12-02 | 1 | -0/+1 |
| | |||||
* | chore: bump version to 1.13.0choree/1-13-0 | Max Wittig | 2019-11-02 | 1 | -1/+1 |
| | |||||
* | feat: send python-gitlab version as user-agent | Max Wittig | 2019-10-24 | 1 | -1/+1 |
| | |||||
* | feat(auth): remove deprecated session auth | Cyril Jouve | 2019-10-12 | 1 | -20/+0 |
| | |||||
* | fix: fix not working without authfix/non-auth | Max Wittig | 2019-10-07 | 1 | -8/+7 |
| | |||||
* | chore: bump to 1.12.0 | Max Wittig | 2019-10-06 | 1 | -1/+1 |
| | |||||
* | feat: add support for job token | Mathieu Parent | 2019-09-06 | 1 | -4/+22 |
| | | | | See https://docs.gitlab.com/ee/api/jobs.html#get-job-artifacts for usage | ||||
* | chore: bump package versionv1.11.0 | Max Wittig | 2019-08-31 | 1 | -1/+1 |
| | |||||
* | fix: remove empty dict default arguments | Frantisek Lachman | 2019-08-14 | 1 | -7/+16 |
| | | | | Signed-off-by: Frantisek Lachman <flachman@redhat.com> | ||||
* | chore: bump package version to 1.10.0 | Max Wittig | 2019-07-22 | 1 | -1/+1 |
| | |||||
* | feat: bump version to 1.9.0feat/version-bump | Max Wittig | 2019-06-19 | 1 | -1/+1 |
| | |||||
* | refactor: format everything blackrefactor/black | Max Wittig | 2019-05-16 | 1 | -134/+176 |
| | |||||
* | fix: pep8 errors | Gauvain Pocentek | 2019-05-01 | 1 | -1/+1 |
| | | | | Errors have not been detected by broken travis runs. | ||||
* | Make gitlab.Gitlab.from_config a classmethod | jeroen_decroos | 2019-03-07 | 1 | -9/+9 |
| | |||||
* | Release version 1.8.0 | Gauvain Pocentek | 2019-02-22 | 1 | -3/+3 |
| | |||||
* | Fix all kwarg behaviour | Jonathan Piron | 2019-02-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | `all` kwarg is used to manage GitlabList generator behaviour. However, as it is not poped from kwargs, it is sent to Gitlab API. Some endpoints such as [the project commits](https://docs.gitlab.com/ee/api/commits.html#list-repository-commits) one, support a `all` attribute. This means a call like `project.commits.list(all=True, ref_name='master')` won't return all the master commits as one might expect but all the repository's commits. To prevent confusion, the same kwarg shouldn't be used for 2 distinct purposes. Moreover according to [the documentation](https://python-gitlab.readthedocs.io/en/stable/gl_objects/commits.html#examples), the `all` project commits API endpoint attribute doesn't seem supported. | ||||
* | Merge pull request #687 from python-gitlab/fix/683/raw_download | Max Wittig | 2019-01-19 | 1 | -3/+7 |
|\ | | | | | fix(api): Don't try to parse raw downloads | ||||
| * | fix(api): Don't try to parse raw downloadsfix/683/raw_download | Gauvain Pocentek | 2019-01-19 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | http_get always tries to interpret the retrieved data if the content-type is json. In some cases (artifact download for instance) this is not the expected behavior. This patch changes http_get and download methods to always get the raw data without parsing. Closes #683 | ||||
* | | fix(api): avoid parameter conflicts with python and gitlabno-param-conflicts | Gauvain Pocentek | 2019-01-13 | 1 | -1/+14 |
|/ | | | | | | | | | | Provide another way to send data to gitlab with a new `query_parameters` argument. This parameter can be used to explicitly define the dict of items to send to the server, so that **kwargs are only used to specify python-gitlab specific parameters. Closes #566 Closes #629 | ||||
* | fix: handle empty 'Retry-After' header from GitLab | Srikanth Chelluri | 2019-01-08 | 1 | -3/+11 |
| | | | | | | | | | When requests are throttled (HTTP response code 429), python-gitlab assumed that 'Retry-After' existed in the response headers. This is not always the case and so the request fails due to a KeyError. The change in this commit adds a rudimentary exponential backoff to the 'http_request' method, which defaults to 10 retries but can be set to -1 to retry without bound. | ||||
* | Prepare the 1.7.0 releaserelease-1.7.0 | Gauvain Pocentek | 2018-12-09 | 1 | -1/+1 |
| | |||||
* | Improve error message handling in exceptionsrefactor/excpetion_msg | Gauvain Pocentek | 2018-11-24 | 1 | -2/+6 |
| | | | | | | | | | * Depending on the request Gitlab has a 'message' or 'error' attribute in the json data, handle both * Add some consistency by converting messages to unicode or str for exceptions (depending on the python version) Closes #616 | ||||
* | Fix the https redirection test | Gauvain Pocentek | 2018-09-05 | 1 | -1/+1 |
| | |||||
* | 1.6.0 release1.6.0 | Gauvain Pocentek | 2018-08-25 | 1 | -1/+1 |
| | |||||
* | Raise an exception on https redirects for PUT/POST | Gauvain Pocentek | 2018-08-24 | 1 | -19/+29 |
| | | | | | | | | | | | POST and PUT requests are modified by clients when redirections happen. A common problem with python-gitlab is a misconfiguration of the server URL: the http to https redirection breaks some requests. With this change python-gitlab should detect problematic redirections, and raise a proper exception instead of failing with a cryptic error. Closes #565 | ||||
* | Support group and global MR listing | Gauvain Pocentek | 2018-07-15 | 1 | -0/+1 |
| | | | | Closes #553 | ||||
* | 1.5.1 release1.5.1 | Gauvain Pocentek | 2018-06-23 | 1 | -1/+1 |
| | |||||
* | Prepare the 1.5.0 release1.5.0 | Gauvain Pocentek | 2018-06-22 | 1 | -1/+1 |
| | |||||
* | Use the same description for **kwargs everywhere | Gauvain Pocentek | 2018-06-17 | 1 | -7/+7 |
| | |||||
* | Revert "make as_list work for all queries" | Gauvain Pocentek | 2018-06-17 | 1 | -7/+13 |
| | | | | | | This reverts commit 8e787612fa77dc945a4c1327e9faa6eee10c48f2. This change broke the basic generator usage (Fixes #534) | ||||
* | Add support for the LDAP gorups API | Gauvain Pocentek | 2018-06-13 | 1 | -0/+1 |
| | |||||
* | Add support for the EE license API | Gauvain Pocentek | 2018-06-13 | 1 | -9/+38 |
| | |||||
* | Merge pull request #514 from jouve/generator | Gauvain Pocentek | 2018-06-09 | 1 | -13/+7 |
|\ | | | | | make as_list=False work for all=True queries | ||||
| * | make as_list work for all queries | Cyril Jouve | 2018-06-07 | 1 | -13/+7 |
| | | |||||
* | | Add geo nodes API support | Gauvain Pocentek | 2018-06-09 | 1 | -0/+1 |
| | | | | | | | | Fixes #524 | ||||
* | | fix #521 change post_data default value to None | leon | 2018-06-08 | 1 | -1/+1 |
|/ | |||||
* | Add support for the gitlab CI lint API | Gauvain Pocentek | 2018-05-29 | 1 | -0/+23 |
| | |||||
* | Implement the markdown rendering API | Gauvain Pocentek | 2018-05-29 | 1 | -0/+27 |
| | | | | Testing will be enable when GitLab 11.0 is available. | ||||
* | add per_page config option | Cyril Jouve | 2018-05-22 | 1 | -2/+5 |
| | |||||
* | Add support for the search API | Gauvain Pocentek | 2018-05-21 | 1 | -0/+19 |
| | | | | Fixes #470 | ||||
* | Add support for user avatar upload | Gauvain Pocentek | 2018-05-21 | 1 | -7/+14 |
| | | | | Fixes #308 | ||||
* | Drop API v3 support | Gauvain Pocentek | 2018-05-19 | 1 | -341/+16 |
| | | | | Drop the code, the tests, and update the documentation. |