Commit graph

9237 commits

Author SHA1 Message Date
Sida Chen
e1651b976e
Merge pull request #3410 from KeyboardNerd/QUAY-1437
Validate service key name using regex
2019-03-14 15:48:11 -04:00
Sida Chen
97f06e3628 Frontend service key name regex check
- Name is checked in the create preshared key form
- Edit friendly name keep prompting until user enters a key that passes
regex
2019-03-14 14:14:16 -04:00
Sida Chen
2a1d226684 Validate service key name on server side
All requests to post or update service key name are enforced to match:
^[\s a-zA-Z0-9\-_:/]*$
2019-03-14 14:14:16 -04:00
Sida Chen
689c26659a
Merge pull request #3411 from KeyboardNerd/small_client_test_fix
Fix old docker client blocked on login issue
2019-03-14 14:10:17 -04:00
Sida Chen
5220120f6a Fix old docker client blocked on login issue 2019-03-14 14:08:54 -04:00
Sida Chen
62ea45b8c5
Merge pull request #3320 from thomasmckay/1279-nginx-conf
1279 - prohibit all DES nginx ciphers
2019-03-14 12:01:51 -04:00
Sida Chen
e7b89f8ab3
Merge pull request #3409 from KeyboardNerd/xss
Fix XSS injection when changing service key friendly name
2019-03-12 18:26:58 -04:00
Sida Chen
9afdf3c299 Fix XSS injection when changing service key friendly name 2019-03-12 18:24:44 -04:00
Sida Chen
ac51954e1f
Merge pull request #3402 from KeyboardNerd/QUAY-1358
Change pg_trgm to be a precondition of pgsql database
2019-03-12 16:24:04 -04:00
Sida Chen
8e830c0bff Fix postgres CI test 2019-03-11 14:42:27 -04:00
Joseph Schorr
21028ab3fa
Merge pull request #3407 from quay/fix-npe-in-tag-expiration
Fix NPE when setting tag to not expire
2019-03-11 13:04:02 -04:00
Joseph Schorr
ac566c7054 Fix NPE when setting tag to not expire 2019-03-11 12:23:51 -04:00
Joseph Schorr
04d6d5696b
Merge pull request #3405 from quay/fix-tag-queries
Fix tag queries for OCI
2019-03-11 12:10:02 -04:00
Sida Chen
b3ca204c85
Merge pull request #3406 from KeyboardNerd/QUAY-1432
Fix UI problem that clair service kid can't be shown
2019-03-11 10:32:18 -04:00
Sida Chen
66691e8a1b Fix UI problem that clair service kid can't be shown 2019-03-08 17:33:57 -05:00
Joseph Schorr
2027d13d2b Change tag history call in OCI to not load the contents of the manifest
Just in case that load is slow on the DB
2019-03-08 14:59:33 -05:00
Joseph Schorr
0d6343871e Change the tags query used for OCI to list tags to be shallow
This removes the join on Manifest which was (possibly) causing the prod issue. We also simplify the lookup for pre-OCI as well, a bit.
2019-03-08 14:07:30 -05:00
Sida Chen
da7413a92e Add more super user registry status tests 2019-03-08 10:28:05 -05:00
Sida Chen
9533dc2981 Remove create extension query from migration 2019-03-08 10:28:05 -05:00
Sida Chen
7985167411 Add precondition check for database validation 2019-03-08 10:28:05 -05:00
Sida Chen
3ecc6574ae Fix missing SETUP_COMPLETE key causing 500 2019-03-08 10:28:05 -05:00
Joseph Schorr
530c0705e9
Merge pull request #3403 from quay/fix-npe-repo-endpoint
Fix an NPE on the repository API endpoint
2019-03-07 14:50:51 -05:00
Joseph Schorr
5d9b522e90 Fix an NPE on the repository API endpoint
Not all tags will have legacy images anymore
2019-03-07 14:40:16 -05:00
Joseph Schorr
23d8ecc3cc
Merge pull request #3401 from quay/fix-oci-tags-ordering
Fix ordering of tags in the OCI model
2019-03-07 13:58:26 -05:00
Joseph Schorr
96072a44c0 Fix ordering of tags in the OCI model
Before this change, we were neglecting to sort the tags by ID, which meant that pagination was broken
2019-03-07 12:53:02 -05:00
Sida Chen
000957ce82
Merge pull request #3400 from KeyboardNerd/fix_client_test
Fix client test unable to load insecure registry config
2019-03-06 15:32:00 -05:00
Sida Chen
136889c7cb Fix client test unable to load insecure registry config 2019-03-06 14:35:57 -05:00
Joseph Schorr
1f7b614905
Merge pull request #3398 from quay/joseph.schorr/QUAY-1342/v1-push-flag
Add ability to restrict V1 push behind a namespace whitelist
2019-03-06 13:34:29 -05:00
Joseph Schorr
b86d389c8e Add ability to restrict V1 push behind a namespace whitelist
Also enables the feature by default with an empty whitelist for QE

