Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(cli): exit on config parse error, instead of crashing | Max Wittig | 2018-11-04 | 1 | -3/+17 |
| | | | | * Exit and hint user about possible errors * test: adjust test cases to config missing error | ||||
* | Revert "make as_list work for all queries" | Gauvain Pocentek | 2018-06-17 | 1 | -60/+7 |
| | | | | | | This reverts commit 8e787612fa77dc945a4c1327e9faa6eee10c48f2. This change broke the basic generator usage (Fixes #534) | ||||
* | make as_list work for all queries | Cyril Jouve | 2018-06-07 | 1 | -7/+60 |
| | |||||
* | silence logs/warnings in unittests | Cyril Jouve | 2018-06-07 | 2 | -6/+27 |
| | |||||
* | Add missing project attributes | Gauvain Pocentek | 2018-05-29 | 1 | -0/+7 |
| | |||||
* | Implement user_agent_detail for snippets | Gauvain Pocentek | 2018-05-27 | 1 | -0/+7 |
| | | | | Add a new UserAgentDetail mixin to avoid code duplication. | ||||
* | add per_page config option | Cyril Jouve | 2018-05-22 | 1 | -1/+15 |
| | |||||
* | Drop GetFromListMixin | Gauvain Pocentek | 2018-05-19 | 2 | -23/+3 |
| | |||||
* | Drop API v3 support | Gauvain Pocentek | 2018-05-19 | 4 | -1454/+13 |
| | | | | Drop the code, the tests, and update the documentation. | ||||
* | Implement attribute types to handle special cases | Gauvain Pocentek | 2018-03-17 | 1 | -0/+66 |
| | | | | | | | | 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 | ||||
* | Add basic unit tests for v4 CLI | Gauvain Pocentek | 2018-03-11 | 1 | -0/+37 |
| | |||||
* | [cli] Allow to read args from files | Gauvain Pocentek | 2018-03-05 | 1 | -0/+25 |
| | | | | | | | With the @/file/path syntax (similar to curl) user can provide values from attributes in files. Fixes #448 | ||||
* | 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. | ||||
* | Default to API v4 | Gauvain Pocentek | 2018-02-05 | 3 | -26/+27 |
| | |||||
* | Remove now-invalid test | Gauvain Pocentek | 2017-12-16 | 1 | -3/+0 |
| | |||||
* | Revert "Add unit tests for mixin exceptions" | Gauvain Pocentek | 2017-11-16 | 1 | -86/+0 |
| | | | | This reverts commit 4ee139ad5c58006da1f9af93fdd4e70592e6daa0. | ||||
* | Add unit tests for mixin exceptions | Gauvain Pocentek | 2017-11-11 | 1 | -0/+86 |
| | |||||
* | Add a SetMixin | Gauvain Pocentek | 2017-11-11 | 1 | -0/+25 |
| | | | | | Use it for UserCustomAttribute, will be useful for {Project,Group}CustomAttribute (#367) | ||||
* | Add missing mocking on unit test | Gauvain Pocentek | 2017-11-10 | 1 | -1/+11 |
| | |||||
* | Add support for oauth and anonymous auth in config/CLI | Gauvain Pocentek | 2017-11-10 | 1 | -5/+22 |
| | |||||
* | Rework authentication args handling | Gauvain Pocentek | 2017-11-10 | 1 | -0/+49 |
| | | | | | | | | * Raise exceptions when conflicting arguments are used * Build the auth headers when instanciating Gitlab, not on each request * Enable anonymous Gitlab objects (#364) Add docs and unit tests | ||||
* | Module's base objects serialization (#359) | Lyudmil Nenov | 2017-11-03 | 3 | -0/+29 |
| | | | | | | | | Make gitlab objects serializable With current implementation of API v3 and v4 support, some instances have properties of type module and are not serializable. Handle these properties manually with setstate and getstate methods. | ||||
* | Pagination generators: expose more information | Gauvain Pocentek | 2017-11-01 | 1 | -0/+6 |
| | | | | | | | Expose the X-* pagination attributes returned by the Gitlab server when requesting lists. Closes #304 | ||||
* | Support SSL verification via internal CA bundle | Maura Hausman | 2017-08-04 | 1 | -0/+15 |
| | | | | | - Also updates documentation - See issues #204 and #270 | ||||
* | Update tests for list() changes | Gauvain Pocentek | 2017-08-04 | 2 | -5/+10 |
| | |||||
* | Restore correct exceptions | Gauvain Pocentek | 2017-07-15 | 1 | -1/+1 |
| | | | | | | Match the exceptions raised in v3 for v4. Also update the doc strings with correct information. | ||||
* | Refactor the CLI | Gauvain Pocentek | 2017-06-25 | 1 | -15/+22 |
| | | | | | | | v3 and v4 CLI will be very different, so start moving things in their own folders. For now v4 isn't working at all. | ||||
* | Remove unused future.division import | Gauvain Pocentek | 2017-06-11 | 1 | -1/+0 |
| | | | | We don't do math. | ||||
* | tests for objects mixins | Gauvain Pocentek | 2017-06-05 | 1 | -0/+57 |
| | |||||
* | Add tests for managers mixins | Gauvain Pocentek | 2017-06-05 | 1 | -0/+354 |
| | |||||
* | Basic test for GitlabList | Gauvain Pocentek | 2017-06-05 | 1 | -1/+47 |
| | |||||
* | Unit tests for REST* classes | Gauvain Pocentek | 2017-06-05 | 1 | -0/+129 |
| | |||||
* | Tests and fixes for the http_* methods | Gauvain Pocentek | 2017-06-02 | 1 | -0/+220 |
| | |||||
* | update copyright years | Gauvain Pocentek | 2017-05-24 | 3 | -3/+3 |
| | |||||
* | Merge branch 'v4_support' | Gauvain Pocentek | 2017-05-24 | 1 | -1/+1 |
|\ | |||||
| * | Reorganise the code to handle v3 and v4 objects | Gauvain Pocentek | 2017-05-23 | 1 | -1/+1 |
| | | | | | | | | | | | | Having objects managing both versions will only make the code more complicated, with lots of tests everywhere. This solution might generate some code duplication, but it should be maintainable. | ||||
* | | Deprecate parameter related methods in gitlab.Gitlab | Gauvain Pocentek | 2017-05-24 | 1 | -25/+8 |
|/ | | | | | | | | These methods change the auth information and URL, and might have some unwanted side effects. Users should create a new Gitlab instance to change the URL and authentication information. | ||||
* | Add 'search' attribute to projects.list() | Gauvain Pocentek | 2017-05-23 | 1 | -3/+3 |
| | | | | projects.search() has been deprecated by Gitlab | ||||
* | Stop listing if recursion limit is hit (#234) | Johan Brandhorst | 2017-03-23 | 1 | -0/+70 |
| | |||||
* | Snippet: content() -> raw() | Gauvain Pocentek | 2016-12-26 | 1 | -2/+2 |
| | | | | | Using the content() method causes conflicts with the API `content` attribute. | ||||
* | Added support for Snippets (new API in Gitlab 8.15) | Guyzmo | 2016-12-24 | 1 | -0/+34 |
| | | | | | | cf [Gitlab-CE MR !6373](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6373) Signed-off-by: Guyzmo <guyzmo+github@m0g.net> | ||||
* | Remove _get_list_or_object() and its tests | Gauvain Pocentek | 2016-08-13 | 2 | -65/+0 |
| | |||||
* | tests: don't use deprecated Content method | Gauvain Pocentek | 2016-07-18 | 1 | -2/+2 |
| | |||||
* | fix unit tests | Gauvain Pocentek | 2016-07-17 | 1 | -1/+1 |
| | |||||
* | define UserManager.get_by_username() to get a user by username | Richard Hansen | 2016-02-12 | 1 | -0/+26 |
| | |||||
* | define UserManager.search() to search for users | Richard Hansen | 2016-02-12 | 1 | -0/+23 |
| | |||||
* | Add some unit tests for CLI | Gauvain Pocentek | 2016-02-05 | 2 | -4/+95 |
| | | | | Reorganize the cli.py code to ease the testing. | ||||
* | Add support for application settings | Gauvain Pocentek | 2016-01-27 | 1 | -0/+39 |
| | |||||
* | fix the test_create_unknown_path test | Gauvain Pocentek | 2016-01-23 | 1 | -4/+3 |
| | |||||
* | Fix the json() method for python 3 | Gauvain Pocentek | 2016-01-23 | 1 | -0/+9 |
| | | | | Also add unit tests and fix pep8 test |