3751 Commits

Author SHA1 Message Date
Florian Mü
64e58d0257 Added CMIS getCheckedOutDocs implementation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 11:20:29 +00:00
Philippe Dubois
f61ca17cfe Added hook that can be used by an external application to refresh
his cache after transfer.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 07:21:02 +00:00
Roy Wetherall
557980f0af Workflow Notification:
* Activiti reassign notification hook working



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29937 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 07:01:32 +00:00
Matt Ward
24354aae0a ALF-9613: added a concurrency test and fix
to ensure concurrent requests for content at a particular URL won't result in the backing store being asked for the same content multiple times.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 16:32:32 +00:00
Mark Rogers
0dd9bb8463 Correction to AlfrescoContext.getLockManager()
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 16:16:26 +00:00
Mark Rogers
536c155403 Removal of an incorrect increment file state count.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 15:40:17 +00:00
Florian Mü
127c0e585c Fixed CMIS CAN_CHECK_OUT allowable action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 15:13:36 +00:00
Philippe Dubois
696db9924d Fix for java.lang.NullPointerException in org.alfresco.repo.transfer.manifest.ManifestIntegrationTest.testSnapshot, DictionaryService injected
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29924 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 14:23:51 +00:00
Mark Rogers
021a93f5c3 First cut of Hazelcast cache initialisation
need to set filesystem.cluster.enabled=true
                      filesystem.cluster.config=c:\\temp\\hazelcastConfig.xml
ALF-9966 - Locking wrong with OpLockManager and LockManager ContentDiskDriver error.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29922 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 13:21:53 +00:00
Florian Mü
11c637b514 ALF-9957: subscription service fix in MT environment
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 12:05:53 +00:00
Andrew Hind
4427a22e03 ALF-9860: RSOLR 034: Incremental Index Fix
- generic fix, supprot to request purge, index and reindex for tx, node, acl-tx and acl (partly to make broken indexes)
- expose index fix via JMX
- migrate logging in the SOLR project to slf4j to fit the SOLR logging pattern (config to come)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 10:10:46 +00:00
Gavin Cornwell
d093b6a8e4 ALF-9258: Added isEngineEnabled check to the Activiti engine initialisation so the JobExecuterThread is not started when it doesn't need to be.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-18 19:41:52 +00:00
Derek Hulley
355cfd4f95 Part of ALF-9957: MT: test and fix subscriptions. Added null checks from count queries.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29894 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-18 17:10:14 +00:00
Nick Burch
53778ee973 ALF-9153 Discussions Topic Finding (lucene based) on the Java Service for getting topics by tag
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29890 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-18 16:11:40 +00:00
Nick Burch
f63b5b0af9 ALF-9153 Further tests for the new discussions replies CQ
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-18 12:33:28 +00:00
Frederik Heremans
b5d8e12577 ALF-9258: Bootstrapping of schema now done in seperate (disposable) engine, using a bare connection instead of one from the datasource + jobexecutor startup delayed untill SchemaAvailableEvent
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29865 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-18 11:41:19 +00:00
Dave Ward
27dfd5ab17 Merged V3.4-BUG-FIX to HEAD
29716: ALF-4029: FileContentStore does not remove empty folders when deleting URLs   
      delete() now crawls back up the dir hierarchy deleting directories until a non-empty parent is found.
   29767: ALF-9351 No exception with invalid permission definitions
      - DTD/Schema validation added
      - Corrected permissionDefinitions.xml (contained extra -->) so failed validation
   29797: ALF-9916 Audit user actions for site (added st:site to list of types in filter)
   29800: ALF-5499 IndexOutOfBoundsException in QuickSort
      Need to synchronize access to JSF session beans. Added a filter that will use the HttpSession
      (if it exists) as the monitor for a synchronized block so that only one request per session is
      processed at any time. Approach taken in preference to adding synchronized blocks/methods or
      locks to over 200 session beans in the Alfresco Explorer UI.
   29801: ALF-9190: If a user is invited to a site but joins the site independently, they end up with the "Consumer" role, regardless of the role they were invited with
   29805: ALF-4029: added utility to make some rough timings.
   
   29819: Merged DEV/TEMPORARY to V3.4-BUG-FIX (reviewed by Erik)
      29815: ALF-8414 : Remove button does not show on Flash upload in Share
         Changed flash-upload.css styles to correct upload dialog display in IE6/IE7. Changes were tested in all supported browsers.
   29826: Fix for ALF-9930
   29836: Merged V3.4-TEAM to V3.4-BUG-FIX
      27772: Incorrect behavior of enabling Google docs (Really: Forms get submitted twice in certain circumstances)
   29839: ALF-9351 No exception with invalid permission definitions
      - Added permissionsDefinitions.xml to RM's permissionsModelDAO spring bean def (root cause of build errors)
      - Use UTF-8 encoding rather than server default when writing out modified form of model xml
      - Use byte[] rather than a temp file (model files should be small)
      - Added and then commented out an approach that did not require the need to write out the model xml
        (works for schema but not dtd. See notes in javax.xml.validation.SchemaFactory)
      - Fixed problem with RM recordsPermissionModel.xml (select -> selected)
   29841: Fixed ALF-9826	"Folder is copied without content even if 'Apply rule to subfolders' check-box is checked"
   - Added "deep-copy" option for Copy action


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-18 11:28:44 +00:00
Mike Hatfield
937d945d71 Document Library: some refactoring & clean-up of evaluator code. Adds support for Repository custom response injection; the vti server details have now moved to this model instead of a separate webscript call. Added browser evaluator via userAgent regexp test and access to doclib webscript metadata response in evaluators.
Closes:
  ALF-9173 - SE.S07	Share - Single configuration files for actions
  ALF-9176 - SE.S15	Share - Refactor doclist data webscript to use web-tier ActionGroups and Evaluators
  ALF-9181 - SE.S63	Share - Refactor doclist client javascript to work with updated data response
