Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Add missing doc files | Gauvain Pocentek | 2017-06-25 | 1 | -0/+0 | |
| | | ||||||
* | | typo | Gauvain Pocentek | 2017-06-24 | 1 | -1/+1 | |
| | | ||||||
* | | build submanagers for v3 only | Gauvain Pocentek | 2017-06-24 | 1 | -15/+16 | |
| | | ||||||
* | | Fix GroupProject constructor | Gauvain Pocentek | 2017-06-24 | 1 | -3/+2 | |
| | | ||||||
* | | minor doc updates | Gauvain Pocentek | 2017-06-18 | 2 | -1/+12 | |
| | | ||||||
* | | Rework documentation | Gauvain Pocentek | 2017-06-18 | 1 | -4/+0 | |
| | | ||||||
* | | Remove unused future.division import | Gauvain Pocentek | 2017-06-11 | 5 | -5/+0 | |
| | | | | | | | | We don't do math. | |||||
* | | add support for objects delete() | Gauvain Pocentek | 2017-06-11 | 2 | -37/+48 | |
| | | ||||||
* | | pep8 fixes | Gauvain Pocentek | 2017-06-11 | 2 | -6/+5 | |
| | | ||||||
* | | Add laziness to get() | Gauvain Pocentek | 2017-06-11 | 1 | -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 exceptions | Gauvain Pocentek | 2017-06-11 | 1 | -59/+2 | |
| | | ||||||
* | | Add new event types to ProjectHook | Gauvain Pocentek | 2017-06-11 | 1 | -1/+1 | |
| | | ||||||
* | | Fix a few remaining methods | Gauvain Pocentek | 2017-06-11 | 2 | -100/+62 | |
| | | ||||||
* | | tests for objects mixins | Gauvain Pocentek | 2017-06-05 | 1 | -0/+57 | |
| | | ||||||
* | | Add tests for managers mixins | Gauvain Pocentek | 2017-06-05 | 2 | -2/+359 | |
| | | ||||||
* | | Basic test for GitlabList | Gauvain Pocentek | 2017-06-05 | 1 | -1/+47 | |
| | | ||||||
* | | Fix GitlabList.__len__ | Gauvain Pocentek | 2017-06-05 | 1 | -1/+1 | |
| | | ||||||
* | | Unit tests for REST* classes | Gauvain Pocentek | 2017-06-05 | 2 | -4/+140 | |
| | | ||||||
* | | Tests and fixes for the http_* methods | Gauvain Pocentek | 2017-06-02 | 3 | -17/+230 | |
| | | ||||||
* | | make the tests pass | Gauvain Pocentek | 2017-06-02 | 3 | -23/+26 | |
| | | ||||||
* | | Migrate all v4 objects to new API | Gauvain Pocentek | 2017-06-02 | 5 | -1161/+926 | |
| | | | | | | | | | | | | | | Some things are probably broken. Next step is writting unit and functional tests. And fix. | |||||
* | | Simplify SidekiqManager | Gauvain Pocentek | 2017-06-02 | 1 | -17/+4 | |
| | | ||||||
* | | New API: handle gl.auth() and CurrentUser* classes | Gauvain Pocentek | 2017-06-02 | 2 | -32/+41 | |
| | | ||||||
* | | Add support for managers in objects for new API | Gauvain Pocentek | 2017-06-02 | 3 | -88/+119 | |
| | | | | | | | | Convert User* to the new REST* API. | |||||
* | | pep8 | Gauvain Pocentek | 2017-06-02 | 3 | -5/+4 | |
| | | ||||||
* | | Move the mixins in their own module | Gauvain Pocentek | 2017-06-02 | 3 | -189/+208 | |
| | | ||||||
* | | Rework the manager and object classes | Gauvain Pocentek | 2017-06-02 | 3 | -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 again | Gauvain Pocentek | 2017-06-02 | 1 | -10/+12 | |
| | | ||||||
* | | Add lower-level methods for Gitlab() | Gauvain Pocentek | 2017-06-02 | 2 | -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 Lupo | 2017-06-02 | 2 | -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 properly | Gauvain Pocentek | 2017-05-27 | 1 | -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 Pocentek | 2017-05-27 | 3 | -31/+11 | |
| | ||||||
* | pep8 fix | Gauvain Pocentek | 2017-05-27 | 1 | -1/+2 | |
| | ||||||
* | Fix python functional tests | Gauvain Pocentek | 2017-05-27 | 1 | -1/+1 | |
| | ||||||
* | [v4] Make MR work properly | Gauvain Pocentek | 2017-05-27 | 1 | -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 release | Gauvain Pocentek | 2017-05-25 | 1 | -1/+1 | |
| | ||||||
* | [v4] Fix the jobs manager attribute in Project | Gauvain Pocentek | 2017-05-25 | 1 | -1/+1 | |
| | ||||||
* | Prepare the 0.21 release0.21 | Gauvain Pocentek | 2017-05-24 | 1 | -1/+1 | |
| | ||||||
* | update copyright years | Gauvain Pocentek | 2017-05-24 | 9 | -9/+9 | |
| | ||||||
* | [v4] Add support for dockerfiles API | Gauvain Pocentek | 2017-05-24 | 2 | -0/+14 | |
| | ||||||
* | [v4] Builds have been renamed to Jobs | Gauvain Pocentek | 2017-05-24 | 2 | -41/+41 | |
| | ||||||
* | [v4] Triggers: update object | Gauvain Pocentek | 2017-05-24 | 1 | -3/+16 | |
| | | | | | | * Add support for the description attribute * Add ``take_ownership`` support * Triggers now use ``id`` as identifier | |||||
* | pep8 fix | Gauvain Pocentek | 2017-05-24 | 1 | -1/+0 | |
| | ||||||
* | Merge branch 'v4_support' | Gauvain Pocentek | 2017-05-24 | 8 | -580/+2800 | |
|\ | ||||||
| * | [v4] User: drop the manager filtersv4_support | Gauvain Pocentek | 2017-05-24 | 1 | -40/+2 | |
| | | ||||||
| * | [v4] Remove deprecated objects methods and classes | Gauvain Pocentek | 2017-05-24 | 2 | -30/+2 | |
| | | ||||||
| * | pop8 fixes | Gauvain Pocentek | 2017-05-23 | 1 | -2/+4 | |
| | | ||||||
| * | [v4] Users confirm attribute renamed skip_confirmation | Gauvain Pocentek | 2017-05-23 | 1 | -2/+2 | |
| | | ||||||
| * | [v4] repository tree: s/ref_name/ref/ | Gauvain Pocentek | 2017-05-23 | 1 | -4/+4 | |
| | | ||||||
| * | [v4] Try to make the files raw() method work | Gauvain Pocentek | 2017-05-23 | 1 | -29/+29 | |
| | |