Commit graph

8464 commits

Author SHA1 Message Date
Sam Chow
13293ecdea Fix dockerfile being able to pass in params
Change config directory to local config_app one
2018-06-12 14:45:00 -04:00
Sam Chow
acf242f241 Port some suconfig/superuser endpoints, with data.model references 2018-06-12 14:45:00 -04:00
Sam Chow
841053f878 Change import paths to be absolute, change pythonpath for config app 2018-06-12 14:44:15 -04:00
Sam Chow
c378e408ef Add some basic endpoints to the config app backend
rename files to avoid overlap with quay app
2018-06-12 14:44:15 -04:00
Sam Chow
d080ca2cc6 Create webpack config for config app
further improve developer morale

get initial angular loading

Add remote css to config index

Starts work to port endpoints into config app

Add the api blueprint
2018-06-12 14:44:15 -04:00
Sam Chow
15c15faf30 Return template from call 2018-06-12 14:44:15 -04:00
Sam Chow
92db413da6 Start moving configapp into separate dir 2018-06-12 14:44:15 -04:00
Sam Chow
81af2d9fcc Use different js bundle with base html 2018-06-12 14:44:11 -04:00
Sam Chow
708b7ee669 Add config flag that only renders new simple page 2018-06-06 10:28:37 -04:00
Joseph Schorr
44bb000fa5
Merge pull request #3106 from quay/catalog-limit
Add limits to the catalog endpoint
2018-06-05 18:26:30 -04:00
Joseph Schorr
ef167ab7e3 Rate limit the catalog endpoint by auth token and IP address 2018-06-05 18:24:31 -04:00
Joseph Schorr
2e0edf8f6e Have catalog endpoint return empty if the namespace is disabled 2018-06-05 17:31:00 -04:00
Jimmy Zelinskie
98ffdf0e84
Merge pull request #3105 from jzelinskie/no-catalog
nginx: temporarily disable catalog for production
2018-06-05 16:08:23 -04:00
Jimmy Zelinskie
e542de7e65 nginx: temporarily disable catalog for production 2018-06-05 16:06:10 -04:00
Brad Ison
74ae168f78
Merge pull request #3103 from bison/ci-cleanup
CI Cleanup
2018-06-05 14:43:43 -04:00
Brad Ison
067f007895
Add Travis CI badge to README.md 2018-06-05 14:35:23 -04:00
Brad Ison
b3982e1d3f
Remove old GitLab CI config 2018-06-05 14:34:04 -04:00
Brad Ison
aceef8e048
Remove old Concourse CI config 2018-06-05 14:33:39 -04:00
Brad Ison
33029ba9d0
Merge pull request #3067 from bison/travis-ci
Add Travis CI build configuration
2018-06-05 14:32:03 -04:00
Brad Ison
e306a375a5
Add Travis CI build configuration 2018-06-05 13:12:21 -04:00
Brad Ison
467a95135c
Combine base and main Dockerfile 2018-06-05 13:12:21 -04:00
Sam Chow
7341466a8b
Merge pull request #3102 from quay/fix-return
Constructor for ValidatorContext should return something
2018-06-05 12:00:50 -04:00
Sam Chow
ce26ded74b Constructor for ValidatorContext returns instance 2018-06-05 11:49:42 -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