1178 Commits

Author SHA1 Message Date
Derek Hulley
aa046ff09b More fixing to handle the property interceptor ML changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 19:07:08 +00:00
Britt Park
21742933ec Adds some convenience methods to AttributeService.
Namely two flavors each of addAttributes, for adding attributes to lists,
and setAttributes for adding entries to maps.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 18:19:00 +00:00
Derek Hulley
7b5349005c Plugged in the correct mlTranslationInterceptor for FileFolderService and removed the NodeService interceptor.
Removed some unecessary interceptor work.
Fixed content filtering to default to the pivot translation if there is no translation for a required language.
Fixed content filtering when switching back to ALL LANGUAGES.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 15:55:28 +00:00
Derek Hulley
08a6eb4e7c Fixed test for lowest-level node service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5800 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 14:11:55 +00:00
Kevin Roast
71f060d9a6 Minor fix change and spelling mistake
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 11:05:26 +00:00
Andrew Hind
cdcd32d54b Asynchronous indexing for AVM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 10:46:38 +00:00
Andrew Hind
43dad1aeff Asynchronous indexing for AVM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-29 10:19:57 +00:00
Britt Park
b2db7d40b1 getPaths now returns the latest snapshot path, even when the head path
has not changed since the last snapshot.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5786 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-26 17:59:16 +00:00
Kevin Roast
01517dd85b JavaScript People API improvement, added getContainerGroups() useful method as requested on forums.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5779 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-25 09:01:35 +00:00
David Caruana
ee7b890b2c Fix premature db access in initialisation of workflow interpreter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5773 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-24 12:34:36 +00:00
Kevin Roast
8f0d52af04 MySpaces webscript now shows Ajax wait animation while loading inner panel area.
Summary pop-up panel fade-out anim removed (improves user experience).
Reorg of broken action evaluator class hiearchy (after ML UI changes).
More fixes to ML UI (browse.jsp missing component IDs breaks screen when panels collapsed then expanded).
Code reorg in interceptors to help performance.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5772 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-24 11:08:53 +00:00
Derek Hulley
e0bfdca5ea Fixed failing ML tests
- These worked on the branch a flaw showed up on HEAD
 - Moved ContentReader spoofing up into FileFolderService and ContentService using an interceptor.
Fixed bug when attempting to delete an archived item that was ML.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5768 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-24 04:11:50 +00:00
Derek Hulley
f4f417707a Fixed AR-1361: MLText persistence doesn't use serialization
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5767 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-24 04:01:50 +00:00
David Caruana
504b174852 Workflow Console: automatically create workflow package and assignee variables on start of console (always required for testing, so saves some typing to create them manually.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5765 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-23 17:12:06 +00:00
David Caruana
1c46628575 Workflow Service: add support for task comment.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5763 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-23 16:15:07 +00:00
Gavin Cornwell
0b8d2fc6d6 - Added workflow history to the manage task dialog
- Moved wcm workflow model constants to separate class to be consistent

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5761 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-23 14:48:07 +00:00
Kevin Roast
a55a186705 The Import dialog now allows ZIP file structure import into the repo from the web-client by any user with Write access to a folder - this is nice quick way for any user to import bulk data without using an FTP client or CIFS folder access.
Import action moved to top-level in the main browse screen now it is useful on a day-to-day basis.
The 'import' repository action (ImporterActionExecuter) extended to support import of any zip flavour file.
More zip flavour filetypes added to mimetype map.
Improved debugging output added to BasePathResultsMap for xpaths executed in templates.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5760 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-23 12:25:04 +00:00
David Caruana
3682ff9474 - Workflow Service
-- addition of get process definition history
-- addition of get active timers (for a process definition)
-- addition of fire custom workflow events
-- addition of get process variables

- Workflow Console
-- addition of undeploy all versions of a process definition
-- addition of list all versions of a process definition
-- addition of list workflows for previous version of a process definition
-- addition of query tasks
-- addition of firing custom workflow event
-- addition of list timers
-- addition of show process variables

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5754 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 17:48:11 +00:00
Andrew Hind
28996e9a03 Fix AVM mising a directory add event??
Lucane PATH now working for the staging area
XPath is trying for all AVM stores (enven layers)
- missing support for no name space mathing all ....and suport for names attributes ... on the AVM nodeservice

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5753 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 16:18:24 +00:00
Andrew Hind
7f5c55247b Fix AVM and context issues
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 10:45:49 +00:00
Derek Hulley
4523a2dab7 Removed redundant test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5747 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 09:55:34 +00:00
Derek Hulley
f6fbed84a0 Mergeing form EC-MC: Completed. Removed intwined aspect deletion behaviour
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5745 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 05:05:00 +00:00
Derek Hulley
d818c54e99 Merging from EC-MC: Checkpoint before refactor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5744 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-22 05:03:16 +00:00
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