diff --git a/CHANGELOG.md b/CHANGELOG.md index bab9023df..06e05b253 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 1.5.38 +* Updated casslibrary +* Updated editor +* Added CRL_LISTS environment variable for certificate revocation. Reads revoked certs from /src/main/server/crl +* Updated profile generation to use identity of requestor. +* Library updates. +* Security updates. + ## 1.5.37 * Added hash header, sameorigin header, nosniff, mime sniff header (security) * CTDL export updates. diff --git a/README.md b/README.md index ded046168..65362fafb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # CaSS Competency and Skills Service -- Competency Management -Release Candidate: 1.5.37 [![Build Status](https://travis-ci.org/cassproject/CASS.svg?branch=1.5)](https://travis-ci.org/cassproject/CASS) +Release Candidate: 1.5.38 [![Build Status](https://travis-ci.org/cassproject/CASS.svg?branch=1.5)](https://travis-ci.org/cassproject/CASS) Supported: 1.4 [![Build Status](https://travis-ci.org/cassproject/CASS.svg?branch=1.4)](https://travis-ci.org/cassproject/CASS) Supported: 1.3 [![Build Status](https://travis-ci.org/cassproject/CASS.svg?branch=1.3)](https://travis-ci.org/cassproject/CASS) Supported: 1.2 [![Build Status](https://travis-ci.org/cassproject/CASS.svg?branch=1.2)](https://travis-ci.org/cassproject/CASS) diff --git a/codeCoverage.md b/codeCoverage.md index 04caf026d..565f60909 100644 --- a/codeCoverage.md +++ b/codeCoverage.md @@ -1,35 +1,53 @@ -## Release 1.5.8 -File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ---------------------------------|---------|----------|---------|---------|------------------------------------------------------------------------- -All files | 45.24 | 32.85 | 49.67 | 45.75 | - main | 84.72 | 52.94 | 83.33 | 84.28 | - server.js | 84.72 | 52.94 | 83.33 | 84.28 | 30,85,91,96-112 - main/server | 62.23 | 50.11 | 72.41 | 62.22 | - skyId.js | 83.23 | 47.5 | 46.15 | 83.23 | ...-117,120,122,130,133,144,150-152,155,158-159,163,166,169,181,184,188 - skyRepo.js | 74.35 | 56.55 | 85.93 | 73.89 | ...186,1188-1189,1198,1202,1205,1208-1210,1213-1215,1223,1227-1228,1238 - util.js | 9.36 | 14.54 | 14.28 | 9.44 | 30-32,40-43,55,68-249,254-437,444-479,545,548-558 - websocket.js | 31.25 | 0 | 33.33 | 33.33 | 4-11,17-20 - main/server/adapter/asn | 20.75 | 16.61 | 27.27 | 20.63 | - asn.js | 20.75 | 16.61 | 27.27 | 20.63 | ...56,60,83,104,113,116-133,136-152,155-163,174,211-489,504-660,667-671 - main/server/adapter/case | 72.22 | 54.75 | 44.44 | 73.5 | - caseAdapter.js | 75.4 | 56.28 | 50 | 77.28 | ...-110,118,150-160,199,210,221,246,273-278,315-320,330,363,374,441,452 - caseIngest.js | 66.25 | 50 | 39.13 | 66.45 | ...6,71-75,83-86,99,102,134-136,152,182-194,200,213,215,223,232,240-243 - main/server/adapter/ceasn | 31.74 | 26.28 | 47.5 | 32.2 | - ceasn.js | 31.74 | 26.28 | 47.5 | 32.2 | ...438,1449-1638,1648-1650,1657-1659,1678-1679,1687,1689,1694,1703-1707 - main/server/adapter/jsonLd | 1.92 | 0 | 0 | 1.92 | - jsonLd.js | 1.92 | 0 | 0 | 1.92 | 7-87 - main/server/adapter/openbadges | 10.06 | 0 | 0 | 10.13 | - openbadges.js | 10.06 | 0 | 0 | 10.13 | 4-13,17,22-31,35-42,52-59,77-113,123-154,168-222,226-253 - main/server/adapter/replicate | 20.98 | 18.51 | 14.28 | 21.51 | - replicate.js | 20.98 | 18.51 | 14.28 | 21.51 | 16-22,28-87,93-121 - main/server/adapter/xapi | 11.79 | 0 | 0 | 12.7 | - xapi.js | 11.79 | 0 | 0 | 12.7 | 5-15,21-37,42-51,55-80,84-94,98-108,112-182,187-188,206,213-222,227-247 - main/server/profile | 14.4 | 0 | 9.09 | 15.51 | - coordinator.js | 20.89 | 0 | 25 | 21.21 | 12-96,112-113 - util.js | 6.89 | 0 | 0 | 8 | 5-15,21-82 - main/server/shims | 56.6 | 36.44 | 51.28 | 58.11 | - auth.js | 17.64 | 15.38 | 25 | 17.64 | 4-33,41-42,57-71,76-80,83-88,93-121 - cassproject.js | 51.21 | 100 | 36.36 | 51.21 | 2-7,14-20,32,44,51-58,69,77-82,95 - levr.js | 67.01 | 42.77 | 67.5 | 69.88 | ...-288,310,312,314,316-319,325-332,356,366-367,381-382,418,422-427,434 - stjs.js | 25 | 25 | 0 | 25 | 3-5 ---------------------------------|---------|----------|---------|---------|------------------------------------------------------------------------- \ No newline at end of file +## Release 1.5.38 +----------------------------------|---------|----------|---------|---------|---------------------------------------------------- +File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s +----------------------------------|---------|----------|---------|---------|---------------------------------------------------- +All files | 35.2 | 27.43 | 34.92 | 35.68 | + main | 61.76 | 43.54 | 29.41 | 62.68 | + server.js | 61.76 | 43.54 | 29.41 | 62.68 | ...146,151-153,163-166,170,179,186,189,194-221,228 + main/server | 56.01 | 49.3 | 67.74 | 55.71 | + skyId.js | 81.35 | 46.34 | 46.15 | 81.35 | ...157,172,178-180,186-198,202,205,208,220,223,227 + skyId.test.js | 0 | 100 | 0 | 0 | 1-51 + skyRepo.js | 70.95 | 54.96 | 82.6 | 70.58 | ...57,9961-9962,9976,10020,10024,10055-10058,10069 + skyRepo.test.js | 0 | 100 | 0 | 0 | 1-195 + util.js | 7.28 | 8.03 | 14.28 | 7.53 | ...36,43-47,57-238,242-408,415-454,521-522,526-537 + websocket.js | 31.25 | 0 | 33.33 | 33.33 | 4-11,17-20 + main/server/adapter/asn | 19.43 | 16.06 | 17.64 | 19.28 | + asn.js | 20.36 | 16.06 | 23.07 | 20.23 | ...133,136-152,155-163,174,211-489,504-679,686-690 + asn.test.js | 0 | 100 | 0 | 0 | 1-35 + main/server/adapter/case | 68.82 | 54.66 | 39.21 | 69.93 | + case.test.js | 0 | 100 | 0 | 0 | 1-39 + caseAdapter.js | 75.49 | 56.21 | 50 | 77.36 | ...210,221,246,273-278,315-320,330,363,374,441,452 + caseIngest.js | 66.06 | 50 | 37.5 | 66.25 | ...136,152,182-194,200,213,215,223,232,235,242-245 + main/server/adapter/ceasn | 28.99 | 25.97 | 36.53 | 29.42 | + ceasn.js | 29.78 | 25.97 | 40.42 | 30.26 | ...54-1856,1875-1876,1884,1886,1890-1893,1902-1906 + ceasn.test.js | 0 | 100 | 0 | 0 | 1-52 + main/server/adapter/jsonLd | 3.77 | 2.63 | 0 | 3.77 | + jsonLd.js | 3.77 | 2.63 | 0 | 3.77 | 7-87 + main/server/adapter/openbadges | 10.66 | 1.25 | 0 | 10.73 | + openbadges.js | 10.66 | 1.25 | 0 | 10.73 | ...2-31,35-42,52-59,77-113,123-154,168-222,226-253 + main/server/adapter/replicate | 20.98 | 18.51 | 12.5 | 21.51 | + replicate.js | 20.98 | 18.51 | 12.5 | 21.51 | 16-22,28-88,94-122 + main/server/adapter/scd | 6.3 | 0 | 0 | 6.54 | + scd.js | 6.3 | 0 | 0 | 6.54 | 26-177 + main/server/adapter/xapi | 11.05 | 0.93 | 0 | 11.94 | + xapi.js | 11.05 | 0.93 | 0 | 11.94 | ...4-94,98-108,112-209,215-216,234,239-248,253-273 + main/server/profile | 4.59 | 0.45 | 2.85 | 4.94 | + calculator.js | 0 | 0 | 0 | 0 | 3-428 + coordinator.js | 22.05 | 2.38 | 25 | 22.38 | 12-96,115-116 + util.js | 10 | 0 | 0 | 12.3 | 5-16,26-105 + worker.js | 0 | 0 | 0 | 0 | 40-203 + main/server/profile/coprocessors | 0 | 0 | 0 | 0 | + default.js | 0 | 0 | 0 | 0 | 1-468 + explainer.js | 0 | 0 | 0 | 0 | 2-298 + template.js | 0 | 100 | 0 | 0 | 2-44 + timeBounding.js | 0 | 0 | 0 | 0 | 2-80 + main/server/shims | 37.09 | 20.35 | 39.44 | 38.55 | + auditLogger.js | 37.5 | 33.33 | 20 | 36.61 | ...82,87-88,96-109,126-132,137-143,148-154,159-168 + auth.js | 7.33 | 4.45 | 4.34 | 8.16 | ...324-329,333-338,341-345,350-398,406-472,505-527 + cassproject.js | 51.21 | 100 | 36.36 | 51.21 | 2-7,14-20,32,44,51-58,69,77-82,95 + jobs.js | 80 | 50 | 100 | 80 | 12-15 + levr.js | 65.17 | 39.18 | 62.22 | 64.95 | ...417,438-442,454,465-466,483-484,522,527-532,539 + mailer.js | 58.82 | 20 | 0 | 58.82 | 22-37 + stjs.js | 25 | 25 | 0 | 25 | 3-5 +----------------------------------|---------|----------|---------|---------|---------------------------------------------------- diff --git a/coverage/lcov-report/index.html b/coverage/lcov-report/index.html index 13214dcf6..bff73a193 100644 --- a/coverage/lcov-report/index.html +++ b/coverage/lcov-report/index.html @@ -23,30 +23,30 @@

