601 Commits

Author SHA1 Message Date
Derek Hulley
5a871bcdd4 First cut of multilingual support at the NodeService level
- MLText type is persisted as a Serializable (TODO: investigate alternative storage)
 - 'nodeService' bean is filtered according to the default locale to provide only String return properties
 - Go direct to the 'mlAwareNodeService' bean to get access to unfiltered MLText properties
 - TODO: Proper value searches respecting Locale hierarchy


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4526 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-06 15:30:30 +00:00
Britt Park
8b65510d6f This checkin does two things:
1. Refines the semantics of ghost creation, so that they only appear when
warranted.
2. Implements a mechanism for filtering out files which should not appear in comparison
results or be pushed along by updates.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 22:26:02 +00:00
Britt Park
331bba1249 Cleaned up and generalized purported EnhancerByCGLIB workaround.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 16:28:58 +00:00
Derek Hulley
e1c6452bc2 Back to standard log4j.properties with all the bells and whistles
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4522 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 16:11:58 +00:00
Andrew Hind
0311fdd75a Updated handling of TEXT field - no longer in the index - built from all content fields
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4521 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 16:04:54 +00:00
Andrew Hind
fd351b9411 Updated Query parser
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4519 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 11:20:22 +00:00
Britt Park
e8b37eb880 Attempt to at working around CGLIB bug.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4517 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 03:37:39 +00:00
Britt Park
c33dcb6412 Possible workaraound for charming new EnhancerByCGLIB bug.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4516 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 03:21:56 +00:00
Britt Park
dd4722ab17 Fixed broken test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 02:25:13 +00:00
Britt Park
e596462ec9 The other half of cp for Repo.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4513 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-05 02:07:36 +00:00
Britt Park
a95b3bbed0 Working facsimiles of ls and half of cp for Repo.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-04 19:17:34 +00:00
Gary Spencer
66c95d5dce Create a transaction for a write when the current content channel is not writable.
Fixes a NullPointerException, AR-1129.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4509 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-04 15:37:48 +00:00
Britt Park
07b18358ae Slightly less broken RepoLs. Checkpoint. Also gave Pair a reasonable toString method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4508 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-04 13:43:44 +00:00
Andrew Hind
dcc831b2a3 http://issues.alfresco.com/browse/AR-740
http://issues.alfresco.com/browse/AR-384

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-04 11:04:34 +00:00
Britt Park
2845364a18 Exported some Repo functionality via RMI. First (still broken) Repo
based CLT.  Some cleanup and modification to other CLTs.  WIP.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-04 00:41:06 +00:00
Britt Park
b8595831c8 Moved a bunch of things to more logical locations.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-03 15:43:16 +00:00
Britt Park
03a93a3cf7 Added a method to AVMService and its dependent services to get an InputStream
directly from a node descriptor.  It's a minor optimization for a few use
scenarios.  It's also convenient for accessing content of historical file
versions directly.  
Another CLT, to list the versions of a store.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-03 03:55:49 +00:00
Britt Park
b947cfc864 Another CLT plus some tweaks.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4495 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-03 01:46:46 +00:00
Britt Park
b19c40939f Added a primitive but seemingly effective store name cache. Switching the
stores table to a synthetic primary key caused a 15% performance drop. This gets
that performance back, plus or minus.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 20:53:33 +00:00
Britt Park
b8ff632f15 AVM stores are renamable. Beware. Database schema has changed since I needed to
introduce a synthetic primary key into the stores table.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 20:03:20 +00:00
Britt Park
57424368b7 Odds and ends. Another CLT. Renamed an AVM stress test so that it won't run
during builds but is available for periodic checks. A sort-of-experimental
optimization of the AVM lookup cache. Minor config change for remote 
authentication.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 06:32:30 +00:00
Britt Park
b209f4c073 Exported AuthenticationService via RMI. Insecure for now but we can switch over
to using SSL when needed.  Restructured exports of AVM specific apis to authenticate
remotely and pass the ticket with each remote service call.  These required some changes
to jndi-client and even to the web-client which uses the AVM remote interface within
the Alfresco server.  Oh, the point of this is that since I'm writing some CLTs, I might
as well do them correctly; we'll need the option of security sooner rather than later.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-02 00:54:41 +00:00
Britt Park
7ff8eaef28 Export AuthenticationService via RMI, in preparation for adding over the wire
authentication for CLTs.  Until we use SSL transport for RMI this is subject
to authentication password and authentication ticket snooping, but that can
be fixed easily later.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-01 01:40:12 +00:00
Britt Park
bbd8db7b69 Added some more CLTs: AVMRm, removes nodes, AVMSnapshot, takes a snapshot of a store,
AVMCopyIn, copies a file or a directory recursively local filesystem to a store, AVMMkDir,
creates a directory.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-30 21:03:19 +00:00
Britt Park
e54464bf08 First three AVM CLTs.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4467 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-30 05:07:54 +00:00
Britt Park
23a1a5657d Brought javadocs up to date with current api behavior in AVMService.
Got rid of a redundant and mostly unused method, the createSnapshot()
that takes a List of names.  Adjusted to fit.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-29 03:04:53 +00:00
Britt Park
99e428afaa Added getLatestSnapshotID() to Remote interface.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4449 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-27 20:58:12 +00:00
Kevin Roast
4003f0e36f . Big and juicy application/WCM model refactoring
- WARNING: this change requires a new DB as the WCM model has changed significantly, yes I have probably broken a few WCM things :)

Previously the following statements were true:
 - Most of the model constants were defined in the ContentModel class - including web-client Application specific model items
 - WCMModel class was a mix of WCM repository and WCM application model constants
 - The applicationModel.xml definition file contained both web-client Application and WCM application model definitions
 - The wcmModel.xml definition file contained both WCM repository and WCM application model definitions

