Commit Graph

1625 Commits

Author SHA1 Message Date
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
24b1e3134e [Containment] Add containment to list of bundles
Add containment enforcement to list of active bundles, WTD-962.
2015-04-07 20:52:11 -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
e603966f0c [Licenses] License headers
WTD-1051.
2015-04-02 09:31:23 -07:00
Victor Woeltjen
30013f2bf5 [Licenses] Add script for license headers
Add script to add license headers, WTD-1051.
2015-04-01 16:48:58 -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
00551779fb [Policy] Add example of usage
Add example showing usage of policy, WTD-973.
2015-04-01 15:18:20 -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