Commit graph

7061 commits

Author SHA1 Message Date
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
alecmerdler
4e913f106d refactored DockerfileServiceImpl to return promise instead of callbacks 2017-03-09 01:26:19 -08:00
Alec Merdler
b05f235114 Merge pull request #2414 from alecmerdler/fix-select-robot
Fix Robot Accounts Not Visible in Githost Trigger Setup
2017-03-08 16:01:01 -08:00
alecmerdler
52b2f5828c fix no robot accounts visible 2017-03-08 15:27:22 -08:00
Alec Merdler
a0e78b5f09 Merge pull request #2413 from alecmerdler/fix-yarn-deps
Fix Container Build - Upgraded all AngularJS Packages
2017-03-08 15:12:23 -08:00
alecmerdler
5be9e40ff3 upgraded all AngularJS packages to 1.6.2 2017-03-08 14:57:16 -08:00
Joseph Schorr
62312e6461 Add warning when CAS paths are skipped and ensure we are under a transaction 2017-03-08 17:01:07 -05:00
Alec Merdler
5f336cd670 Merge pull request #2412 from alecmerdler/fix-webpack
Fix ConcourseCI to Use Yarn Package Manager
2017-03-08 13:17:47 -08:00
alecmerdler
1035803d3a switching back to yarn 2017-03-08 12:32:44 -08:00
alecmerdler
d83da67e84 trying npm now 2017-03-08 12:20:35 -08:00
alecmerdler
bd3a6617c4 added jQuery type definitions for TypeScript 2017-03-08 12:01:20 -08:00
alecmerdler
85441c8459 refactoring to promises 2017-03-08 11:43:53 -08:00
alecmerdler
390e389027 all tests for DockerfileServiceImpl 2017-03-07 21:46:12 -08:00