Commit graph

8716 commits

Author SHA1 Message Date
Joseph Schorr
9e16a989f5 Audit the number of SQL queries we make in writing manifests, and significantly reduce in the common case
Instead of 41 queries now for the simple manifest, we are down to 14.

The biggest changes:
  - Only synthesize the V1 image rows if we haven't already found them in the database
  - Thread the repository object through to the other model method calls, and use it instead of loading again and again
2018-01-25 11:10:43 -05:00
IvanCherepov
c228734978
Generates HTML documentation explaining all of configuration fields (#2952)
* create HTML documentation explaining all of schema's configuration fields
2018-01-24 14:09:29 -05:00
josephschorr
e2c1547df6
Merge pull request #2980 from coreos-inc/joseph.schorr/QS-125/dot-names
Disallow dots in repository names to fix reflected text "attack"
2018-01-23 14:51:23 -05:00
josephschorr
713fdd988e
Merge pull request #2981 from coreos-inc/delete-expired-app-token
Allow expired app specific tokens to be deleted
2018-01-23 12:15:15 -05:00
Joseph Schorr
208dc38d25 Allow expired app specific tokens to be deleted 2018-01-23 11:40:51 -05:00
Joseph Schorr
ede3a81c68 Disallow dots in repository names to fix reflected text "attack"
Fixes https://jira.coreos.com/browse/QS-125
2018-01-18 13:19:37 -05:00
josephschorr
b29e8202e5
Merge pull request #2977 from coreos-inc/joseph.schorr/QS-121/gunicorn-health
Add instance health checks for all gunicorn workers
2018-01-16 11:31:22 -05:00
Joseph Schorr
e91b83e1be Add instance health checks for all gunicorn workers
Fixes https://jira.coreos.com/browse/QS-121
2018-01-16 11:29:40 -05:00
josephschorr
f6e71fc7f5
Merge pull request #2979 from coreos-inc/joseph.schorr/QS-120/appr-fix
Fix 500 exception when sending a non-string release name to appr
2018-01-13 21:29:27 -05:00
Joseph Schorr
a32edb646d Fix 500 exception when sending a non-string release name to appr
Fixes https://jira.coreos.com/browse/QS-120
2018-01-12 17:14:05 -05:00
josephschorr
18f1ccf80b
Merge pull request #2976 from coreos-inc/joseph.schorr/QS-119/expiration-status-view-typo
Fix typo in expiration status view
2018-01-11 17:35:30 -05:00
josephschorr
bff96d31db
Merge pull request #2975 from coreos-inc/db-logging
Extend our logs about whether we are using connection pooling for a DB
2018-01-11 17:31:40 -05:00
Joseph Schorr
f726e8c972 Fix typo in expiration status view
Fixes https://jira.coreos.com/browse/QS-119
2018-01-11 17:29:48 -05:00
Joseph Schorr
3bc5840496 Extend our logs about whether we are using connection pooling for a DB 2018-01-11 16:43:46 -05:00
josephschorr
4f47808e99
Merge pull request #2971 from coreos-inc/joseph.schorr/QS-109/nginx-auto-scale
Change worker processes to be auto set based on CPU count
2018-01-10 14:48:09 -05:00
Joseph Schorr
f4f51934ef Linter fixes for cloudfront storage 2018-01-10 13:16:41 -05:00
josephschorr
8360bdb893
Merge pull request #2972 from coreos-inc/joseph.schorr/QS-115/hide-commit-info-incomplete
Hide trigger information that isn't present
2018-01-10 11:23:54 -05:00
Joseph Schorr
20b9a40585 Hide trigger information that isn't present
Fixes https://jira.coreos.com/browse/QS-115
2018-01-10 11:20:35 -05:00
Joseph Schorr
9f996a8745 Change worker processes to be auto set based on CPU count
Fixes https://jira.coreos.com/browse/QS-109
2018-01-10 11:10:57 -05:00
josephschorr
82db86ad3f
Merge pull request #2970 from coreos-inc/joseph.schorr/QS-114/ldap-password
Change LDAP password field to be a password field
2018-01-09 16:33:11 -05:00
Joseph Schorr
dfb436a3ce Change LDAP password field to be a password field
Fixes https://jira.coreos.com/browse/QS-114
2018-01-09 16:31:52 -05:00
josephschorr
a7e7cdcef3
Merge pull request #2969 from coreos-inc/2.7.0-changelog
CHANGELOG for v2.7.0
2018-01-09 12:47:47 -05:00
Joseph Schorr
c72a9db1f8 CHANGELOG for v2.7.0 2018-01-09 12:47:16 -05:00
josephschorr
b17c05fbd5
Merge pull request #2968 from coreos-inc/joseph.schorr/QS-110/user-login-lock
Reduce lock contention on invalid user login calls
2018-01-09 12:41:00 -05:00
Joseph Schorr
81be47486c Reduce lock contention on invalid user login calls
Fixes https://jira.coreos.com/browse/QS-110
2018-01-08 16:57:50 -05:00
josephschorr
006e230ba4
Merge pull request #2955 from coreos-inc/joseph.schorr/QS-102/superuser-delete
Change superuser API errors to be more descriptive
2018-01-05 17:34:25 -05:00
Joseph Schorr
c887aa543b Change superuser API errors to be more descriptive
Fixes https://jira.coreos.com/browse/QS-103
2018-01-05 17:09:26 -05:00
josephschorr
13b738c43c
Merge pull request #2954 from coreos-inc/joseph.schorr/QS-102/user-api-filter
Add ability to filter users list to enabled users
2018-01-05 15:40:50 -05:00
josephschorr
5286fd63b0
Merge pull request #2953 from coreos-inc/joseph.schorr/QS-101/discovery-anon
Allow anonymous access to the discovery endpoint
2018-01-05 15:40:39 -05:00
josephschorr
d8fde005d8
Merge pull request #2961 from coreos-inc/joseph.schorr/QS-107/create-repo-opt
Small optimizations around create repository code
2018-01-05 15:40:30 -05:00
josephschorr
cfeeed464e
Merge pull request #2966 from coreos-inc/creds-dialog-title
Have the credentials dialog use the title, if one is specified
2018-01-05 14:12:42 -05:00
Joseph Schorr
16c16371f4 Have the credentials dialog use the title, if one is specified 2018-01-05 14:10:54 -05:00
josephschorr
e77f4df37a
Merge pull request #2965 from coreos-inc/expanded-tag
Add the image ID to the expanded state in the tags view
2018-01-05 14:05:44 -05:00
Joseph Schorr
ace6a35707 Add the image ID to the expanded state in the tags view 2018-01-05 14:03:40 -05:00
josephschorr
7f5236b0cc
Merge pull request #2964 from coreos-inc/fix-script-perm
Fix permissions on disable-aws-metadata script
2018-01-05 13:28:40 -05:00
Joseph Schorr
d323758d95 Fix permissions on disable-aws-metadata script 2018-01-05 13:26:59 -05:00
IvanCherepov
fd5e2f3cdf
change href link with a wrong email to just sales email address (#2960) 2018-01-05 12:50:26 -05:00
josephschorr
1b5acb85ae
Merge pull request #2962 from coreos-inc/backport-2.6.2
Back port the changelog for 2.6.2 in prep for 2.7.0
2018-01-04 16:25:27 -05:00
Joseph Schorr
6bb6b7154b Back port the changelog for 2.6.2 in prep for 2.7.0 2018-01-04 16:23:12 -05:00
josephschorr
e01fb45dd8
Merge pull request #2942 from coreos-inc/joseph.schorr/QS-75/cli-tokens
Add support for app specific tokens to Quay
2018-01-04 16:00:28 -05:00
Joseph Schorr
6a876a6b73 Change title to be UTF8 2018-01-04 15:27:42 -05:00
Joseph Schorr
888b564a9b Add a banner to the Quay UI when an app specific token is about to expire 2018-01-04 15:27:42 -05:00
Joseph Schorr
5b4f5f9859 Regenerate test DB for token changes 2018-01-04 15:27:41 -05:00
Joseph Schorr
2214a2c7ad Disable fresh login check in auth engines that won't support it 2018-01-04 15:27:41 -05:00
Joseph Schorr
524d77f527 Add an AppSpecificAuthToken data model for app-specific auth tokens. These will be used for the Docker CLI in place of username+password 2018-01-04 15:27:41 -05:00
Joseph Schorr
3f99e864e1 Reduce the number of DB queries for creating a repo 2018-01-04 14:32:39 -05:00
josephschorr
53b762a875
Merge pull request #2959 from coreos-inc/pricing-faq
Add data transfer limits FAQ
2018-01-04 13:57:10 -05:00
Joseph Schorr
d97e04d23f Add data transfer limits FAQ 2018-01-04 13:50:45 -05:00
Joseph Schorr
1e1bec0afe Remove extra update call on create repo 2018-01-04 13:42:05 -05:00
josephschorr
da3f047486
Merge pull request #2958 from coreos-inc/joseph.schorr/QS-106/log-trimming
A bit of cleanup of our logging
2018-01-04 13:28:24 -05:00