Commit graph

7406 commits

Author SHA1 Message Date
Charlton Austin
a6b7560fdc fix(static): add in init
not sure what happened to the init from before

[testing -> tested locally with docker build]

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-04 16:40:40 -04:00
Joseph Schorr
b11239f3bf Change cor-tabs to be a TypeScript and Angular "neu" component
We no longer use bootstrap tabs code in this version

This is in prep for changing the tab style
2017-05-04 15:43:21 -04:00
Alec Merdler
b21af5c1b8 Merge pull request #2621 from alecmerdler/fix-status-service
Fix JS StatusService Error
2017-05-04 12:01:29 -07:00
alecmerdler
4715560e55 return no-op status service if billing is not enabled 2017-05-04 11:56:46 -07:00
Charlton Austin
d8b529bc5c Merge pull request #2618 from charltonaustin/datetimes_in_cor-tables_are_being_sorted_lexically
fix(frontend): fix data binding
2017-05-04 14:45:55 -04:00
josephschorr
0a6a93d47f Merge pull request #2620 from coreos-inc/search-ui-fixes
Search UI fixes
2017-05-04 14:44:45 -04:00
Charlton Austin
3b1d696197 Merge pull request #2619 from charltonaustin/drop-down_menu_reports_bug
fix(frontend): add subscope
2017-05-04 14:43:17 -04:00
Joseph Schorr
2516fe37fd Switch typeahead versions to fix bug when we have 5 (or more) results 2017-05-04 14:29:42 -04:00
Joseph Schorr
11e7d339ab Fix search view on mobile 2017-05-04 14:29:29 -04:00
Charlton Austin
7167eef5a8 fix(frontend): add subscope
added subscope to prevent clobbering of robots

[testing -> tested locally with dockerfile build]

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-04 14:10:53 -04:00
Charlton Austin
54d46e09d8 fix(frontend): fix data binding
### Description of Changes

  there was a bug in the applications sorting
2017-05-04 13:32:50 -04:00
josephschorr
5d88bccef7 Merge pull request #2617 from coreos-inc/search-ordering
Search ordering and performance fixes
2017-05-04 13:16:30 -04:00
Joseph Schorr
227aa8ab8c Ensure that search doesn't make extra SQL lookups
Before this change, we were  accessing the `.kind` on the repository object, which caused peewee to make an extra lookup for each result
2017-05-04 13:08:09 -04:00
josephschorr
42bf18ae90 Merge pull request #2616 from coreos-inc/fix-cl-header
Disable gzip on HEAD requests in `v2` endpoints
2017-05-04 12:57:39 -04:00
Erica
4697fc7325 Merge pull request #2608 from coreos-inc/STORY-1791509-autogen-manifests
feat(api/tag): generate manifest on tag
2017-05-04 12:56:12 -04:00
EvB
467c72a9ac code-stye Yapf: 2 files updated 2017-05-04 11:33:36 -04:00
EvB
25b9d044de test(api/tag): test restore_tag 2017-05-04 11:19:25 -04:00
EvB
6e894d5f24 refactor(api/tag): remove try/catch 2017-05-04 11:19:25 -04:00
EvB
eb9db0c53b test(api/tag): unit test movetag 2017-05-04 11:19:25 -04:00
EvB
70508e3692 feat(api/tag): generate manifest on revert_tag action 2017-05-04 11:19:25 -04:00
EvB
f7bf6a223c feat(api/tag): generate manifest on tag 2017-05-04 11:19:25 -04:00
Joseph Schorr
9d97e053b3 Make sure to re-sort the filtered repositories in search
The filtering breaks the ordered we expected, so we need to re-sort
2017-05-03 18:38:46 -04:00
Joseph Schorr
bf51ec20e8 Disable gzip on HEAD requests in v2 endpoints
nginx's gzip module will ignore the content-length header on the HEAD request and try to gzip the body.... but there is no body, so it simply writes no header at all.

