550 Commits

Author SHA1 Message Date
Britt Park
a4e9b2fd6f This is an action to undo a list of changes made in a user sandbox, relative to
the staging sandbox.  Turns out yesterday's revert action isn't quite what is 
wanted for this use case.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-15 20:40:27 +00:00
Britt Park
2cab072bc1 Provided a getLatestSnapshotID() for AVMService. It returns the latest extant version of
a store.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4364 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-15 15:30:50 +00:00
Ariel Backenroth
95c8647031 - adding a primitive select default workflow screen
- improved output path expressions
- got the details screen pretty much in sync with wireframes.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-15 04:25:07 +00:00
Britt Park
965d55de14 A Revert action that should serve for both reverting a staging store or reverting picked content in
a users sandbox.  It has a test that works and everything.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-14 20:06:27 +00:00
Ariel Backenroth
c926f15241 - model changes
- adding freemarker expression for output path patterns
- enabling using the same rendering engine template with multiple mime types
- extracting rendering engine template from rendering engine to make moving to templateservice easier eventually

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4351 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-14 08:49:18 +00:00
Britt Park
d8fcc2f3f9 One simple revert action, and a tool for encoding pick lists for more complicated actions
in the future.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-14 02:02:53 +00:00
Britt Park
fa0bb97dc1 Rejiggered ChildEntry and its mapping, for considerably better performance. Actually
it was kind of a Doh! moment.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4336 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-12 13:53:29 +00:00
Kevin Roast
ae4ba1126e Persistence of Create Web Project model - forms, form templates and workflow defaults
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4326 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-09 15:07:15 +00:00
Britt Park
c6221ca8a5 This adds a wrapper OutputStream class for remote access to the AVM. It
also exports AVMSyncService remotely.  (For our friends at Eye Street).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-08 17:24:00 +00:00
Kevin Roast
a0a304d900 . Copy of nodes (recursive) now supported in AVM JavaScript integration
- this completes the standard set of CRUD operations for AVM nodes in JavaScript land

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4315 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-08 15:37:40 +00:00
Kevin Roast
a157e79f42 AVM JavaScript integration refactored to use new Spring bean config pattern (as per recent HEAD merge changes)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-08 14:14:30 +00:00
Kevin Roast
d8d3756507 . WCM HEAD merge fixes
- fix ups
 - removal of obsolete JBPM files

. Addition of AVM JavaScript integation files
 - ability to retrieve AVM node references by Path or from the root node of a store by lookup
 - getting and setting of AVM node properties and aspects
 - walking of child nodes
 - moving and renaming of AVM nodes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-08 11:09:24 +00:00
Britt Park
b2f9df29d1 Humongous merge. It is incomplete, however; faces-config-navigation.xml and ClientConfigElement
were both beyond me, and are just the raw conflict merge data.  If Kev can't figure out how they should
go together by tomorrow AM (for me) I'll dig back in.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-08 05:17:40 +00:00
Britt Park
2c20af6d2b Fixed the two tests that were failing in the continuous build. Disabled
four really long winded AVM performance and stress tests.  This should speed
up the continuous build on the wcm branch.  The tests should probably be set up
to run periodically with other long running exhaustive performance, and stress tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-06 06:11:26 +00:00
Britt Park
7fdf8130c8 Extended VersionDescriptor to include new short and long descriptions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-06 05:09:51 +00:00
Britt Park
f501073de5 Added two new fields to VersionRoot (the version record), a short description,
and a long description.  Adjusted signature of createSnapshot(), and update()
to match, and thus actions and tests that needed to be fixed.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-05 23:41:55 +00:00
Britt Park
2355b9e00f Added a recursive copy method to AVMService. Added basic test for it. However,
for most purposes, createBranch has the same effect at a fraction of the cost.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-05 15:58:33 +00:00
Britt Park
267e4d06b0 A more scalable implementation of getCommonAncestor. Performance is roughly proportional
to the distance of the common ancestor from the compared nodes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4265 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-31 15:17:09 +00:00
Britt Park
3ad75520ca Turned down the volume on several time consuming tests. Snapshot of currently
not working WCM workflow.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4247 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-27 19:29:02 +00:00
Ariel Backenroth
66e83fb11d - adding in the structure for an XSL FO rendering engine
- terminology cleanups to model and screens
- extracting company-footer back into its own xsd; no reason to shove that feature in everyone's face.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4227 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-26 04:16:16 +00:00
Ariel Backenroth
2f6c69952c - changing terminology from root tag name to root element name
- fixing form data functions calls with absolute paths - making them webapp relative - and adding test cases

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4218 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-24 23:40:05 +00:00
Ariel Backenroth
95a3b38790 - renaming everything in order to get consistent good terminology for forms.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4182 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-20 19:52:49 +00:00
Ariel Backenroth
dd5c46339e - terminology changes to wcmModel (needs to be propogated to java classes as well). template is now form. template output method is now form transformer.
- added an aspect to differentiate form derived from form transformer derived (allowed removing some workarounds from XSLTOutputMethod)

