954 Commits

Author SHA1 Message Date
Derek Hulley
2d461f5dd9 Merging from EC-MC: Initial work to move interceptors and correct bean names
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5743 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 05:02:18 +00:00
Derek Hulley
e34312ea05 Merging from EC-MC: Project compile
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 05:00:16 +00:00
Derek Hulley
2e79d2e6d2 Phase one of merge of EC multilingual work
These files are their changes plus adjustments for formatting and immediate clashes
I anticipate that this will break the build, but there are too many changes coming to risk it.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5740 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 04:47:14 +00:00
Gavin Cornwell
2f68bf73da First cut of pending submission UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5735 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-21 15:15:48 +00:00
Derek Hulley
6f4ab835fe Added the notion of a ContentContext to select the content store to write to.
Added AbstractRoutingContentStore as a start base implementation.
Added warnings to drive config away from disused setTransactionService towards setRetryingTransactionHelper.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5734 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-21 09:16:31 +00:00
Derek Hulley
8ee3f781f4 Allow SimpleCache to accept Object as opposed to just Serializable. It is possible now after EHCache changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-21 08:45:46 +00:00
Derek Hulley
6cc8f52082 Fixed BaseSpringTest to handle custom application contexts from derived tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-19 20:28:09 +00:00
Andrew Hind
e781259860 Probable build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-19 19:05:18 +00:00
Derek Hulley
1b10c9dad0 Test uses ApplicationContextHelper to load single context
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5728 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-19 05:56:55 +00:00
Derek Hulley
d69da227ca BaseSpringTest uses ApplicationContextHelper, which now ensures that the context is only started once.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-19 05:42:57 +00:00
Andrew Hind
518da86649 Fix fuzzy, prefix and wildcard queries for MLText typed attributes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5723 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-18 15:38:16 +00:00
Derek Hulley
e3223d97fb Fix AR-1464: Locale is carried into and out of the Content stack.
ApplicationContextHelper now gives out a singleton ApplicationContext and includes a 'closeApplicationContext' method.
Pulled all "org.alfresco.repo.content/**Test" classes into a single test suite.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-18 14:26:08 +00:00
David Caruana
7649017ac0 Workflow Task Query - add order by task due date.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-18 12:53:42 +00:00
David Caruana
801ec46791 Workflow Service - addition of task query
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5720 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-18 12:35:22 +00:00
Andrew Hind
6a5a8cbe75 Explicitly set locale for the index tests.
Correctly find the locale if set on the thread locale via I18utils

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-18 11:01:51 +00:00
Andrew Hind
5a8f9282b6 Context to disable avm indexing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-18 08:22:03 +00:00
Andrew Hind
19ce257baa Add WCM search with atomic indexing around snapshots
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5712 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-17 15:52:46 +00:00
Britt Park
ee7e8cb4d0 Added exists and getCount to AttributeService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5709 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-17 13:55:33 +00:00
Kevin Roast
7d2159686f TemplateImageResolver refactoring to support 64x64 icons as a new filetype image size. More icons from Linton.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-17 09:35:56 +00:00
Britt Park
8c914c2d67 Renaming a store no implicitly creates a snapshot.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5695 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-16 18:17:26 +00:00
Kevin Roast
9a980892d8 First pass at My Spaces webscript based portlet. Fixes and improvements to doclist and mytasks portlets. New 64x64 icons from Linton.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5694 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-16 16:47:51 +00:00
Gavin Cornwell
a0fb37db91 - Added delete item action to change request task dialog (means expired items can now be deleted)
- Added virtual server callback to inform it of workflow sandboxes created for change request workflow

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-16 14:57:31 +00:00
Derek Hulley
e83bbf8131 Sample extracter override to add an additional mapping from user-defined field 'user1' on the OpenDocument extracter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5692 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-16 13:57:56 +00:00
Derek Hulley
f03f95325a Upgraded OpenDocumentMetadataExtracter to new infrastructure.
Added more OpenDocument test documents.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-16 10:27:36 +00:00
Jon Cox
8c7782027f Point checkin for link management, plus more docs for AttributeService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5688 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-16 03:42:15 +00:00
David Caruana
a71b9e4191 WCM Content Launch:
- submit process now allows for delayed submissions (launch date may be entered during submit)
- in case of delayed submission, initiator is sent "submission pending" task with actions for cancelling submission and submitting now.  On launch date, submission is made, removing "pending" task from initiator.
- approved task is now submitted task

