Skip to content

Commit 41a160f

Browse files
committed
Merge branch 'master' into open1182
2 parents 92a80c3 + 156ba83 commit 41a160f

File tree

8 files changed

+16
-19
lines changed

8 files changed

+16
-19
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Differences between the two APIs include a move away from a declarative system o
1717
## Building and Running Open MCT Locally
1818

1919
Building and running Open MCT in your local dev environment is very easy. Be sure you have [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org/) installed, then follow the directions below. Need additional information? Check out the [Getting Started](https://nasa.github.io/openmct/getting-started/) page on our website.
20+
(These instructions assume you are installing as a non-root user; developers have [reported issues](https://github.com/nasa/openmct/issues/1151) running these steps with root privileges.)
2021

2122
1. Clone the source code
2223

app.js

+3-7
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,10 @@
6767
});
6868

6969
app.use('/proxyUrl', function proxyRequest(req, res, next) {
70-
var targetUrl = req.query.url;
71-
var queryParameters = req.query;
72-
console.log('Proxying request to: ', targetUrl);
73-
delete queryParameters['url'];
70+
console.log('Proxying request to: ', req.query.url);
7471
req.pipe(request({
75-
url: targetUrl,
76-
strictSSL: false,
77-
qs: queryParameters
72+
url: req.query.url,
73+
strictSSL: false
7874
}).on('error', next)).pipe(res);
7975
});
8076

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"moment-duration-format": "^1.3.0",
1414
"requirejs": "~2.1.22",
1515
"text": "requirejs-text#^2.0.14",
16-
"es6-promise": "^3.0.2",
16+
"es6-promise": "^3.3.0",
1717
"screenfull": "^3.0.0",
1818
"node-uuid": "^1.4.7",
1919
"comma-separated-values": "^3.6.4",

docs/src/guide/index.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -933,15 +933,21 @@ Note that `templateUrl` is not supported for `containers`.
933933

934934
Controls provide options for the `mct-control` directive.
935935

936-
Six standard control types are included in the forms bundle:
936+
Ten standard control types are included in the forms bundle:
937937

938938
* `textfield`: An area to enter plain text.
939939
* `select`: A drop-down list of options.
940940
* `checkbox`: A box which may be checked/unchecked.
941941
* `color`: A color picker.
942942
* `button`: A button.
943943
* `datetime`: An input for UTC date/time entry; gives result as a UNIX
944-
timestamp, in milliseconds since start of 1970, UTC.
944+
timestamp, in milliseconds since start of 1970, UTC.
945+
* `composite`: A control parenting an array of other controls.
946+
* `menu-button`: A drop-down list of items supporting custom behavior
947+
on click.
948+
* `dialog-button`: A button which opens a dialog allowing a single property
949+
to be edited.
950+
* `radio`: A radio button.
945951

946952
New controls may be added as extensions of the controls category. Extensions of
947953
this category have two properties:

gulpfile.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,6 @@ gulp.task('stylesheets', function () {
103103
.pipe(gulp.dest(__dirname));
104104
});
105105

106-
gulp.task('nsp', function (done) {
107-
var nsp = require('gulp-nsp');
108-
nsp({package: __dirname + '/package.json'}, done);
109-
});
110-
111106
gulp.task('lint', function () {
112107
var nonspecs = paths.specs.map(function (glob) {
113108
return "!" + glob;
@@ -157,6 +152,6 @@ gulp.task('develop', ['serve', 'stylesheets', 'watch']);
157152

158153
gulp.task('install', [ 'static', 'scripts' ]);
159154

160-
gulp.task('verify', [ 'lint', 'test', 'checkstyle', 'nsp' ]);
155+
gulp.task('verify', [ 'lint', 'test', 'checkstyle' ]);
161156

162157
gulp.task('build', [ 'verify', 'install' ]);

main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ requirejs.config({
2727
"angular": "bower_components/angular/angular.min",
2828
"angular-route": "bower_components/angular-route/angular-route.min",
2929
"csv": "bower_components/comma-separated-values/csv.min",
30-
"es6-promise": "bower_components/es6-promise/promise.min",
3130
"EventEmitter": "bower_components/eventemitter3/index",
31+
"es6-promise": "bower_components/es6-promise/es6-promise.min",
3232
"html2canvas": "bower_components/html2canvas/build/html2canvas.min",
3333
"jsPDF": "bower_components/jspdf/dist/jspdf.min",
3434
"moment": "bower_components/moment/moment",

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"gulp-jscs": "^3.0.2",
1616
"gulp-jshint": "^2.0.0",
1717
"gulp-jshint-html-reporter": "^0.1.3",
18-
"gulp-nsp": "^2.4.2",
1918
"gulp-rename": "^1.2.2",
2019
"gulp-replace-task": "^0.11.0",
2120
"gulp-requirejs-optimize": "^0.3.1",

test-main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ requirejs.config({
5353
"angular": "bower_components/angular/angular.min",
5454
"angular-route": "bower_components/angular-route/angular-route.min",
5555
"csv": "bower_components/comma-separated-values/csv.min",
56-
"es6-promise": "bower_components/es6-promise/promise.min",
5756
"EventEmitter": "bower_components/eventemitter3/index",
57+
"es6-promise": "bower_components/es6-promise/es6-promise.min",
5858
"html2canvas": "bower_components/html2canvas/build/html2canvas.min",
5959
"jsPDF": "bower_components/jspdf/dist/jspdf.min",
6060
"moment": "bower_components/moment/moment",

0 commit comments

Comments
 (0)