Commit graph

8592 commits

Author SHA1 Message Date
Joseph Schorr
65f08c25cf Make spec'ed tests stable across runs
This was preventing us from running tests in parallel, since the names were changing
2018-06-01 17:06:43 -04:00
Sam Chow
7f21d0da58
Merge pull request #3096 from quay/refactor/secscan-simple
Refactor validators to decouple app
2018-06-01 15:44:18 -04:00
Sam Chow
301cc6992a Remove jwt validation for jschorr to fix later
Refactor oauth validate method to take config over entire appconfig
2018-06-01 15:07:06 -04:00
Sam Chow
7df8ed4a60 Add a security scanner api config object for params
Change SecScanAPI to use a uri creation func instead of test context

Pass config provider through validator context

Remove app config dependency for validators
2018-06-01 15:06:50 -04:00
Sam Chow
554d4f47a8 Change validators to use the validator_context
Change InstanceKeys to take a namedtuple for context
2018-06-01 14:59:49 -04:00
Joseph Schorr
835caecf7c
Merge pull request #3100 from quay/joseph.schorr/QUAY-815/empty-irc
Fix config setup tool contact field to allow removal of empty non-URL fields
2018-06-01 13:53:40 -04:00
Joseph Schorr
d6fd2fcb8f Fix config setup tool contact field to allow removal of empty non-URL fields
We just need to clear the binding when the value entered is completely empty

Fixes https://jira.coreos.com/browse/QUAY-815
2018-06-01 13:50:39 -04:00
Joseph Schorr
4978edd0a3
Merge pull request #3099 from quay/joseph.schorr/QUAY-914/confirm-username-flag
Add feature flag to disable username confirmation
2018-06-01 13:34:09 -04:00
Joseph Schorr
b2262eaf46 Add feature flag to disable username confirmation
Fixes https://jira.coreos.com/browse/QUAY-914
2018-06-01 13:30:50 -04:00
Joseph Schorr
81ea73ce0d
Merge pull request #3098 from quay/joseph.schorr/QUAY-857/starred-repos
Show starred public repositories in the starred repos list
2018-06-01 11:31:11 -04:00
Joseph Schorr
8ee98c1c48 Show starred public repositories in the starred repos list
We forgot to check if the repository was public in the filter

Fixes https://jira.coreos.com/browse/QUAY-857
2018-05-31 17:34:17 -04:00
Joseph Schorr
9d30a0a216
Merge pull request #3097 from quay/joseph.schorr/QUAY-802/log-version
Add version information to Quay on startup
2018-05-31 17:05:33 -04:00
Joseph Schorr
3f1bfc3d9a Add version information to Quay on startup
Fixes https://jira.coreos.com/browse/QUAY-802
2018-05-31 17:01:09 -04:00
Sam Chow
e967fde3ae Decouple oauth methods from app with a namedtuple 2018-05-31 14:53:27 -04:00
Joseph Schorr
79258fc498
Merge pull request #3095 from quay/joseph.schorr/QUAY-957/catch-exc
Fix exception in storage replication worker
2018-05-31 14:08:44 -04:00
Joseph Schorr
52ddf6a308 Fix exception in storage replication worker
Fixes https://jira.coreos.com/browse/QUAY-957
2018-05-31 13:58:04 -04:00
Sam Chow
d45b925155 Move config provider to _init to decouple from app
remove app references from validators
2018-05-25 11:15:06 -04:00
Joseph Schorr
86929c16d3
Merge pull request #3092 from quay/joseph.schorr/QUAY-949/image-tracks
Image track improvements
2018-05-23 16:25:48 -04:00
Joseph Schorr
b106a31b05 Improvements for the image tracks in the tags view
1) Change to show solid dots (instead of open ones) if we are collapsing into a single track due to track count being > 5
2) Add a hover tooltip on track dots to show the tags associated with that image
3) Change the tag selection menu to only show images that are visible currently
4) Refactor the tracks code to massively reduce the amount of ng-repeats thus making the loading much faster when there are many, many tags

Fixes https://jira.coreos.com/browse/QUAY-949
2018-05-23 16:14:27 -04:00
Joseph Schorr
52a53f5ce2 Update angularstrap lib 2018-05-23 16:12:41 -04:00
Sam Chow
dff05f38c1
Merge pull request #3090 from quay/styling-digest
Add confirmation modal to desktop notifications toggle & change styling for button
2018-05-23 11:36:02 -04:00
Sam Chow
0cddf98b1f Change styling and add digest cycle to notifications req button
Added confirmation modals to enable/disable notifactions
2018-05-23 11:35:22 -04:00
Joseph Schorr
c7ac0aa64b
Merge pull request #3091 from quay/joseph.schorr/QUAY-869/repo-disable
Prevent registry operations against disabled namespaces
2018-05-22 20:45:33 -04:00
Joseph Schorr
f86c087b3b Prevent registry operations against disabled namespaces
Allows admins to completely wall off a namespace by disabling it