Fixes to jBPM Timers:
- fix to ensure task is ended when associated timer is fired
- fix to ensure Alfresco transaction is active when triggered node action is executed

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-15 17:43:50 +00:00
Derek Hulley
86e699a71f Merged V2.0 to HEAD
5625: AR-1439 zero length files have content


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-15 16:32:20 +00:00
Gavin Cornwell
b075f0fa7b Minor updates to content expiration
- I18N title for change request workflow
 - change request workflow title now includes the web project name the content came from
 - Added admin user name and workflow name as configurable properties for quartz job

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-15 15:31:17 +00:00
Gary Spencer
2b9d05c496 Added a custom I/O control to CIFS that returns the authentication ticket for the session. AR-1458.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-15 12:36:31 +00:00
Britt Park
3f2d97a835 Allow forceCopy to work on DeletedNodes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5679 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-15 10:17:40 +00:00
Britt Park
5f8ffb9e51 Added setEncoding, setMimeType to AVMService and AVMRemote interfaces.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-15 09:45:19 +00:00
Derek Hulley
0e51d23b29 Fix AR-487: Extraction of raw metadata is no seperate from the mapping to system properties.
Part fix AR-357: The OfficeMetadataExtracter has been ported, but needs a few more properties added to the raw set


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5677 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-15 08:48:07 +00:00
Gavin Cornwell
e637299ed8 First cut of content expiration support
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-14 19:40:10 +00:00
Derek Hulley
652bed012c Fixed AR-1425: Patches that weren't successfully executed are now re-examined for applicability.
Changed the applicability version numbers of several patches that were merged over from V2.0.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-14 16:03:34 +00:00
Britt Park
01ade4da9e Converted OrphanReaper thread into quartz job, as requested. Fixes AR-1450.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-10 18:23:12 +00:00
Derek Hulley
3d47482757 Schema bootstrap changes
- More precise origins of scripts
 - All executed statements are recorded in a single file


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5660 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-10 16:17:37 +00:00
Derek Hulley
2afe43dad1 Added main() method to check that our application context closes properly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5659 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-10 16:15:32 +00:00
Derek Hulley
4307893d18 Removed irrelevant TODO message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-10 16:13:18 +00:00
Britt Park
78377ba5c3 Cleanup of goofy looking paths.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5656 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-10 15:55:41 +00:00
Derek Hulley
d69bfa23af Minor comment fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5653 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-10 15:13:01 +00:00
Roy Wetherall
a38206915f - Preformance improvement to Auditable Aspect suggested by community
- PHP library refactoring
- Associated changes to tests and examples

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-09 13:22:50 +00:00
Jon Cox
6c332588a9 Point checkin.
Reorg to allow sandbox-related constants to be accessed more easily from 
other compilation units.   AVMConstants had become a dumping ground for
things that had nothing to do with const values.   Therefore, this
is now AVMUtil, and sandbox-related constants have been moved to
org.alfresco.sandbox.SandboxConstants, which builds in repository.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-08 02:33:18 +00:00
Britt Park
072d642d65 Alfresco -> Alfresco deployment is smarter.
- The source store is implicitly snapshotted before deployment begins.
- The destination (remote) store is implicitly snapshotted before deployment begins
  and again when the deployment is finished.
- This means that comparison of GUIDs on directories can be used to short circuit
  the tree comparison.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-07 23:50:28 +00:00
Britt Park
c55d48a3e7 Smarten up deployment to filesystem.
- Deploying to a filesystem implicitly snapshots the source store. 
  This allows shortcutting the tree comparison for directories, because
  guids on directories act as a deep modification indicator if deployments 
  are always from snapshots.  Doh!
- I'll do this for alfresco -> alfresco deployment too.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5635 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-07 17:52:04 +00:00
Britt Park
b9c662956b First basically functional alfresco -> filesystem deployment.
- Implemented deployDifferencesFS() in DeploymentService.
- Very basic test of full roundtrip deployment.
- Bunch of bug fixes in deployment receiver.
- Fixed class paths for Eclipse. (Of course maybe I just broke them for everyone else.) 
  Repository project depends on Deployment project now.
- Added Deployment project to build.  Works for me.  Modified 
  continuous.xml, I hope, successfully.

Still to do:
- Testing.
- Recovery logic for many failure modes.
- Some kind of packaging.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5634 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-06 22:16:23 +00:00
Kevin Roast
431f990806 My Forms template now opens website virtualisation URL when icon clicked.
New Template AVM API methods added to generate staging, user sandbox and path asset URLs for virtualisation server.
Some refactoring of constants used in AVMConstants into JNDIConstants to allow repository classes to also use them.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5624 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-04 11:27:46 +00:00
Derek Hulley
5615885916 Some parameter checks to catch null NodeRefs.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-04 01:11:00 +00:00
Ariel Backenroth
e58574447e fix misalignment between property wca:xmlschema of aspect wca:form in java constants and in xml model config. the property value was xmlschema in xml but simply schema in java. still unsure as to why this would be causing problems now - and not causing problems on my machine, but this is most likely the cause of the stacktraces we are seeing. thanks much to derek for helping track this down.
i've created issue WCM-477 to track any patch consequences of this realignment.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5618 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-04 01:09:26 +00:00
Ariel Backenroth
9747832703 fix incorrect mapping between property name in java constants and in xml model config. it was xmlschema in xml but simply schema in java. still unsure as to why this would be causing problems now - and not causing problems on my machine, but this is most likely the cause of the stacktraces we are seeing. thanks much to derek for helping track this down.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-04 00:01:36 +00:00
Jan Vonka
a9308dae1d Add warning to Importer if no binding for placeholder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-03 16:16:40 +00:00