Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat(users): add follow/unfollow APIfeat/user-follow-api | Max Wittig | 2021-02-27 | 3 | -0/+138 |
| | |||||
* | test: don't add duplicate fixture | Max Wittig | 2021-02-24 | 1 | -26/+0 |
| | | | Co-authored-by: Nejc Habjan <hab.nejc@gmail.com> | ||||
* | feat(projects): add project access token api | Max Wittig | 2021-02-24 | 3 | -0/+159 |
| | |||||
* | fix: undefined name errors | John L. Villalovos | 2021-02-23 | 2 | -4/+8 |
| | | | | Discovered that there were some undefined names. | ||||
* | chore: remove unused function _construct_url() | John L. Villalovos | 2021-02-23 | 1 | -18/+0 |
| | | | | | | The function _construct_url() was used by the v3 API. All usage of the function was removed in commit fe89b949922c028830dd49095432ba627d330186 | ||||
* | chore: add type hints to gitlab/base.py | John L. Villalovos | 2021-02-22 | 1 | -29/+34 |
| | |||||
* | feat: add an initial mypy test to tox.ini | John L. Villalovos | 2021-02-22 | 2 | -2/+2 |
| | | | | Add an initial mypy test to test gitlab/base.py and gitlab/__init__.py | ||||
* | chore: remove usage of 'from ... import *' in client.py | John L. Villalovos | 2021-02-22 | 1 | -16/+16 |
| | | | | | | | | | | | | | | | | In gitlab/client.py remove usage of: * from gitlab.const import * * from gitlab.exceptions import * Change them to: * import gitlab.const * import gitlab.exceptions Update code to explicitly reference things in gitlab.const and gitlab.exceptions A flake8 run no longer lists any undefined variables. Before it listed possible undefined variables. | ||||
* | chore: explicitly import gitlab.v4.objects/cli | John L. Villalovos | 2021-02-21 | 2 | -10/+29 |
| | | | | | | | | | | | | | | | | | As we only support the v4 Gitlab API, explicitly import gitlab.v4.objects and gitlab.v4.clie instead of dynamically importing it depending on the API version. This has the added benefit of mypy being able to type check the Gitlab __init__() function as currently it will fail if we enable type checking of __init__() it will fail. Also, this also helps by not confusing tools like pyinstaller/cx_freeze with dynamic imports so you don't need hooks for standalone executables. And according to https://docs.gitlab.com/ee/api/, "GraphQL co-exists with the current v4 REST API. If we have a v5 API, this should be a compatibility layer on top of GraphQL." | ||||
* | chore(objects): make Project refreshable | Nejc Habjan | 2021-02-21 | 1 | -1/+1 |
| | | | | Helps getting the real state of the project from the server. | ||||
* | feat(objects): add Release Links API support | Nejc Habjan | 2021-02-21 | 6 | -14/+180 |
| | |||||
* | Merge pull request #1308 from Sineaggi/add-project-audit-endpoint | Nejc Habjan | 2021-02-20 | 3 | -0/+104 |
|\ | | | | | feat: add project audit endpoint | ||||
| * | chore(tests): remove unused URL segment | Nejc Habjan | 2021-02-20 | 1 | -2/+2 |
| | | |||||
| * | feat: add project audit endpoint | Clayton Walker | 2021-02-19 | 3 | -0/+104 |
| | | |||||
* | | refactor: move Gitlab and GitlabList to gitlab/client.py | John L. Villalovos | 2021-02-18 | 3 | -834/+860 |
|/ | | | | | | | | Move the classes Gitlab and GitlabList from gitlab/__init__.py to the newly created gitlab/client.py file. Update one test case that was depending on requests being defined in gitlab/__init__.py | ||||
* | feat: add personal access token APIfeat/personal-access-token-api | Max Wittig | 2021-02-17 | 4 | -0/+66 |
| | | | | See: https://docs.gitlab.com/ee/api/personal_access_tokens.html | ||||
* | chore: remove unused ALLOWED_KEYSET_ENDPOINTS variable | John L. Villalovos | 2021-02-15 | 1 | -2/+0 |
| | | | | | | | | | The variable ALLOWED_KEYSET_ENDPOINTS was added in commit f86ef3bbdb5bffa1348a802e62b281d3f31d33ad. Then most of that commit was removed in commit e71fe16b47835aa4db2834e98c7ffc6bdec36723, but ALLOWED_KEYSET_ENDPOINTS was missed. | ||||
* | Merge pull request #1271 from ↵ | Nejc Habjan | 2021-02-15 | 1 | -2/+2 |
|\ | | | | | | | | | allcloud-jonathan/feature/honor-bool-for-delete-source fix: honor parameter value passed | ||||
| * | fix: honor parameter value passed | Jonathan Vogt | 2021-02-15 | 1 | -2/+2 |
| | | | | | | | | | | | | Gitlab allows setting the defaults for MR to delete the source. Also the inline help of the CLI suggest that a boolean is expected, but no matter what value you set, it will always delete. | ||||
* | | chore: remove Python 2 code | John L. Villalovos | 2021-02-15 | 1 | -4/+1 |
|/ | | | | | | | httplib is a Python 2 library. It was renamed to http.client in Python 3. https://docs.python.org/2.7/library/httplib.html | ||||
* | refactor(api): explicitly export classes for star importsrefactor/split-objects | Nejc Habjan | 2021-02-07 | 56 | -9/+557 |
| | |||||
* | refactor(v4): split objects and managers per API resource | Nejc Habjan | 2021-02-07 | 54 | -5850/+6167 |
| | |||||
* | feat(issues): add missing get verb to IssueManagerfeat/single-issue-api | Nejc Habjan | 2021-02-06 | 2 | -3/+22 |
| | |||||
* | feat: import from bitbucket server | Dan Fuchs | 2021-02-04 | 2 | -3/+129 |
| | | | | | | | | | | | | | I'd like to use this libary to automate importing Bitbucket Server repositories into GitLab. There is a [GitLab API endpoint](https://docs.gitlab.com/ee/api/import.html#import-repository-from-bitbucket-server) to do this, but it is not exposed through this library. * Add an `import_bitbucket_server` method to the `ProjectManager`. This method calls this GitLab API endpoint: https://docs.gitlab.com/ee/api/import.html#import-repository-from-bitbucket-server * Modify `import_gitlab` method docstring for python3 compatibility * Add a skipped stub test for the existing `import_github` method | ||||
* | docs: add docs and examples for custom user agentfeat/override-user-agent | Nejc Habjan | 2021-01-31 | 1 | -0/+1 |
| | |||||
* | test(api,cli): add tests for custom user agent | Nejc Habjan | 2021-01-31 | 2 | -2/+46 |
| | |||||
* | feat(api,cli): make user agent configurable | Nejc Habjan | 2021-01-31 | 4 | -8/+34 |
| | |||||
* | feat: support multipart uploadsfeat/multipart-uploads | Max Wittig | 2021-01-28 | 2 | -9/+11 |
| | |||||
* | Merge pull request #1250 from JacobHenner/feature/add-minimal-access | Nejc Habjan | 2021-01-25 | 1 | -0/+1 |
|\ | | | | | feat: Add MINIMAL_ACCESS constant | ||||
| * | feat: add MINIMAL_ACCESS constant | Jacob Henner | 2020-12-15 | 1 | -0/+1 |
| | | | | | | | | | | | | A "minimal access" access level was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/220203) in GitLab 13.5. | ||||
* | | fix(api): use RetrieveMixin for ProjectLabelManager | Marvin Scholz | 2021-01-10 | 1 | -1/+1 |
|/ | | | | | Allows to get a single label from a project, which was missing before even though the GitLab API has the ability to. | ||||
* | Merge pull request #1200 from ↵ | Max Wittig | 2020-10-29 | 2 | -8/+383 |
|\ | | | | | | | | | robinson96/feature/project_merge_request_approval_rules Feature/project merge request approval rules | ||||
| * | test: add test_project_merge_request_approvals.py | Peter B. Robinson | 2020-10-14 | 2 | -2/+296 |
| | | |||||
| * | feat: adds support for project merge request approval rules (#1199) | Peter B. Robinson | 2020-09-30 | 1 | -8/+89 |
| | | |||||
* | | fix(base): really refresh objectfix/delete-attr | Max Wittig | 2020-10-12 | 2 | -1/+8 |
| | | | | | | | | | | | | This fixes and error, where deleted attributes would not show up Fixes #1155 | ||||
* | | fix(cli): write binary data to stdout buffer | Nejc Habjan | 2020-10-12 | 1 | -0/+2 |
| | | |||||
* | | chore(cli): remove python2 code | Nejc Habjan | 2020-10-12 | 1 | -5/+1 |
| | | |||||
* | | Merge pull request #1209 from python-gitlab/docs/cli-reference-page | Max Wittig | 2020-10-12 | 1 | -0/+14 |
|\ \ | | | | | | | docs(cli): add auto-generated CLI reference | ||||
| * | | docs(cli): add auto-generated CLI referencedocs/cli-reference-page | Nejc Habjan | 2020-10-11 | 1 | -0/+14 |
| | | | |||||
* | | | Merge pull request #1131 from valentingregoire/master | Max Wittig | 2020-10-12 | 1 | -0/+17 |
|\ \ \ | |/ / |/| | | feat: added constants for search API | ||||
| * | | chore: simplified search scope constants | Valentin Grégoire | 2020-09-29 | 1 | -32/+11 |
| | | | |||||
| * | | chore: added docs for search scopes constants | Valentin Grégoire | 2020-09-16 | 1 | -0/+1 |
| | | | |||||
| * | | chore: added constants for search API | Valentin Grégoire | 2020-07-07 | 1 | -0/+37 |
| | | | |||||
* | | | Merge pull request #1203 from intostern/feat/bridge | Max Wittig | 2020-10-08 | 2 | -0/+123 |
|\ \ \ | | | | | | | | | Added support for pipeline bridges | ||||
| * | | | feat: unit tests added | Alex Zirka | 2020-10-08 | 1 | -0/+111 |
| | | | | |||||
| * | | | feat: added support for pipeline bridges | Alex Zirka | 2020-10-07 | 1 | -0/+12 |
| | |/ | |/| | |||||
* | | | fix(cli): add missing args for project listsfix/cli-project-list-args | Nejc Habjan | 2020-10-08 | 1 | -7/+17 |
|/ / | |||||
* | | Merge pull request #1180 from Shkurupii/add-unittests-for-project-badges | Nejc Habjan | 2020-09-10 | 1 | -0/+210 |
|\ \ | | | | | | | test: add unit tests for badges API | ||||
| * | | test: add unit tests for badges API | Oleksii Shkurupii | 2020-09-07 | 1 | -0/+210 |
| | | | |||||
* | | | fix(api): add missing runner access_level paramfix/runner-access-level | Nejc Habjan | 2020-09-10 | 1 | -0/+1 |
| | | |