David Tsay
97694fa29c
Bump copyright year to 2020 ( #3169 )
2020-09-14 11:17:31 -07:00
Joel McKinnon
4d560086dd
ESLint upgrade, implement additional rules ( #3230 )
...
* upgrade to ESLintv7, added overrides for rules violated
* removed overrides for spec files
* fixed no-prototype-builtins issues
* added rules for default-case-last, default-param-last, grouped-accessor-pairs, no-constructor-return, and added override for one violation
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2020-08-10 11:23:35 -07:00
Joel McKinnon
ef965ebdfd
ESLint rules: array-callback-return, no-invalid-this, func-style ( #3151 )
...
* satisfied array-callback-return rule
* satisfying no-invalid-this rule
* fixed invalid-this issues
* changed isNotEqual to arrow function
* added rule func-style
* added return false to satisfy array-callback-return rule
Co-authored-by: Joel McKinnon <jmckinnon@apple.com>
Co-authored-by: Joshi <simplyrender@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
2020-08-10 10:59:18 -07:00
Andrew Henry
a09da30768
New eslint rules auto fix ( #3058 )
...
* no-implicit-coercion and no-unneeded-ternary
* End every line with a semicolon
* Spacing and formatting
* Enabled semi-spacing
* Applies npm run lint:fix to code after master merge
* Fix merge issues
* Switched operator-linebreak to 'before'
Co-authored-by: Joshi <simplyrender@gmail.com>
2020-07-31 12:11:03 -07:00
Andrew Henry
c83e44ff1c
Merged from master
2019-12-06 09:45:21 -08:00
Andrew Henry
7477536478
Disable broken unit tests ( #2519 )
...
* Disabling broken unit tests
* Removed legacy RemoveAction
2019-10-10 16:23:29 -07:00
Deep Tailor
3377ad5e0d
Reimplemented Go To Original Action ( #2383 )
...
* complete working go to original action, todo (css class for action)
* Fix layout when a menu item does not have an icon
* Removed superfluous keystring conversion
2019-04-28 12:29:16 -07:00
Deep Tailor
33a4792531
do not show warning dialog when user moves an object from one location to another ( #2142 )
...
* dont show error dialog when user moves an object from one location to another
* add test for not showing blocking message on remove action
Fixes #2141
2018-08-10 10:06:40 -07:00
Pete Richards
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
Andrew Henry
433dee0314
Update test specs to use Jasmine 3 ( #2089 )
...
* Updated Karma and Jasmine versions
* Added DOMObserver class. Supports promise-based testing of DOM changes
Update asynchronous test specs to use promises or done() instead of waitsFor/runs
* Modified ActionCapability to duplicate context object properties as own properties for better object equality comparisons
* Global find + replace to fix syntax issues
* Fixed various issues caused by non-deterministic runtime order of tests in Jasmine 3. Fixed issues caused by changes to determination of object equality
* Addressed review comments
* Resolved merge conflicts with master
* Fixed style errors
* Use spy.calls.count() instead of manually tracking
2018-06-29 17:32:59 -07:00
Julie Wang
2f8a0c2c2b
[Notifications] Added timestamp and object name to copy notifications ( #2060 )
...
* [Notifications] Added timestamp and object name to copy notifications \n
-Fixes issue #331
-Added timestamps to all notifications
-Added object name to copy success notification
-Updated placement and style of notification timestamp as discussed with Charles.
2018-06-20 10:37:19 -07:00
Nick Weingartner
c55eaeb193
[Copyright] Update copyright year across platform code references
...
Fixes #2034 .
2018-05-14 15:46:17 -07:00
Pete Richards
f07934f512
Merge pull request #1519 from nasa/mct1456
...
[Duplicate] Differentiate between user cancellation and other errors
2017-04-24 15:39:18 -07:00
Andrew Henry
ec4fe8efb3
Merge pull request #1518 from nasa/copyright-1517
...
[Licenses] Update copyright year to 2017
2017-04-23 17:22:01 -07:00
Victor Woeltjen
185567cf29
[Licenses] Update copyright year to 2017
...
Fixes #1517
2017-04-05 14:52:46 -07:00
Pete Richards
7dd5da8993
Merge pull request #1487 from nasa/open1483
...
[Persistence] Prevent editing of objects that cannot be saved. Fixes #1483
2017-04-05 14:39:37 -07:00
Henry
a867cd6be0
Removed contextualization warning. Removed now redundant Contextualize service. Fixes #1498
2017-04-04 15:39:10 -07:00
Henry
4e457f1cf0
Fixed failing tests, and added new tests
2017-03-27 11:15:27 -07:00
Bogdan
eb91cd33be
[Copy] Diff between user cancellation and failure
2017-02-25 15:05:29 +02:00
Pete Richards
2a10a2cae2
Update specs to match composition policies
2017-02-21 15:14:35 -08:00
Victor Woeltjen
1a88c9a651
Merge remote-tracking branch 'origin/master' into persist-on-mutation-825
2016-10-07 11:27:58 -07:00
Charles Hacskaylo
2c2d9c1bfe
[Frontend] Updated test specs
...
Fixes #1118
2016-08-29 14:26:27 -07:00
Victor Woeltjen
766e94ed62
Merge remote-tracking branch 'origin/master' into persist-on-mutation-825b
...
Conflicts:
platform/core/src/capabilities/PersistenceCapability.js
2016-07-25 16:30:49 -07:00
Pete Richards
99ec188813
Merge remote-tracking branch 'origin/open254'
2016-07-18 11:35:43 -07:00
Henry
c8898ac6aa
[Documentation] Updated copyright statement. Fixes #1081
2016-07-12 16:55:57 -07:00
Henry
ea1780364b
[Dialog Service] Dismiss individual dialogs. Fixes #254
2016-06-29 20:12:12 -07:00
Victor Woeltjen
5152e64895
[Duplicate] Allow copy across spaces
...
Fixes #1007
2016-06-10 11:38:55 -07:00
Victor Woeltjen
264896c264
Merge branch 'master' into persist-on-mutation-825
...
Conflicts:
platform/commonUI/edit/src/actions/RemoveAction.js
platform/commonUI/edit/test/actions/EditAndComposeActionSpec.js
platform/commonUI/edit/test/actions/RemoveActionSpec.js
platform/entanglement/src/services/LinkService.js
platform/features/timeline/src/controllers/drag/TimelineDragHandler.js
platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDecorator.js
platform/features/timeline/test/controllers/drag/TimelineDragHandlerSpec.js
platform/features/timeline/test/controllers/swimlane/TimelineSwimlaneDropHandlerSpec.js
2016-05-20 14:26:39 -07:00
Victor Woeltjen
ad5691142e
[Code Style] Rename shadowing variables
2016-05-20 13:05:32 -07:00
Victor Woeltjen
a5aaa6f103
[Persistence] Don't expect persist calls in LocationCapability spec
2016-05-19 11:55:05 -07:00
Victor Woeltjen
0aba9122a1
[Persistence] Don't expect persist calls in LinkService spec
2016-05-19 11:51:50 -07:00
Victor Woeltjen
fa77139077
[Code Style] Run gulp fixstyle
...
...to apply code style settings from #142 .
2016-05-19 11:29:13 -07:00
Victor Woeltjen
0b11ddbcfd
[Build] Satisfy JSHint
...
Restore globals lost during removal due to merge, remove unused
variables and use threequals in new scripts.
2016-04-08 16:22:40 -07:00
Victor Woeltjen
5088453712
[Build] Remove use strict, global
...
Remove usages of use strict and global declarations that are
no longer necessary with JSHint configuration, from files
added/changed since #724
2016-04-08 16:11:12 -07:00
Victor Woeltjen
5e44bfc6c7
Merge branch 'master' into open671
...
Conflicts:
main.js
platform/commonUI/edit/src/policies/EditableMovePolicy.js
platform/commonUI/general/src/directives/MCTTree.js
platform/commonUI/general/src/ui/ToggleView.js
platform/core/src/actions/ActionCapability.js
platform/core/test/models/CachingModelDecoratorSpec.js
platform/core/test/services/InstantiateSpec.js
platform/features/events/bundle.js
platform/features/events/src/DomainColumn.js
platform/features/events/src/EventListController.js
platform/features/events/src/EventListPopulator.js
platform/features/events/src/RangeColumn.js
platform/features/events/src/directives/MCTDataTable.js
platform/features/events/src/policies/MessagesViewPolicy.js
platform/features/events/test/DomainColumnSpec.js
platform/features/events/test/EventListControllerSpec.js
platform/features/events/test/EventListPopulatorSpec.js
platform/features/events/test/RangeColumnSpec.js
platform/features/events/test/policies/MessagesViewPolicySpec.js
platform/features/rtevents/bundle.js
platform/features/rtevents/src/DomainColumn.js
platform/features/rtevents/src/RTEventListController.js
platform/features/rtevents/src/RangeColumn.js
platform/features/rtevents/src/directives/MCTRTDataTable.js
platform/features/rtevents/src/policies/RTMessagesViewPolicy.js
platform/features/rtevents/test/DomainColumnSpec.js
platform/features/rtevents/test/RTEventListControllerSpec.js
platform/features/rtevents/test/RangeColumnSpec.js
platform/features/rtevents/test/policies/RTMessagesViewPolicySpec.js
platform/features/rtscrolling/bundle.js
platform/features/rtscrolling/src/DomainColumn.js
platform/features/rtscrolling/src/NameColumn.js
platform/features/rtscrolling/src/RTScrollingListController.js
platform/features/rtscrolling/src/RangeColumn.js
platform/features/scrolling/src/DomainColumn.js
platform/features/scrolling/src/RangeColumn.js
platform/features/scrolling/src/ScrollingListController.js
platform/features/scrolling/src/ScrollingListPopulator.js
platform/features/scrolling/test/DomainColumnSpec.js
platform/features/scrolling/test/RangeColumnSpec.js
platform/features/scrolling/test/ScrollingListControllerSpec.js
platform/features/scrolling/test/ScrollingListPopulatorSpec.js
platform/features/table/src/directives/MCTTable.js
platform/features/table/test/controllers/TelemetryTableControllerSpec.js
platform/representation/src/gestures/DropGesture.js
platform/telemetry/src/TelemetryFormatter.js
test-main.js
2016-04-08 16:08:19 -07:00
Victor Woeltjen
e23bf5ed39
[Entanglement] Test CopyPolicy
2016-03-29 19:26:18 -07:00
Victor Woeltjen
6ecea9950d
[Entanglement] Test MovePolicy
2016-03-29 19:22:22 -07:00
Victor Woeltjen
d6ec7e9ab8
[Build] Remove unused variables from specs
...
...to satisfy JSHint.
2016-03-04 12:56:14 -08:00
Victor Woeltjen
f34ef8c4c8
[Build] Add global declarations to mocks
2016-03-04 11:53:08 -08:00
Victor Woeltjen
ac5ac8d34e
[Build] Remove boilerplate from scripts
...
No longer necessary after JSHint configuration.
2016-03-04 10:46:38 -08:00
Victor Woeltjen
53a49a671b
[Create] Test optional filter parameter
2016-02-10 14:31:56 -08:00
Victor Woeltjen
99a454f943
[Create] Update CopyService spec
...
...to reflect API usage after #656
2016-02-10 14:21:09 -08:00
Victor Woeltjen
0f231838ec
[Create] Update test inputs to CopyTask
...
...to reflect changes for #656
2016-02-10 14:05:04 -08:00
Victor Woeltjen
aebae27391
[Tests] Remove suite.json files
...
Remove obsolete suite.json files; #482
2016-02-02 09:35:50 -08:00
Victor Woeltjen
995d71f901
[Duplicate] Add test case
...
Add test case for single-element string arrays, to
replicate bug around type coercion.
https://github.com/nasa/openmctweb/issues/444
2015-12-17 15:07:16 -08:00
Henry
6302e45c10
Fixed bug in copying #428
2015-12-17 13:47:31 -08:00
Henry
83e77303aa
[Copy] Duplication of layouts does not retain position and size of all elements. #428
2015-12-16 11:11:20 -08:00
Victor Woeltjen
19f07aa398
[Duplicate] Add trailing newline
2015-12-08 16:34:36 -08:00
Victor Woeltjen
46f9b31cff
[Duplicate] Test rewriting of identifiers
2015-12-08 16:27:46 -08:00
akhenry
3447e735dc
Merge pull request #362 from nasa/open346
...
[Entanglement] Add "Set Primary Location" action
2015-12-04 13:48:27 -08:00