Commit Graph

1129 Commits

Author SHA1 Message Date
Britt Park
fd978d9116 Made AVMContext.getNodeService, return the not-transactionally-wrapped
"nodeService".


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3743 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-09 17:34:33 +00:00
Britt Park
07bfd7c60c More configuration errors fixed. I'm guessing I haven't seen the end of them.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3737 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-08 21:30:12 +00:00
Britt Park
961c0b41d8 AVMNodeService accepts cm:content, and cm:folder, as types for createNode as
well as cm:avmcontent and cm:avmfolder.  It also spoofs a name property which
should make other service happier with it.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3734 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-08 17:54:50 +00:00
Britt Park
08ecce31b6 Added types cm:avmcontent (derived from cm:content) TYPE_AVM_CONTENT and
cm:avmfolder (derived from cm:folder) TYPE_AVM_FOLDER as handles for UI.
Fixed configuration goofs I introduced recently that caused Node Browsing
to barf on content nodes. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3725 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-08 04:47:21 +00:00
Britt Park
9c8ae2b7c4 Changed configuration to index nodes in AVM stores. Indexing only occurs
for avm nodes created/manipulated via NodeService.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-07 16:57:32 +00:00
Britt Park
17284e4dae More touch ups to AVM permissions stuff. ACLs are properly copied on write.
OrphanReaper cleans up ACLs.  Tests of same.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3710 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-06 20:53:38 +00:00
Britt Park
920c487867 Cleanup of ACL reading/writing for PermissionsDaoComponent. All access is
through the AccessControlListDAO interface.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3700 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-06 00:41:41 +00:00
Britt Park
fff09ab01d Aspects on AVM nodes are copied on write. Also missing configuration change
from last checkin.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-05 18:22:40 +00:00
Britt Park
1fd96d13d5 This changes PermissionsDaoComponentImpl to work with NodeRefs instead
of Nodes so that Permissions can be used with AVM nodes.  It needs
to be factored a little bit differently, so consider this a WIP.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3698 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-05 14:17:34 +00:00
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
Paul Holmes-Higgin
78462390bb updated tutorial
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3694 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-05 11:44:03 +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
c905a09f4b Fixed AR-833: Cache entries timing out during a transaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-05 09:33:14 +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
John Newton
6777f68fa5 Add records management files in configuration.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3682 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 19:08:43 +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
Britt Park
8c2ad19b2f OrphanReaper now cleans up content as well.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 14:14:39 +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
Derek Hulley
6b85d8125e Fixed message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 12:09:05 +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
ee09e601f9 disable auditing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 11:32:34 +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
Britt Park
c03b967e71 Got rid of the NewInAVMStore table by folding it into the AVMNode
table.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-03 22:39:35 +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
Britt Park
0b58cca272 Removed RetryingTransactionHelper and friends. AVMService's transactional
behavior is now declaratively specified.  


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-03 06:30:05 +00:00
Britt Park
7c70be1811 Stuck AVMService into ServiceRegistry. Started wrapping AVMService
with appropriate advice.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-02 23:18:38 +00:00
Britt Park
be987843f5 Properly hooked up the on close callback for output streams to AVM Nodes.
Got rid of a now superfluous setContentData() call, and now treat files
with no content url (yet) as having length 0.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3660 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-02 21:47:09 +00:00
Britt Park
820da6ecab Merge from HEAD to WCM-DEV2.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3659 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-02 18:19:00 +00:00
Britt Park
db3c29b45e Moved stuff around to be more Alfresco standard.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-02 00:45:48 +00:00
Britt Park
5136c45e34 Taught AVM to be aware of the current user for tracking creator,
modifier, etc. AVM nodes can have ACLs. Not used for anything yet.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3657 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-01 20:56:11 +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
Derek Hulley
f77c66f906 Auto-running scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3653 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-01 17:02:28 +00:00
Gavin Cornwell
06b9e32a36 - Updated version label to Preview for release next week
- Added TIF icons for Linton & Mike
- Added custom Alfresco JSF VariableResolver allowing us to use JSPs and actions in both dialogs and wizards
- Removed reassign action from manage task dialog as page flow needs to be thought about more
- Removed hardcoded actions in start workflow wizard, they are now driven from the task model

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3650 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-01 10:08:56 +00:00
Britt Park
8a8511c605 Added aspect cm:mounted, and dispatchers in DbNodeServiceImpl to allow
cross repository type browsing.  The Node Browser seems to work 
happily with this.  The UI can traverse a mounpoint but errors out
when trying to browse further down into an AVM store, because its
being naughty and peeking into NodeRefs.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-31 22:12:36 +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
Kevin Roast
29a4e803d9 . Improvements to the doc_info.ftl freemarker template to show all properties of a doc
. Cleanup of example templates loaded into default bootstrap installation
. Added a readme txt file to explain the example template directory on the classpath

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3643 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-31 12:00:28 +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