Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the project services work in v4rework_api | Gauvain Pocentek | 2017-08-04 | 2 | -43/+48 |
| | |||||
* | Update tests for list() changes | Gauvain Pocentek | 2017-08-04 | 2 | -5/+10 |
| | |||||
* | Restore the prvious listing behavior | Gauvain Pocentek | 2017-08-04 | 3 | -21/+45 |
| | | | | | | | 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 v4 | Gauvain Pocentek | 2017-08-04 | 3 | -41/+138 |
| | | | | | Update the python tests for v4, and fix the problems raised when running those tests. | ||||
* | Restore correct exceptions | Gauvain Pocentek | 2017-07-15 | 5 | -148/+655 |
| | | | | | | Match the exceptions raised in v3 for v4. Also update the doc strings with correct information. | ||||
* | Fix merge_when_build_succeeds attribute name | Gauvain Pocentek | 2017-07-09 | 2 | -10/+10 |
| | | | | Fixes #285 | ||||
* | Merge branch 'master' into rework_api | Gauvain Pocentek | 2017-07-09 | 1 | -3/+3 |
|\ | |||||
| * | Added dependency injection support for Session | Guyzmo | 2017-07-08 | 1 | -2/+2 |
| | | | | | | | | | | | | fixes #280 Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net> | ||||
| * | Missing expires_at in GroupMembers update | Eli Sarver | 2017-06-16 | 1 | -1/+1 |
| | | | | | | CreateAttrs was set twice in GroupMember due to possible copy-paste error. | ||||
| * | 0.21.2 release0.21.2 | Gauvain Pocentek | 2017-06-11 | 1 | -1/+1 |
| | | |||||
| * | Add new event types to ProjectHook | Jamie Bliss | 2017-06-05 | 1 | -1/+1 |
| | | | | | | These are being returned in the live API, but can't set them. | ||||
* | | remove useless attributes | Gauvain Pocentek | 2017-06-25 | 1 | -12/+1 |
| | | |||||
* | | Refactor the CLI | Gauvain Pocentek | 2017-06-25 | 3 | -177/+222 |
| | | | | | | | | | | | | | | v3 and v4 CLI will be very different, so start moving things in their own folders. For now v4 isn't working at all. | ||||
* | | 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 |
| |