Commit Graph

20 Commits

Author SHA1 Message Date
4d9b7fe3e4 Markup / scss refactor WIP
Fixes #2140
- Add timestamp to webpack build
2018-08-08 18:06:11 -07:00
9c0d5f7dbf Enable HMR in dev server 2018-08-08 13:48:17 -07:00
0d53898af9 Build refactor to webpack (#2139)
* Move to webpack build
* Use webpack for building openmct.  Move SCSS to one folder and load
all core css up front.  Remove bower, begin removing gulp in favor
of npm run.
* Uses eslint instead of jshint and jscs.  Merge style checking rules
into .eshintrc.js, carrying over core parts of crockford style and
our adaptations.  Current code base fails to pass the linter, want
to separate linter changes from fixes to linting rules.
* Support for Vue SFC with example
* Remove outdated examples
* Use HTML loader for html (supports relative imports of resources e.g.
images) and raw-loader for when javascript must be loaded as text.
2018-08-07 14:47:50 -07:00
56c16ed263 Modified Express startup so that it only binds to loopback by default 2018-06-08 09:54:18 -07:00
49d2d5500f Revert "[proxyUrl] pass URL parameters to proxied URL" 2016-09-15 09:37:11 -07:00
98486f718b [proxyUrl] pass URL parameters to proxied URL
Addresses issue #1158

Passes query parameters on to proxyUrl proxied URL

remove the url parameter before passing

Naming convention for variables

Re-order code to reuse variable
2016-08-30 19:55:18 +01:00
8c2ce81b76 Merge branch 'open1036' of https://github.com/jesusprubio/openmct into jesusprubio-open1036 2016-07-18 11:37:00 -07:00
51079b0252 [API] X-Powered-By" Express header disabled. Fixes #1036
To improve the security avoiding a possible fingerprinting attack

Ref.: http://expressjs.com/en/advanced/best-practice-security.html#at-a-minimum-disable-x-powered-by-header
2016-06-21 19:43:09 +02:00
677b65d124 Optional indent removed
removed whitespace
2016-05-11 00:39:16 +02:00
31d31d7819 Removed indents
Removed unnecessary indentations
2016-05-11 00:14:52 +02:00
d32ef4bc3d Last indentation fix 2016-05-10 22:03:07 +02:00
b4faf8991d Indentation Fixes 2016-05-10 22:02:19 +02:00
cf295105d4 [Functionality] Log app instance to the console
Added logging statement, so the user knows when the app is up and running.
2016-05-10 21:06:04 +02:00
1cdeccc7a7 #885 added command line option --directory -D to specify base directory 2016-05-05 21:58:31 -07:00
4674918b4b [Examples] #359 Updated to attempt connection to remote data source and fallback to local if unavailable
Minor change to readme

Fixed JSLint errors

More JSLint errors

[Example] Rems data integration - disabled bundle by default.

[Examples] REMS data integration - added newlines at end of files

[Example] Added time conductor support to REMS data integration

Added caching of results

[Examples] Added domain format to REMS data #359

[Example] #637 Added local proxy to app.js to allow cross-origin requests

Updated readme
2016-02-26 14:03:10 -08:00
ed454df97d [API Refactor] Uncomment out erroneous change 2016-01-08 15:45:30 -08:00
72c721b605 [API] Remove bundles.json
...and make its usage optional.
2016-01-08 09:54:02 -08:00
5c3ccb9ee0 [Development] Reload bundle file with each request
Reload the bundle file from disk when requested, re-applying any
includes or excludes that were specified on the command line.

Allows a developer to make changes to bundles.json without having to
restart the server for them to take effect.
2015-06-30 15:24:52 -07:00
5f64e499f4 [Example] Work around JSLint
JSLint doesn't like Express's use of static (a reserved word) as a
method name, so change the way it's accessed. WTD-1199.
2015-06-04 10:47:04 -07:00
2797af43e9 [Configuration] Add server app
Add server app which provides the ability to include/exclude
bundles. WTD-1199.
2015-05-20 09:03:55 -07:00