Commit Graph

1015 Commits

Author SHA1 Message Date
David Caruana
c25aa603a6 Workflow:
- Add workflow initiator process variable (Person Node)
- Add workflow initiator to WorkflowInstance API Object

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-25 13:43:27 +00:00
Derek Hulley
af08beea81 Fixed test to conform to new schema
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-25 13:08:15 +00:00
Gavin Cornwell
6526317715 - More workflow features
- Added single select capability to generic picker
- Fixed NPE in client (create rule wizard) due to missing messages

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3606 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-25 11:02:16 +00:00
David Caruana
4b19979671 Workflow:
- Addition of start date and end date to Workflow Instance API Object
- Support redeploy (force if already there) of process definition in WorkflowDeployer bean
- Addition of Ad-hoc Task Workflow example definition for Workflow Administration WIKI page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3604 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-24 18:49:29 +00:00
Britt Park
0606fa3ab6 AVM Nodes are (theoretically) mostly aspect ready. AVMNodeService is
now derived from AbstractNodeServiceImpl to make policy awareness easier.
Moved addDefaultPropertyValues from DbNodeServiceImpl to 
AbstractNodeServiceImpl so AVMNodeService can use it.  A fix for an
NPE that showed up in stress test.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-24 18:36:59 +00:00
David Caruana
b08f6848a3 Workflow:
- Some fixes after merging with Gav's latest web client updates
- Display of Outcome on completed Tasks
- Saving of Task with null Due Date
- Fix to how workflow service api IDs are represented

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 23:41:50 +00:00
David Caruana
a1b721a7ab Workflow:
- Addition of Workflow Task URL Command Processor

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 22:34:00 +00:00
Gavin Cornwell
6e389645d2 - Another workflow checkpoint
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3596 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 22:16:37 +00:00
David Caruana
a1cecd80c9 Workflow:
- Addition of Start Advanced Workflow Action
- Addition of WorkflowService.getWorkflowDefinitionByName
- Add test for ugly jbpm persistence/retrieval issue seen in web client, but not reproducable via api

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 20:48:58 +00:00
Derek Hulley
4e4e342409 Merged DEV/CHECK_EXISTS to HEAD
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/DEV/CHECK_EXISTS@3442 svn://www.alfresco.org:3691/alfresco/BRANCHES/DEV/CHECK_EXISTS@3590 .

TODO: Fix bug raising incorrect exception during UI paste of same-named file
Note:
- Added a new method to NodeService to get child by name
- Added a new method to FileFolderService to perform fast, direct lookups based on name


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 16:50:12 +00:00
David Caruana
3c9f179571 Workflow:
- small mod to some task labels after walking thru with Alan

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3583 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 11:57:16 +00:00
Kevin Roast
e27aadcdd4 . Fix to Guest user bootstrap to allow all non-admin users READ access to the Guest user Person
- this allows users to Invite the Guest user into a Space - requried for the RSS Feed to work
. Created a Patch for above change for existing systems

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3582 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 11:01:52 +00:00
David Caruana
e9398f8e69 Data Dictionary:
- Add check to ensure property override actually refers to an existing property
Workflow:
- Fix overridden property defaults for Review & Approve tasks
- Update workflow resource bundles to reflect recent model changes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 00:07:54 +00:00
David Caruana
54bf835f2d Workflow:
- map jbpm task created date to alfresco task
- implement jbpm task default values (as defined by task model)
- implement task outcome property (i.e. record the transition taken on completed tasks)
- add definition of task node to WorkflowTask API Object

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3574 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 23:25:47 +00:00
David Caruana
6f462eae09 Workflow:
- additional task model properties for task action groups
- fix issue persisting and retrieving noderef lists in jbpm (as found by Gav)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 16:44:58 +00:00
David Caruana
aabbd7e00b Workflow:
- Fix failing test due to incorrect comparisons of id
- Further consolidation of id, name, title & description properties of workflow objects

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 10:41:18 +00:00
Kevin Roast
4005f36bfb Fix to script methods definitions taking a ScriptableObject parameter
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 09:20:42 +00:00
Kevin Roast
8473e7fc4f . Added ability to execute FreeMarker templates from within Alfresco JavaScript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 08:24:59 +00:00
Britt Park
d67b926589 Marking of AVM Nodes with Aspects works (according to some minimal tests).
Schema has been updated, DAO written, garbage collection updated to clean
out aspects.  Also some seemingly unnecessary changes in visibility 
declarations to deal with strange intermittent Spring wiring failures in 
one of my tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 01:22:01 +00:00
David Caruana
889b0ac347 Workflow:
- Missed resource bundle change

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-21 20:31:47 +00:00
David Caruana
e4872ca8a5 Workflow:
1) Fix bug in task property conversion for associations where association was single-ended, but list passed in (was causing exception in start workflow ui)
2) Tidy up Review & Approve Process definition (assign appropriate names, set review task due date, priority etc)
3) Provide resource bundles for basic BPM model and Review & Approve workflow
4) Fix bug in I18N resolution of workflow task title & description

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-21 20:29:21 +00:00
David Caruana
a0462aee48 Workflow:
1) Associations to people are recorded as person nodes in the process context (for access to name, e-mail etc)
2) Short-term solution for Beanshell, Javascript compatibility
3) Small adjustment to Review & Approve process definition to support workflow package

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-21 15:23:12 +00:00
Britt Park
26877f6105 The Node Browser in the UI can now navigate AVM stores.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-21 14:05:52 +00:00
Kevin Roast
fc753f542d corrected tabbing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-18 10:37:39 +00:00
Gavin Cornwell
ec2d4e33a2 typo fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-18 10:12:33 +00:00
David Caruana
afd62f4ff8 Workflow:
1) Add access to process definition warnings in workflow service deploy method
2) Fix nasty little bug found by Gav where jBPM beanshell access to Alfresco Node failed as it expected slightly different object types to those expected by Alfresco Javascript access to Node.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-17 19:05:12 +00:00
David Caruana
c3875d0d36 Workflow:
1) Add access to process definition warnings in workflow service deploy method
2) Fix nasty little bug found by Gav where jBPM beanshell access to Alfresco Node failed as it expected slightly different object types to those expected by Alfresco Javascript access to Node.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-17 19:04:38 +00:00
Britt Park
0135279f47 This fixes spurious cycle exception bug. AVMContext is public to
allow reallybad.jsp to work so that we have a way of browsing and 
modifying content in the AVM repository in a running Alfresco 
instance, until I get AVMNodeService fully hooked up.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3541 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-17 18:30:34 +00:00
Kevin Roast
46acb964cc Fix from Roy to recent RuleServiceImpl changes to use the correct NodeService (i.e. non-permission protected version)
- as per: http://forums.alfresco.com/viewtopic.php?p=9772#9772

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3538 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-17 15:27:46 +00:00
Kevin Roast
c4f6eec4ae Patch to remove the uifacets aspect from the content Presentation Templates on an installed system - fixes AWC-849
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-17 12:06:40 +00:00
Kevin Roast
3214b12e75 . Fix to RSS Folder Patch to also apply the Guest user privileges to the new folder
. Fix to bootstrap of content templates to NOT apply the uifacets aspect - as this means the properties they cannot be edited in the UI!
 - problem is that the dynamic properties framework is only expecting to see the uifacets aspect on a Space not Content, and so tried to show icons for it which blows up
 - will provide a patch shortly to correct the content templates on an installed system

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3536 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-17 10:55:46 +00:00
Gary Spencer
3877dffcd4 Added desktop action attribute to allow file/folder parameters to be optional.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-17 10:39:56 +00:00
Britt Park
19544c2574 Point checkin that suppresses spurious Cycle exception.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-16 21:53:59 +00:00
David Caruana
7c670da1b0 Workflow:
1) Support for localisation of all Workflow definitions
2) Consolidate on id, title & description fields for all Workflow API objects
3) Add WorkflowTransition object to Workflow APIs
4) Fix up damage of above changes (web client etc)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-16 18:07:27 +00:00
Kevin Roast
640195064a . Added RSS Feed panel to Space Details page
- Selectable template for RSS feed for a folder
  - RSS feed link for drag/drop into RSS reader
