Commit graph

6539 commits

Author SHA1 Message Date
alecmerdler
72151dc162 simplified karma.conf.js 2017-01-07 15:10:52 -08:00
alecmerdler
9248e4e8aa tests and refactoring for AngularRouteBuilder 2017-01-07 04:24:26 -08:00
alecmerdler
659417f7ef tests for AngularViewArray service 2017-01-07 00:28:02 -08:00
alecmerdler
b44665e75d installed and configured karma test runner 2017-01-06 21:27:54 -08:00
EvB
a7122db250 fix(cloudwatch): randomize sleep interval 2017-01-05 11:41:12 -05:00
Erica
e658941a43 Merge pull request #2263 from coreos-inc/FIX-test-runner
fix(setup.cfg): test only our stuff
2016-12-30 15:19:13 -05:00
EvB
954d82ff8b chore(Dockerfile): up timeout on tests to 2h 2016-12-30 14:15:19 -05:00
EvB
7e4d1df0e5 fix(setup.cfg): exclude ext test dirs 2016-12-29 17:03:46 -05:00
Erica
6513d7085d Merge pull request #2262 from coreos-inc/TEST-timeout
fix(Dockerfile): add timeout, remove auto distmode
2016-12-29 14:55:19 -05:00
EvB
d4c7e6d323 fix(Dockerfile): use curr dir for tests 2016-12-28 16:43:08 -05:00
EvB
a45a1968c9 chore(setup.cfg): remove confcurdir test setting 2016-12-28 16:10:26 -05:00
EvB
a337e547ec chore(Dockerfile): run tests in all dirs 2016-12-28 15:19:30 -05:00
EvB
86a40d02c7 fix(Dockerfile): add timeout, remove auto distmode 2016-12-28 14:31:28 -05:00
Erica
72191bbd37 Merge pull request #2253 from coreos-inc/BUG-angular-apply-error
fix(js/onresize): make sync call async in angular
2016-12-28 10:51:00 -05:00
Erica
4c7445db81 Merge pull request #2250 from coreos-inc/STORY-133211327-SSU-pagination
feat(super-users): paginate user tab
2016-12-28 10:50:45 -05:00
Erica
10f1053cce Merge pull request #2260 from coreos-inc/STORY-136707589-test-pivotal-gh-integration
doc(README): add pivotal-gh integration help [Finishes #136707589]
2016-12-28 10:50:13 -05:00
EvB
47e7f55782 doc(README): render arch diagram 2016-12-27 17:36:16 -05:00
EvB
9bb1db0683 doc(README): add table of contents 2016-12-27 16:53:18 -05:00
EvB
c451b744ff doc(README): add pivotal-gh integration help [ #136707589] 2016-12-27 16:36:15 -05:00
Jake Moshenko
6c84b9330b Merge pull request #2251 from jakedt/fixaci
Fix port mapping for ACI conversion from newer Docker manifests.
2016-12-27 14:13:03 -05:00
Ian Minoso
82542619a3 Merge pull request #2258 from iminoso/builds-null-check
Check for null data on builds table
2016-12-22 15:52:44 -05:00
Ian Minoso
451334a502 Check for null data on builds table 2016-12-22 15:48:46 -05:00
Joseph Schorr
d609e6a1c4 Security scanner garbage collection support
Adds support for calling GC in the security scanner for any layers+storage removed by GC on the Quay side
2016-12-22 14:55:26 -05:00
Joseph Schorr
5225642850 Garbage collection image+storage callback support
Add support to GC to invoke a callback with the image+storages removed. Only images whose storage was also removed will be sent to the callback. This will be used by security scanning for its own GC in the followup change.
2016-12-22 14:27:42 -05:00
josephschorr
a9cced3282 Merge pull request #2254 from coreos-inc/georep-batch
Change georeplication queuing to use new batch system
2016-12-22 14:09:09 -05:00
Joseph Schorr
9413e25123 Change georeplication queuing to use new batch system 2016-12-21 17:44:30 -05:00
EvB
05a92f4389 fix(js/onresize): make sync call async in angular
Wrap sync callback for the resize event in a `$timeout` so that it
gets called asyncronously. Fixes error where `$apply` was geting
called before previous `$apply` call finished. Angular allows only
one `$apply` call at a time.

See Angular.js reference.
> [Error: $rootScope:inprog](https://docs.angularjs.org/error/$rootScope/inprog)

Fixes:

> *Error* ldn/angular in O/<
> error[$rootScope:inprog] http://errors.angularjs.org/1.5.3/$rootScope/inprog?p0=%24digest

Likely fixes other errors we're seeing related to resize events
such as

> *ReferenceError<unknown module>* in onresize
> Can't find variable: tree
2016-12-21 16:39:35 -05:00
Erica
35244d839d Merge pull request #2256 from coreos-inc/BUG-angular-mispelling
fix(angular-tour): correct typo
2016-12-21 15:59:28 -05:00
josephschorr
d3c4b493cd Merge pull request #2255 from coreos-inc/BUG-136521333
fix(136521333): Handle None email_or_id in avatar code
2016-12-21 15:34:23 -05:00
EvB
b9a75496c3 fix(angular-tour): correct typo 2016-12-21 15:34:07 -05:00
Joseph Schorr
ef80471a39 fix(136521333): Handle None email_or_id in avatar code
Fixes https://www.pivotaltracker.com/story/show/136521333
2016-12-21 15:00:55 -05:00
EvB
577db4abc3 feat(super-user): paginate orgs 2016-12-20 18:30:59 -05:00
EvB
d25051a953 feat(super-users): paginate user tab 2016-12-20 18:03:32 -05:00
josephschorr
732ab67b57 Merge pull request #2252 from coreos-inc/parallel-tests
Fix pytests and enable parallel registry tests
2016-12-20 16:56:52 -05:00
Joseph Schorr
481cebe46b Fix pytests and enable parallel registry tests 2016-12-20 15:42:04 -05:00
Jake Moshenko
d58a1ca35a Fix port mapping for ACI conversion from newer Docker manifests. 2016-12-20 14:01:06 -05:00
Joseph Schorr
001691e579 Fix whitespace 2016-12-20 13:25:23 -05:00
Joseph Schorr
5b3212ea0e Change security notification code to use the new stream diff reporters
This ensures that even if security scanner pagination sends Old and New layer IDs on different pages, they will properly be handled across the entire notification.

Fixes https://www.pivotaltracker.com/story/show/136133657
2016-12-20 12:50:19 -05:00
Joseph Schorr
ced0149520 Implement helper classes for tracking streaming diffs, both indexed and non-indexed
These classes will be used to handle the Layer ID paginated diffs from Clair.
2016-12-20 12:50:18 -05:00
josephschorr
a2ac62f5ce Merge pull request #2247 from coreos-inc/ldap-timeout
Add default and configurable LDAP timeouts
2016-12-19 14:45:26 -05:00
Joseph Schorr
e2efb6c458 Add default and configurable LDAP timeouts
Fixes https://www.pivotaltracker.com/story/show/135885019
2016-12-19 11:53:06 -05:00
josephschorr
cc9e8cd2d0 Merge pull request #2246 from coreos-inc/build-none-error
Add check for None repository in start build API
2016-12-19 11:44:15 -05:00
Joseph Schorr
f4f5a065df Add check for None repository in start build API
Fixes #2244
2016-12-19 11:40:24 -05:00
josephschorr
e58e04b0e9 Merge pull request #2242 from coreos-inc/clair-exceptions
Security scanner flow changes and auto-retry
2016-12-16 15:54:52 -05:00
Joseph Schorr
405eca074c Security scanner flow changes and auto-retry
Changes the security scanner code to raise exceptions now for non-successful operations. One of the new exceptions raised is MissingParentLayerException, which, when raised, will cause the security worker to perform a full rescan of all parent images for the current layer, before trying once more to scan the current layer. This should allow the system to be "self-healing" in the case where the security scanner engine somehow loses or corrupts a parent layer.
2016-12-16 15:38:09 -05:00
josephschorr
d4b7738a87 Merge pull request #2243 from coreos-inc/entity-autocomplete
Make sure robot accounts always show up first in entity search
2016-12-16 15:09:37 -05:00
Joseph Schorr
58b7481a63 Make sure robot accounts always show up first in entity search
Fixes https://www.pivotaltracker.com/story/show/136277321
Fixes #2241
2016-12-16 15:04:30 -05:00
josephschorr
f72185f527 Merge pull request #2240 from coreos-inc/wrong-email-invite-accept
Fix attempts to confirm team invite for mismatched email address
2016-12-16 14:30:37 -05:00
josephschorr
9fa16679f8 Merge pull request #2238 from coreos-inc/fake-clair
Add a fake security scanner class for easier testing
2016-12-15 20:51:24 -05:00
Joseph Schorr
785c74de52 Fix attempts to confirm team invite for mismatched email address
Currently, if a user tries to confirm an invite sent to them on an account with a mismatching email address, we simply redirect to the org (where they get a 403). This change ensures they get the proper error response message, and restyles the error page to be nicer.

Fixes #2227
Fixes https://www.pivotaltracker.com/story/show/136088507
2016-12-15 17:15:11 -05:00