Commit graph

7123 commits

Author SHA1 Message Date
Joseph Schorr
94c41cc7e3 Add caching for manifest labels
Helps reuse and makes UI faster when filtering
2017-03-14 11:34:43 -04:00
Joseph Schorr
f17ef4adda Add UI for viewing labels on a manifest in the tags view 2017-03-14 11:34:43 -04:00
Joseph Schorr
69e476b1f4 Fix param regex for path params with complex filters 2017-03-14 11:34:43 -04:00
Joseph Schorr
f206b4b95e Move tag actions into a menu and fix view history action 2017-03-14 11:34:42 -04:00
Joseph Schorr
25db46c341 Redo UI of the tag history timeline and add restoration 2017-03-14 11:34:42 -04:00
Joseph Schorr
e90cab4d77 Change revert tag into restore tag and add manifest support 2017-03-14 11:34:42 -04:00
Joseph Schorr
35752176b5 Small UI fixes to tag history timeline 2017-03-14 11:34:42 -04:00
Joseph Schorr
0dbe267212 Show manifest digests in repo tag history timeline 2017-03-14 11:34:42 -04:00
Joseph Schorr
57f78361b5 Remove history column from tags table 2017-03-14 11:34:42 -04:00
Joseph Schorr
91c7396057 Move tag history to its own top-level tab 2017-03-14 11:34:42 -04:00
Joseph Schorr
4f567c0654 Remove tag history view from tags tab 2017-03-14 11:34:42 -04:00
Joseph Schorr
49d980f685 Remove unused (and broken) visualize tab 2017-03-14 11:34:42 -04:00
Joseph Schorr
fc700ef3f7 Add date time tooltip to last modified col 2017-03-14 11:34:41 -04:00
Joseph Schorr
4b51fa5e5b Update security scan col in repo view to use donut chart and better language 2017-03-14 11:34:41 -04:00
Joseph Schorr
af743b156b Show manifest digests in place of V1 ids in the tag view when possible 2017-03-14 11:34:41 -04:00
Joseph Schorr
814bbb4a96 Remove tag icon from tags table 2017-03-14 11:34:41 -04:00
Jimmy Zelinskie
46f175442d Merge pull request #2427 from jzelinskie/tiny-qss-fixes
workers.securityworker: small fixes
2017-03-13 18:22:55 -04:00
Jimmy Zelinskie
c6f6204630 workers.securityworker: small fixes
This change adjusts our batch size to coerce to integer after all
floating point math in order to get a more accurate end result. In
addition, we handle the scenario when there are no longer any images in
the database to be scanned when finding the min id.
2017-03-13 18:22:35 -04:00
alecmerdler
2e33c47573 removed datafile-service.js 2017-03-12 00:34:55 -08:00
alecmerdler
1142519139 tests for DataFileServiceImpl 2017-03-12 00:29:39 -08:00
alecmerdler
527e108d2e tests for DataFileServiceImpl 2017-03-12 00:21:59 -08:00
alecmerdler
7416534ab8 better mocking of FileReader and events 2017-03-11 17:45:36 -08:00
alecmerdler
ade4216642 build single test bunding using Webpack context 2017-03-11 16:48:05 -08:00
alecmerdler
b72cf7c04b refactoring DatafileService 2017-03-11 15:47:44 -08:00
alecmerdler
40e6540074 easier mocking/spying using ts-mocks 2017-03-11 15:27:23 -08:00
alecmerdler
4303f658e8 dockerfile-build-form component working with promise-based method 2017-03-10 16:01:41 -08:00
Jimmy Zelinskie
123d003d4e Merge pull request #2424 from jzelinskie/qss-image
workers.securityworker: revert to image querying
2017-03-10 17:38:02 -05:00
Jimmy Zelinskie
a780136337 workers.securityworker: revert to image querying 2017-03-10 17:37:40 -05:00
josephschorr
cbac673d58 Merge pull request #2404 from coreos-inc/cas-gc-fix
Fix GC handling around CAS paths
2017-03-10 17:34:21 -05:00
josephschorr
2bc4dfd762 Merge pull request #2423 from coreos-inc/css-fix
Fix CSS around display of page controls in repo view
2017-03-10 15:52:07 -05:00
josephschorr
432b2d3fe8 Merge pull request #2392 from coreos-inc/search-optimization
Optimize repository search by changing our lookup strategy
2017-03-10 15:44:26 -05:00
Joseph Schorr
8737ac09a8 Fix CSS around display of page controls in repo view 2017-03-10 14:33:44 -05:00
Joseph Schorr
d42ec4e585 Abstract out constant scores into constants 2017-03-10 14:06:39 -05:00
Jimmy Zelinskie
c724af12cd Merge pull request #2422 from coreos-inc/remove-w3m
Remove the w3m package, which is vulnerable and isn't used
2017-03-10 14:04:24 -05:00
Joseph Schorr
34ae653792 Remove the w3m package, which is vulnerable and isn't used 2017-03-10 14:01:37 -05:00
josephschorr
8db5e920a9 Merge pull request #2421 from coreos-inc/delete-namespace-messaging
Clarify the namespace being deleted
2017-03-10 13:35:05 -05:00
Charlton Austin
c09d07e81c Merge pull request #2418 from charltonaustin/fix_error_with_dockerfile_content
fix(buildtrigger): fixed error from github api
2017-03-10 13:34:47 -05:00
Joseph Schorr
409ee6137f Clarify the namespace being deleted
Fixes https://www.pivotaltracker.com/story/show/141418611
2017-03-10 13:25:40 -05:00
Jimmy Zelinskie
47a99fccb6 Merge pull request #2420 from jzelinskie/faster-min
data.model.tag: find min *alive* tag
2017-03-10 13:21:41 -05:00
Jimmy Zelinskie
53eb579459 data.model.tag: find min *alive* tag 2017-03-10 13:15:35 -05:00
Charlton Austin
d6e45e3321 fix(buildtrigger): fixed error from github api
there was a 500 being thrown every time there was a slash at the end of a directory while adding in a new trigger this stops that 500 from coming
2017-03-10 13:04:41 -05:00
josephschorr
6d6be63ca6 Merge pull request #2393 from coreos-inc/oidc-ui
OIDC configuration support in superuser config panel
2017-03-10 12:13:48 -05:00
josephschorr
8075460e71 Merge pull request #2417 from coreos-inc/qss-notification-error
Small fixes and tests for QSS notifications
2017-03-10 12:13:18 -05:00
Joseph Schorr
9a2507724f Update vuln found event email to support multiple vulns notification 2017-03-10 11:29:37 -05:00
Joseph Schorr
3813d0d23d Add tests for all notification event calls 2017-03-10 11:26:12 -05:00
Joseph Schorr
48db77b521 Fix bug in QSS notifications 2017-03-10 11:25:55 -05:00
Joseph Schorr
b5bb76cdea Optimize repository search by changing our lookup strategy
Previous to this change, repositories were looked up unfiltered in six different queries, and then filtered using the permissions model, which issued a query per repository found, making search incredibly slow. Instead, we now lookup a chunk of repositories unfiltered and then filter them via a single query to the database. By layering the filtering on top of the lookup, each as queries, we can minimize the number of queries necessary, without (at the same time) using a super expensive join.

Other changes:
- Remove the 5 page pre-lookup on V1 search and simply return that there is one more page available, until there isn't. While technically not correct, it is much more efficient, and no one should be using pagination with V1 search anyway.
- Remove the lookup for repos without entries in the RAC table. Instead, we now add a new RAC entry when the repository is created for *the day before*, with count 0, so that it is immediately searchable
- Remove lookup of results with a matching namespace; these aren't very relevant anyway, and it overly complicates sorting
2017-03-09 19:47:55 -05:00
Jimmy Zelinskie
850c32ebfb Merge pull request #2298 from jzelinskie/maintainers
MAINTAINERS: init owners to subpkgs
2017-03-09 17:30:38 -05:00
Charlton Austin
9ed022fd18 Merge pull request #2410 from charltonaustin/fix_subdir_parsing
fix(buildcomponent): fix dockerfile cases
2017-03-09 08:56:13 -05:00
Charlton Austin
afbd6fb19b fix(buildcomponent): fix dockerfile cases
some errors were introduced with file paths of the form "/some_path/some_other_path" as "some_other_path" would be the dockerfile name
2017-03-09 08:45:34 -05:00