Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | chore: fix typo in mr eventsfeat/resource-state-events | Nejc Habjan | 2021-04-18 | 1 | -4/+2 | |
| | | | | ||||||
| * | | | feat(objects): add support for resource state events API | Nejc Habjan | 2021-04-18 | 3 | -0/+30 | |
| | | | | ||||||
| * | | | test(objects): add tests for resource state events | Nejc Habjan | 2021-04-18 | 2 | -0/+115 | |
| | | | | ||||||
| * | | | docs(api): add examples for resource state events | Nejc Habjan | 2021-04-18 | 1 | -0/+42 | |
|/ / / | ||||||
* | | | Merge pull request #1359 from klorenz/feat_token_lookup | Nejc Habjan | 2021-04-18 | 3 | -1/+132 | |
|\ \ \ | | | | | | | | | feat(config): allow using a credential helper to lookup tokens | |||||
| * | | | chore(config): allow simple commands without external script | Kay-Uwe (Kiwi) Lorenz | 2021-04-18 | 2 | -16/+67 | |
| | | | | ||||||
| * | | | chore: make lint happy | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | fix: handling config value in _get_values_from_helper | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -2/+4 | |
| | | | | ||||||
| * | | | fix: update doc for token helper | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -2/+3 | |
| | | | | ||||||
| * | | | fix: let the homedir be expanded in path of helper | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | chore: make lint happy | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -6/+4 | |
| | | | | ||||||
| * | | | chore: make lint happy | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 1 | -13/+22 | |
| | | | | ||||||
| * | | | fix: make secret helper more user friendly | Kay-Uwe (Kiwi) Lorenz | 2021-03-07 | 3 | -21/+63 | |
| | | | | ||||||
| * | | | fix: linting issues and test | Kay-Uwe (Kiwi) Lorenz | 2021-03-06 | 1 | -0/+4 | |
| | | | | ||||||
| * | | | chore: add test | Kay-Uwe (Kiwi) Lorenz | 2021-03-06 | 1 | -0/+11 | |
| | | | | ||||||
| * | | | fix: better real life token lookup example | Kay-Uwe (Kiwi) Lorenz | 2021-03-06 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | feat: option to add a helper to lookup token | Kay-Uwe (Kiwi) Lorenz | 2021-03-06 | 2 | -1/+12 | |
| | | | | ||||||
* | | | | Merge pull request #1375 from JohnVillalovos/jlvillal/update_uses_post | Nejc Habjan | 2021-04-17 | 2 | -2/+27 | |
|\ \ \ \ | | | | | | | | | | | chore: remove usage of getattr() | |||||
| * | | | | chore: remove usage of getattr() | John L. Villalovos | 2021-03-15 | 2 | -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_attrs | Nejc Habjan | 2021-04-17 | 45 | -286/+362 | |
|\ \ \ \ \ | | | | | | | | | | | | | chore: have _create_attrs & _update_attrs be a namedtuple | |||||
| * | | | | | chore: have _create_attrs & _update_attrs be a namedtuple | John L. Villalovos | 2021-04-17 | 45 | -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.x | Nejc Habjan | 2021-04-17 | 1 | -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.x | Renovate Bot | 2021-04-14 | 1 | -1/+1 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #1380 from python-gitlab/renovate/sphinx-3.x | Nejc Habjan | 2021-04-17 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | chore(deps): update dependency sphinx to v3.5.4 | |||||
| * | | | | | | chore(deps): update dependency sphinx to v3.5.4renovate/sphinx-3.x | Renovate Bot | 2021-04-11 | 1 | -1/+1 | |
| | |_|_|_|/ | |/| | | | | ||||||
* | | | | | | chore(deps): update gitlab/gitlab-ce docker tag to v13.10.3-ce.0 | Renovate Bot | 2021-04-14 | 1 | -1/+1 | |
|/ / / / / | ||||||
* | | | | | chore(deps): update gitlab/gitlab-ce docker tag to v13.10.1-ce.0 | Renovate Bot | 2021-03-31 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Merge pull request #1363 from python-gitlab/feat/all-audit-events | Max Wittig | 2021-03-24 | 6 | -25/+98 | |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | Feat: cover all audit events | |||||
| * | | | | feat(objects): add support for group audit events APIfeat/all-audit-events | Nejc Habjan | 2021-03-07 | 4 | -8/+67 | |
| | | | | | ||||||
| * | | | | test(objects): add unit test for instance audit events | Nejc Habjan | 2021-03-07 | 1 | -5/+18 | |
| | | | | | ||||||
| * | | | | chore: import audit events in objects | Nejc Habjan | 2021-03-07 | 1 | -0/+1 | |
| | | | | | ||||||
| * | | | | fix(objects): add single get endpoint for instance audit events | Nejc Habjan | 2021-03-07 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | refactor(objects): move instance audit events where they belong | Nejc Habjan | 2021-03-07 | 2 | -13/+13 | |
| | | | | | ||||||
* | | | | | Merge pull request #1382 from python-gitlab/renovate/docker-compose-1.x | Max Wittig | 2021-03-23 | 1 | -1/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | chore(deps): update dependency docker-compose to v1.28.6 | |||||
| * | | | | | chore(deps): update dependency docker-compose to v1.28.6 | Renovate Bot | 2021-03-23 | 1 | -1/+1 | |
|/ / / / / | ||||||
* | | | | | chore(deps): update gitlab/gitlab-ce docker tag to v13.10.0-ce.0 | Renovate Bot | 2021-03-22 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | chore(deps): update gitlab/gitlab-ce docker tag to v13.9.4-ce.0 | Renovate Bot | 2021-03-17 | 1 | -1/+1 | |
| |_|/ / |/| | | | ||||||
* | | | | Merge pull request #1373 from JacobHenner/jacobhenner/add-package_files | Nejc Habjan | 2021-03-14 | 3 | -3/+104 | |
|\ \ \ \ | |_|/ / |/| | | | feat: add support for Project Package Files | |||||
| * | | | chore: fix package file test naming | Nejc Habjan | 2021-03-14 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | feat: add ProjectPackageFile | Jacob Henner | 2021-03-10 | 3 | -3/+104 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ProjectPackageFile and the ability to list project package package_files. Fixes #1372 | |||||
* | | | | Merge pull request #1371 from JohnVillalovos/jlvillal/create_attrs_1 | Nejc Habjan | 2021-03-14 | 4 | -91/+22 | |
|\ \ \ \ | |/ / / |/| | | | chore: add _create_attrs & _update_attrs to RESTManager | |||||
| * | | | chore: add _create_attrs & _update_attrs to RESTManager | John L. Villalovos | 2021-03-10 | 4 | -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 Wittig | 2021-03-10 | 1 | -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.0 | Renovate Bot | 2021-03-10 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge pull request #1367 from JohnVillalovos/jlvillal/from_parent_attrs | Nejc Habjan | 2021-03-10 | 2 | -15/+9 | |
|\ \ \ | | | | | | | | | fix: checking if RESTManager._from_parent_attrs is set | |||||
| * | | | fix: checking if RESTManager._from_parent_attrs is set | John L. Villalovos | 2021-03-07 | 2 | -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/getattr | Nejc Habjan | 2021-03-07 | 3 | -14/+12 | |
|\ \ \ | |/ / |/| | | chore: make _types always present in RESTManager | |||||
| * | | chore: make _types always present in RESTManager | John L. Villalovos | 2021-03-07 | 3 | -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-everything | Nejc Habjan | 2021-03-07 | 2 | -3/+11 | |
|\ \ | | | | | | | fix: handle tags like debian/2%2.6-21 as identifiers | |||||
| * | | fix: handle tags like debian/2%2.6-21 as identifiers | Emanuele Aina | 2021-03-05 | 2 | -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> |