Victor Woeltjen
a3a0f003f0
[Edit] Don't refresh unpersisted objects
2016-06-22 15:41:06 -07:00
Pete Richards
c00b053aa7
[Tests] verify that identifier service provides key
...
Verify that the results of the identifier service are used for
persistence calls instead of the domain object id.
https://github.com/nasa/openmct/issues/1013
2016-06-15 10:31:25 -07:00
Pete Richards
2d5824c4ab
[Persistence] Use identifier service to get key
...
Retrieve key from identifier service for all persist operations.
Fixes https://github.com/nasa/openmct/issues/1013
2016-06-14 10:56:54 -07:00
Henry
165e158f37
[Edit Mode] #629 Removed redundant test from DomainObjectProviderSpec
2016-05-26 11:44:43 -07:00
Victor Woeltjen
fb8fe93529
[Persistence] Fix mistake in JSDoc
...
https://github.com/nasa/openmct/pull/874#discussion_r64639089
2016-05-25 13:06:58 -07:00
Victor Woeltjen
26839c7fd1
[Persistence] Fix code style after merge
2016-05-20 14:27:53 -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
f1e81c359e
[Persistence] Satisfy JSHint
2016-05-19 12:17:20 -07:00
Victor Woeltjen
d3f2a24267
Merge branch 'master' into persist-on-mutation-825
...
Conflicts:
platform/core/src/capabilities/PersistenceCapability.js
platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDropHandler.js
2016-05-19 11:41:08 -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
Henry
d08cdfba49
Fixed linting issues
2016-05-12 16:50:19 -07:00
Henry
44f4a82fa1
Resolved merge conflicts
2016-05-12 16:14:31 -07:00
Henry
bd686790dc
Resolved merge conflicts
2016-05-12 16:03:19 -07:00
Pete Richards
f3b265bdd5
Merge branch 'master' into open671
2016-05-09 10:19:24 -07:00
Victor Woeltjen
b0cbb5a2b4
[Persistence] Only auto-persist previously saved domain objects
2016-04-29 11:31:36 -07:00
Victor Woeltjen
6418b0c634
[Persistence] Avoid redundant calls to persistenceService
...
Mutation now triggers persistence; this means that some legacy code
does or may issue redundant calls to persistence after mutating.
To avoid issuing redundant calls all the way down to the
persistenceService, bail out of persist calls early if there are
no unsaved changes to persist.
2016-04-26 16:58:10 -07:00
Victor Woeltjen
ef815cf060
[Persistence] Remove persistence reference
...
...from composition capability (as persistence is now triggered,
albeit indirectly.)
2016-04-26 16:46:30 -07:00
Victor Woeltjen
4b641f8723
[Persistence] Expose PersistingMutationListener from bundle
2016-04-26 16:39:49 -07:00
Victor Woeltjen
0d312def27
[Persistence] Add PersistingMutationListener
...
...to automatically trigger persistence after mutation.
#825
2016-04-26 16:37:44 -07:00
Henry
7f108c3b24
[Edit Mode] #635 Removed Edit-related concerns from ContextMenuGesture
2016-04-11 15:39:35 -07:00
Victor Woeltjen
934eb13813
[Build] Remove obsolete jslint tags
...
ES5 mode is enabled by default in JSHint, tags no longer necessary per
https://github.com/nasa/openmct/pull/724#discussion_r55095722
2016-04-08 16:54:01 -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
Pete Richards
c591ade479
Merge remote-tracking branch 'origin/781'
2016-04-06 10:35:40 -07:00
Victor Woeltjen
70acef6905
[Instantiation] Ensure new models have modified timestamp
...
...to avoid https://github.com/nasa/openmct/issues/745#issuecomment-204561163
2016-04-01 14:27:26 -07:00
Victor Woeltjen
da09ffd3fa
[Persistence] Don't evict models on persist
...
https://github.com/nasa/openmct/issues/745#issuecomment-204559209
2016-04-01 13:38:13 -07:00
Pete Richards
fa5d59bff8
Merge branch 'timeline-save-770b'
2016-03-24 13:06:53 -07:00
Pete Richards
ddbb72b88a
[CacheService] Don't track ids twice
...
Track whether an object is in the cache based on whether it is
in the cache instead of utilizing a separate object for tracking
contents of cache.
See comment on https://github.com/nasa/openmct/pull/773/files
2016-03-24 12:57:53 -07:00
Charles Hacskaylo
88784d37fd
[Frontend] Added priority
...
#787
2016-03-24 12:05:10 -07:00
Charles Hacskaylo
7da1a4b2a3
[Frontend] Updated glyph defs and descriptions
...
#781
#187
Converted many glyph char defs to
their JSON unicode equivalents;
Updated descriptions for many domain
objects;
2016-03-23 19:04:32 -07:00
Victor Woeltjen
31d8c9a48f
[Timeline] Allow linking during edit
...
...in cases where it is safe to do so (specifically, when the
linked-to object has already been persisted.)
2016-03-22 12:04:50 -07:00
Victor Woeltjen
ec0cc572f6
[Add] Test model cache
2016-03-21 16:11:40 -07:00
Victor Woeltjen
6c2a28aba2
[Add] Add JSDoc to model cache
2016-03-21 16:05:05 -07:00
Victor Woeltjen
baccd005dc
[Add] Update persistence capability spec
...
...to reflect removal of cached domain object models.
2016-03-21 15:08:27 -07:00
Victor Woeltjen
1e4ff5a73f
[Add] Use cacheService from decorator spec
2016-03-21 15:05:28 -07:00
Victor Woeltjen
9f29382e18
[Add] Update spec for Instantiate
...
...to reflect usage of a model cache for #770
2016-03-21 15:04:07 -07:00
Victor Woeltjen
7eaffdc34a
[Timeline] Don't suppress move during editing
...
...to allow this action to be used to support Timeline
drag-and-drop.
2016-03-21 11:42:33 -07:00
Victor Woeltjen
9c9db3c24f
[Add] Remove obsolete variable reference
...
The cache has been externalized to allow writing to it
upon domain object instantiation.
2016-03-21 10:31:38 -07:00
Victor Woeltjen
3fe41575bd
[Add] Add missing dependency
...
...to support caching of domain objects created during edit mode.
2016-03-21 10:31:09 -07:00
Victor Woeltjen
17faf000b0
[Add] Cache models on instantiation
...
...to remove need for Edit to persist these immediately, which in
turn causes #770 and #678
2016-03-21 10:20:14 -07:00
Charles Hacskaylo
3258342783
[Frontend] Further cleanups to form elements
...
#700
#689
#740
Removed _selects.scss and moved classes
into _controls.scss;
Reorg'd _controls;
Moved classes into _elems.scss;
Added and fixed cssclass defs in multiple
bundle.js files to allow better field widths
in overlay dialogs;
Fixed overlay custom scrollbar colors;
Fixed alignment of required glyphs in forms;
2016-03-16 14:40:06 -07:00
Victor Woeltjen
8b5a425da6
[Build] Restore erroneously-removed variable
2016-03-04 13:03:41 -08:00
Victor Woeltjen
d6ec7e9ab8
[Build] Remove unused variables from specs
...
...to satisfy JSHint.
2016-03-04 12:56:14 -08:00
Victor Woeltjen
65095d18f2
[Build] Remove partial global declarations
2016-03-04 11:43:55 -08:00
Victor Woeltjen
a1a7b2b8ce
[Build] Remove unused variables
...
...to satisfy JSHint
2016-03-04 11:41:48 -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
494212a448
Merge pull request #653 from nasa/open499
...
[Notifications] #499 All notifications now dismissable by default.
2016-03-01 14:50:56 -08:00
Henry
747a98d130
Addressed issues from code review
2016-02-29 18:42:48 -08:00
Victor Woeltjen
0a5097a945
Merge pull request #642 from nasa/open460
...
[Build] Move to npm-based build
2016-02-08 12:21:01 -08:00
Henry
5292b27e7d
[Notifications] #499 All notifications now dismissable by default.
...
jslint
2016-02-05 17:51:31 -08:00
Victor Woeltjen
73324ce338
[Build] Update run-time licenses
...
Update licensing info shown in run-time Licenses page
available form About dialog.
2016-02-03 17:32:16 -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
c3f819fa8c
[Build] Begin adding build info
2016-01-28 17:08:02 -08:00
Victor Woeltjen
3a4f6a7229
[Build] Update dependency references
...
...to reflect movement of third-party libraries to
bower_components.
2016-01-28 11:18:57 -08:00
Victor Woeltjen
7a160a0a98
[Build] Remove third-party libraries
2016-01-28 11:13:11 -08:00
Henry
66e827de2e
Fixed Outstanding issues from merge
2016-01-14 18:51:53 -08:00
Henry
032b2542f0
Merged from Master
2016-01-14 17:23:53 -08:00
Henry
3e7eb11d84
Regenerated bundles
2016-01-14 17:08:19 -08:00
Henry
f300b99b7b
[New Edit Mode] Code style fixes
...
JSLint error
2016-01-14 15:55:02 -08:00
Henry
b4448020e4
JSLint
2016-01-14 15:12:15 -08:00
Henry
0741e2cf5e
Disabled failing tests
2016-01-14 15:11:19 -08:00
Victor Woeltjen
45142e03dc
[API Refactor] Move uuid dependency out of top-level
2016-01-13 12:33:22 -08:00
Victor Woeltjen
cec197f888
[API Refactor] Remove bundle.json files
2016-01-08 15:32:18 -08:00
Victor Woeltjen
de53247d56
[API] Convert JSON bundles to imperative form
2016-01-07 15:08:08 -08:00
Henry
0ce19ad75d
Disabled context menu for Location items in edit mode, and disabled context menu items for non-creatable objects
2015-12-10 17:39:56 -08:00
Henry
6058e50216
JSLint fixes
2015-12-09 10:04:49 -08:00
Henry
4419a101d6
[New Edit Mode] #199 Disabled all failing tests
2015-12-08 15:15:54 -08:00
Henry
18607e9404
Merged from Master
2015-12-07 20:42:09 -08:00
Henry
eb4959cf49
[persistence] #58 renamed alertService to notificationService
2015-12-04 10:45:49 -08:00
Henry
00f96c314a
[persistence] #58 added tests for notification on persistence error
2015-12-03 20:32:03 -08:00
Henry
20d9c7158e
Added jslint es5 mode
2015-12-01 22:40:50 -08:00
Henry
d8e319ebf8
Fixing jslint errors
2015-12-01 22:36:23 -08:00
Henry
a39cbbd917
Fixing jslint errors
2015-12-01 22:35:28 -08:00
Henry
8df27a1c05
Fixing jslint errors
2015-12-01 22:34:26 -08:00
Henry
26cf9c14f4
[Persistence] Errors in persistence (after creating/modifying objects) should be visible to user #58
2015-12-01 22:03:53 -08:00
Henry
268a2c2427
Merged from master
2015-11-25 09:04:11 -08:00
Victor Woeltjen
7974ffdda2
Merge remote-tracking branch 'github/master' into open245b
...
...in preparation to complete merge nasa/openmctweb#257
Conflicts:
platform/entanglement/src/actions/CopyAction.js
platform/entanglement/src/actions/LinkAction.js
platform/entanglement/src/actions/MoveAction.js
2015-11-21 07:05:51 -08:00
Henry
30e6980dc6
Merge branch 'master' into open199
2015-11-19 14:29:32 -08:00
Victor Woeltjen
a7f277b0d2
Merge pull request #317 from nasa/open316
...
[bug] TypeImpl.getInitialmodel should always return a fresh (ie. cloned) model.
2015-11-18 12:21:23 -08:00
Henry
5ced8e655d
[bug] #317 Added jsdoc note about performance
2015-11-18 12:14:00 -08:00
akhenry
4ed35cddde
Merge pull request #272 from nasa/open120
...
[Actions] Avoid suppression of context menus
2015-11-17 16:27:17 -08:00
Henry
40b21e35fd
Fixed jslint error
2015-11-17 15:03:17 -08:00
Henry
3a36389815
Fixed test
2015-11-17 14:45:10 -08:00
Henry
ba669f1395
Merge branch 'open316' into open199
2015-11-17 14:31:06 -08:00
Henry
b27b60aedc
Merge branch 'master' into open199
2015-11-17 14:30:57 -08:00
Henry
606667eb4d
[bug] TypeImpl.getInitialmodel should always return a fresh (ie. cloned) model. #316
2015-11-17 14:30:34 -08:00
akhenry
f9a7ca85ac
Merge pull request #273 from nasa/open231
...
[Core] Catch errors from listeners in topic
2015-11-12 16:51:50 -08:00
Charles Hacskaylo
608df8f7b8
Merging in latest github master; resolved conflicts
2015-11-10 16:13:46 -08:00
Victor Woeltjen
04ce2f985a
[Persistence] Add JSDoc
...
Add JSDoc to classes added/modified to support multiple persistence
spaces, nasa/openmctweb#245 .
2015-11-10 14:16:07 -08:00
Victor Woeltjen
7c427e0b6e
[Persistence] Test IdentifierProvider
2015-11-10 13:15:24 -08:00
Victor Woeltjen
6cf8335f31
[Persistence] Test Identifier parsing
...
...and add empty spec for IdentifierProvider
2015-11-10 13:11:21 -08:00
Victor Woeltjen
76c1f5bfe9
[Persistence] Update spec for instantiate
...
...to reflect usage of identifierService.
2015-11-10 12:34:54 -08:00
Victor Woeltjen
33f88d30ed
[Persistence] Update bundle definition
...
...to reflect dependency on identifierService to interpret an
object's persistence space based on its identifier.
2015-11-10 12:34:30 -08:00
Victor Woeltjen
ffdcbece56
[Persistence] Update failing spec
...
...to reflect changes to the persistence capability, utilizing the
identifierService for consistent interpretation of spaces by id.
2015-11-10 12:33:52 -08:00
Victor Woeltjen
44eb723efb
[Persistence] Update failing spec
...
...for instantiation capability, to reflect usage of identifier
parser in determining which space an object should belong to.
2015-11-10 12:26:59 -08:00
Victor Woeltjen
689f80bb23
[Persistence] Use identifierService from persistence
...
User identifierService from the persistence capability, for
consistent interpretation of spaces associated with domain
object identifiers.
2015-11-10 12:21:53 -08:00
Victor Woeltjen
a2db98d275
[Persistence] Update failing spec
...
...to reflect changes to PersistedModelProvider
2015-11-10 12:12:11 -08:00
Victor Woeltjen
ad60b9225e
[Persistence] Clean up instantiation
...
Fix typo to correctly reuse defined identifiers, remove
unused dependency of instantiation capability.
2015-11-10 10:53:48 -08:00