The following statements are now true:
 - All web-client application specific model constants have been moved from ContentModel to a new model constants class ApplicationModel
 - A new WCM application model has been defined with the prefix "wca" and URI: http://www.alfresco.org/model/wcmappmodel/1.0
 - All WCM application specific model constants have been renamed/moved from ContentModel/WCMModel to a new model constants class WCMAppModel
 - The mix of WCM application specific model definitions in contentModel.xml and applicationModel.xml has been moved to a new definition file wcmAppModel.xml
 - A patch is not required for standard Alfresco as only WCM definitions have actually changed

. Fix to issue created during workflow id/name refactor
. Fix to allow forms in the Available Content Forms panel to have correct sandbox/username context for action dialog

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4448 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-27 15:03:12 +00:00
Britt Park
ef669bec2a Odds and ends. Started infrastructure for AVM command line utilities.
Loosened cache invalidation for write operations so that layered/write 
lookups are not discarded.  Changed direct buffer copies to use 
System.arraycopy.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-27 14:42:46 +00:00
David Caruana
f721bc3e07 Working implementation of basic WCM submit workflow.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4444 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-27 11:47:20 +00:00
Gary Spencer
a2a543684b Refactoring of the pseudo file/desktop action code to allow use by AVM and repo filesystem drivers.
Added virtualization view to the AVM filesystem driver that shows all stores and versions using a single
shared filesystem.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4443 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-27 09:39:49 +00:00
Jon Cox
0eda95cc5f Point checkin.
Inserting a password-protected MBean and associated RMI-based 
 MBeanServer into the Alfresco webapp context.

 Right now, it's just in "hello world" condition,
 but you can say: 

        jconsole service:jmx:rmi:///jndi/rmi://your-alfresco-box:50500/alfresco/jmxrmi

 and browse the MBean  (assuming you know the associated jmxrolename/password).
 Just one property right now ("moo"), but fleshes out all the major issues
 for isolating the JMX for our MBean from the JMX for the JVM as a whole.




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-24 19:08:01 +00:00
Britt Park
65ba5f5024 Repaired stand alone version of the interpreter. Make sure .../repository/config is in
the classpath.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-23 18:12:49 +00:00
Kevin Roast
db0c7882c1 Refactored wcm client workflow models to use workflow 'name' not 'id'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4435 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-23 18:02:21 +00:00
Ariel Backenroth
babb03bdf0 - cleanup of create form configure rendering engines step
- first pass at starting the workflow from create content.  i'm able to start a workflow with parameters collected by the create website wizard.  however, i'm not able to associate files with the workflow yet due to some problems with the workflowservice.  i'll wait until word from britt or dave before continuing on this.
- making usage of workflowdefinition.id the key for workflows across the model since getWorkflowDefinitionByName isn't as reliable as getWorkflowdefinitionById for some reason
- adding FormProcessor back in; looks like it got removed in a merge.
- fixing localized strings in configure rendering engines

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-23 01:43:12 +00:00
Britt Park
a5bd362e24 This allows missing nodes to override existing nodes during an update. It
should allow reverts to work correctly in all circumstances.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4429 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-22 19:10:17 +00:00
Britt Park
d12551d5cc Lookup caching is working. It's fairly heavy handed in its invalidation
strategy, but seems to give a 10-20% performance boost.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-22 16:14:22 +00:00
Gary Spencer
2e2dbf62f1 Checkpoint of file state refactoring.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-22 11:11:54 +00:00
Kevin Roast
e5babd2675 . Staging area 'snapshot' action implemented in the UI
. List of Recent Snapshots component added to Staging area information table
 - TODO: finish implementing Revert to Snapshot action in the UI
. Date filter UI implemented for recent snapshots (as there will be lots!)
. Fixed issue with name/title confusion in FormsService.getForm(name) method
. Added Default Webapp field to Create Web Project wizard and added to WCM model for a web project
 - TODO: implement this as default root path when browsing a sandbox

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-21 17:13:04 +00:00
Britt Park
75f3c91b12 Another lookup cache checkpoint.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-21 01:46:55 +00:00
Britt Park
837095a411 Another lookup cache checkpoint.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-20 22:41:46 +00:00
Britt Park
454a26767e Check point of Lookup Caching.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-20 19:22:38 +00:00
Gary Spencer
a65d2952fc Added the AVM share mapper to allow mapping read-only shares to any version of a store.
Added the <avmAllStores/> configuration tag to add shares for all stores, connected to the head version of the store.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4397 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-20 15:24:42 +00:00
Ariel Backenroth
d1768464ba - first pass at summary screen for create form.
- making workflowdefinition immutable and adding getters so i can access bean properties from jsps.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4391 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-17 20:51:01 +00:00
Gary Spencer
45fface102 Fix problem with search restart position being out by one, causing an array bounds exception in some cases.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4390 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-17 18:30:38 +00:00
Gary Spencer
d452a3890a Updates to support AVM filesystems.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-17 14:52:54 +00:00
Gary Spencer
10b48c7f2a First cut of the AVM filesystem driver for CIFS/FTP support.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-17 14:49:51 +00:00
Britt Park
992bd82b9e Cleaned up a seriously unnecessary ugliness.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-17 00:57:31 +00:00
Britt Park
4287b291d4 Added getContentReader and createContentWriter to AVMService. Also added convenience
getDirectoryListingArray() calls which return listings as arrays instead of Maps.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4377 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-16 19:53:42 +00:00
Kevin Roast
b5f3167443 . Create Web Content from Form hooked into Available Content Forms panel in the User Sandboxes component
- Create Web Content form initialised with the correctly selected form template in the drop-down
. Revert node, Revert Selected and Revert All actions working

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-16 13:17:41 +00:00