Skip to content

Commit aebe2b3

Browse files
authored
Merge pull request #2332 from Azure/master
Merge master into stable for release 2.10.0
2 parents fee5545 + 8e01782 commit aebe2b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2253
-2183
lines changed

.eslintrc.common.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"plugins": [
3-
"@typescript-eslint"
3+
"@typescript-eslint",
4+
"unused-imports"
45
],
56
"extends": [
67
"eslint:recommended",
@@ -11,7 +12,7 @@
1112
"@typescript-eslint/explicit-module-boundary-types": "off",
1213
"@typescript-eslint/no-explicit-any": "off",
1314
"@typescript-eslint/no-inferrable-types": "off",
14-
"@typescript-eslint/no-unused-vars": "off",
15+
"unused-imports/no-unused-imports": "error",
1516
"max-len": [
1617
"error",
1718
{

.vscode/launch.json

+16-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@
3232
"hidden": false,
3333
"group": "Debug",
3434
"order": 20
35-
}
35+
},
36+
"skipFiles": [
37+
"<node_internals>/**",
38+
"${workspaceFolder}/node_modules/**"
39+
]
3640
},
3741
{
3842
"name": "Attach: Renderer",
@@ -41,14 +45,17 @@
4145
"port": 9222,
4246
"sourceMaps": true,
4347
"trace": "verbose",
44-
"url": "file://*",
4548
"webRoot": "${workspaceRoot}/build",
4649
"timeout": 30000,
4750
"presentation": {
4851
"hidden": false,
4952
"group": "Debug",
5053
"order": 30
51-
}
54+
},
55+
"skipFiles": [
56+
"<node_internals>/**",
57+
"${workspaceFolder}/node_modules/**"
58+
]
5259
},
5360
{
5461
"name": "Test: Client",
@@ -68,7 +75,12 @@
6875
"hidden": false,
6976
"group": "Test",
7077
"order": 10
71-
}
78+
},
79+
"skipFiles": [
80+
"<node_internals>/**",
81+
"${workspaceFolder}/node_modules/**",
82+
"${workspaceFolder}/test/client/**"
83+
]
7284
}
7385
],
7486
"compounds": [

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# 2.10.0
2+
3+
[All items](https://github.com/Azure/BatchExplorer/milestone/44?closed=1)
4+
5+
### feature
6+
7+
* Migrates authentication to MSAL [\#2331](https://github.com/Azure/BatchExplorer/issues/2331)
8+
9+
### other
10+
11+
* Switch to Typescript in upload-to-storage [\#2308](https://github.com/Azure/BatchExplorer/issues/2308)
12+
113
# 2.9.0
214

315
[All items](https://github.com/Azure/BatchExplorer/milestone/43?closed=1)

ThirdPartyNotices.txt

+98-68
Original file line numberDiff line numberDiff line change
@@ -18,50 +18,51 @@ Microsoft reserves all other rights not expressly granted under this agreement,
1818
8. @angular/platform-browser-dynamic(https://github.com/angular/angular#readme) - MIT
1919
9. @angular/platform-server(https://github.com/angular/angular#readme) - MIT
2020
10. @angular/router(https://github.com/angular/angular/tree/master/packages/router) - MIT
21-
11. @azure/storage-blob(https://github.com/Azure/azure-sdk-for-js#readme) - MIT
22-
12. @types/keytar(https://github.com/node-keytar) - MIT
23-
13. applicationinsights(https://github.com/Microsoft/ApplicationInsights-node.js#readme) - MIT
24-
14. azure-storage(http://github.com/Azure/azure-storage-node) - Apache-2.0
25-
15. chart.js(https://www.chartjs.org) - MIT
26-
16. chokidar(https://github.com/paulmillr/chokidar) - MIT
27-
17. commander(https://github.com/tj/commander.js#readme) - MIT
28-
18. d3(https://d3js.org) - BSD-3-Clause
29-
19. decode-uri-component(https://github.com/SamVerschueren/decode-uri-component#readme) - MIT
30-
20. download(https://github.com/kevva/download#readme) - MIT
31-
21. electron-updater(https://github.com/electron-userland/electron-builder) - MIT
32-
22. element-resize-detector(https://github.com/wnr/element-resize-detector) - MIT
33-
23. extract-zip(https://github.com/maxogden/extract-zip#readme) - BSD-2-Clause
34-
24. focus-visible(https://github.com/WICG/focus-visible) - W3C
35-
25. font-awesome(http://fontawesome.io/) - (OFL-1.1 AND MIT)
36-
26. get-proxy-settings(https://github.com/Azure/get-proxy-settings) - MIT
37-
27. glob(https://github.com/isaacs/node-glob#readme) - ISC
38-
28. hammerjs(http://hammerjs.github.io/) - MIT
39-
29. https-proxy-agent(https://github.com/TooTallNate/node-https-proxy-agent#readme) - MIT
40-
30. immutable(https://facebook.github.com/immutable-js) - MIT
41-
31. inflection(https://github.com/dreamerslab/node.inflection#readme) - MIT
42-
32. js-yaml(https://github.com/nodeca/js-yaml) - MIT
43-
33. jschardet(https://github.com/aadsm/jschardet#readme) - LGPL-2.1+
44-
34. keytar(http://atom.github.io/node-keytar) - MIT
45-
35. load-json-file(https://github.com/sindresorhus/load-json-file#readme) - MIT
46-
36. luxon(https://github.com/moment/luxon#readme) - MIT
47-
37. make-dir(https://github.com/sindresorhus/make-dir#readme) - MIT
48-
38. node-abi(https://github.com/lgeiger/node-abi#readme) - MIT
49-
39. node-forge(https://github.com/digitalbazaar/forge) - (BSD-3-Clause OR GPL-2.0)
50-
40. patternomaly(https://github.com/ashiguruma/patternomaly#readme) - MIT
51-
41. reflect-metadata(http://rbuckton.github.io/reflect-metadata) - Apache-2.0
52-
42. rxjs(https://github.com/ReactiveX/RxJS) - Apache-2.0
53-
43. strip-json-comments(https://github.com/sindresorhus/strip-json-comments#readme) - MIT
54-
44. tinycolor2(https://github.com/TinyColor) - MIT
55-
45. winston(https://github.com/winstonjs/winston#readme) - MIT
56-
46. winston-daily-rotate-file(https://github.com/winstonjs/winston-daily-rotate-file#readme) - MIT
57-
47. write-file-webpack-plugin(https://github.com/gajus/write-file-webpack-plugin#readme) - BSD-3-Clause
58-
48. xml2js(https://github.com/Leonidas-from-XIV/node-xml2js) - MIT
59-
49. zone.js(https://github.com/angular/angular#readme) - MIT
60-
50. websockets(https://github.com/aaugustin/websockets) - BSD-3-Clause
61-
51. azure-batch-cli-extensions(https://github.com/Azure/azure-batch-cli-extensions) - MIT
62-
52. node.js(https://nodejs.org/en/) - MIT
63-
53. python(https://www.python.org/) - PSF
64-
54. Electron(https://electronjs.org/) - electron
21+
11. @azure/msal-node(https://github.com/AzureAD/microsoft-authentication-library-for-js#readme) - MIT
22+
12. @azure/storage-blob(https://github.com/Azure/azure-sdk-for-js#readme) - MIT
23+
13. @types/keytar(https://github.com/node-keytar) - MIT
24+
14. applicationinsights(https://github.com/microsoft/ApplicationInsights-node.js#readme) - MIT
25+
15. azure-storage(http://github.com/Azure/azure-storage-node) - Apache-2.0
26+
16. chart.js(https://www.chartjs.org) - MIT
27+
17. chokidar(https://github.com/paulmillr/chokidar) - MIT
28+
18. commander(https://github.com/tj/commander.js#readme) - MIT
29+
19. d3(https://d3js.org) - BSD-3-Clause
30+
20. decode-uri-component(https://github.com/SamVerschueren/decode-uri-component#readme) - MIT
31+
21. download(https://github.com/kevva/download#readme) - MIT
32+
22. electron-updater(https://github.com/electron-userland/electron-builder) - MIT
33+
23. element-resize-detector(https://github.com/wnr/element-resize-detector) - MIT
34+
24. extract-zip(https://github.com/maxogden/extract-zip#readme) - BSD-2-Clause
35+
25. focus-visible(https://github.com/WICG/focus-visible) - W3C
36+
26. font-awesome(http://fontawesome.io/) - (OFL-1.1 AND MIT)
37+
27. get-proxy-settings(https://github.com/Azure/get-proxy-settings) - MIT
38+
28. glob(https://github.com/isaacs/node-glob#readme) - ISC
39+
29. hammerjs(http://hammerjs.github.io/) - MIT
40+
30. https-proxy-agent(https://github.com/TooTallNate/node-https-proxy-agent#readme) - MIT
41+
31. immutable(https://facebook.github.com/immutable-js) - MIT
42+
32. inflection(https://github.com/dreamerslab/node.inflection#readme) - MIT
43+
33. js-yaml(https://github.com/nodeca/js-yaml) - MIT
44+
34. jschardet(https://github.com/aadsm/jschardet#readme) - LGPL-2.1+
45+
35. keytar(http://atom.github.io/node-keytar) - MIT
46+
36. load-json-file(https://github.com/sindresorhus/load-json-file#readme) - MIT
47+
37. luxon(https://github.com/moment/luxon#readme) - MIT
48+
38. make-dir(https://github.com/sindresorhus/make-dir#readme) - MIT
49+
39. node-abi(https://github.com/lgeiger/node-abi#readme) - MIT
50+
40. node-forge(https://github.com/digitalbazaar/forge) - (BSD-3-Clause OR GPL-2.0)
51+
41. patternomaly(https://github.com/ashiguruma/patternomaly#readme) - MIT
52+
42. reflect-metadata(http://rbuckton.github.io/reflect-metadata) - Apache-2.0
53+
43. rxjs(https://github.com/ReactiveX/RxJS) - Apache-2.0
54+
44. strip-json-comments(https://github.com/sindresorhus/strip-json-comments#readme) - MIT
55+
45. tinycolor2(https://github.com/bgrins/TinyColor#readme) - MIT
56+
46. winston(https://github.com/winstonjs/winston#readme) - MIT
57+
47. winston-daily-rotate-file(https://github.com/winstonjs/winston-daily-rotate-file#readme) - MIT
58+
48. write-file-webpack-plugin(https://github.com/gajus/write-file-webpack-plugin#readme) - BSD-3-Clause
59+
49. xml2js(https://github.com/Leonidas-from-XIV/node-xml2js) - MIT
60+
50. zone.js(https://github.com/angular/angular#readme) - MIT
61+
51. websockets(https://github.com/aaugustin/websockets) - BSD-3-Clause
62+
52. azure-batch-cli-extensions(https://github.com/Azure/azure-batch-cli-extensions) - MIT
63+
53. node.js(https://nodejs.org/en/) - MIT
64+
54. python(https://www.python.org/) - PSF
65+
55. Electron(https://electronjs.org/) - electron
6566

6667
============================================================
6768
Start license for @angular/animations
@@ -382,6 +383,9 @@ THE SOFTWARE.
382383
End license for @angular/router
383384
============================================================
384385

386+
============================================================
387+
Start license for @azure/msal-node
388+
------------------------------------------------------------
385389
============================================================
386390
Start license for @azure/storage-blob
387391
------------------------------------------------------------
@@ -416,6 +420,31 @@ SOFTWARE.
416420
============================================================
417421
Start license for applicationinsights
418422
------------------------------------------------------------
423+
The MIT License (MIT)
424+
425+
Copyright (c) Microsoft Corporation
426+
427+
Permission is hereby granted, free of charge, to any person obtaining a copy
428+
of this software and associated documentation files (the "Software"), to deal
429+
in the Software without restriction, including without limitation the rights
430+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
431+
copies of the Software, and to permit persons to whom the Software is
432+
furnished to do so, subject to the following conditions:
433+
434+
The above copyright notice and this permission notice shall be included in all
435+
copies or substantial portions of the Software.
436+
437+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
438+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
439+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
440+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
441+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
442+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
443+
SOFTWARE.
444+
------------------------------------------------------------
445+
End license for applicationinsights
446+
============================================================
447+
419448
============================================================
420449
Start license for azure-storage
421450
------------------------------------------------------------
@@ -2370,6 +2399,30 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
23702399
============================================================
23712400
Start license for tinycolor2
23722401
------------------------------------------------------------
2402+
Copyright (c), Brian Grinstead, http://briangrinstead.com
2403+
2404+
Permission is hereby granted, free of charge, to any person obtaining
2405+
a copy of this software and associated documentation files (the
2406+
"Software"), to deal in the Software without restriction, including
2407+
without limitation the rights to use, copy, modify, merge, publish,
2408+
distribute, sublicense, and/or sell copies of the Software, and to
2409+
permit persons to whom the Software is furnished to do so, subject to
2410+
the following conditions:
2411+
2412+
The above copyright notice and this permission notice shall be
2413+
included in all copies or substantial portions of the Software.
2414+
2415+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2416+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2417+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2418+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
2419+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
2420+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
2421+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2422+
------------------------------------------------------------
2423+
End license for tinycolor2
2424+
============================================================
2425+
23732426
============================================================
23742427
Start license for winston
23752428
------------------------------------------------------------
@@ -2490,7 +2543,7 @@ THE SOFTWARE.
24902543
============================================================
24912544
Start license for websockets
24922545
------------------------------------------------------------
2493-
Copyright (c) 2013-2019 Aymeric Augustin and contributors.
2546+
Copyright (c) 2013-2021 Aymeric Augustin and contributors.
24942547
All rights reserved.
24952548

24962549
Redistribution and use in source and binary forms, with or without
@@ -3879,29 +3932,6 @@ The externally maintained libraries used by Node.js are:
38793932
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38803933
"""
38813934

3882-
- node-inspect, located at deps/node-inspect, is licensed as follows:
3883-
"""
3884-
Copyright Node.js contributors. All rights reserved.
3885-
3886-
Permission is hereby granted, free of charge, to any person obtaining a copy
3887-
of this software and associated documentation files (the "Software"), to
3888-
deal in the Software without restriction, including without limitation the
3889-
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
3890-
sell copies of the Software, and to permit persons to whom the Software is
3891-
furnished to do so, subject to the following conditions:
3892-
3893-
The above copyright notice and this permission notice shall be included in
3894-
all copies or substantial portions of the Software.
3895-
3896-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3897-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3898-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3899-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3900-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3901-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
3902-
IN THE SOFTWARE.
3903-
"""
3904-
39053935
- large_pages, located at src/large_pages, is licensed as follows:
39063936
"""
39073937
Copyright (C) 2018 Intel Corporation

docs/testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fdescribe("MyModuleB", () => {
2323
});
2424
```
2525

26-
**Note: TSLint will scan for `fdescribe` and `fit` so you don't forget one when creating a PR**
26+
**Note: ESLint will scan for `fdescribe` and `fit` so you don't forget one when creating a PR**
2727

2828
## Test the client
2929

karma.conf.js

+7-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const webpackConfig = require("./config/webpack.config.test");
33
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = "true";
44

55
// Only enable coverage if env is defined(So we don't enable it in watch mode as it duplicate logs)
6-
const coverageReporters = process.env.COVERAGE ? ["coverage", "remap-coverage", "junit"] : [];
6+
const coverageReporters = process.env.COVERAGE ? ["coverage", "junit"] : [];
77

88
// Karma config for testing the code running the browser environemnt.
99
// For the client testing use the mocha command line.
@@ -87,13 +87,12 @@ module.exports = function(config) {
8787
reportSlowerThan: 200,
8888
},
8989
coverageReporter: {
90-
type: "in-memory"
91-
},
92-
remapCoverageReporter: {
93-
"text-summary": null,
94-
json: "./coverage/coverage.json",
95-
html: "./coverage/html",
96-
cobertura: "./coverage/cobertura.xml",
90+
dir: "./coverage",
91+
reporters: [
92+
{ type: "json", subdir: ".", file: "coverage.json" },
93+
{ type: "html", subdir: "./html" },
94+
{ type: "cobertura", subdir: ".", file: "cobertura.xml" },
95+
]
9796
},
9897
// Can't enable yet has a conflict in dependency with azure-storage
9998
junitReporter: {

0 commit comments

Comments
 (0)