All files

- 42.21% + 35.2% Statements - 2426/5747 + 2431/6905
- 30.45% + 27.43% Branches - 1112/3651 + 1114/4061
- 44.11% + 34.92% Functions - 176/399 + 176/504
- 42.74% + 35.68% Lines - 2365/5533 + 2370/6642
@@ -80,77 +80,77 @@

All files

main - -
+ +
- 65.87% - 83/126 - 45% - 27/60 - 33.33% - 5/15 - 66.4% - 83/125 + 61.76% + 84/136 + 43.54% + 27/62 + 29.41% + 5/17 + 62.68% + 84/134 main/server - -
+ +
- 61.27% - 1141/1862 + 56.01% + 1141/2037 49.3% 529/1073 - 73.04% - 84/115 - 61.12% - 1102/1803 + 67.74% + 84/124 + 55.71% + 1102/1978 main/server/adapter/asn - -
+ +
- 20.36% - 89/437 + 19.43% + 89/458 16.06% 53/330 - 23.07% - 3/13 - 20.23% - 86/425 + 17.64% + 3/17 + 19.28% + 86/446 main/server/adapter/case - -
+ +
- 72.18% - 340/471 + 68.82% + 340/494 54.66% 123/225 - 43.47% - 20/46 - 73.46% - 335/456 + 39.21% + 20/51 + 69.93% + 335/479 main/server/adapter/ceasn - -
+ +
- 29.76% - 392/1317 - 25.82% - 257/995 - 40.42% - 19/47 - 30.23% - 381/1260 + 28.99% + 392/1352 + 25.97% + 259/997 + 36.53% + 19/52 + 29.42% + 381/1295 @@ -230,32 +230,47 @@

All files

main/server/profile - -
+ +
- 15.07% - 19/126 - 1.16% - 1/86 - 9.09% - 1/11 - 16.23% - 19/117 + 4.59% + 23/501 + 0.45% + 1/222 + 2.85% + 1/35 + 4.94% + 23/465 + + + + main/server/profile/coprocessors + +
+ + 0% + 0/517 + 0% + 0/268 + 0% + 0/56 + 0% + 0/496 main/server/shims - +
- 37.18% - 296/796 - 20.43% - 114/558 + 37.09% + 296/798 + 20.35% + 114/560 39.44% 43/109 - 38.65% - 293/758 + 38.55% + 293/760 @@ -266,7 +281,7 @@

All files