Fixes https://jira.coreos.com/browse/QUAY-869
2018-05-22 18:36:04 -04:00
Joseph Schorr
6ffafe44d3
Merge pull request #3059 from quay/joseph.schorr/QUAY-906/reg-tests
Move registry integration tests to py.test
2018-05-22 17:09:11 -04:00
Joseph Schorr
5509dd350c Switch to use the new registry tests suite 2018-05-22 17:06:41 -04:00
Joseph Schorr
a875eac350
Merge pull request #3089 from quay/joseph.schorr/QUAY-910/team-sync-disabled
Allow team syncing if user creation is disabled
2018-05-22 15:24:47 -04:00
Joseph Schorr
861e81cccd Allow team syncing if user creation is disabled
Before this change, if user creation was disabled, team sync would fail to sync over users that had not yet been invited/logged in, because their accounts could not be created. Following this change, team syncing of users not yet in the system will create those user accounts, allowing users to be "auto invited" via team sync.

Fixes https://jira.coreos.com/browse/QUAY-910
2018-05-22 14:09:40 -04:00
Joseph Schorr
2e403633b0
Merge pull request #3088 from quay/joseph.schorr/QUAY-940/url-join-libn
Change to using a lib to build URLs
2018-05-22 14:05:21 -04:00
josephschorr
0c1b13828f
Merge pull request #3043 from quay/joseph.schorr/QUAY-897/manifest-focus
Change from image view UI to manifest view UI
2018-05-22 13:23:55 -04:00
Joseph Schorr
fc6eb71ab1 Switch from an image view UI to a manifest view UI
We no longer allow viewing individual images, but instead only manifests. This will help with the transition to Clair V3 (which is manifest based) and, eventually, the the new data model (which will also be manifest based)
2018-05-22 13:11:04 -04:00
Joseph Schorr
d41dcaae23 Rename image-link into manifest-link, and change to typescript, in prep for the UI changes to link to manifests 2018-05-22 13:11:04 -04:00
Joseph Schorr
648590c356 Change from manual URL construction to using a lib
Makes the code cleaner to read and more resilient to changes

Fixes https://jira.coreos.com/browse/QUAY-940
2018-05-22 13:10:09 -04:00
Joseph Schorr
e33760fcd2 Removed unused code 2018-05-22 13:10:09 -04:00
josephschorr
58c2ddac98
Merge pull request #3087 from quay/joseph.schorr/QUAY-943/temp-logs-migrate
Temporarily change to storing logs in a new LogEntry2 table
2018-05-18 20:35:25 -04:00
Joseph Schorr
a007332d4c Temporarily change to storing logs in a new LogEntry2 table
This will prevent us from running out of auto-incrementing ID values until such time as we can upgrade to peewee 3 and change the field type to a BigInt

Fixes https://jira.coreos.com/browse/QUAY-943
2018-05-18 20:15:16 -04:00
josephschorr
2e1a3c7184
Merge pull request #3086 from quay/joseph.schorr/QUAY-942/swift-delete-fix
Have Swift storage delete segments when deleting dynamic large objects
2018-05-17 22:08:48 -04:00
Joseph Schorr
57523d22de Have Swift storage delete segments when deleting dynamic large objects
This ensures that we reclaim the space, rather than simply deleting the manifest

Fixes https://jira.coreos.com/browse/QUAY-942
2018-05-16 16:01:49 -04:00
josephschorr
66b4e45929
Merge pull request #3085 from quay/2.9.2-release
CHANGELOG for v2.9.2
2018-05-16 11:03:18 -04:00
Joseph Schorr
e66a3a98c4 CHANGELOG for v2.9.2 2018-05-16 10:36:30 -04:00
josephschorr
42d749a634
Merge pull request #3084 from quay/fix-authorize-url
Fix authorize URL for Gitlab OAuth
2018-05-15 18:31:48 -04:00
Joseph Schorr
421f59e1ff Fix authorize URL for Gitlab OAuth
We now add the ? on the server side, so it should be removed on the client side
2018-05-15 18:18:48 -04:00
josephschorr
fda8d65942
Merge pull request #3083 from quay/notification-robots
Notifications can target robots, but the model did not reflect that
2018-05-15 16:22:02 -04:00
Joseph Schorr
f5fafc480f Notifications can target robots, but the model did not reflect that
This fixes a breakage when deleting robots that have notifications targeting them.
2018-05-15 16:19:46 -04:00
josephschorr
93165a7273
Merge pull request #3081 from quay/fix-oidc-redirect
Fix bug with missing & in authorization URL for OIDC
2018-05-15 16:08:50 -04:00
josephschorr
0c3b6d5b1a
Merge pull request #3082 from quay/migrate-logs-caching
Add some additional caching and logs to the robot cleanup migration
2018-05-15 15:35:59 -04:00
Joseph Schorr
ad1da86986 Add some additional caching and logs to the robot cleanup migration 2018-05-15 15:34:54 -04:00
Joseph Schorr
22a39c3007 Fix bug with missing & in authorization URL for OIDC
Also adds testing to ensure we don't break this again
2018-05-15 14:52:00 -04:00
josephschorr
58612955d6
Merge pull request #3079 from quay/joseph.schorr/QUAY-927/robots-limit
Limit robots displayed in entity search
2018-05-15 13:59:48 -04:00
josephschorr
6780a1f06b
Merge pull request #3077 from quay/joseph.schorr/QUAY-931/log-slowdown
Logs slowdown fixes
2018-05-15 13:28:05 -04:00