summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
Commit message (Collapse)AuthorAgeFilesLines
* Make the project services work in v4rework_apiGauvain Pocentek2017-08-041-42/+46
|
* Restore the prvious listing behaviorGauvain Pocentek2017-08-041-4/+13
| | | | | | | Return lists by default : this makes the explicit use of pagination work again. Use generators only when `as_list` is explicitly set to `False`.
* functional tests for v4Gauvain Pocentek2017-08-041-38/+115
| | | | | Update the python tests for v4, and fix the problems raised when running those tests.
* Restore correct exceptionsGauvain Pocentek2017-07-151-97/+511
| | | | | | Match the exceptions raised in v3 for v4. Also update the doc strings with correct information.
* Fix merge_when_build_succeeds attribute nameGauvain Pocentek2017-07-091-5/+5
| | | | Fixes #285
* remove useless attributesGauvain Pocentek2017-06-251-12/+1
|
* Fix GroupProject constructorGauvain Pocentek2017-06-241-3/+2
|
* minor doc updatesGauvain Pocentek2017-06-181-1/+1
|
* Rework documentationGauvain Pocentek2017-06-181-4/+0
|
* Remove unused future.division importGauvain Pocentek2017-06-111-1/+0
| | | | We don't do math.
* add support for objects delete()Gauvain Pocentek2017-06-111-37/+37
|
* pep8 fixesGauvain Pocentek2017-06-111-5/+4
|
* Drop invalid doc about raised exceptionsGauvain Pocentek2017-06-111-59/+2
|
* Add new event types to ProjectHookGauvain Pocentek2017-06-111-1/+1
|
* Fix a few remaining methodsGauvain Pocentek2017-06-111-99/+51
|
* make the tests passGauvain Pocentek2017-06-021-18/+18
|
* Migrate all v4 objects to new APIGauvain Pocentek2017-06-021-1110/+743
| | | | | | | Some things are probably broken. Next step is writting unit and functional tests. And fix.
* Simplify SidekiqManagerGauvain Pocentek2017-06-021-17/+4
|
* New API: handle gl.auth() and CurrentUser* classesGauvain Pocentek2017-06-021-24/+29
|
* Add support for managers in objects for new APIGauvain Pocentek2017-06-021-79/+81
| | | | Convert User* to the new REST* API.
* Move the mixins in their own moduleGauvain Pocentek2017-06-021-0/+1
|
* Rework the manager and object classesGauvain Pocentek2017-06-021-101/+74
| | | | | | | | | | | | | | Add new RESTObject and RESTManager base class, linked to a bunch of Mixin class to implement the actual CRUD methods. Object are generated by the managers, and special cases are handled in the derivated classes. Both ways (old and new) can be used together, migrate only a few v4 objects to the new method as a POC. TODO: handle managers on generated objects (have to deal with attributes in the URLs).
* import urlencode() from six.moves.urllib.parse instead of from urllib (#268)Cosimo Lupo2017-06-021-2/+2
| | | | | Fixes AttributeError on Python 3, as `urlencode` function has been moved to `urllib.parse` module. `six.moves.urllib.parse.urlencode()` is an py2.py3 compatible alias of `urllib.parse.urlencode()` on Python 3, and of `urllib.urlencode()` on Python 2.
* [v4] Make project issues work properlyGauvain Pocentek2017-05-271-27/+36
| | | | | | * Use iids instead of ids * Add required duration argument for time_estimate() and add_spent_time()
* Remove extra_attrs argument from _raw_list (unneeded)Gauvain Pocentek2017-05-271-12/+4
|
* pep8 fixGauvain Pocentek2017-05-271-1/+2
|
* [v4] Make MR work properlyGauvain Pocentek2017-05-271-33/+43
| | | | | | * Use iids instead of ids (Fixes #266) * Add required duration argument for time_estimate() and add_spent_time()
* [v4] Fix the jobs manager attribute in ProjectGauvain Pocentek2017-05-251-1/+1
|
* [v4] Add support for dockerfiles APIGauvain Pocentek2017-05-241-0/+12
|
* [v4] Builds have been renamed to JobsGauvain Pocentek2017-05-241-38/+22
|
* [v4] Triggers: update objectGauvain Pocentek2017-05-241-3/+16
| | | | | | * Add support for the description attribute * Add ``take_ownership`` support * Triggers now use ``id`` as identifier
* pep8 fixGauvain Pocentek2017-05-241-1/+0
|
* [v4] User: drop the manager filtersv4_supportGauvain Pocentek2017-05-241-40/+2
|
* [v4] Remove deprecated objects methods and classesGauvain Pocentek2017-05-241-28/+0
|
* pop8 fixesGauvain Pocentek2017-05-231-2/+4
|
* [v4] Users confirm attribute renamed skip_confirmationGauvain Pocentek2017-05-231-2/+2
|
* [v4] repository tree: s/ref_name/ref/Gauvain Pocentek2017-05-231-4/+4
|
* [v4] Try to make the files raw() method workGauvain Pocentek2017-05-231-29/+29
|
* [v4] Update triggers endpoint and attrsGauvain Pocentek2017-05-231-3/+3
|
* [v4] Milestones: iid => iidsGauvain Pocentek2017-05-231-1/+1
|
* [v4] Rename the ACCESS* variablesGauvain Pocentek2017-05-231-6/+6
|
* [v4] GroupManager.search is not neededGauvain Pocentek2017-05-231-13/+0
|
* [v4] Rename the visibility attributeGauvain Pocentek2017-05-231-17/+13
| | | | | | | Also change the value of the VISIBILITY_* consts, and move them to the `objects` module root. TODO: deal the numerical value used by v3.
* [v4] Remove public attribute for projectsGauvain Pocentek2017-05-231-4/+4
|
* [v4] MR s/build/pipeline/ in attributesGauvain Pocentek2017-05-231-2/+2
|
* [v4] Rename branch_name to branchGauvain Pocentek2017-05-231-4/+4
|
* [v4] Update (un)subscribtion endpointsGauvain Pocentek2017-05-231-13/+13
|
* [v4] Update user (un)block HTTP methodsGauvain Pocentek2017-05-231-4/+4
|
* [v4] Drop ProjectKeyManager.enable()Gauvain Pocentek2017-05-231-6/+0
|
* [v4] Add projects.list() attributesGauvain Pocentek2017-05-231-37/+3
| | | | | All the ProjectManager filter methods can now be handled by projects.list().