Skip to content

Commit a35b1ba

Browse files
authored
Merge pull request #920 from Azure/master
Merge master to stable for release 0.10.0
2 parents 26423f7 + 9459cd2 commit a35b1ba

File tree

339 files changed

+10026
-3258
lines changed

Some content is hidden

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

339 files changed

+10026
-3258
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ typings/
55
*.log*
66
*.mem.csv
77
release/
8+
.awcache

.vscode/settings.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@
1414
"dll/**": true
1515
},
1616
"files.exclude": {
17-
"**/__pycache__/**/*": true
17+
"**/__pycache__/**/*": true,
18+
".awcache/**": true
1819
},
1920
"python.autoComplete.extraPaths": [
2021
"${workspaceRoot}/python"
2122
],
2223
"tslint.jsEnable": true,
2324
"tslint.autoFixOnSave": true,
2425
"vsicons.presets.angular": true,
25-
"tslint.alwaysShowRuleFailuresAsWarnings": true
26+
"tslint.alwaysShowRuleFailuresAsWarnings": true,
27+
"stylelint.enable": true,
28+
"css.validate": false,
29+
"scss.validate": false
2630
}

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# 0.10.0
2+
[All items](https://github.com/Azure/BatchLabs/milestone/11?closed=1)
3+
4+
### Feature:
5+
6+
* Move breadcrumb in the header [\#906](https://github.com/Azure/BatchLabs/issues/906)
7+
* Create Pool/Job/Task monaco json editor intellisense [\#888](https://github.com/Azure/BatchLabs/issues/888)
8+
* Log viewer should switch to monaco editor [\#882](https://github.com/Azure/BatchLabs/issues/882)
9+
* Pause notification dismiss timeout when hovering the notification [\#879](https://github.com/Azure/BatchLabs/issues/879)
10+
* Allow to pick expiry time for user when connecting to a node [\#878](https://github.com/Azure/BatchLabs/issues/878)
11+
* Node files display message when node is not available [\#876](https://github.com/Azure/BatchLabs/issues/876)
12+
* Move from Codemirror to Monaco editor [\#870](https://github.com/Azure/BatchLabs/issues/870)
13+
* Make notification stay longer on the screen [\#848](https://github.com/Azure/BatchLabs/issues/848)
14+
* Ability to write json payload in the create forms and submit instead of UI [\#844](https://github.com/Azure/BatchLabs/issues/844)
15+
* Allow users to create empty file groups [\#826](https://github.com/Azure/BatchLabs/issues/826)
16+
17+
### Bug:
18+
19+
* Data upload in file group is not working [\#912](https://github.com/Azure/BatchLabs/issues/912)
20+
* Create empty file-group doesn't validate container name [\#905](https://github.com/Azure/BatchLabs/issues/905)
21+
* CSS for "forms in progress" needs updating and fonts made readable and consistent [\#904](https://github.com/Azure/BatchLabs/issues/904)
22+
* Switching fast between pools crash UI [\#898](https://github.com/Azure/BatchLabs/issues/898)
23+
* CSS bug when too many files in task outputs file explorer [\#893](https://github.com/Azure/BatchLabs/issues/893)
24+
* Account quota not updating when refreshing [\#885](https://github.com/Azure/BatchLabs/issues/885)
25+
* Missing SKU details about Linux N series VM [\#872](https://github.com/Azure/BatchLabs/issues/872)
26+
27+
### Other:
28+
29+
* Prepare release 0.10.0 [\#915](https://github.com/Azure/BatchLabs/issues/915)
30+
* Useragent should include OS [\#895](https://github.com/Azure/BatchLabs/issues/895)
31+
* Should we integrate Application Insights into Batch Labs? [\#824](https://github.com/Azure/BatchLabs/issues/824)
32+
* Refactor rx-list-proxy to a new system [\#814](https://github.com/Azure/BatchLabs/issues/814)
33+
* Suggest using iconography instead of a label for the breadcrumb bar [\#696](https://github.com/Azure/BatchLabs/issues/696)
34+
* Ability to pin Jobs, Tasks, or Pools. [\#456](https://github.com/Azure/BatchLabs/issues/456)
35+
* Add typing to RxProxy options [\#204](https://github.com/Azure/BatchLabs/issues/204)
36+
* Perf counter support [\#112](https://github.com/Azure/BatchLabs/issues/112)
37+
138
# 0.9.0
239
[All items](https://github.com/Azure/BatchLabs/milestone/10?closed=1)
340

ThirdPartyNotices.txt

Lines changed: 112 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -19,34 +19,34 @@ Microsoft reserves all other rights not expressly granted under this agreement,
1919
9. @angular/platform-browser(https://github.com/angular/angular) - MIT
2020
10. @angular/platform-browser-dynamic(https://github.com/angular/angular) - MIT
2121
11. @angular/router(https://github.com/angular/angular/tree/master/packages/router) - MIT
22-
12. @angular/tsc-wrapped(https://github.com/angular/angular/blob/master/tools/@angular/tsc-wrapped) - MIT
23-
13. @tweenjs/tween.js(https://github.com/tweenjs/tween.js) - MIT
24-
14. @types/node-fetch(https://github.com/DefinitelyTyped/DefinitelyTyped) - MIT
25-
15. azure-batch-js(http://github.com/azure/azure-sdk-for-javascript) - MIT
26-
16. azure-storage(http://github.com/Azure/azure-storage-node) - Apache-2.0
27-
17. bunyan(https://github.com/trentm/node-bunyan) - MIT
28-
18. chart.js(http://www.chartjs.org) - MIT
29-
19. codemirror(http://codemirror.net) - MIT
30-
20. core-decorators(https://github.com/jayphelps/core-decorators.js) - MIT
31-
21. d3(https://d3js.org) - BSD-3-Clause
32-
22. download(https://github.com/kevva/download) - MIT
33-
23. electron-updater(https://github.com/electron-userland/electron-builder) - MIT
34-
24. element-resize-detector(https://github.com/wnr/element-resize-detector) - MIT
35-
25. extract-zip(https://github.com/maxogden/extract-zip) - BSD-2-Clause
36-
26. font-awesome(http://fontawesome.io/) - (OFL-1.1 AND MIT)
37-
27. hammerjs(http://hammerjs.github.io/) - MIT
38-
28. immutable(https://facebook.github.com/immutable-js) - BSD-3-Clause
39-
29. inflection(https://github.com/dreamerslab/node.inflection) - MIT
40-
30. mkdirp(https://github.com/substack/node-mkdirp) - MIT
41-
31. moment(http://momentjs.com) - MIT
42-
32. moment-duration-format(https://github.com/jsmreese/moment-duration-format) - MIT
43-
33. mousetrap(https://github.com/ccampbell/mousetrap) - Apache-2.0
44-
34. ms-rest-js(https://github.com/Azure/ms-rest-js) - MIT
45-
35. node-fetch(https://github.com/bitinn/node-fetch) - MIT
46-
36. reflect-metadata(http://rbuckton.github.io/reflect-metadata) - Apache-2.0
47-
37. roboto-fontface(https://github.com/choffmeister/roboto-fontface-bower) - Apache-2.0
48-
38. rxjs(https://github.com/ReactiveX/RxJS) - Apache-2.0
49-
39. strip-json-comments(https://github.com/sindresorhus/strip-json-comments) - MIT
22+
12. @tweenjs/tween.js(https://github.com/tweenjs/tween.js) - MIT
23+
13. @types/node-fetch(https://github.com/DefinitelyTyped/DefinitelyTyped) - MIT
24+
14. azure-batch-js(http://github.com/azure/azure-sdk-for-javascript) - MIT
25+
15. azure-storage(http://github.com/Azure/azure-storage-node) - Apache-2.0
26+
16. bunyan(https://github.com/trentm/node-bunyan) - MIT
27+
17. chart.js(http://www.chartjs.org) - MIT
28+
18. core-decorators(https://github.com/jayphelps/core-decorators.js) - MIT
29+
19. d3(https://d3js.org) - BSD-3-Clause
30+
20. download(https://github.com/kevva/download) - 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) - BSD-2-Clause
34+
24. font-awesome(http://fontawesome.io/) - (OFL-1.1 AND MIT)
35+
25. hammerjs(http://hammerjs.github.io/) - MIT
36+
26. immutable(https://facebook.github.com/immutable-js) - MIT
37+
27. inflection(https://github.com/dreamerslab/node.inflection) - MIT
38+
28. mkdirp(https://github.com/substack/node-mkdirp) - MIT
39+
29. moment(http://momentjs.com) - MIT
40+
30. moment-duration-format(https://github.com/jsmreese/moment-duration-format) - MIT
41+
31. monaco-editor(https://github.com/Microsoft/monaco-editor) - MIT
42+
32. mousetrap(https://github.com/ccampbell/mousetrap) - Apache-2.0
43+
33. ms-rest-js(https://github.com/Azure/ms-rest-js) - MIT
44+
34. node-fetch(https://github.com/bitinn/node-fetch) - MIT
45+
35. reflect-metadata(http://rbuckton.github.io/reflect-metadata) - Apache-2.0
46+
36. roboto-fontface(https://github.com/choffmeister/roboto-fontface-bower) - Apache-2.0
47+
37. rxjs(https://github.com/ReactiveX/RxJS) - Apache-2.0
48+
38. strip-json-comments(https://github.com/sindresorhus/strip-json-comments) - MIT
49+
39. write-file-webpack-plugin(https://github.com/gajus/write-file-webpack-plugin) - BSD-3-Clause
5050
40. zone.js(https://github.com/angular/zone.js) - MIT
5151
41. websockets(https://github.com/aaugustin/websockets) - BSD-3-Clause
5252
42. azure-batch-cli-extensions(https://github.com/Azure/azure-batch-cli-extensions) - MIT
@@ -401,35 +401,6 @@ THE SOFTWARE.
401401
End license for @angular/router
402402
============================================================
403403

404-
============================================================
405-
Start license for @angular/tsc-wrapped
406-
------------------------------------------------------------
407-
The MIT License
408-
409-
Copyright (c) 2014-2017 Google, Inc. http://angular.io
410-
411-
Permission is hereby granted, free of charge, to any person obtaining a copy
412-
of this software and associated documentation files (the "Software"), to deal
413-
in the Software without restriction, including without limitation the rights
414-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
415-
copies of the Software, and to permit persons to whom the Software is
416-
furnished to do so, subject to the following conditions:
417-
418-
The above copyright notice and this permission notice shall be included in
419-
all copies or substantial portions of the Software.
420-
421-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
422-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
423-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
424-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
425-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
426-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
427-
THE SOFTWARE.
428-
429-
------------------------------------------------------------
430-
End license for @angular/tsc-wrapped
431-
============================================================
432-
433404
============================================================
434405
Start license for @tweenjs/tween.js
435406
------------------------------------------------------------
@@ -712,35 +683,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
712683
End license for chart.js
713684
============================================================
714685

715-
============================================================
716-
Start license for codemirror
717-
------------------------------------------------------------
718-
MIT License
719-
720-
Copyright (C) 2017 by Marijn Haverbeke <marijnh@gmail.com> and others
721-
722-
Permission is hereby granted, free of charge, to any person obtaining a copy
723-
of this software and associated documentation files (the "Software"), to deal
724-
in the Software without restriction, including without limitation the rights
725-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
726-
copies of the Software, and to permit persons to whom the Software is
727-
furnished to do so, subject to the following conditions:
728-
729-
The above copyright notice and this permission notice shall be included in
730-
all copies or substantial portions of the Software.
731-
732-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
733-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
734-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
735-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
736-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
737-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
738-
THE SOFTWARE.
739-
740-
------------------------------------------------------------
741-
End license for codemirror
742-
============================================================
743-
744686
============================================================
745687
Start license for core-decorators
746688
------------------------------------------------------------
@@ -1121,6 +1063,35 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11211063
End license for moment-duration-format
11221064
============================================================
11231065

1066+
============================================================
1067+
Start license for monaco-editor
1068+
------------------------------------------------------------
1069+
The MIT License (MIT)
1070+
1071+
Copyright (c) 2017 Microsoft Corporation
1072+
1073+
Permission is hereby granted, free of charge, to any person obtaining a copy
1074+
of this software and associated documentation files (the "Software"), to deal
1075+
in the Software without restriction, including without limitation the rights
1076+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1077+
copies of the Software, and to permit persons to whom the Software is
1078+
furnished to do so, subject to the following conditions:
1079+
1080+
The above copyright notice and this permission notice shall be included in all
1081+
copies or substantial portions of the Software.
1082+
1083+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1084+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1085+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1086+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1087+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1088+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1089+
SOFTWARE.
1090+
1091+
------------------------------------------------------------
1092+
End license for monaco-editor
1093+
============================================================
1094+
11241095
============================================================
11251096
Start license for mousetrap
11261097
------------------------------------------------------------
@@ -1861,6 +1832,38 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
18611832
End license for strip-json-comments
18621833
============================================================
18631834

1835+
============================================================
1836+
Start license for write-file-webpack-plugin
1837+
------------------------------------------------------------
1838+
Copyright (c) 2016, Gajus Kuizinas (http://gajus.com/)
1839+
All rights reserved.
1840+
1841+
Redistribution and use in source and binary forms, with or without
1842+
modification, are permitted provided that the following conditions are met:
1843+
* Redistributions of source code must retain the above copyright
1844+
notice, this list of conditions and the following disclaimer.
1845+
* Redistributions in binary form must reproduce the above copyright
1846+
notice, this list of conditions and the following disclaimer in the
1847+
documentation and/or other materials provided with the distribution.
1848+
* Neither the name of the Gajus Kuizinas (http://gajus.com/) nor the
1849+
names of its contributors may be used to endorse or promote products
1850+
derived from this software without specific prior written permission.
1851+
1852+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1853+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1854+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1855+
DISCLAIMED. IN NO EVENT SHALL ANUARY BE LIABLE FOR ANY
1856+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1857+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1858+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1859+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1860+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1861+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1862+
1863+
------------------------------------------------------------
1864+
End license for write-file-webpack-plugin
1865+
============================================================
1866+
18641867
============================================================
18651868
Start license for zone.js
18661869
------------------------------------------------------------
@@ -2000,6 +2003,29 @@ maintained libraries.
20002003

20012004
The externally maintained libraries used by Node.js are:
20022005

2006+
- Acorn, located at deps/acorn, is licensed as follows:
2007+
"""
2008+
Copyright (C) 2012-2017 by various contributors (see AUTHORS)
2009+
2010+
Permission is hereby granted, free of charge, to any person obtaining a copy
2011+
of this software and associated documentation files (the "Software"), to deal
2012+
in the Software without restriction, including without limitation the rights
2013+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2014+
copies of the Software, and to permit persons to whom the Software is
2015+
furnished to do so, subject to the following conditions:
2016+
2017+
The above copyright notice and this permission notice shall be included in
2018+
all copies or substantial portions of the Software.
2019+
2020+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2021+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2022+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2023+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2024+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2025+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2026+
THE SOFTWARE.
2027+
"""
2028+
20032029
- c-ares, located at deps/cares, is licensed as follows:
20042030
"""
20052031
Copyright (c) 2007 - 2016, Daniel Stenberg with many contributors, see AUTHORS

app/app.component.ts

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
import { Location } from "@angular/common";
21
import { AfterViewInit, Component, OnInit, ViewChild } from "@angular/core";
32
import { MatIconRegistry, MatSidenav } from "@angular/material";
43
import { DomSanitizer } from "@angular/platform-browser";
54
import { Observable } from "rxjs";
65

76
import { registerIcons } from "app/config";
87
import {
9-
AccountService, AdalService, AutoscaleFormulaService, CommandService, NcjTemplateService,
10-
NodeService, PredefinedFormulaService, PricingService, PythonRpcService, SSHKeyService, SettingsService,
11-
SubscriptionService,
12-
VmSizeService,
8+
AccountService, AdalService, AutoscaleFormulaService, CommandService, MonacoLoader,
9+
NcjTemplateService, NodeService, PredefinedFormulaService, PricingService, PythonRpcService,
10+
SSHKeyService, SettingsService, SubscriptionService, VmSizeService,
1311
} from "app/services";
1412
import { SidebarContentComponent, SidebarManager } from "./components/base/sidebar";
1513

@@ -34,7 +32,6 @@ export class AppComponent implements AfterViewInit, OnInit {
3432
private sidebarContent: SidebarContentComponent;
3533

3634
constructor(
37-
private location: Location,
3835
matIconRegistry: MatIconRegistry,
3936
sanitizer: DomSanitizer,
4037
private sidebarManager: SidebarManager,
@@ -48,6 +45,7 @@ export class AppComponent implements AfterViewInit, OnInit {
4845
private sshKeyService: SSHKeyService,
4946
pythonRpcService: PythonRpcService,
5047
private vmSizeService: VmSizeService,
48+
monacoLoader: MonacoLoader,
5149
private pricingService: PricingService,
5250
private ncjTemplateService: NcjTemplateService,
5351
private predefinedFormulaService: PredefinedFormulaService,
@@ -63,6 +61,7 @@ export class AppComponent implements AfterViewInit, OnInit {
6361
this.ncjTemplateService.init();
6462
pythonRpcService.init();
6563
this.predefinedFormulaService.init();
64+
monacoLoader.get();
6665
this.hasAccount = accountService.currentAccount.map((x) => Boolean(x));
6766

6867
Observable
@@ -99,14 +98,6 @@ export class AppComponent implements AfterViewInit, OnInit {
9998
this.adalService.logout();
10099
}
101100

102-
public goBack() {
103-
this.location.back();
104-
}
105-
106-
public goForward() {
107-
this.location.forward();
108-
}
109-
110101
/**
111102
* Preload some data needed.
112103
*/

0 commit comments

Comments
 (0)