summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | chore: fix typo in mr eventsfeat/resource-state-eventsNejc Habjan2021-04-181-4/+2
| | | |
| * | | feat(objects): add support for resource state events APINejc Habjan2021-04-183-0/+30
| | | |
| * | | test(objects): add tests for resource state eventsNejc Habjan2021-04-182-0/+115
| | | |
| * | | docs(api): add examples for resource state eventsNejc Habjan2021-04-181-0/+42
|/ / /
* | | Merge pull request #1359 from klorenz/feat_token_lookupNejc Habjan2021-04-183-1/+132
|\ \ \ | | | | | | | | feat(config): allow using a credential helper to lookup tokens
| * | | chore(config): allow simple commands without external scriptKay-Uwe (Kiwi) Lorenz2021-04-182-16/+67
| | | |
| * | | chore: make lint happyKay-Uwe (Kiwi) Lorenz2021-03-071-1/+2
| | | |
| * | | fix: handling config value in _get_values_from_helperKay-Uwe (Kiwi) Lorenz2021-03-071-2/+4
| | | |
| * | | fix: update doc for token helperKay-Uwe (Kiwi) Lorenz2021-03-071-2/+3
| | | |
| * | | fix: let the homedir be expanded in path of helperKay-Uwe (Kiwi) Lorenz2021-03-071-1/+2
| | | |
| * | | chore: make lint happyKay-Uwe (Kiwi) Lorenz2021-03-071-6/+4
| | | |
| * | | chore: make lint happyKay-Uwe (Kiwi) Lorenz2021-03-071-13/+22
| | | |
| * | | fix: make secret helper more user friendlyKay-Uwe (Kiwi) Lorenz2021-03-073-21/+63
| | | |
| * | | fix: linting issues and testKay-Uwe (Kiwi) Lorenz2021-03-061-0/+4
| | | |
| * | | chore: add testKay-Uwe (Kiwi) Lorenz2021-03-061-0/+11
| | | |
| * | | fix: better real life token lookup exampleKay-Uwe (Kiwi) Lorenz2021-03-061-1/+1
| | | |
| * | | feat: option to add a helper to lookup tokenKay-Uwe (Kiwi) Lorenz2021-03-062-1/+12
| | | |
* | | | Merge pull request #1375 from JohnVillalovos/jlvillal/update_uses_postNejc Habjan2021-04-172-2/+27
|\ \ \ \ | | | | | | | | | | chore: remove usage of getattr()
| * | | | chore: remove usage of getattr()John L. Villalovos2021-03-152-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove usage of getattr(self, "_update_uses_post", False) Instead add it to class and set default value to False. Add a tests that shows it is set to True for the ProjectMergeRequestApprovalManager and ProjectApprovalManager classes.
* | | | | Merge pull request #1366 from JohnVillalovos/jlvillal/create_attrsNejc Habjan2021-04-1745-286/+362
|\ \ \ \ \ | | | | | | | | | | | | chore: have _create_attrs & _update_attrs be a namedtuple
| * | | | | chore: have _create_attrs & _update_attrs be a namedtupleJohn L. Villalovos2021-04-1745-286/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert _create_attrs and _update_attrs to use a NamedTuple (RequiredOptional) to help with code readability. Update all code to use the NamedTuple.
* | | | | | Merge pull request #1391 from python-gitlab/renovate/docker-compose-1.xNejc Habjan2021-04-171-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | chore(deps): update dependency docker-compose to v1.29.1
| * | | | | | chore(deps): update dependency docker-compose to v1.29.1renovate/docker-compose-1.xRenovate Bot2021-04-141-1/+1
| | | | | | |
* | | | | | | Merge pull request #1380 from python-gitlab/renovate/sphinx-3.xNejc Habjan2021-04-171-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | chore(deps): update dependency sphinx to v3.5.4
| * | | | | | chore(deps): update dependency sphinx to v3.5.4renovate/sphinx-3.xRenovate Bot2021-04-111-1/+1
| | |_|_|_|/ | |/| | | |
* | | | | | chore(deps): update gitlab/gitlab-ce docker tag to v13.10.3-ce.0Renovate Bot2021-04-141-1/+1
|/ / / / /
* | | | | chore(deps): update gitlab/gitlab-ce docker tag to v13.10.1-ce.0Renovate Bot2021-03-311-1/+1
| | | | |
* | | | | Merge pull request #1363 from python-gitlab/feat/all-audit-eventsMax Wittig2021-03-246-25/+98
|\ \ \ \ \ | |_|_|_|/ |/| | | | Feat: cover all audit events
| * | | | feat(objects): add support for group audit events APIfeat/all-audit-eventsNejc Habjan2021-03-074-8/+67
| | | | |
| * | | | test(objects): add unit test for instance audit eventsNejc Habjan2021-03-071-5/+18
| | | | |
| * | | | chore: import audit events in objectsNejc Habjan2021-03-071-0/+1
| | | | |
| * | | | fix(objects): add single get endpoint for instance audit eventsNejc Habjan2021-03-071-1/+1
| | | | |
| * | | | refactor(objects): move instance audit events where they belongNejc Habjan2021-03-072-13/+13
| | | | |
* | | | | Merge pull request #1382 from python-gitlab/renovate/docker-compose-1.xMax Wittig2021-03-231-1/+1
|\ \ \ \ \ | | | | | | | | | | | | chore(deps): update dependency docker-compose to v1.28.6
| * | | | | chore(deps): update dependency docker-compose to v1.28.6Renovate Bot2021-03-231-1/+1
|/ / / / /
* | | | | chore(deps): update gitlab/gitlab-ce docker tag to v13.10.0-ce.0Renovate Bot2021-03-221-1/+1
| | | | |
* | | | | chore(deps): update gitlab/gitlab-ce docker tag to v13.9.4-ce.0Renovate Bot2021-03-171-1/+1
| |_|/ / |/| | |
* | | | Merge pull request #1373 from JacobHenner/jacobhenner/add-package_filesNejc Habjan2021-03-143-3/+104
|\ \ \ \ | |_|/ / |/| | | feat: add support for Project Package Files
| * | | chore: fix package file test namingNejc Habjan2021-03-141-1/+1
| | | |
| * | | feat: add ProjectPackageFileJacob Henner2021-03-103-3/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ProjectPackageFile and the ability to list project package package_files. Fixes #1372
* | | | Merge pull request #1371 from JohnVillalovos/jlvillal/create_attrs_1Nejc Habjan2021-03-144-91/+22
|\ \ \ \ | |/ / / |/| | | chore: add _create_attrs & _update_attrs to RESTManager
| * | | chore: add _create_attrs & _update_attrs to RESTManagerJohn L. Villalovos2021-03-104-91/+22
|/ / / | | | | | | | | | | | | | | | | | | Add the attributes: _create_attrs and _update_attrs to the RESTManager class. This is so that we stop using getattr() if we don't need to. This also helps with type-hints being available for these attributes.
* | | Merge pull request #1369 from ↵Max Wittig2021-03-101-1/+1
|\ \ \ | | | | | | | | | | | | | | | | python-gitlab/renovate/docker-gitlab-gitlab-ce-13.x chore(deps): update gitlab/gitlab-ce docker tag to v13.9.3-ce.0
| * | | chore(deps): update gitlab/gitlab-ce docker tag to v13.9.3-ce.0Renovate Bot2021-03-101-1/+1
|/ / /
* | | Merge pull request #1367 from JohnVillalovos/jlvillal/from_parent_attrsNejc Habjan2021-03-102-15/+9
|\ \ \ | | | | | | | | fix: checking if RESTManager._from_parent_attrs is set
| * | | fix: checking if RESTManager._from_parent_attrs is setJohn L. Villalovos2021-03-072-15/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to commit 3727cbd21fc40b312573ca8da56e0f6cf9577d08 RESTManager._from_parent_attrs did not exist unless it was explicitly set. But commit 3727cbd21fc40b312573ca8da56e0f6cf9577d08 set it to a default value of {}. So the checks using hasattr() were no longer valid. Update the checks to check if RESTManager._from_parent_attrs has a value.
* | | Merge pull request #1365 from JohnVillalovos/jlvillal/getattrNejc Habjan2021-03-073-14/+12
|\ \ \ | |/ / |/| | chore: make _types always present in RESTManager
| * | chore: make _types always present in RESTManagerJohn L. Villalovos2021-03-073-14/+12
|/ / | | | | | | | | | | | | | | | | | | We now create _types = {} in RESTManager class. By making _types always present in RESTManager it makes the code simpler. We no longer have to do: types = getattr(self, "_types", {}) And the type checker now understands the type.
* | Merge pull request #1336 from em-/fix/quote-everythingNejc Habjan2021-03-072-3/+11
|\ \ | | | | | | fix: handle tags like debian/2%2.6-21 as identifiers
| * | fix: handle tags like debian/2%2.6-21 as identifiersEmanuele Aina2021-03-052-3/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git refnames are relatively free-form and can contain all sort for special characters, not just `/` and `#`, see http://git-scm.com/docs/git-check-ref-format In particular, Debian's DEP-14 standard for storing packaging in git repositories mandates the use of the `%` character in tags in some cases like `debian/2%2.6-21`. Unfortunately python-gitlab currently only escapes `/` to `%2F` and in some cases `#` to `%23`. This means that when using the commit API to retrieve information about the `debian/2%2.6-21` tag only the slash is escaped before being inserted in the URL path and the `%` is left untouched, resulting in something like `/api/v4/projects/123/repository/commits/debian%2F2%2.6-21`. When urllib3 seees that it detects the invalid `%` escape and then urlencodes the whole string, resulting in `/api/v4/projects/123/repository/commits/debian%252F2%252.6-21`, where the original `/` got escaped twice and produced `%252F`. To avoid the issue, fully urlencode identifiers and parameters to avoid the urllib3 auto-escaping in all cases. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>