- namespacing variables passed to the xsl processor with alfresco:



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-18 19:01:45 +00:00
Ariel Backenroth
4505261195 - moving AVMRemoteInputStream from jndi-client project to repo project
- extracting utility methods from sample website into generalized extension functions that can be used from xsl, freemarker (i hope), and jsp.  they all use AVMRemote to access data and each context has it's own adapter.
- implemented callout functions from xsl.  able to load multiple documents and traverse them.
- removed QNames from TemplatingService and added them to WCMModel.  this will break edit on any existing assets - you'll have to create new ones that have the right properties.  still not happy with model since besides not having child associations in place, i don't have a way of differentiating between the generated xmls and the other generated assets.  major bug.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-18 06:20:50 +00:00
Britt Park
111296d4dc Heinous merge from HEAD. Seems to basically work. Be on guard however.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-18 02:24:36 +00:00
Britt Park
0774219b75 A real, if brute force, fix for cycle detection during lookups.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-12 18:10:17 +00:00
Britt Park
357781f35c This is a very rudimentary version of a WCM Workflow that uses
Workflow packages.  It's hooked up to the sumbit single file action in
the top level website screen in an exceedingly awkard way.  The UI
doesn't complain about anything, nor does it display the contents of
the package.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-11 23:02:35 +00:00
Britt Park
21941d7385 Turned off, for now, because the current implementation is decidedly borked,
heuristic cycle checking.  This was causing the css not showing up in initial
previews of web pages, followed by showing up on one or more refreshes.  I am a 
prat.  The evidence is irrefutable.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4084 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-09 21:49:07 +00:00
Britt Park
446343b697 Changes the behavior of submit to clobber when there are conflicts, so that
Preview I evaluators never get into a situation they can't get out of.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4083 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-09 19:53:57 +00:00
Ariel Backenroth
1d5101f1f0 first stab at the multi channel thing
- renamed create-xml-content-type wizard to create-form wizard and moved it into the wcm source tree
- modified the create form wizard to accept 0 to n template output methods
- changed terminology from presentation template to template output method
- using associations to track output methods
- added file extension as property of templateoutputmethod to parameterize what the name of the output file should be
- auto adding .xml to file name in create web content if none specified.
- making associating an output method with a template optional 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4043 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-06 02:26:38 +00:00
Kevin Roast
d03bc33acb . Moved avm specific types from ContentModel (cm) into WCMModel (wcm)
. Updated appropriate AVM and client classes to use new types
. Updated application types to derive from wcm types
NOTE: You will need a new database - this is NOT backward compatible with current websites!

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4022 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-04 16:39:26 +00:00
Ariel Backenroth
b1392253e7 - removing templating config file
- renamed create xml content type to create form
- writing xsds and xsls into the data dictionary
- using search to implement TemplatingService.getTempalteTypes()
- adding fields to create form screen for the root tag name to use within the schema and for a display name within the dropdown (friendly non file name name)
- using aspects from the wcmModel to categorize and relate templates and templateoutputmethods 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4014 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-04 05:04:35 +00:00
Britt Park
48d4ce2a0d A pair of aspect definitions for tagging XForms templates and
related transformers.  Should be enough to get rid of current 
configuration file.
Minor checkpoint of WCM workflow work. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 19:49:59 +00:00
Britt Park
c9606905e4 Garbage collector was a bit over-zealous in removing content files.
It's better now.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 16:34:20 +00:00
Britt Park
8da23d1cdc Reworked addAspect so that it wouldn't be quite so achingly slow.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4006 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-03 14:11:46 +00:00
Britt Park
0fc71b8d68 Checkpoint of WCM workflow package support.
Setting titled and uifacets via AVMService instead of through
AVMNodeService.  1000 file import takes ~5 minutes.  Awful but better 
than before.  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-02 19:42:56 +00:00
Britt Park
c2e407165e Changed AVMNodeConverter.ToAVMVersionPath() to return a
Pair<Integer, String>.  
Fixed avm.jsp which got busted by last checkin.
Added implementation of AddChild to AVMNodeService.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3983 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 17:51:15 +00:00
Britt Park
0db9ace91f Turned off policy callbacks in AVMNodeService. The right place for those
is in AVMService.  Until then these speeds things up considerably.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3982 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 15:22:11 +00:00
Britt Park
20bff37610 Purged two vestigial arguments from DirectoryNode.lookupChild() interface.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3981 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 14:49:57 +00:00
Britt Park
5e36db4b45 Reorganized AVMContext convenience class for accessing various singletons
into AVMDAOs for accessing AVM DAO singletons and RawServices for accessing
uninstrumented versions of some services.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 03:46:23 +00:00
Britt Park
752e46e0f1 In certain circumstances update was not capturing aspects, properties, and
ACLs.  This fixes that.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-29 21:29:45 +00:00
Britt Park
0b1accf9f9 Added variants to getPaths, which get all HEAD paths for
a node or all HEAD paths for a node in a given store.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3977 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-29 16:12:26 +00:00
Britt Park
6ec40331da Removed over eager exception throw in flatten.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-29 14:55:43 +00:00
Britt Park
8e56ad390c Added missing callbacks to AVMNodeService. This makes things slow.
Have to do something about that.
Added getPaths call to AVMService.  Retrieves all possible paths to a node.
Need to do timing tests.
I believe, the 6th version of a Pair template class. This one's public and 
perhaps when we have time we could use it in place of all the inner class
implementations.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3964 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-28 20:19:48 +00:00
Kevin Roast
99cce28c2d . WCM UI
- Added initial definition of permissions/roles for ContentManager, ContentPublisher, ContentContributor and ContentReviewer
 - Create Website wizard shows only the rules defined for the avm webfolder type
 - Create Website wizard now creates appropriate child associations for user roles
 - User roles displayed in the website browse screen next to the user names
NOTE: Websites created before this change are NOT backward compatible and will need to be recreated!

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-27 13:24:00 +00:00
Britt Park
76bd8a310d A fix for some incorrect behaviors in AVMSyncService.flatten() brought
on by some incorrect cacheing and the lack of some necessary flushes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-24 22:43:54 +00:00
Britt Park
e843fd0d8f Turning off flatten after submit for now as flatten is buggy.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3906 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-24 14:21:53 +00:00
Britt Park
07e6e37300 Oops, missed a test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-23 21:37:19 +00:00
Britt Park
4f715ac9bc Reworks AVMService.getIndirection() to return the indirection path for a plain node
in a layered context.  Modified AVMHostConfig to use this method.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3903 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-23 17:40:54 +00:00
Britt Park
4707762604 Simple promote action (moves changed content from sandbox to sandbox).
Fixed various pathetic flaws in SimpleAVMSubmitAction.
AVMSyncService.flatten() silently ignores harmless do nothing calls.
Cleared up small episode of Eclipse Add Import Tourette's. ;)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-22 22:34:20 +00:00