. Added new folder "RSS Templates" in Data Dictionary in bootstrap
. Example RSS Template for new folder (docs in last 7 days)
. Created patch to add above folder+example to current schema
. Added 'app:feedsource' aspect to application data model
. Cleaned up some obsolete code in Apply/Remove Template actions
. Simplified Apply/Remove Template dialog navigation to use dialog framework

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-16 15:41:49 +00:00
Roy Wetherall
29beac8efb - Rule and action tasks for 1.4
- Updated W/S include paths

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3526 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-16 13:27:35 +00:00
David Caruana
895935e8d6 Workflow:
1) Fix bootstrap of system workflow folder (was a container, now a folder)
2) Fix web client view of completed tasks - now they do finally appear

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-16 10:43:18 +00:00
Gary Spencer
dd22f6aede Replaced drag and drop app config with sample commented out desktop actions config.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-16 09:33:18 +00:00
Britt Park
9aed179e4d This gets virtualization partially working using the AVM remote interface.
Courtesy of Jon and Britt.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 23:25:40 +00:00
David Caruana
86d5ef460c Workflow Service:
1) Fix bug in retrieving completed tasks for an authority - unfortunately, this is not provided OOTB by jBPM!, so extended in their recommended way
2) Support for creating a Workflow Package (a container of content that's routed through the workflow) - can create a new container or provide an existing one (e.g. a versioned folder, layered folder).  Provide appropriate patch for creating workflow system folder in repository etc.
3) Collapsed WorkflowDefinitionComponent into WorkflowComponent interface

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3522 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 18:14:27 +00:00
Gary Spencer
b29838ab8f Commit transactions between open/create and close file when returning/storing files via FTP.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3517 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 14:44:17 +00:00
Gary Spencer
8980c9f069 Missed out the main desktop action class.
Couple of other minor changes, remove version id from NetBIOS name server, use global port for host announcer to allow redirection.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3516 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 14:15:20 +00:00
Gary Spencer
3aec8d576c Updated desktop action client application. Updated bean configuration.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 14:00:04 +00:00
Gary Spencer
525b29e2a9 CIFS desktop actions framework.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 13:58:11 +00:00
Gary Spencer
40c9d6cce3 Updated Windows application to support new desktop action framework. Updated project to build with Visual Studio 2005.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3513 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 13:54:51 +00:00
Gary Spencer
bafb261228 Updated Windows application to support new desktop action framework. Updated project to build with Visual Studio 2005.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 13:34:15 +00:00
David Caruana
dc51984cce 1) Minor mods to Rhinoscript Actions
- rename createAction to create
- add (read-only) name property to action
2) Addition of createPackage to Workflow Service API (no implementation yet)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 12:52:19 +00:00
Britt Park
b42bda5b59 For a small but representative subset of the API the remote AVM
interface works.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-14 19:15:27 +00:00
David Caruana
354834c25f Rhinoscript Engine:
- Allow actions to be invoked via JavaScript

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-14 18:04:08 +00:00
Britt Park
1df576890c AVM remote interface wiring. Also missed file from last checkin.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3498 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-14 16:26:34 +00:00