531 Commits

Author SHA1 Message Date
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
Gavin Cornwell
cb40050bcd Bug fixes for handling mapping of users
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-11 11:44:31 +00:00
Kevin Roast
ffb20843c4 . Added 'script' element config support to externally configured UI action definitions.
. ActionLink component now renders any params found from config definition as URL arguments for an 'href' style action (to support above change)
. Added new root scope object 'logger' to the JavaScript API to aid with debugging of scripts

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-10 17:08:17 +00:00
David Caruana
17a40c3e51 Workflow Checkpoint:
- Process deploy/isDeployed/undeploy implemented in Workflow Service
- Servlet implemented to support jBPM Process Designer deployment (using above service) : mapped to /alfresco/jbpm/deployprocess URL
- Workflow deployer bootstrap bean (for once- only loading of process definitions at bootstrap)
- Initial cut of Review & Approve process definition & Task definitions (bootstrapped)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-09 23:37:06 +00:00
Kevin Roast
d24a815b79 . JavaScript API improvements
. Template API improvements
. Fixed a couple more UTF-8 code file warnings when compiling the source

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-09 12:51:42 +00:00
David Caruana
e7e4efb6c0 Fix JBPM Engine tests
- fixed issue ending the "start" task

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3471 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-08 23:17:47 +00:00
David Caruana
47833426ca Workflow Checkpoint:
- BPM Model (xml & QName definitions)
- Getting / Setting / Updating Task Properties

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-08 17:35:50 +00:00
Kevin Roast
499367c4e9 JavaScript API enhancements - Document and Image transformation services
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-08 12:05:41 +00:00
Roy Wetherall
df7f1062df - Action/Rule decoupling work
- Updated web services, SDK and web client where appropraite
- Patch added to migrate existing rules
- Entire rule service can now be disabled programmatically
- Rule service is now disabled during the patching process
- StoreEnum and languageEnum types removed from web service interfaces
- Multiple rule types now supported in the repo (but not in the UI)
- Removed owning node ref from action and rule .. now calculated from methods on the rule service

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3464 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-07 15:53:45 +00:00
Andrew Hind
df21ad9f8b Fix reference counting in the new indexer.
Added instrumentation to the new indexer.
Exposed lots of configuration options for the new indexer.
Added debug settings for the new indexer.
Fixed search test model for sort tests (1.3 merge fun)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-03 13:34:02 +00:00
Andrew Hind
573e2c8b98 Updated test for COCI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3450 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-02 14:50:09 +00:00
Andrew Hind
b2318d04f3 Improve deletion retry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3446 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-01 17:11:49 +00:00
David Caruana
25123a4504 Workflow checkpoint:
- BPM Engine Registry & Plug-in SPIs
- First JBoss JBPM based Implementation of SPIs
- Workflow Service Implementation
- Tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-28 22:58:02 +00:00
Kevin Roast
0c35c285bd . JavaScript API enhancements checkpoint:
- checkout() - perform a checkout of a node, returning the working-copy as the result
 - checkin() - perform a checkin of a working-copy node, returning the original as the result
 - cancelCheckout() - cancel the checkout of a work-copy node
. Fix from Roy to VersionableAspect to correctly handle making a node versionable, setting content and checking in/out all within a single transaction

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3434 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-28 15:27:28 +00:00
Andrew Hind
8814fac8bc Commented out cleaner and merger threads by accident ...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-28 15:06:01 +00:00
Gavin Cornwell
56af6dc0d9 Fixed failing test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3430 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-27 21:10:52 +00:00
Kevin Roast
8d645825ba . JavaScript API enhancements checkpoint:
- setMimetype(mimetype) - update or set the mimetype of a content property
 - specializeType(type) - specialise the type of a node

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3429 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-27 17:23:26 +00:00