summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add lower-level methods for Gitlab()Gauvain Pocentek2017-06-021-0/+8
| | | | | | | | | | | | Multiple goals: * Support making direct queries to the Gitlab server, without objects and managers. * Progressively remove the need to know about managers and objects in the Gitlab class; the Gitlab should only be an HTTP proxy to the gitlab server. * With this the objects gain control on how they should do requests. The complexities of dealing with object specifics will be moved in the object classes where they belong.
* update copyright yearsGauvain Pocentek2017-05-241-1/+1
|
* [v4] Builds have been renamed to JobsGauvain Pocentek2017-05-241-3/+19
|
* Provide API wrapper for cherry picking commits (#236)Christian2017-03-211-0/+4
|
* Time tracking (#222)savenger2017-03-031-0/+4
| | | | | | | | | * Added gitlab time tracking features - get/set/remove estimated time per issue - get/set/remove time spent per issue * Added documentation for time tracking functions
* New exception for ProjectKey.enable_deploy_key and disable_deploy_keyAsher256@users.noreply.github.com2016-10-301-0/+4
|
* Implement ProjectBuild.play()Gauvain Pocentek2016-10-031-0/+4
|
* Add ProjectBuild.erase()Jonathon Reinhart2016-10-021-0/+4
| | | | | | | | | | We can't use the existing delete() functionality, because GitLab uses `POST /projects/:id/builds/:build_id/erase` to erase a build. Instead of overriding delete(), we add a separate erase() method to keep the naming consistent, and allow potentially more fine-grained operations in the future. - https://docs.gitlab.com/ce/api/builds.html#erase-a-build
* Add support for project pipelinesGauvain Pocentek2016-08-271-2/+18
|
* implement the todo APIGauvain Pocentek2016-08-111-0/+4
|
* Handle empty messages from server in exceptionsGauvain Pocentek2016-08-071-1/+1
|
* Add support for subscribe and unsubscribe in issuesIvica Arsov2016-05-201-0/+8
|
* implement star/unstar for projectsGauvain Pocentek2016-05-131-1/+6
|
* minor docs fixesGauvain Pocentek2016-03-221-3/+4
|
* Add support for MergeRequest validationGauvain Pocentek2016-03-221-3/+19
| | | | | | Both API and CLI support this feature. fixes #105
* Add support for user block/unblockGauvain Pocentek2016-02-041-0/+8
|
* add support for project buildsGauvain Pocentek2016-01-301-0/+8
|
* Implement managers to get access to resourcesGauvain Pocentek2016-01-031-0/+1
| | | | | | | | This changes the 'default' API, using managers is the recommended way to get/list/create objects. Additional operations will be implemented in followup patchs. Old methods are deprecated and will disappear in a while.
* add missing copyright headerGauvain Pocentek2016-01-021-0/+17
|
* Split code in multiple filesGauvain Pocentek2015-12-311-0/+84