Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore: move 'gitlab/tests/' dir to 'tests/unit/' | John L. Villalovos | 2021-05-26 | 1 | -153/+0 |
| | | | | | Move the 'gitlab/tests/' directory to 'tests/unit/' so we have all the tests located under the 'tests/' directory. | ||||
* | chore: fix import ordering using isort | John L. Villalovos | 2021-05-25 | 1 | -1/+0 |
| | | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/ | ||||
* | chore: fix E741/E742 errors reported by flake8 | John L. Villalovos | 2021-04-18 | 1 | -4/+4 |
| | | | | | | | | | Fixes to resolve errors for: https://www.flake8rules.com/rules/E741.html Do not use variables named 'I', 'O', or 'l' (E741) https://www.flake8rules.com/rules/E742.html Do not define classes named 'I', 'O', or 'l' (E742) | ||||
* | test(api,cli): add tests for custom user agent | Nejc Habjan | 2021-01-31 | 1 | -1/+14 |
| | |||||
* | refactor: split unit tests by GitLab API resources | Nejc Habjan | 2020-08-22 | 1 | -921/+101 |
| | |||||
* | chore: run unittest2pytest on all unit tests | Nejc Habjan | 2020-08-22 | 1 | -166/+169 |
| | |||||
* | Merge pull request #1052 from machine424/deploy-tokens-support | Max Wittig | 2020-04-07 | 1 | -0/+34 |
|\ | | | | | feat(api): add support for Gitlab Deploy Token API | ||||
| * | feat(api): add support for Gitlab Deploy Token API | ayoub mrini | 2020-04-06 | 1 | -0/+34 |
| | | |||||
* | | test(api): add tests for group export/import API | Nejc Habjan | 2020-04-05 | 1 | -17/+0 |
|/ | |||||
* | test: create separate module for commit tests | Nejc Habjan | 2020-03-22 | 1 | -44/+0 |
| | |||||
* | chore: move test_import_github into TestProjectImport | Nejc Habjan | 2020-03-18 | 1 | -27/+0 |
| | |||||
* | feat(api): add support for GitLab OAuth Applications API | Mateusz Filipowicz | 2020-03-01 | 1 | -0/+27 |
| | |||||
* | Merge pull request #1026 from nejch/feat/user-memberships | Max Wittig | 2020-02-24 | 1 | -0/+32 |
|\ | | | | | feat: add support for user memberships API (#1009) | ||||
| * | feat: add support for user memberships API (#1009) | Nejc Habjan | 2020-02-22 | 1 | -0/+32 |
| | | |||||
* | | test: add unit tests for base URLs with trailing slashes | Nejc Habjan | 2020-02-23 | 1 | -0/+17 |
|/ | |||||
* | test: remove duplicate resp_get_project | Nejc Habjan | 2020-02-19 | 1 | -9/+1 |
| | |||||
* | test: use lazy object in unit tests | Nejc Habjan | 2020-02-19 | 1 | -1/+1 |
| | |||||
* | test: add unit tests for revert commit API | Nejc Habjan | 2020-02-19 | 1 | -0/+52 |
| | |||||
* | 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 | 1 | -18/+12 |
| | |||||
* | 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 |
| | |||||
* | test(todo): add unittests | Max Wittig | 2019-09-08 | 1 | -0/+46 |
| | |||||
* | 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 |
| | |||||
* | refactor: format everything blackrefactor/black | Max Wittig | 2019-05-16 | 1 | -193/+251 |
| | |||||
* | Make gitlab.Gitlab.from_config a classmethod | jeroen_decroos | 2019-03-07 | 1 | -0/+32 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | Drop GetFromListMixin | Gauvain Pocentek | 2018-05-19 | 1 | -3/+3 |
| | |||||
* | Drop API v3 support | Gauvain Pocentek | 2018-05-19 | 1 | -602/+13 |
| | | | | Drop the code, the tests, and update the documentation. | ||||
* | Default to API v4 | Gauvain Pocentek | 2018-02-05 | 1 | -3/+3 |
| | |||||
* | Add missing mocking on unit test | Gauvain Pocentek | 2017-11-10 | 1 | -1/+11 |
| | |||||
* | 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 | 1 | -0/+9 |
| | | | | | | | | 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 | ||||
* | Update tests for list() changes | Gauvain Pocentek | 2017-08-04 | 1 | -3/+8 |
| | |||||
* | Basic test for GitlabList | Gauvain Pocentek | 2017-06-05 | 1 | -1/+47 |
| | |||||
* | Tests and fixes for the http_* methods | Gauvain Pocentek | 2017-06-02 | 1 | -0/+220 |
| | |||||
* | 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. |