Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the same description for **kwargs everywhere | Gauvain Pocentek | 2018-06-17 | 1 | -7/+7 |
| | |||||
* | Add project push rules configuration (#520) | Eric Sabouraud | 2018-06-11 | 1 | -3/+8 |
| | |||||
* | Add support for project-level MR approval configuration | Eric Sabouraud | 2018-06-08 | 1 | -2/+14 |
| | |||||
* | time_stats(): use an existing attribute if available | Gauvain Pocentek | 2018-05-30 | 1 | -0/+5 |
| | | | | | | | | A time_stats attribute is returned by GitLab when fetching issues and merge requests (on reasonably recent GitLab versions). Use this info instead of making a new API call if possible. Fixes #510 | ||||
* | Add support for group badges | Gauvain Pocentek | 2018-05-29 | 1 | -0/+24 |
| | | | | | | Also consolidate project/group badges tests, and add some docs Fixes #469 | ||||
* | Fix the participants() decorator | Gauvain Pocentek | 2018-05-28 | 1 | -1/+1 |
| | |||||
* | Issues: add missing attributes and methods | Gauvain Pocentek | 2018-05-28 | 1 | -0/+26 |
| | |||||
* | Implement user_agent_detail for snippets | Gauvain Pocentek | 2018-05-27 | 1 | -0/+17 |
| | | | | Add a new UserAgentDetail mixin to avoid code duplication. | ||||
* | add per_page config option | Cyril Jouve | 2018-05-22 | 1 | -0/+2 |
| | |||||
* | Add support for project import/export | Gauvain Pocentek | 2018-05-21 | 1 | -1/+4 |
| | | | | Fixes #471 | ||||
* | pep8 fix | Gauvain Pocentek | 2018-05-21 | 1 | -1/+1 |
| | |||||
* | Add support for user avatar upload | Gauvain Pocentek | 2018-05-21 | 1 | -9/+30 |
| | | | | Fixes #308 | ||||
* | Drop GetFromListMixin | Gauvain Pocentek | 2018-05-19 | 1 | -37/+0 |
| | |||||
* | pep8 fix | Gauvain Pocentek | 2018-05-19 | 1 | -1/+1 |
| | |||||
* | Deprecate GetFromListMixin | Gauvain Pocentek | 2018-05-19 | 1 | -0/+9 |
| | | | | | | | | | This mixin provides a workaround for get() for GitLab objects that don't implement a 'get a single object' API. We are now getting conflicts because GitLab adds GET methods, and this is against the "Implement only what exists in the API" strategy. Also use the proper GET API call for objects that support it. | ||||
* | Get rid of _sanitize_data | Gauvain Pocentek | 2018-03-17 | 1 | -14/+4 |
| | | | | It was used in one class only, no need for added complexity. | ||||
* | Implement attribute types to handle special cases | Gauvain Pocentek | 2018-03-17 | 1 | -2/+37 |
| | | | | | | | | Some attributes need to be parsed/modified to work with the API (for instance lists). This patch provides two attribute types that will simplify parts of the code, and fix some CLI bugs. Fixes #443 | ||||
* | introduce RefreshMixin | Pierre Tardy | 2018-03-04 | 1 | -0/+19 |
| | | | | | RefreshMixin allows to update a REST object so that you can poll on it. This is mostly useful for pipelines and jobs, but could be set on most of other objects, with unknown usecases. | ||||
* | Add support for features flags | Gauvain Pocentek | 2018-01-01 | 1 | -1/+1 |
| | | | | Fixes #360 | ||||
* | mixins.py: Avoid sending empty update data to issue.save (#389) | Carlos Soriano | 2017-12-16 | 1 | -0/+3 |
| | |||||
* | Make todo() raise GitlabTodoError on error | Gauvain Pocentek | 2017-12-16 | 1 | -2/+7 |
| | |||||
* | Revert "Add unit tests for mixin exceptions" | Gauvain Pocentek | 2017-11-16 | 1 | -7/+2 |
| | | | | This reverts commit 4ee139ad5c58006da1f9af93fdd4e70592e6daa0. | ||||
* | Add unit tests for mixin exceptions | Gauvain Pocentek | 2017-11-11 | 1 | -2/+7 |
| | |||||
* | Add a SetMixin | Gauvain Pocentek | 2017-11-11 | 1 | -0/+23 |
| | | | | | Use it for UserCustomAttribute, will be useful for {Project,Group}CustomAttribute (#367) | ||||
* | Fix the CLI for objects without ID (API v4) | Gauvain Pocentek | 2017-11-01 | 1 | -1/+1 |
| | | | | Fixes #319 | ||||
* | Drop leftover pdb call | Gauvain Pocentek | 2017-10-08 | 1 | -1/+0 |
| | |||||
* | Make the delete() method handle / in ids | Gauvain Pocentek | 2017-10-08 | 1 | -0/+3 |
| | | | | | | Replace the / with the HTTP %2F as is done with other methods. Closes #337 | ||||
* | [v4] fix CLI for some mixin methods | Gauvain Pocentek | 2017-09-07 | 1 | -0/+15 |
| | |||||
* | Fix Args attribute in docstrings | Gauvain Pocentek | 2017-08-11 | 1 | -1/+1 |
| | |||||
* | [v4] Fix getting projects using full namespace | Gauvain Pocentek | 2017-08-11 | 1 | -0/+2 |
| | |||||
* | Make the project services work in v4rework_api | Gauvain Pocentek | 2017-08-04 | 1 | -1/+2 |
| | |||||
* | Restore the prvious listing behavior | Gauvain Pocentek | 2017-08-04 | 1 | -7/+7 |
| | | | | | | | 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 | 1 | -1/+1 |
| | | | | | Update the python tests for v4, and fix the problems raised when running those tests. | ||||
* | Restore correct exceptions | Gauvain Pocentek | 2017-07-15 | 1 | -44/+111 |
| | | | | | | Match the exceptions raised in v3 for v4. Also update the doc strings with correct information. | ||||
* | add support for objects delete() | Gauvain Pocentek | 2017-06-11 | 1 | -0/+11 |
| | |||||
* | 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) | ||||
* | Add tests for managers mixins | Gauvain Pocentek | 2017-06-05 | 1 | -2/+5 |
| | |||||
* | make the tests pass | Gauvain Pocentek | 2017-06-02 | 1 | -2/+2 |
| | |||||
* | Migrate all v4 objects to new API | Gauvain Pocentek | 2017-06-02 | 1 | -16/+159 |
| | | | | | | | Some things are probably broken. Next step is writting unit and functional tests. And fix. | ||||
* | Add support for managers in objects for new API | Gauvain Pocentek | 2017-06-02 | 1 | -7/+7 |
| | | | | Convert User* to the new REST* API. | ||||
* | pep8 | Gauvain Pocentek | 2017-06-02 | 1 | -3/+3 |
| | |||||
* | Move the mixins in their own module | Gauvain Pocentek | 2017-06-02 | 1 | -0/+207 |