Commit graph

7618 commits

Author SHA1 Message Date
Alec Merdler
91d2cb1ec1 Merge pull request #2736 from alecmerdler/fix-remove-typings
Remove References to Typings Package
2017-06-27 14:44:27 -07:00
alecmerdler
ae0ed04621 remove reference to typings NPM package in Dockerfile 2017-06-27 12:05:17 -07:00
Alec Merdler
7ffbd31174 Merge pull request #2717 from alecmerdler/tslint
TSLint
2017-06-27 11:49:36 -07:00
Joseph Schorr
aba2805016 Add conf/stack and static/build to .dockerignore
If they get included into the container by accident, everything starts exploding
2017-06-27 21:40:20 +03:00
alecmerdler
41e7e559a6 added TSLint for TypeScript code style checking, fixed associated errors 2017-06-27 11:37:13 -07:00
Charlton Austin
337b68abdc style(endpoints/api/tag*): ran yapf
### Description of Changes

Issue: https://coreosdev.atlassian.net/browse/QUAY-632

## Reviewer Checklist

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-06-27 14:24:23 -04:00
Charlton Austin
941cb4b4ee refactor(endpoints/api/tag*): adding in new support for tags api
this creates an interface for hidding details of the data model for pre oci and post oci code

Issue: https://coreosdev.atlassian.net/browse/QUAY-632

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-06-27 13:53:11 -04:00
josephschorr
6a7722cadb Merge pull request #2731 from coreos-inc/notification-enable-event
Fix log for reenabling a notification
2017-06-27 18:36:25 +03:00
Joseph Schorr
8dcea30d58 Fix build by pre-calling the caches
They were being called in a test-dependent order, which caused any tests which relied on query count to fail
2017-06-27 18:11:46 +03:00
Joseph Schorr
cdd7cb9321 Remove directly referenced images from the candidate set before starting GC iteration
Makes the lookup query underneath the transaction smaller if there are a lot of images referenced directly by tag. We still must do the direct referenced check within the transaction, but this should reduce the scope of the search space a bit.
2017-06-27 17:33:58 +03:00
Joseph Schorr
45c7008078 Change Repo GC to be iterative
This prevents us from creating a massive join when there are a large number of tags in the repository, which can result in locking the entire DB for long periods of time. Instead of the join, we just iteratively lookup any images found to be directly referenced by a tag or found as a parent of another image, both of which should be indexed lookups. Once done, we only remove those images and then iterate until the working set stops changing.
2017-06-27 17:33:58 +03:00
Joseph Schorr
e9a95874ee Move GC tests into pytest 2017-06-27 17:33:58 +03:00
Joseph Schorr
11659f73bf Fix log for reenabling a notification
We forgot to log the event and method names
2017-06-27 15:26:40 +03:00
Alec Merdler
e45ffb39d1 Merge pull request #2726 from alecmerdler/fix-cor-tabs-back-button
Fix UI Tabs To Play Nicely with Browser Back Button
2017-06-26 16:55:14 -07:00
alecmerdler
f78e1fb679 added end-to-end tests for cor-tabs in image repo view 2017-06-26 16:53:42 -07:00
alecmerdler
8c03a6be31 cor-tab-panel emits first registered tab ID if active tab is undefined
adding e2e tests for cor-tabs
2017-06-26 16:53:12 -07:00
Jimmy Zelinskie
b1434b0380 endpoints.v2: yapf format 2017-06-26 18:22:17 -04:00
Jimmy Zelinskie
0e26a03f7e endpoints.v2: new fs layout for data interface
Fixes QUAY-658
2017-06-26 18:21:35 -04:00
Jimmy Zelinskie
46087d5e64 util.secscan.api: more robust API failures cases
Addresses QUAY-672 by handling all status codes that are not 404 and 5xx
and moving response decoding inside the try/except block to ensure that
the response object is in scope.
2017-06-26 17:13:51 -04:00
Antoine Legrand
7efd222a19 Merge pull request #2729 from coreos-inc/ci-docker
use-docker host dns for CI
2017-06-26 19:42:49 +02:00
Antoine Legrand
e514362394 use-docker host dns for CI 2017-06-26 16:57:00 +02:00
Alec Merdler
76e56d4fca Merge pull request #2727 from alecmerdler/fix-create-robot-invalid
Fix Invalid Robot Creation
2017-06-23 19:54:46 -07:00
alecmerdler
74ebf2a94b prevent invalid entity create form submission using enter key 2017-06-23 15:12:52 -07:00
josephschorr
dc2e7caabe Merge pull request #2725 from coreos-inc/further-repl-logs
Small fix for georeplication and add better logs
2017-06-23 17:07:40 -04:00
Joseph Schorr
7b72cf8b27 Small fix for georeplication and add better logs
Previously, if we attempted to georeplicate storage from the existing location and, somehow, that existing location did not exist, we'd still mark the new location as invalid. This is a major problem for storage engines that are not consistent. Now, we first try a back off strategy to find the image in the existing storage and, as well, if the replication fails in any way, we log it.
2017-06-23 17:07:05 -04:00
Alec Merdler
2cd56a06fd Merge pull request #2723 from alecmerdler/fix-free-trial-link
Fix Free Trial Link 404
2017-06-23 13:19:42 -07:00
alecmerdler
f5c1ae0719 fixed AngularJS escaping '?' character in URL 2017-06-23 11:27:07 -07:00
Antoine Legrand
57d49a5970 Merge pull request #2686 from alecmerdler/e2e-protractor
End-to-End Testing with Protractor
2017-06-23 16:35:16 +02:00
alecmerdler
31d518f3e1 added Protractor for end-to-end testing 2017-06-22 22:16:05 -07:00
Alec Merdler
606222f32e Merge pull request #2722 from alecmerdler/fix-setup-css
Fix QE Setup Background Styling
2017-06-22 19:46:31 -07:00
alecmerdler
675127e0da fixed background CSS in setup 2017-06-22 19:12:15 -07:00
josephschorr
972cae4897 Merge pull request #2719 from coreos-inc/v2.4.0-fixuri
Fix URI lib import in setup tool
2017-06-22 16:18:14 -04:00
Joseph Schorr
6ae81ae50b Fix URI lib import in setup tool
Move to web pack broke this
2017-06-22 16:14:11 -04:00
Charlton Austin
0841d2bfb9 Merge pull request #2715 from charltonaustin/fix_endpoint_error
fix(endpoints): added in proper error handling
2017-06-21 17:00:38 -04:00
Charlton Austin
5e6aa6648b fix(endpoints): added in proper error handling
before we would return a 400 without a message because the errors were not being caught

