Victor Woeltjen
5520d90984
[Generic Search] Remove comments
...
Per code review, nasa/openmctweb#165
2015-10-05 09:57:46 -07:00
Victor Woeltjen
b632926d8e
[Search] Fix mutation.listen
...
Update mutation.listen to match previous variable
names changes related to nasa/openmctweb#141 .
2015-09-30 13:09:55 -07:00
Victor Woeltjen
866c8882ca
[Search] Listen on a global mutation topic
...
Listen on a global mutation topic to remove the need to retain
listeners per domain object.
2015-09-29 11:50:30 -07:00
Pete Richards
70bc17c79f
Merge remote-tracking branch 'github-open/open97' into open-master
2015-09-23 13:44:48 -07:00
Victor Woeltjen
a233856bac
[Core] Separate out contextualize
...
Separate out contextualize function to facilitate
reuse from entanglement bundle. nasa/openmctweb#84
2015-09-17 13:15:42 -07:00
Victor Woeltjen
ecf7f4b235
[Info Bubble] Remove ID
...
Don't show domain object id in info bubble; this is not
useful information to non-developers. (For developers,
this information can be retrieved from the URL by
navigating to a domain object.) WTD-1252
2015-09-11 16:29:20 -07:00
Victor Woeltjen
f17410a85b
[Capabilities] Avoid erroneous logging
...
Fix logic error which caused an inaccurate warning to
be logged when capabilities are overridden by priority.
Addresses #49 .
2015-09-11 11:38:22 -07:00
Victor Woeltjen
17e9e87a2b
[Composition] Test composition.add
...
Add test case to verify the behavior of the add method
of the composition capability.
2015-09-02 11:56:37 -07:00
Victor Woeltjen
b1238b0c96
[Composition] Return newly-contextualized object
...
After adding to composition, return the newly-contextualized
object; this is regularly used by other services.
2015-09-02 11:37:47 -07:00
Victor Woeltjen
d3d94d67ea
[Composition] Use composition.add from LinkService
2015-09-02 09:16:58 -07:00
Victor Woeltjen
b9d8b124ff
[Composition] Use composition.add from link action
2015-09-02 09:08:47 -07:00
Victor Woeltjen
194bc41322
[Composition] Add an add method
...
Add a method to add new objects to the composition of
another domain object. nasa/openmctweb#97
2015-09-01 17:10:54 -07:00
Victor Woeltjen
c3efb29dfc
[Metadata] Fix whitespace
2015-09-01 11:31:42 -07:00
Victor Woeltjen
620c0415cf
[Persistence] Use create from persistence capability
...
...when an object hasn't been previously persisted. This allows
for compatibility with persistence services which disallow
updates for nonexistent objects (which is not abnomal behavior.)
nasa/openmctweb#92
2015-08-28 15:45:48 -07:00
Victor Woeltjen
b7765ff388
[Code Style] Use prototypes in platform
...
WTD-1482
2015-08-11 12:57:31 -07:00
Victor Woeltjen
c08a460d30
[JSDoc] Add annotations
...
Bulk-add JSDoc annotations, WTD-1482.
2015-08-07 11:44:54 -07:00
larkin
38ad8058e8
Merge remote-tracking branch 'origin/open1223' into open-1338
...
Resolve merge conflicts due to whitespace changes.
2015-06-29 12:08:16 -07:00
Victor Woeltjen
e0f672d40d
[Core] Add test case for shared listener
...
Add test case for sharing listeners across mutation
capability instances, WTD-1329.
2015-06-24 12:12:50 -07:00
Victor Woeltjen
877461c4a4
[Core] Add dependency to mutation
...
Add the 'topic' dependency to the mutation capability,
WTD-1329.
2015-06-24 12:08:47 -07:00
Victor Woeltjen
c668fa041a
[Core] Allow listening for mutation
...
Allow listeners to register with a domain object's
mutation capability to detect changes to that
domain object. Allows other components to respond
to these changes without resorting to polling on
timestamp or similar. WTD-1329.
2015-06-24 10:20:49 -07:00
Victor Woeltjen
71ca9803c2
[Core] Obey priority for capabilities
...
Obey priority for capabilities to allow this to be overridden
for other domain object types, WTD-1223.
2015-06-19 14:40:59 -07:00
Charles Hacskaylo
d7e43026cd
[Merge] Merge in open-master, resolve conflicts in _constants.scss
2015-06-10 14:04:48 -07:00
Victor Woeltjen
cae8372d34
[Info Bubble] Include type in common metadata
...
Include type in common domain object metadata to display
in an info bubble, WTD-884.
2015-06-04 12:34:56 -07:00
Victor Woeltjen
6622ca7031
[Info Bubble] Add common properties to metadata
...
Expose common properties (like time updated) from the metadata
capability, to appear in the Info bubble. WTD-884.
2015-06-04 12:26:57 -07:00
Victor Woeltjen
cd26d1284e
[Info Bubble] Add metadata capability
...
Add metadata capability, which will be used to populate
contents of an info bubble. WTD-884.
2015-06-04 12:09:50 -07:00
Victor Woeltjen
e452921729
[Core] Revise explicit setting of modified timestamp
...
Allow undefined as an explicit value for a domain
object's modification timestamp (as set via the
mutation capability.) Avoids a bug in minimal auto-refresh,
being added for WTD-1221.
2015-06-04 09:16:08 -07:00
Victor Woeltjen
10863514cb
[Licenses] Add license headers
...
WTD-1051.
2015-05-13 16:43:30 -07:00
Victor Woeltjen
66fd899650
[Core] Update capability interfaces
...
Update capability interfaces for persistence and mutation to
track timestamps of both changes and persistence calls.
Helps distinguish when refreshes should be allowed, which in
turn will be used to support Overwrite behavior when
Save conflicts are detected. WTD-1033.
2015-03-20 15:20:27 -07:00
Victor Woeltjen
1583c871fd
[Core] Allow timestamp specification for mutation
...
Allow a timestamp to be explicitly passed into the mutation
capability during use, to override system time in certain
cases. WTD-1033.
2015-03-20 15:08:20 -07:00
Victor Woeltjen
1174f746f7
[Persistence] Handle overwrite/cancel
...
Handle Overwrite/Cancel more correctly when revision conflicts
are detected. WTD-1033.
2015-03-20 14:52:25 -07:00
Victor Woeltjen
717b9b1b92
[Persistence] Add refresh
...
Continue adding behavior for persistence failures; add a refresh method
to the persistence capability to support this. WTD-1033.
2015-03-20 12:40:58 -07:00
Victor Woeltjen
ab8215cd17
[Context] Communicate root object
...
Fix logic in determining which object is root, WTD-922.
2015-03-18 10:51:11 -07:00
Victor Woeltjen
6e783648d6
[Edit] Hide root object
...
Act as if the object being edited is the root object when
in Edit mode, except in the Library pane (which has its own
means of getting the real root object.) WTD-922.
2015-03-17 18:11:46 -07:00
bwyu
828f82a3e7
Merge remote-tracking branch 'origin/open931' into open-master
2015-03-17 11:05:45 -07:00
Victor Woeltjen
222aa55dd7
[Core] Remove dependency
...
Remove dependency from the mutation capability;
it recognizes and handles promises internally, instead.
WTD-931.
2015-03-11 17:38:40 -07:00
Victor Woeltjen
00daa32f56
[Core] Accelerate promises during mutation
...
Use a fast-promise approach (instead of ) when handling
mutation of domain objects, to ensure that mutation resolves
during the current tick. Needed for drag interactions of
WTD-931.
2015-03-11 17:37:07 -07:00
Victor Woeltjen
e781ead497
[Core] Fix relationship bug
...
Fix error in relationship capability; return cached
promise for specific relationship. WTD-1007
2015-03-10 15:05:02 -07:00
Victor Woeltjen
97fe378751
[Core] Test relationship capability
...
Test relationship capability, WTD-1007.
2015-03-09 15:22:23 -07:00
Victor Woeltjen
d1ea5726e2
[Core] Add 'relationship' capability
...
Add a general-purpose capability for typed relationships.
Unlike composition, these do not appear in the tree, but
instead appear only in user interfaces which specifically
look for these typed relationships. WTD-1007.
2015-03-09 15:07:33 -07:00
Victor Woeltjen
5faf81e9a5
[Layout] Handle mutation edge case
...
Fix an edge case in the mutation capability where model
data could be lost during a mutation; this supports
auto-mutate/persist functionality for representations,
which allows Layout editing (transitioned for WTD-535)
to be persisted thereby.
2014-12-06 09:28:46 -08:00
Victor Woeltjen
99f9203e71
[Core] Complete spec for capailities
...
Complete specs for capabilities introduced in platform/core,
part of ongoing transition of this bundle. WTD-573.
2014-11-21 16:59:03 -08:00
Victor Woeltjen
e18b4f234f
[Core] Add spec for CompositionCapability
...
Add spec for CompositionCapability; ongoing improvement of
test coverage for WTD-573.
2014-11-21 16:06:50 -08:00
Victor Woeltjen
bef49c7999
[Core] Add JSDoc for capabilities
...
Add JSDoc for remaining core capabilities, to meet
code standards for integration. WTD-573.
2014-11-20 14:34:37 -08:00
Victor Woeltjen
299f78f73f
[Core] Add JSDoc to PersistenceCapability
...
Add JSDoc to PersistenceCapability, to continue
satisfying code standards in preparation for
integration of the platform/core bundle.
WTD-573.
2014-11-20 14:05:13 -08:00
Victor Woeltjen
b9651b45d0
[Core] Add JSDoc for ContextualDomainObject
...
Add JSDoc for the domain object wrapper used to
expose a 'context' capability; part of
ongoing documentation to meet code standards in
platform/core in preparation for integration.
WTD-573.
2014-11-20 13:56:25 -08:00
Victor Woeltjen
e569249231
[Core] Add JSDoc for ContextCapability
...
Add JSDoc for the 'context' capability; part of
ongoing documentation to meet code standards in
platform/core in preparation for integration.
WTD-573.
2014-11-20 13:51:29 -08:00
Victor Woeltjen
0fdce798f7
[Core] Bring in core bundle from sandbox
...
Bring in bundle platform/core from the sandbox
branch, in preparation for clean up, tests, and
integration. WTD-573
2014-11-20 12:58:21 -08:00