Fixes https://jira.coreos.com/browse/QUAY-1342
2019-03-05 17:33:32 -05:00
Joseph Schorr
d3dd2f7b7c
Merge pull request #3397 from quay/joseph.schorr/QUAY-1418/fix-v1-push
Fix V1 push for layers already uploaded
2019-03-05 13:40:19 -05:00
Joseph Schorr
bdae32630e Fix V1 push for layers already uploaded 2019-03-05 12:13:01 -05:00
Sida Chen
79a115b01d
Merge pull request #3391 from KeyboardNerd/cert_on_client_tests
Add support to verify TLS on client tests
2019-03-04 15:34:47 -05:00
Sida Chen
3edbd6caf6
Merge pull request #3396 from KeyboardNerd/QUAY-1227
Mount SSL certs in config_app if given
2019-03-04 14:16:26 -05:00
Sida Chen
c8dd36dcc6 Mount SSL certs in config_app if given
Fixes https://jira.coreos.com/browse/QUAY-1227
2019-03-04 14:06:00 -05:00
Joseph Schorr
393b5dff9d
Merge pull request #3395 from quay/joseph.schorr/QUAY-1385/remove-superuser-req
Remove requirement for superuser when loading existing config
2019-03-04 13:53:56 -05:00
Joseph Schorr
9b23c7a174 Remove requirement for superuser when loading existing config 2019-03-04 13:28:40 -05:00
Sida Chen
2819c264cd
Merge pull request #3393 from KeyboardNerd/wtf
Remove wtf
2019-03-01 18:33:53 -05:00
Sida Chen
09b37f10aa Add support to verify TLS on client tests 2019-03-01 15:38:24 -05:00
Sida Chen
20f93a6805 Remove wtf 2019-03-01 15:32:39 -05:00
Joseph Schorr
c7fe467cc8
Merge pull request #3392 from quay/squashed-additional-logging
Add additional logging information to squashed image exception
2019-03-01 13:04:42 -05:00
Joseph Schorr
ef13fd06e0 Add additional logging information to squashed image exception 2019-03-01 12:53:03 -05:00
Joseph Schorr
26b1aef33e
Merge pull request #3390 from quay/joseph.schorr/QUAY-1383/change-logo
Update references from CoreOS to Red Hat
2019-03-01 11:32:29 -05:00
Joseph Schorr
4a42d782a6
Merge pull request #3389 from quay/joseph.schorr/QUAY-1176/remove-default-support
Remove pre-defined Quay.io specific contact information
2019-02-28 15:54:37 -05:00
Joseph Schorr
dcf6a68af8 Update references from CoreOS to Red Hat 2019-02-28 15:53:45 -05:00
Joseph Schorr
b9ec390ff6 Remove pre-defined Quay.io specific contact information
Fixes https://jira.coreos.com/browse/QUAY-1176
2019-02-28 15:40:23 -05:00
Joseph Schorr
9d3543a353
Merge pull request #3315 from quay/joseph.schorr/QUAY-1266/manifestlist-validation
Add architecture validation to manifest lists that contain schema 1 manifests
2019-02-27 18:32:21 -05:00
Joseph Schorr
dbe64c8327
Merge pull request #3386 from quay/joseph.schorr/QUAY-1352/storage-proxy
Add storage proxy option into the configuration tool
2019-02-27 16:59:24 -05:00
Joseph Schorr
17c624e596 Add storage proxy option into the configuration tool 2019-02-27 16:44:43 -05:00
Joseph Schorr
e78e021ea6
Merge pull request #3385 from quay/external-lib-retry
Add automatic retry to external lib downloader
2019-02-26 16:26:45 -05:00
Joseph Schorr
ab3a1983f9 Add automatic retry to external lib downloader 2019-02-26 16:21:24 -05:00