Code to turn this off was based off of https://trac.nginx.org/nginx/ticket/261
2017-05-03 18:27:45 -04:00
josephschorr
105acbc041 Merge pull request #2615 from coreos-inc/fix-build
Fix typescript error
2017-05-03 17:32:25 -04:00
Joseph Schorr
057a2a6f05 Fix typescript error 2017-05-03 17:31:00 -04:00
josephschorr
43e032299c Merge pull request #2614 from coreos-inc/search-improvements
Improvements to new Quay search
2017-05-03 17:06:58 -04:00
Joseph Schorr
0164b48a24 Switch repository search to order matches in repo names higher
Helps push better results to the top of the results list
2017-05-03 17:02:24 -04:00
Joseph Schorr
481d9b2394 Add debounce to search 2017-05-03 16:00:50 -04:00
Joseph Schorr
25d8b6ec02 Make sure only the first line of the repository description is shown in search results 2017-05-03 15:40:11 -04:00
Joseph Schorr
21aff5ef9d Fix search view and search autocomplete for apps
Had the wrong icon in search view and forgot to add the autocomplete handling for applications
2017-05-03 15:38:51 -04:00
Joseph Schorr
17c4d4c84e Don't clear search box on search page when a new query is submitted
Users want to be able to see the current query
2017-05-03 15:35:24 -04:00
josephschorr
229c313493 Merge pull request #2613 from coreos-inc/2.3.4-changelog
Update changelog for v2.3.4
2017-05-03 14:47:46 -04:00
Joseph Schorr
7a3b912530 Update changelog for v2.3.4 2017-05-03 14:45:32 -04:00
josephschorr
19f67bfa1b Merge pull request #2607 from coreos-inc/faster-security-notify
Batch the tag lookups in the security notification worker in an attempt to significant reduce load
2017-05-03 13:49:13 -04:00
Erica
57ab9d6c96 Merge pull request #2592 from coreos-inc/FEAT-AUDIT-LOG-FAILOVER-UI
feat(config-setup): add auditlog failover option
2017-05-03 11:42:48 -04:00
Joseph Schorr
68d473bff4 Clarify comment and make pairs code a little nicer 2017-05-03 11:41:39 -04:00
josephschorr
671c736f2d Merge pull request #2612 from coreos-inc/search-starcount-text
Fix vertical alignment of star count text in new search
2017-05-03 11:18:36 -04:00
Joseph Schorr
727562405b Fix vertical alignment of star count text in new search 2017-05-03 11:08:11 -04:00
Joseph Schorr
977bbc20a2 Add filtering onto the images query in get_matching_tags_for_images
Should make the query even faster in the security notification case
2017-05-02 18:29:14 -04:00
josephschorr
f03f0961d8 Merge pull request #2611 from coreos-inc/fix-setuptool-list-bug
Add ng-if to fix Angular scope+form bug in superuser tool
2017-05-02 17:16:04 -04:00
Joseph Schorr
6e3968896b Add ng-if to fix Angular scope+form bug in superuser tool 2017-05-02 17:08:19 -04:00
josephschorr
e5ec33511f Merge pull request #2610 from coreos-inc/tag-expiraiton
Always show the tag expiration options UI in the superuser panel
2017-05-02 16:50:09 -04:00
Joseph Schorr
646c323de5 Always show the tag expiration options UI in the superuser panel
If the user disabled the feature flag, they still need to configure the list to ensure the default is there
2017-05-02 16:48:14 -04:00
josephschorr
6f98632bfa Merge pull request #2609 from coreos-inc/fix-mysql-db-test
Remove test that breaks MySQL full DB tests
2017-05-02 16:07:24 -04:00
Joseph Schorr
4e09fff181 Remove test that breaks MySQL full DB tests 2017-05-02 16:04:46 -04:00
Evan Cordell
2495091a53 Merge pull request #2602 from ecordell/sni
Add test for SNI support
2017-05-02 15:57:44 -04:00
josephschorr
5a9a231754 Merge pull request #2529 from coreos-inc/search-ui
Implement new search UI
2017-05-02 15:56:59 -04:00
josephschorr
5470d4c70e Merge pull request #2606 from coreos-inc/v2.3.3-branch
V2.3.3 changes
2017-05-02 15:53:17 -04:00
Joseph Schorr
d77463cc8b Add sharing to the images lookup in get_matching_tags_for_images
Should prevent an issue if we ever get a request with thousands and thousands of images where we would exceed the DB's max packet size
2017-05-02 15:50:31 -04:00
Joseph Schorr
98fcae753b Change the security notification system to use get_matching_tags_for_images
This should vastly reduce the number of database calls we make, as instead of making 2-3 calls per image, we'll make two calls per ~100 images
2017-05-02 15:39:27 -04:00