1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Joseph Schorr
d59cdafdde Stop relying on GitHub's admin permissions for a repository (#285)
It appears GitHub has narrowed the permissions returned, so while we
might still have the ability to admin the *repo*, the permissions
list is returning `false`, so we disallow people to create triggers,
which is wrong.

Fixes https://issues.redhat.com/browse/PROJQUAY-523
2020-03-26 14:08:10 -04:00
Joseph Schorr
4a6cacb06d Change GitHub calls to pass client_id and secret in the Auth header
This is a required change, as GitHub is deprecating the query parameters in a few months. See https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/ for details.

Fixes https://issues.redhat.com/browse/PROJQUAY-268
2020-02-19 13:21:39 -05:00
alecmerdler
3dd5f045ff fix all the docstrings 2020-02-05 19:55:07 -08:00
Joseph Schorr
f3c887899a Merge pull request #134 from josephschorr/joseph.schorr/QUAY-1747/better-tagging
Add better tagging options for build triggers.
2020-02-04 13:31:57 -05:00
Kurtis Mullins
1b2d29d1e8 Revert "Revert "Remove the active migration for encrypted tokens now that it is complete"" 2020-01-27 11:22:22 -05:00
Joseph Schorr
22ad056192 Add better tagging options for build triggers.
Users can now configure whether they want the default tagging options enabled (tag `latest` for the default branch, and tag with the git branch or tag name), and can also specify custom tags, including static tags and dynamic templated tags.

Fixes https://jira.coreos.com/browse/QUAY-1747
2020-01-23 15:45:55 -05:00
Kurtis Mullins
90d0dbf3fb Revert "Remove the active migration for encrypted tokens now that it is complete" 2020-01-21 11:53:54 -05:00
Joseph Schorr
883a415dc4 Remove the active migration for encrypted tokens now that it is complete
Fixes https://issues.redhat.com/browse/PROJQUAY-185
2020-01-20 14:51:51 -05:00
Joseph Schorr
f43fbe00ce Catch further exception type when attempting to auth to Gitlab
Fixes https://issues.redhat.com/browse/QUAY-2100
2019-12-23 11:52:59 +02:00
Joseph Schorr
14175826c2 Fix deactivation of Gitlab triggers with invalid tokens
We were trying to get an authorized client, which is failing. In such a scenario, just delete the trigger.

Fixes https://issues.jboss.org/browse/PROJQUAY-35
2019-12-02 15:33:58 -05:00
Tom McKay
e6ae94db8b 'make black' results 2019-12-02 12:23:08 -05:00
Jimmy Zelinskie
9c0dd3b722 initial import for Open Source 🎉 2019-11-12 11:09:47 -05:00