Victor Woeltjen
c59f13504e
[Containment] Test containment tables
...
Test tables which support efficient lookup of composition policy,
WTD-962.
2015-04-10 18:29:42 -07:00
Victor Woeltjen
e3a44356a8
[Containment] Test composition policy
...
WTD-962.
2015-04-10 18:16:40 -07:00
Victor Woeltjen
90b8f22c2d
[Containment] Add skeleton specs
...
Add empty specs for composition policy, WTD-962.
2015-04-10 18:09:02 -07:00
Victor Woeltjen
db57444738
[Containment] Update specs for coverage
...
Update existing specs for code coverage after changes for
WTD-962, composition policy.
2015-04-10 18:00:13 -07:00
Victor Woeltjen
fa5bc326e1
[Containment] Update failing specs
...
Update failing specs after changes for composition
policy to enforce containment rules, WTD-962.
2015-04-10 17:47:49 -07:00
Victor Woeltjen
3e972650c7
[Containment] Test LinkAction
...
Add test cases for LinkAction, added to allow composition
changes to be controlled by policy. WTD-962.
2015-04-10 17:37:11 -07:00
Victor Woeltjen
f6df73c11b
Merge branch 'open-master' into open962
...
Merge in latest from open-master into topic branch
for WTD-962
2015-04-10 17:30:03 -07:00
Victor Woeltjen
952f380c33
[Containment] Make ngModel optional
...
Make the ngModel dependency of mct-control optional, to avoid
breaking mct-control usages which don't also use ng-model.
WTD-962.
2015-04-09 13:10:27 -07:00
Victor Woeltjen
79f6e8c082
Merge branch 'open1062' into open-master
...
Merge changes for WTD-1062
2015-04-08 12:48:49 -07:00
Victor Woeltjen
9d3c22655d
Merge branch 'open973' into open-master
...
Merge in policy service, WTD-973
Conflicts:
bundles.json
2015-04-08 12:43:13 -07:00
Victor Woeltjen
3707a68ea1
Merge branch 'open1071' into open-master
...
Merge changes for WTD-1071
2015-04-08 12:38:17 -07:00
Victor Woeltjen
c8ec3e713d
Merge branch 'open1070' into open-master
...
Merge in changes for WTD-1070
2015-04-08 12:34:45 -07:00
Victor Woeltjen
cc0a46d5cc
[Containment] Set validity in locator
...
Set validity of selected location from locator control, to
disallow creation when no valid location is selected (which
is possible due to containment rules.) WTD-962.
2015-04-07 22:30:21 -07:00
Victor Woeltjen
0550e09344
[Containment] Enforce containment rules in locator
...
Enforce containment rules in locator; WTD-962.
2015-04-07 22:21:37 -07:00
Victor Woeltjen
7cabead3bc
[Containment] Remove condition around drop event
...
Remove condition (now obsolete) which checked for mutation
after drop, for changes for WTD-962.
2015-04-07 21:06:23 -07:00
Victor Woeltjen
9e4611bcfd
[Containment] Fix bundle
...
Fix dependencies in containment bundle to allow loading,
WTD-962.
2015-04-07 21:03:36 -07:00
Charles Hacskaylo
29b63504eb
[Frontend] New and updated styles for values view
...
WTD-938
2015-04-07 20:52:49 -07:00
Victor Woeltjen
d2c666358e
[Containment] Restrict the compose action
...
Restrict the compose action by policy, to avoid drag-drop of
inappropriate domain object types. WTD-962.
2015-04-07 20:51:01 -07:00
Victor Woeltjen
8f7dcd2018
[Containment] Fire compose instead of link
...
Fire compose instead of link on drop, since this will
match usage for move/copy/link in the future. WTD-962.
2015-04-07 20:40:26 -07:00
Victor Woeltjen
44eb54884b
[Containment] Fire a link action on drop
...
Fire a link action as the result of a drag-drop operation,
WTD-962.
2015-04-07 20:35:54 -07:00
Victor Woeltjen
5045795a7c
[Containment] Expose Link action as compose
...
Expose 'link' as 'compose'; this facilitates implementation of
drag-drop composition being deferred to actions which will
support move/copy/link options in the future. WTD-962.
2015-04-07 20:24:15 -07:00
Victor Woeltjen
5adcd3cd6d
[Containment] Implement Link
...
Implement link as a basic action, to separate it out from
drop gesture such that it can be controlled by policy. For
WTD-962.
2015-04-07 20:20:56 -07:00
Victor Woeltjen
870ff6af32
[Containment] Add message
...
WTD-962
2015-04-07 20:06:08 -07:00
Victor Woeltjen
931ca73d6b
[Containment] Merge in policy
...
Merge in policy support, as this is necessary to support
containment rules, WTD-962.
2015-04-07 20:03:00 -07:00
Victor Woeltjen
838a86830e
[Containment] Add bundle declaration
...
WTD-962.
2015-04-07 20:02:05 -07:00
Victor Woeltjen
3c00eb86ea
[Containment] Add general policy for containment rules
...
Add general policy for supporting containment rules, WTD-962.
2015-04-07 19:58:39 -07:00
Victor Woeltjen
c10253c01d
[Plot] Add note about test priority
...
WTD-1070.
2015-04-06 14:30:13 -07:00
Victor Woeltjen
e01c45df2e
[Plot] Test 2D chart drawing
...
Test drawing using fallback canvas 2D API, WTD-1070.
2015-04-06 14:27:43 -07:00
Victor Woeltjen
3db8c1a32d
[Plot] Try multiple chart options
...
Choose among multiple chart options, WTD-1070.
2015-04-06 14:15:34 -07:00
Victor Woeltjen
eba980c720
[Plot] Implement canvas 2d methods
...
Implement methods in 2D canvas to support fallback when
WebGL is unavailable, WTD-1070.
2015-04-06 13:56:27 -07:00
Victor Woeltjen
0626a6080e
[Plot] Add 2d chart
...
Add skeleton class for implementation of charting
functionality which uses canvas' 2D API for rendering,
WTD-1070.
2015-04-06 13:49:13 -07:00
Victor Woeltjen
874f81010c
[Edit] Update EditController spec
...
Update tests for EditController to match updated
usage of domain object API for WTD-1071.
2015-04-06 09:30:42 -07:00
Victor Woeltjen
8b6a972fa4
[Edit] Avoid double-wrapping
...
Avoid double-wrapping editable domain objects, WTD-1071.
2015-04-06 09:30:14 -07:00
Victor Woeltjen
60ed17e32b
[Edit] Add test case for double-wrapping
...
Add test case to detect double-wrapping of domain objects
retrieved via the editable domain object cache, identified
as the root cause of WTD-1071.
2015-04-06 09:28:53 -07:00
Victor Woeltjen
3c3dd0ad17
Merge branch 'open1035' into open-master
...
Merge WTD-1035; resolving conflicts to avoid WTD-1069
Conflicts:
platform/commonUI/edit/src/controllers/EditController.js
platform/commonUI/edit/src/objects/EditableDomainObjectCache.js
2015-04-06 08:32:54 -07:00
Victor Woeltjen
58d66871c1
Merge branch 'open1033' into open-master
2015-04-06 08:20:02 -07:00
Victor Woeltjen
9be40d6d2a
[Edit] Fill in tests for Edit policies
...
Complete tests for policies for Edit actions, WTD-1062.
2015-04-01 16:21:06 -07:00
Victor Woeltjen
e2c6db8259
[Edit] Stub in specs for Edit policies
...
Stub in specs for policies added for Edit mode which control
the availability of the Edit and/or Edit Properties actions
in the view-control area, WTD-1062.
2015-04-01 16:08:15 -07:00
Victor Woeltjen
0ceb8d30cf
[Edit] Expose EditableViewPolicy
...
Expose EditableViewPolicy as an active extension in Edit mode,
WTD-1062.
2015-04-01 16:00:20 -07:00
Victor Woeltjen
892e2c9dd4
[Policy] Implement view decorator
...
Implement policy-driven view decorator, sufficient to satisfy
specs. WTD-1062.
2015-04-01 15:58:19 -07:00
Victor Woeltjen
7915074b10
[Policy] Add spec for policy-driven view decorator
...
Add spec to allow the applicability of views to be determined
by policy decisions, WTD-1062.
2015-04-01 15:54:59 -07:00
Victor Woeltjen
facf350648
[Edit] Add policy to restrict views in Edit mode
...
Add policy to disallow views in Edit mode which have been
explicitly flagged as non-editable, WTD-1062.
2015-04-01 15:50:15 -07:00
Victor Woeltjen
ccf2ccc4c6
[Edit] Add policy for the Edit action
...
Allow Edit mode only when editable views exist, WTD-1062.
2015-04-01 15:45:43 -07:00
Victor Woeltjen
e3ec9c6130
[Edit] Allow Edit Properties as a view-control action
...
Allow Edit Properties as an action of the view-control category,
WTD-1062.
2015-04-01 15:34:51 -07:00
Victor Woeltjen
087cea1445
[Core] Allow actions to have multiple categories
...
Allow actions to have multiple categories; this will allow
the properties action to be applicable as both a menu option
and a button in the view-control category, WTD-1062.
2015-04-01 15:33:18 -07:00
Victor Woeltjen
84634f03ed
[Policy] Add bundle declaration
...
Add declaration for policy bundle, WTD-973.
2015-04-01 15:11:47 -07:00
Victor Woeltjen
f9387a8e84
[Policy] Implement action decorator
...
Implement policy-driven action decorator, sufficient to satisfy
spec. WTD-973.
2015-04-01 14:39:47 -07:00
Victor Woeltjen
04005ce75f
[Policy] Add spec for action decorator
...
Add spec for decorator which prunes out applicable actions
based on policy. WTD-973.
2015-04-01 14:34:06 -07:00
Victor Woeltjen
4d67e16aa3
[Policy] Implement PolicyProvider
...
Implement PolicyProvider, sufficient to satisfy spec. WTD-973.
2015-04-01 14:33:39 -07:00
Victor Woeltjen
d46f3b9132
[Policy] Add spec for policy provider
...
Add spec for policy provider, WTD-973.
2015-04-01 13:48:58 -07:00
Victor Woeltjen
cc45673054
[Policy] Design/document policyService
...
Design and document the behavior of the policy service,
WTD-973.
2015-04-01 13:37:49 -07:00
Victor Woeltjen
e33b80f150
[Edit] Document mct-before-unload
...
Document the behavior of mct-before-unload, added to support
confirmation of navigation changes in Edit mode, WTD-1035.
2015-03-31 17:16:48 -07:00
Victor Woeltjen
ac6aa3e819
[Edit] Add test cases for mct-before-unload
...
Add test cases for behavior to prompt user to confirm
navigation away from unsaved changes, WTD-1035.
2015-03-31 17:08:38 -07:00
Victor Woeltjen
2e82cffa5a
[Edit] Add empty spec for mct-before-unload
...
Begin testing mct-before-unload directive, used to confirm navigation
away from unsaved changes, WTD-1035
2015-03-31 16:00:53 -07:00
Victor Woeltjen
0b0753df31
[Edit] Add test cases
...
Add test cases for EditController to account for changes to
support warning dialog when unsaved changes are present,
WTD-1035.
2015-03-31 15:58:13 -07:00
Victor Woeltjen
dc7d504691
[Edit] Check for route changes
...
Respond to route changes via mct-before-unload, in order to
show a prompt to allow the user to confirm navigation changes
which do not trigger onbeforeunload (such as using back to
change the hash route). WTD-1035.
2015-03-31 14:46:11 -07:00
Victor Woeltjen
5ef382d159
[Edit] Add clarifying comments
...
Add clarifying comments related to checking of conditions
on unload, WTD-1035.
2015-03-31 14:39:30 -07:00
Victor Woeltjen
8a8c84eacf
Merge branch 'open-master' into open1035
...
Merge in latest changes into topic branch for WTD-1035,
dialog warning before navigating out of Edit mode.
2015-03-31 14:32:55 -07:00
Victor Woeltjen
d3a8fce789
Merge remote-tracking branch 'nasa/open1048' into open1050
2015-03-27 09:26:04 -07:00
Victor Woeltjen
cc13138aef
Merge branch 'open988' into open-master
2015-03-25 16:57:05 -07:00
Victor Woeltjen
ef322055a5
[Persistence] Update default ElasticSearch path
...
WTD-1033.
2015-03-25 16:43:56 -07:00
Victor Woeltjen
f9caee0214
Merge branch 'open-master' into open1033
...
Merge in latest from master branch in preparation for
review of WTD-1033
2015-03-25 16:20:10 -07:00
Victor Woeltjen
79ebe72c6c
[Core] Add test cases
...
Add test cases for model cache to ensure it maintains a single
instance of each model. WTD-1033.
2015-03-25 16:18:24 -07:00
Victor Woeltjen
7e5d363daa
[Core] Update models in-place
...
In model cache, update cached model instances instead of
replacing them; this avoids situations where two different
model instances escape the model service because the second
request was made before the results from the first had been
cached. WTD-1033.
2015-03-25 13:46:40 -07:00
Victor Woeltjen
ad3bb355dd
[Persistence] Provide model with error
...
Provide new version of domain objects correctly when revision
errors are encountered, WTD-1033.
2015-03-25 12:37:02 -07:00
Victor Woeltjen
9eeb68ddd0
[Persistence] Show user, modification time
...
Show user name and modification time in dialog when revision-checking
detects modifications. WTD-1033.
2015-03-25 12:19:45 -07:00
Victor Woeltjen
5e20c2199d
[Persistence] Add tests for indicator
...
Add tests for indicator for connection to ElasticSearch persistence,
WTD-1033.
2015-03-25 11:46:40 -07:00
Victor Woeltjen
29584f2a7e
[Persistence] Complete tests for queue
...
Complete tests for platform/persistence/queue, WTD-1033.
2015-03-25 11:36:43 -07:00
Victor Woeltjen
74fecf5271
[Persistence] Test queue
...
Add test cases for persistence queue, WTD-1033.
2015-03-25 11:25:51 -07:00
Victor Woeltjen
39d444d637
[Persistence] Test queue handler
...
Add test cases for handler for persistence queue, WTD-1033.
2015-03-25 11:01:32 -07:00
Victor Woeltjen
962de7e750
[Persistence] Test failure handling
...
Add test cases for handling of Overwrite/Discard choices when
persistence fails due to revision errors. WTD-1033.
2015-03-25 10:10:06 -07:00
Victor Woeltjen
55e50b6fd5
[Persistence] Test ElasticSearch's persistence provider
...
WTD-1033.
2015-03-24 18:11:41 -07:00
Victor Woeltjen
d88a0237c6
[Persistence] Continue adding tests
...
Continue adding test cases for revision checking bundle, WTD-1033.
2015-03-24 17:43:06 -07:00
Victor Woeltjen
b25c9731cf
[Persistence] Add spec for failure dialog
...
WTD-1033.
2015-03-24 17:35:37 -07:00
Victor Woeltjen
548d91d362
[Dialog] Test options dialog
...
Test dialog which provides the user with buttons showing
different options, WTD-1033.
2015-03-24 17:26:50 -07:00
Victor Woeltjen
8c35f9eb81
[Dialog] Refactor dialogService
...
Refactor dialogService to remove redundant code after changes for
WTD-1033.
2015-03-24 17:20:59 -07:00
Victor Woeltjen
27af3a6b88
[Edit] Update specs
...
Update spec for editable persistence capability to include
delegation of refreshes, which supports revision-checking
when exiting edit mode. WTD-1033.
2015-03-24 17:07:06 -07:00
Victor Woeltjen
267053b431
[Core] Add test cases for CachingModelDecorator
...
WTD-1033.
2015-03-24 17:01:09 -07:00
Victor Woeltjen
6e2ec8dbe7
[Core] Update existing specs
...
Update existing specs for changes from WTD-1033.
2015-03-24 16:43:50 -07:00
Victor Woeltjen
35371f89ab
[Edit] Update failing specs
...
Update failing specs in Edit mode with changes made for revision
checking, WTD-1033.
2015-03-24 16:31:14 -07:00
Victor Woeltjen
5867f8ad98
[Core] Update failing specs
...
Update failing specs in core after changes for WTD-1033.
2015-03-24 16:26:05 -07:00
Victor Woeltjen
c55f9ff092
[Persistence] Add placeholder specs
...
Add empty specs for new scripts introduced to support revision
checking and Overwrite/Discard dialog, WTD-1033.
2015-03-24 16:13:59 -07:00
Victor Woeltjen
015d863d79
[Persistence] Update test suites
...
Update suite declarations to include new scripts implemented for
revision checking for domain object persistence, WTD-1033.
2015-03-24 15:59:03 -07:00
Victor Woeltjen
0090732f71
[Persistence] Handle refresh after edit
...
Correctly handle Discard changes after leaving Edit mode when
conflicts are detected; WTD-1033.
2015-03-24 15:53:27 -07:00
Victor Woeltjen
6b43256afd
[Persistence] Requeue on overwrite
...
Requeue (instead of trying to access persistence again) on overwrite
WTD-1033.
2015-03-24 14:09:51 -07:00
Victor Woeltjen
2709fde9a3
[Persistence] Resolve correct promise from queue
...
Make sure that the correct promise is resolved when a persistence
queue flush completes; some operations, like Save in Edit mode, wait
on this promise, so it needs to resolve when persistence of that
group is completed. WTD-1033.
2015-03-24 12:19:36 -07:00
Victor Woeltjen
821cc65d6f
[Edit] Remove unused code
...
Remove unused and/or excessive code related to Save in Edit mode.
WTD-1033.
2015-03-24 10:41:56 -07:00
Victor Woeltjen
eb869b7213
[Persistence] Populate persistence error dialog
...
Show summary information about objects which could not be saved in
the dialog shown for revision-checking errors, WTD-1033.
2015-03-24 10:13:07 -07:00
Victor Woeltjen
f1fd73ad38
[Persistence] Change Cancel to Discard
...
Instead of Overwrite/Cancel, show options Overwrite/Discard, to
reflect actual user choices at this point. WTD-1033.
2015-03-24 10:05:55 -07:00
Victor Woeltjen
8f288751db
[Edit] Persist in a group
...
Invoke persist calls when leaving Edit mode in a group, instead of
in-order, to allow these revision-checking to be handling for the
group as a whole. WTD-1033.
2015-03-24 10:01:45 -07:00
Charles Hacskaylo
379e76af4f
[Frontend] CSS change to center fixed position images
...
WTD-1048
WTD-957
2015-03-20 16:48:14 -07:00
Charles Hacskaylo
8018c8f42e
[Frontend] Sanding and polishing on common front-end elements
...
WTD-1048
Originally did a lot of this work in warp1048 by mistake
This commit pulls in all /platform-only changes from that branch
Mods are mostly related to WTD-1046 specifically, but also touch toolbar and buttons
2015-03-20 16:37:42 -07:00
Victor Woeltjen
2554f4ab01
[Core] Add model cache
...
Add a cache for domain object models which prevents unnecessary
reload of those objects. WTD-1033.
2015-03-20 16:26:39 -07:00
Victor Woeltjen
a640af6bf9
[Core] Aggregate models more intelligently
...
When aggregating models from multiple providers, prefer the
more recent version, based on its modified timestamp. WTD-1033.
2015-03-20 16:13:14 -07:00
Victor Woeltjen
f9b8b17ff6
[Persistence] Break promise cycle
...
Break cyclical dependency in Promises that was causing persistence
to fall into an unresolvable state after overwrite, WTD-1033.
2015-03-20 16:07:54 -07:00
Victor Woeltjen
b604af2aa7
[Persistence] Tweak logic
...
Tweak approach for revision conflict detection; particularly,
use .reject instead of throw to avoid logging of the failure
unnecessarily. WTD-1033.
2015-03-20 15:53:40 -07:00
Victor Woeltjen
d8e1f69b37
[Persistence] Rewrite failure handling
...
Rewrite the overwrite behavior (for Overwrite/Cancel of rejected
persisted attempts) to utilize simpler API. WTD-1033.
2015-03-20 15:28:15 -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