Fixes:
  ALF-9917 - wrong URLs are generated for some actions
  ALF-9931 - Add simple workflow rule crashes the Document Library

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 20:43:39 +00:00
Nick Burch
2fce262264 ALF-9153 Get the discussions reply CQ working, via some careful mybatis collections handling, and add some tests for it
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29843 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 17:50:59 +00:00
Nick Burch
7ec7327ec4 Add debug logging on executeQuery to mirror that on executeCountQuery
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29842 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 16:45:43 +00:00
Gavin Cornwell
a18b530876 Tweaked the return object for the ActionFormProcessor, it now encapsulates the 'Action' object and the result stored by the executed action (this can be null).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29840 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 15:29:17 +00:00
Matt Ward
c3ca707bff ALF-9613: (fake) slow content store and CachingContentStore tests to use it.
Created a stub content store that reads and writes very slowly and end-to-end tests that utilise the slow store to prove there is a speed up on reading and writing through the CachingContentStore.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29838 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 15:12:35 +00:00
Philippe Dubois
3c84a0b4dc For file transfer receiver, there is no access to DictionaryService therefore is was
necessary to add “ancestorType » in TransferManifestNormalNode. “ancestorType » 
can be cm:content, cm:folder or sys:base.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29837 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 15:07:27 +00:00
N Smith
6ee8c66098 Refactored the Invitation Workflow Actions and Delegates. Pulled most of the functionality out into an InviteHelper class.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 14:22:55 +00:00
Nick Burch
1c8c572a85 ALF-9153 Start on the discussion replies CQ
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29831 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 13:59:23 +00:00
Roy Wetherall
348cc9831f Workflow Notificatoins:
* Email notifications sent asynchronously
  * Activiti pooled tasks now work correctly



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 04:59:49 +00:00
Dave Ward
20b9d8a3ed ALF-9351: Reverse merged 29767 as it doesn't work, is suboptimal and platform encoding dependent
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29807 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-16 20:14:01 +00:00
Matt Ward
744ec79aea ALF-9613: configuration changes for ContentCachingStore, bug fixes, more tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-16 17:20:05 +00:00
Dave Ward
5d7e3e52be Merged V3.4-BUG-FIX to HEAD
29755: ALF-6742 Javascript error using the manager permissions action in the docLib on a folder that uses no inherit permissions
      Dmitry change: Modify permissions.js to store permissions that are not supported in separate array during _showDialog()
                     method invocation. Then add them into params that are going to setPermissions() method.
      Error no longer takes place and dialog appears as expected. 
   29756: UI coding standards for r29755
   29757: ALF-9908 Improvement to log output for high level audit to make it more readable to developers
   29767: ALF-9351 No exception with invalid permission definitions
      - DTD/Schema validation added
      - Corrected permissionDefinitions.xml (contained extra -->) so failed validation


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-16 17:17:02 +00:00
Nick Burch
9f67fd6ded On advice from Derek, pre-load node details when wrapping CQ results as higher level objects, for Calendar, Wiki, Links and Discussions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-16 14:59:58 +00:00
Nick Burch
4d361282bd ALF-9153 Correct the component name, and improve the fetching of the most recent post reply
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29794 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-16 14:26:51 +00:00
Mark Rogers
988f40fc96 ALF-9779 - FTP: Failed to retrieve directory listing for tenant user
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29792 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-16 12:55:33 +00:00
Gavin Cornwell
f5c6be1e19 Hide the publishing and activiti invitation workflows from the list in the 'Start Advanced Workflow' wizard in Explorer.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-16 11:10:43 +00:00
Kevin Roast
43e11b8817 . Create node from source (i.e. a templated document) WebScripts to support ALF-9710
. Added selectNodes(xpath) to JavaScript Search API (not sure why I never added it before...!)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-16 11:05:57 +00:00
Gavin Cornwell
4dd7311c98 Updated documents section of workflow email notification template to match Linton's styling and fixed task edit/details URLs
NOTE: You'll need to start with a clean database to see these changes.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 20:44:17 +00:00
Nick Burch
1259950719 ALF-9153 Convert the forum-post-replies.post discussions webscript to be lucene free and Java backed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29780 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 17:54:30 +00:00
Nick Burch
4f59c0b4eb ALF-9153 Avoid fetching too much un-used data when rendering a Discussions Topic to JSON with the reply count
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29773 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 16:44:47 +00:00
Nick Burch
f7e691b593 ALF-9153 Convert the discussions single post update webscript to de-lucened java backed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29772 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 16:03:41 +00:00
Gavin Cornwell
2e1ace4604 Workflow Email Notification updates:
- Added email-notification control for use in "Start Workflow" forms, it's essentially a copy of the checkbox control but defaults to checked i.e. it ignore the field.value
- Updated form config to use new custom email-notification control
- Updated form config so 'Send Email Notifications' setting is shown on workflow summary page and start task forms
- Set the 'pooled' flag for Activiti tasks when sending notification

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29769 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 15:57:22 +00:00
Kevin Roast
85fb0d109b Added missing script logger API method to mirror log4j:
- isInfoLoggingEnabled() info()
 - isDebugLoggingEnabled() debug()
 - isErrorLoggingEnabled() error()

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29760 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 13:38:00 +00:00
Andrew Hind
a73cccdc8b ALF-9856: RSOLR 046: Index track and build from SOLR: ALF-9857 Track changes to PATH and optimised support for getting AUX doc only data
- path tracking complete

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29758 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 12:57:19 +00:00
Mark Rogers
8bdaffcfe2 Update the file size in the file state cache.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29745 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 09:49:14 +00:00
David Webster
41bf621c4d Social Publishing UI Updates:
- Adds 20px icons
   - AmericaniZes spellings
   - Adds extra messaging to publishing dialogue status update field.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 07:28:25 +00:00
Roy Wetherall
660690bbd8 Workflow Notification working for Activiti workflows
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29737 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-15 05:41:15 +00:00
Gavin Cornwell
2eca29a4b7 Temporary build fix for CheckOutCheckInServiceImplTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-13 21:16:42 +00:00
Nick Burch
45901f3ce3 ALF-9153 Start on the lucene-free Discussions Webscripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-12 17:35:19 +00:00
David Caruana
3317a6a263 Disable AssetServiceImplTest due to intermittent results
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29728 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-12 16:54:30 +00:00
Nick Burch
267fdc5de2 ALF-9153 Add discussions Topic Listing and Posts-in-Topic Listing via CQ, plus tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29724 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-12 16:19:48 +00:00
Nick Burch
44d9f3c66c ALF-9153 More on unit tests for the new Discussions Service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-12 14:32:44 +00:00
Gavin Cornwell
0a7ef76f27 Added code to create a transient ActivitiEngine to initialise the DB schema during bootstrap. Code is currently commented out though as it's still not working.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29720 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-12 14:07:43 +00:00