571 Commits

Author SHA1 Message Date
Andrew Hind
89f39cd176 Fix failure to audit authentication failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-05 13:20:56 +00:00
Roy Wetherall
91570cd9f6 Fixed issue with outgoing rule. Fixed messages order in rule wizard.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-05 12:31:11 +00:00
Andrew Hind
65cc90d0d2 Support to audit create/copy in the UI
Annotated missing method ... 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3695 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-05 12:28:31 +00:00
Gary Spencer
bb148ef5b8 Couple of minor changes to use StringBuilder.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-05 10:08:21 +00:00
Gary Spencer
c8ed7691e0 Added environment variable expansion to the command line handling of desktop actions, plus the special '%AlfrescoDir%' token for the
current working directory path (from the client side).
Updated sample commandline test action to use '%SystemRoot%\Notepad.exe'.
Added lock check to check out action code to give more meaningful error message.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-05 10:04:44 +00:00
Derek Hulley
f9bec19af6 Added missing annotation to WorkFlowService
Fixed incorrect workflow URL reference
Added authentication to test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 22:11:21 +00:00
Andrew Hind
e244f2c93c Expose audit service as public service and in freemarker.
Tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 19:12:55 +00:00
Derek Hulley
8b1522cd01 Authentication required now (for some reason)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 17:50:43 +00:00
Derek Hulley
5dd9c70c50 Fixed name issues on children of copied nodes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3680 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 17:33:25 +00:00
Derek Hulley
d470cafedc Fix rebuilding of inverse Sets in Hibernate
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3677 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 14:04:25 +00:00
Kevin Roast
1313708db2 . Exposed the QName based Path to an object through the FreeMarker API
- can be used to generate lucene PATH: style queries to constrain a lucene query executed from a template to a specific folder
 Example:
   QName path to space: ${space.qnamePath}

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 11:45:13 +00:00
Andrew Hind
a0c4b8095b Missed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 10:28:33 +00:00
Gary Spencer
1a7d64c8a6 Pass the client domain through to the authentication server so that domain trusts are enforced correctly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 10:16:03 +00:00
Andrew Hind
7b3ce70218 Added APi to get the audit trail.
Fixes for persistence and simple test.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3668 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 09:59:22 +00:00
Derek Hulley
0fa1d85631 Reduced text field sizes from 256 to 255 to cater for pre-MySQL5Dialect generating text columns
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3664 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-03 21:56:37 +00:00
Derek Hulley
3b225fd1f8 Script files are loadable from extensions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-03 20:59:44 +00:00
Derek Hulley
e738ddfdf1 Schema script auto-application
Split NodeStatus transaction out into a shared entity and also record server info
Beginnings of changes required for index rebuilding, both full and incremental


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-01 17:06:07 +00:00
Andrew Hind
e75b18d742 Audit - working without filters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-31 16:56:50 +00:00
Kevin Roast
75ead51be8 Outlook email meta-data extractor improved to handle email addressee fields of various odd Exchange types
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3645 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-31 14:41:23 +00:00
Derek Hulley
25fdf04983 Reverted back to this morning's code - changes are too hacky and nasty
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-30 18:07:17 +00:00
Kevin Roast
ef70fb04bf . My Checked Out Documents - freemarker based dashlet (replaces the existing mockup dashlet)
- list of the documents checked out to the current user
. My Images - freemarker based dashlet
 - thumbnail based list of the images in the current user home space
. Improvements to My Documents freemarker based dashlet
 - improved UI look and feel, added more information columns
. Added some more/improved example templates

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-30 17:48:42 +00:00
Derek Hulley
6b3e0c0613 Fixes for node child uniqueness
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-30 14:29:35 +00:00
Derek Hulley
7e6c9644af Removed duplicate association constraint from DB constraints
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3635 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-30 12:34:24 +00:00
Derek Hulley
5a09ded8a8 Duplicate child association includes parent_node_id, type_qname, qname and child_node_id
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-30 09:43:33 +00:00
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