summaryrefslogtreecommitdiff
path: root/gitlab
Commit message (Collapse)AuthorAgeFilesLines
...
* | New API: handle gl.auth() and CurrentUser* classesGauvain Pocentek2017-06-022-32/+41
| |
* | Add support for managers in objects for new APIGauvain Pocentek2017-06-023-88/+119
| | | | | | | | Convert User* to the new REST* API.
* | pep8Gauvain Pocentek2017-06-023-5/+4
| |
* | Move the mixins in their own moduleGauvain Pocentek2017-06-023-189/+208
| |
* | Rework the manager and object classesGauvain Pocentek2017-06-023-106/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | pep8 againGauvain Pocentek2017-06-021-10/+12
| |
* | Add lower-level methods for Gitlab()Gauvain Pocentek2017-06-022-0/+229
|/ | | | | | | | | | | | 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.
* import urlencode() from six.moves.urllib.parse instead of from urllib (#268)Cosimo Lupo2017-06-022-5/+5
| | | | | 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-273-31/+11
|
* pep8 fixGauvain Pocentek2017-05-271-1/+2
|
* Fix python functional testsGauvain Pocentek2017-05-271-1/+1
|
* [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()
* Prepare the 0.21.1 releaseGauvain Pocentek2017-05-251-1/+1
|
* [v4] Fix the jobs manager attribute in ProjectGauvain Pocentek2017-05-251-1/+1
|
* Prepare the 0.21 release0.21Gauvain Pocentek2017-05-241-1/+1
|
* update copyright yearsGauvain Pocentek2017-05-249-9/+9
|
* [v4] Add support for dockerfiles APIGauvain Pocentek2017-05-242-0/+14
|
* [v4] Builds have been renamed to JobsGauvain Pocentek2017-05-242-41/+41
|
* [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
|
* Merge branch 'v4_support'Gauvain Pocentek2017-05-248-580/+2800
|\
| * [v4] User: drop the manager filtersv4_supportGauvain Pocentek2017-05-241-40/+2
| |
| * [v4] Remove deprecated objects methods and classesGauvain Pocentek2017-05-242-30/+2
| |
| * 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
| |
| * 202 is expected on some delete operationsGauvain 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().
| * [v4] Update project fork endpointGauvain Pocentek2017-05-231-1/+1
| |
| * [v4] Update the licenses templates endpointGauvain Pocentek2017-05-231-1/+1
| |
| * [v4] Update project unstar endpointGauvain Pocentek2017-05-231-4/+4
| |
| * [v4] Update project keys endpointGauvain Pocentek2017-05-231-1/+1
| |
| * [v4] Update iid attr for issues and MRsGauvain Pocentek2017-05-231-3/+2
| |
| * [v4] projects.search() has been removedGauvain Pocentek2017-05-231-29/+0
| |
| * [v4] Drop teams supportGauvain Pocentek2017-05-232-41/+2
| |
| * Add missing base.py fileGauvain Pocentek2017-05-231-0/+533
| |
| * Duplicate the v3/objects.py in v4/Gauvain Pocentek2017-05-231-2/+2335
| | | | | | | | | | | | Using imports from v3/objects.py in v4/objects.py will have side effects. Duplication is not the most elegant choice but v4 is the future and v3 will die eventually.