Issue: https://www.pivotaltracker.com/story/show/145459707

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-06-21 16:59:48 -04:00
Antoine Legrand
6efcf9124c Merge pull request #2698 from coreos-inc/jsonnet-gitlab
Generate .gitlab.yaml from .gitlab.jsonnet
2017-06-20 10:16:12 +02:00
josephschorr
e9813711e3 Merge pull request #2707 from coreos-inc/cancel-emails
Only send internal cancelation emails if the user canceled themselves
2017-06-19 15:22:09 -04:00
Alec Merdler
940a543a57 Merge pull request #2712 from alecmerdler/fix-service-status-styling
Fixed Footer Service Status Alignment
2017-06-16 14:30:30 -07:00
alecmerdler
a46083ad57 fixed footer service status alignment 2017-06-16 14:15:27 -07:00
josephschorr
4f956cc15e Merge pull request #2709 from coreos-inc/v2.4.0-cl
Add Changelog for v2.4.0
2017-06-16 16:27:05 -04:00
Joseph Schorr
74611d99c2 Add Changelog for v2.4.0 2017-06-16 15:49:11 -04:00
Jimmy Zelinskie
ce2a4bff35 Merge pull request #2708 from jzelinskie/app-registry-config
add app registry config to setup tool: default off
2017-06-16 15:44:49 -04:00
Jimmy Zelinskie
e028e159c0 add app registry config to setup tool: default off 2017-06-16 15:44:00 -04:00
Joseph Schorr
159badf7ed Only send internal cancelation emails if the user canceled themselves
In the other case (where payment failed), we already auto-email the customer
2017-06-16 14:27:55 -04:00
josephschorr
37a6f1f5d9 Merge pull request #2706 from coreos-inc/zero-chunk-test
Add a zero chunk test to cloud storage
2017-06-16 13:42:51 -04:00
Joseph Schorr
a20d758642 Add a zero chunk test to cloud storage 2017-06-16 13:38:38 -04:00
Antoine Legrand
24044df945 Generate .gitlab.yaml via .gitlab.jsonnet 2017-06-15 14:16:00 +02:00
Alec Merdler
165486180d Merge pull request #2703 from coreos-inc/update-readme-add-yarn-dependency
Update README With How to Add a Yarn Dependency
2017-06-14 15:19:42 -07:00
Alec Merdler
b61b4c189a update readme with how to add a Yarn dependency 2017-06-14 14:43:59 -07:00
Alec Merdler
ed2e32fb39 Merge pull request #2702 from alecmerdler/fix-app-view-settings-layout
Fix App Settings View Layout Styling
2017-06-14 13:05:03 -07:00