Commit graph

8330 commits

Author SHA1 Message Date
Charlton Austin
4ec55665de fix(endpoints): add tests
this adds tests to the analyze trigger api

[testing -> locally using pytest]

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

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-12 13:58:05 -05:00
Alec Merdler
6b54279bb7 Markdown Overhaul (#2624)
Rebuilt Markdown editor/views into new components
2017-05-10 14:18:37 -07:00
Alec Merdler
945510dcf0 Merge pull request #2634 from alecmerdler/fix-image-vuln-view
Fix Image Vulnerabilities Not Loading
2017-05-10 13:28:12 -07:00
Jake Moshenko
b96b871c3a Merge pull request #2635 from jakedt/returntosender
Use MAIL_DEFAULT_SENDER as the sender in email notifications
2017-05-10 14:34:37 -04:00
Jake Moshenko
4189422340 Use MAIL_DEFAULT_SENDER as the sender in email notifications 2017-05-10 14:24:27 -04:00
alecmerdler
d048542288 ixed race condition for retrieving image security scan on vulnerability view 2017-05-10 10:36:27 -07:00
Alec Merdler
977ae7a809 Merge pull request #2633 from alecmerdler/fix-typeahead-template
Fix jQuery Typeahead Template Bug
2017-05-09 13:14:10 -07:00
josephschorr
19a82b8c15 Merge pull request #2631 from coreos-inc/cor-tabs-vertical
Apps and repository UI cleanup
2017-05-09 13:04:38 -07:00
alecmerdler
481daff85d jQuery typeahead suggestion template needs to be valid HTML markup 2017-05-09 12:25:21 -07:00
Joseph Schorr
c4e3a5e0a7 Fix apps view for mobile
Fixes https://www.pivotaltracker.com/story/show/144543995
2017-05-08 21:17:24 -04:00
Charlton Austin
3b728014ac fix(trigger.py): fixed robot view no dockerfile
fixed how we create views where there is no dockerfile available

[TESTING -> local with dockerfile build]

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

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-05-08 17:18:03 -04:00
Joseph Schorr
43619b6745 Switch app repo view to use cor-tabs, now that it supports horizontal tabs 2017-05-08 16:48:24 -04:00
Joseph Schorr
ea13469d9d Add support for horizontal tabs into cor-tabs 2017-05-08 16:46:46 -04:00
josephschorr
191e5d94d4 Merge pull request #2628 from coreos-inc/perms-perf
Optimize lookup of org membership on prototype and perms APIs
2017-05-08 14:17:05 -04:00
Joseph Schorr
db767b3610 Optimize lookup of org membership on prototype and perms APIs
Fixes a major slowdown when working with permissions under organizations with a lot of members

Fixes https://www.pivotaltracker.com/story/show/144076113
2017-05-08 14:03:59 -04:00
Evan Cordell
f960fa2482 Merge pull request #2627 from ecordell/whitelist-signing
Only show signing UI when namespace is explicitly whitelisted
2017-05-08 13:51:05 -04:00
Evan Cordell
85d382cd84 Only show signing UI when namespace is explicitly whitelisted 2017-05-08 13:50:07 -04:00
josephschorr
f5e4380a57 Merge pull request #2626 from coreos-inc/small-fixes
Small fixes for bugs created by cor tabs PR
2017-05-06 15:48:07 -04:00
Joseph Schorr
3d1197c6af Fix NPE in cor tab panel 2017-05-05 16:31:04 -04:00
Joseph Schorr
aa53dc0f66 Add missing colon onto bindings 2017-05-05 16:30:34 -04:00
Charlton Austin
339aeb59f1 Merge pull request #2625 from charltonaustin/fix_robot_display_error
fix(frontend): fixed changing location
2017-05-05 15:27:45 -04:00
josephschorr
f228ebdc22 Merge pull request #2591 from coreos-inc/cor-tabs
Change cor-tabs to be a TypeScript and Angular "neu" component
2017-05-05 15:13:44 -04:00
Charlton Austin
6e533e3627 fix(frontend): fixed changing location
before we were setting the location on the window when we should have been just using Angular $location service instead

[TESTING -> tested locally with docker compose and a complete 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-05 15:10:06 -04:00
Charlton Austin
118ed4a37e Merge pull request #2622 from charltonaustin/fix_error_in_robot_display
fix(static): add in init
2017-05-04 16:55:54 -04:00
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