summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): update black (23.1.0) and commitizen (2.40.0) (#2479)John Villalovos2023-02-061-1/+0
| | | | | | | | | | Update the dependency versions: black: 23.1.0 commitizen: 2.40.0 They needed to be updated together as just updating `black` caused a dependency conflict. Updated files by running `black` and committing the changes.
* feat(api): add support for topics merge APINejc Habjan2022-10-141-0/+4
|
* feat: Add reset_approvals apiLucas Zampieri2022-09-261-0/+4
| | | | | | Added the newly added reset_approvals merge request api. Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
* feat: add support for deployment approval endpointJohn L. Villalovos2022-08-251-0/+4
| | | | | | | Add support for the deployment approval endpoint[1] [1] https://docs.gitlab.com/ee/api/deployments.html#approve-or-reject-a-blocked-deployment Closes: #2253
* chore: consolidate license and authorsNejc Habjan2022-08-041-17/+0
|
* feat: add support for group and project invitations APINejc Habjan2022-07-231-0/+4
|
* feat(projects): add support for project restore APINejc Habjan2022-07-231-0/+4
|
* feat: support validating CI lint resultsNejc Habjan2022-07-091-0/+4
|
* Merge pull request #2061 from bgamari/patch-1Nejc Habjan2022-06-251-0/+8
|\ | | | | feat(users): add approve and reject methods to User
| * feat(users): add approve and reject methods to UserBen Gamari2022-06-251-0/+8
| | | | | | | | | | | | As requested in #1604. Co-authored-by: John Villalovos <john@sodarock.com>
* | feat(api): support head() method for get and list endpointsNejc Habjan2022-06-251-0/+4
|/
* chore(gitlab): fix implicit re-exports for mpypyNejc Habjan2022-06-231-0/+3
|
* feat(users): add ban and unban methodsAntoine Auger2022-06-131-0/+8
|
* chore: enable pylint check: "no-else-return"John L. Villalovos2022-06-041-2/+1
| | | | Enable the pylint check "no-else-return" and fix the errors detected.
* feat: add support for Groups API method `transfer()`Christian Sattler2022-01-131-0/+4
|
* docs: only use type annotations for documentationNejc Habjan2021-11-281-2/+1
|
* refactor: use f-strings for string formattingNejc Habjan2021-11-051-2/+2
|
* feat(api): add project label promotionRaimund Hook2021-10-181-0/+4
| | | | | | Adds a mixin that allows the /promote endpoint to be called. Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
* chore: fix import ordering using isortJohn L. Villalovos2021-05-251-1/+1
| | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/
* chore: mypy: Disallow untyped definitionsJohn L. Villalovos2021-04-271-6/+23
| | | | | | | | | Be more strict and don't allow untyped definitions on the files we check. Also this adds type-hints for two of the decorators so that now functions/methods decorated by them will have their types be revealed correctly.
* feat(users): add follow/unfollow APIfeat/user-follow-apiMax Wittig2021-02-271-0/+8
|
* feat: add play command to project pipeline schedulesChristopher Zorn2020-04-201-0/+4
| | | | | | | | fix: remove version from setup feat: add pipeline schedule play error exception docs: add documentation for pipeline schedule play
* Merge pull request #1059 from python-gitlab/fix/raise-fromMax Wittig2020-04-071-1/+1
|\ | | | | chore: use raise..from for chained exceptions (#939)
| * chore: use raise..from for chained exceptions (#939)fix/raise-fromNejc Habjan2020-03-301-1/+1
| |
* | feat(api): add support for Group Import/Export API (#1037)Nejc Habjan2020-04-051-0/+4
|/
* feat: add support for commit revert API (#991)Nejc Habjan2020-02-181-0/+4
|
* feat: add users activate, deactivate functionalityMax Wittig2019-10-251-0/+8
| | | | These were introduced in GitLab 12.4
* feat: add mr rebase methodJeroen Schutrup2019-07-111-0/+4
|
* refactor: format everything blackrefactor/blackMax Wittig2019-05-161-2/+4
|
* Merge branch 'master' into masterJoost Evertse2019-01-211-1/+10
|\
| * Improve error message handling in exceptionsrefactor/excpetion_msgGauvain Pocentek2018-11-241-1/+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
| * Raise an exception on https redirects for PUT/POSTGauvain Pocentek2018-08-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | 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
* | feat: Added approve & unapprove method for MergerequestsJoost Evertse2019-01-191-0/+4
|/ | | | Offical GitLab API supports this for GitLab EE
* Add support for the EE license APIGauvain Pocentek2018-06-131-0/+4
|
* Add geo nodes API supportGauvain Pocentek2018-06-091-0/+4
| | | | Fixes #524
* Add support for group badgesGauvain Pocentek2018-05-291-0/+4
| | | | | | Also consolidate project/group badges tests, and add some docs Fixes #469
* Implement runner token validationGauvain Pocentek2018-05-291-0/+4
|
* Implement the markdown rendering APIGauvain Pocentek2018-05-291-0/+4
| | | | Testing will be enable when GitLab 11.0 is available.
* Add support for environment stop()Gauvain Pocentek2018-05-281-0/+4
|
* Add support for the search APIGauvain Pocentek2018-05-211-0/+4
| | | | Fixes #470
* Drop API v3 supportGauvain Pocentek2018-05-191-37/+0
| | | | Drop the code, the tests, and update the documentation.
* Update pipeline schedules codeGauvain Pocentek2018-02-051-0/+4
|
* Add support for project housekeepingGauvain Pocentek2017-11-121-0/+4
| | | | Closes #368
* Add users custome attributes supportGauvain Pocentek2017-11-041-0/+4
|
* adds project upload feature (#239)James Johnson2017-09-121-0/+8
|
* GitlabError filled by responseRobert Lu2017-09-111-1/+1
|
* on_http_error: properly wrap the functionGauvain Pocentek2017-08-111-0/+3
| | | | This fixes the API docs.
* Restore correct exceptionsGauvain Pocentek2017-07-151-0/+20
| | | | | | Match the exceptions raised in v3 for v4. Also update the doc strings with correct information.
* Tests and fixes for the http_* methodsGauvain Pocentek2017-06-021-4/+0
|
* Migrate all v4 objects to new APIGauvain Pocentek2017-06-021-0/+4
| | | | | | | Some things are probably broken. Next step is writting unit and functional tests. And fix.