summaryrefslogtreecommitdiff
path: root/gitlab
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add missing doc filesGauvain Pocentek2017-06-251-0/+0
| |
* | typoGauvain Pocentek2017-06-241-1/+1
| |
* | build submanagers for v3 onlyGauvain Pocentek2017-06-241-15/+16
| |
* | Fix GroupProject constructorGauvain Pocentek2017-06-241-3/+2
| |
* | minor doc updatesGauvain Pocentek2017-06-182-1/+12
| |
* | Rework documentationGauvain Pocentek2017-06-181-4/+0
| |
* | Remove unused future.division importGauvain Pocentek2017-06-115-5/+0
| | | | | | | | We don't do math.
* | add support for objects delete()Gauvain Pocentek2017-06-112-37/+48
| |
* | pep8 fixesGauvain Pocentek2017-06-112-6/+5
| |
* | Add laziness to get()Gauvain Pocentek2017-06-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal is to create empty objects (no API called) but give access to the managers. Using this users can reduce the number of API calls but still use the same API to access children objects. For example the following will only make one API call but will still get the result right: gl.projects.get(49, lazy=True).issues.get(2, lazy=True).notes.list() This removes the need for more complex managers attributes (e.g. gl.project_issue_notes)
* | 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-112-100/+62
| |
* | tests for objects mixinsGauvain Pocentek2017-06-051-0/+57
| |
* | Add tests for managers mixinsGauvain Pocentek2017-06-052-2/+359
| |
* | Basic test for GitlabListGauvain Pocentek2017-06-051-1/+47
| |
* | Fix GitlabList.__len__Gauvain Pocentek2017-06-051-1/+1
| |
* | Unit tests for REST* classesGauvain Pocentek2017-06-052-4/+140
| |
* | Tests and fixes for the http_* methodsGauvain Pocentek2017-06-023-17/+230
| |
* | make the tests passGauvain Pocentek2017-06-023-23/+26
| |
* | Migrate all v4 objects to new APIGauvain Pocentek2017-06-025-1161/+926
| | | | | | | | | | | | | | 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-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
| |