Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat: add appearance APIfeat/appearance | Max Wittig | 2020-01-22 | 1 | -0/+120 |
| | |||||
* | Merge pull request #980 from python-gitlab/refactor/cleanup-upgrade | Roger Meier | 2019-12-18 | 2 | -15/+14 |
|\ | | | | | Refactor/cleanup upgrade | ||||
| * | refactor: remove six dependency | Max Wittig | 2019-12-18 | 2 | -15/+14 |
| | | |||||
* | | test: add project snippet tests | Max Wittig | 2019-12-18 | 2 | -0/+140 |
|/ | |||||
* | feat: add support for /import/github | Andrew Tergis | 2019-12-16 | 1 | -0/+27 |
| | | | | | | | | | | | | | | | | | | | Addresses python-gitlab/python-gitlab#952 This adds a method to the `ProjectManager` called `import_github`, which maps to the `/import/github` API endpoint. Calling `import_github` will trigger an import operation from <repo_id> into <target_namespace>, using <personal_access_token> to authenticate against github. In practice a gitlab server may take many 10's of seconds to respond to this API call, so we also take the liberty of increasing the default timeout (only for this method invocation). Unfortunately since `import` is a protected keyword in python, I was unable to follow the endpoint structure with the manager namespace. I'm open to suggestions on a more sensible interface. I'm successfully using this addition to batch-import hundreds of github repositories into gitlab. | ||||
* | test: added tests for statistics | Mitar | 2019-12-12 | 1 | -0/+56 |
| | |||||
* | test: test that all is ignored, when as_list=Falsefix/as_list | Max Wittig | 2019-12-08 | 1 | -0/+18 |
| | |||||
* | feat: add users activate, deactivate functionality | Max Wittig | 2019-10-25 | 1 | -0/+25 |
| | | | | These were introduced in GitLab 12.4 | ||||
* | feat: add deployment creationfeat/deployment-create | Max Wittig | 2019-10-24 | 1 | -0/+44 |
| | | | | | | Added in GitLab 12.4 Fixes #917 | ||||
* | feat(test): unused unittest2, type -> isinstance | Cyril Jouve | 2019-10-13 | 7 | -64/+33 |
| | |||||
* | Merge pull request #904 from jouve/remove-cred-auth | Max Wittig | 2019-10-13 | 1 | -62/+1 |
|\ | | | | | remove deprecated session auth | ||||
| * | feat(auth): remove deprecated session auth | Cyril Jouve | 2019-10-12 | 1 | -62/+1 |
| | | |||||
* | | test: remove warning about open files from test_todo() | Derek Schrock | 2019-10-12 | 1 | -4/+5 |
|/ | | | | | | When running unittests python warns that the json file from test_todo() was still open. Use with to open, read, and create encoded json data that is used by resp_get_todo(). | ||||
* | test(submodules): correct test methodfeat/update_submodule | Max Wittig | 2019-10-06 | 1 | -4/+4 |
| | |||||
* | feat(project): implement update_submodule | Sebastian Kratzert | 2019-10-06 | 1 | -0/+50 |
| | |||||
* | refactor: remove unused code, simplify string format | godaji | 2019-10-06 | 1 | -3/+0 |
| | |||||
* | test(todo): add unittests | Max Wittig | 2019-09-08 | 2 | -0/+121 |
| | |||||
* | style: format with black | Max Wittig | 2019-09-07 | 1 | -3/+1 |
| | |||||
* | test(status): add user status test | Max Wittig | 2019-09-07 | 1 | -10/+31 |
| | |||||
* | feat: add support for job token | Mathieu Parent | 2019-09-06 | 1 | -1/+16 |
| | | | | See https://docs.gitlab.com/ee/api/jobs.html#get-job-artifacts for usage | ||||
* | feat: add methods to retrieve an individual project environment | Tom Forbes | 2019-08-20 | 1 | -0/+30 |
| | |||||
* | fix: improve pickle support | bourgesl | 2019-07-21 | 1 | -0/+1 |
| | |||||
* | fix(cli): don't fail when the short print attr value is None | xarx00 | 2019-07-21 | 1 | -1/+1 |
| | | | | | Fixes #717 Fixes #727 | ||||
* | fix: convert # to %23 in URLsfix/779 | Gauvain Pocentek | 2019-06-08 | 1 | -0/+43 |
| | | | | | | Refactor a bit to handle this change, and add unit tests. Closes #779 | ||||
* | refactor: format everything blackrefactor/black | Max Wittig | 2019-05-16 | 6 | -418/+486 |
| | |||||
* | Make gitlab.Gitlab.from_config a classmethod | jeroen_decroos | 2019-03-07 | 1 | -0/+32 |
| | |||||
* | fix: use python2 compatible syntax for superfix/python-tests | Max Wittig | 2019-02-22 | 1 | -1/+5 |
| | |||||
* | Implement __eq__ and __hash__ methods | Jonathan Piron | 2019-02-20 | 1 | -0/+23 |
| | | | | To ease lists and sets manipulations. | ||||
* | 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. |