547 Commits

Author SHA1 Message Date
Derek Hulley
38acfc62a6 Added -verbose option to Repository tool
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-30 09:42:57 +00:00
Derek Hulley
98713a08c1 Took out test for Integrity check that is no longer performed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-29 23:20:02 +00:00
Kevin Roast
0c85451dc5 . Added action called 'counter' to increment the 'cm:counter' property on the 'cm:countable' aspect
- uses the runtime NodeService so any user can increment the counter on a node
. Renamed incorrectly spelt script action class (doh)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3626 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-29 16:36:10 +00:00
Derek Hulley
297a7dec6e Support for EHCache 1.2.2
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-29 10:27:38 +00:00
Derek Hulley
6fb05fa7ab Test fix for txn rollback
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3622 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-29 09:27:14 +00:00
Derek Hulley
6c896c8997 Name duplicate detection is not done at the end of the transaction, so late setting of
cm:name has to be avoided.  This fix makes the CopyService use the auto-assigned cm:name
before doing the copy.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3621 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-29 09:03:34 +00:00
Derek Hulley
98e73d2eca Flush L1 session between iterations
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3620 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-29 09:01:42 +00:00
Gavin Cornwell
0a782e7acb - Added client pieces for handling ad hoc workflow tasks
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3614 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-25 15:43:53 +00:00
Derek Hulley
9484bb334a Fixed multiplicity message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3613 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-25 14:17:46 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
David Caruana
5e0163001f BPM Engine:
- Implement getTaskById

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-14 15:12:59 +00:00
Kevin Roast
8246e38dcd ScriptableHashMap fixed to support integer indexing as an associative javascript array - AR-712
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-14 15:11:41 +00:00
Kevin Roast
50ab6661c4 . Fix to Alfresco JavaScript to correctly convert back multi-value list properties that have not been modified
. Change to use of Wrapper interface when returning Java values from JavaScript
. Addition of final 1.4 icons from Linton for Dashboard and User Options screens

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-14 10:56:18 +00:00
David Caruana
40286bdad8 Rhinoscript Engine:
- Remove unused import

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-14 09:52:54 +00:00
David Caruana
5460feaaee Rhinoscript Engine:
- Remove ability to import any java package - this is not secure.
- Small code update (instanceof instead of class comparison) after Kev review

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3490 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-14 09:51:12 +00:00
David Caruana
cddf5ac2ab First cut of hooking Alfresco JavaScript into jBPM process definition.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3486 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-11 18:01:56 +00:00
David Caruana
17ab601380 First cut of Alfresco Node support in jBPM process instances:
- NodeRefs placed into process context are converted to Script Nodes (as used in javascript)
- jBPM persistence of Nodes configured to serialize/deserialize as NodeRef strings
- jBPM process script (Beanshell) can access Alfresco Nodes in same manner as Alfresco Javascript

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-11 14:08:49 +00:00
Gavin Cornwell
0b74cbb36c First cut of the start workflow wizard
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-11 12:22:18 +00:00