Commit Graph

2384 Commits

Author SHA1 Message Date
Gavin Cornwell
61b88b74cc Workflow cleanup; set workflow redeploy flags to false, removed file accidentially re-checked in the other day and removed comment around JBPM engine disable flag that is no longer required.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30174 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-02 09:22:19 +00:00
Matt Ward
ac8b3ce1fc ALF-9613: caching content store. Various improvements and bug fixes. Including:
ALF-10097: disk-persistent cache settings in ehcache
ALF-10098: clean up  process should remove empty parent directories from content cache disk directory
ALF-10126: timeToIdle ehcache property was not affecting cache cleaner job
ALF-10127: externally deleted cached content files were not re-cached until after the items expired from ehcache

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30171 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-02 09:03:49 +00:00
Nick Burch
77f3687508 Have all the RMI exports retry if the server port is in-use (previously only one export was retrying)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30122 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-28 20:48:05 +00:00
Steven Glover
cfabcb18e3 ALF-9510: wip. Further code changes.
Plus, some code tidy up, comments.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30111 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 16:15:48 +00:00
Nick Burch
79ab65935c Switch the Links creating webscript to be Java backed using the new service, and enhance unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 15:37:27 +00:00
Brian Remmington
999cdcb5bd Publishing: final config adjustments for each of the publishing channel types
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 14:55:36 +00:00
Gavin Cornwell
9337d5c873 Added L10N labels for Activiti based invitation process definitions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 13:49:05 +00:00
Frederik Heremans
296423af16 ALF-9693: Adding activiti wf-definition, was added to wrong file (renamed)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30086 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 11:13:25 +00:00
N Smith
2489bf0bdf Finished refactoring InvitationServiceImpl to use Activiti worklfow engine.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30084 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 10:17:35 +00:00
Frederik Heremans
578a58bbc8 ALF-9693: Social publishing now using the activiti process definition + fixed issue with activiti process without wait-state
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 07:52:20 +00:00
Steven Glover
b8d0df0c95 ALF-9510 checkin. Also some fixes for ALF-8702.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 16:22:33 +00:00
Matt Ward
98947fda5c ALF-9613: numerous changes including use of ReentrantReadWriteLock for locking and introduction of a custom cleanup job that does not delete files that are in use by the cache.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30066 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 15:20:08 +00:00
Nick Burch
bf057b35b1 IT-5103 - Try to avoid "BindException: Address already in use" on build boxes when repeatedly stopping and starting the repository, by enabling retries (default for up to 1 second) when creating RMI Server Ports
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 14:16:06 +00:00
Paul Holmes-Higgin
a6e115fdd5 Installer update - launch Next Steps browser page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 13:45:04 +00:00
Brian Remmington
3ce8c9a0eb Renamed "web-publishing-context.xml" to "content-publishing-context.xml"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 13:38:04 +00:00
Brian Remmington
68fee6c4c1 - Removed SlideShare publishing channel type - unable to publish reliably to the service.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 13:33:48 +00:00
Derek Hulley
c72a19b637 Merged DEV to HEAD:
29876: Removed emotive language from build.xml
   29877: Made getter final; should make members final.
   29879: Extra check for erroneous, pre-existing transactions
   29880: ALF-8966: RSOLR 042: Node deletes keep DB ID (ALF-8965)
          - There is no longer code to change the store ID and UUID for an entry in alf_node
          - During store moves, new node entries are created and node data is moved onto the new node
          - Primarily affects archive/restore use cases
          - Any NodeRef can be tracked using the DB ID associated with it (see NodeService.getNodeStatus)
   29926: Minor toString modification
   29927: Code cleanup: line endings, non-javadoc and isDebugEnabled
   29928: Moved exception absorbtion out of the non-propagating txn (and cleaned up unused code)
   29930: Test for ALF-5714: Write transactions serialized on MySQL
          - The fix is to add this to the MySQL configuration and restart the MySQL server
            innodb_locks_unsafe_for_binlog = true
            See: http://dev.mysql.com/doc/refman/5.1/en/innodb-parameters.html#sysvar_innodb_locks_unsafe_for_binlog
          - The test holds DB resources from one archive process while doing another.  It fails without the setting given.
          - TODO: Documentation required
   29969: ALF-8966: RSOLR 042: Node deletes keep DB ID (ALF-8965)
          - Fixed timing of circular hierarchy detection
   29972: ALF-8966: RSOLR 042: Node deletes keep DB ID (ALF-8965)
          - Fixed ACL retrieval from old parent node during move
          - Fixes PermissionServiceTest failures
   29979: Fix test's initialization
   29987: Fixed txn demarcation during write of transfer report


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 23:09:39 +00:00
Gavin Cornwell
6dbcb98f3c Form config and L10N labels for new Activiti invititation task types
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 14:52:29 +00:00
Nick Burch
b94a0af2e9 ALF-9153 Discussions service CQ support for finding "hot" topics (those with recent replies)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 13:45:59 +00:00
N Smith
1b941f86b2 Fixed failing InviteServiceTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30024 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 12:56:57 +00:00
N Smith
4c867eb9dc Continuing refactor of InvitationServiceImpl to use Activiti workflows.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 10:04:18 +00:00
N Smith
c9eda64276 Fixed failing test caused by changes to ActivitiWorkflowEngine.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 09:56:52 +00:00
Steven Glover
f7f23f6eb7 Refactoring to support ALF-9510, ALF-8702
ALF-8702: Solr-Repository SSL Communications (see solr/source/solr/instance/HowToSetUpSolr.txt
ALF-9510: Initial checkin

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-23 18:34:15 +00:00
N Smith
fba09d9b2a Started efactoring InviatationServiceImpl so that it uses Activit workflow engine.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29990 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-23 13:24:42 +00:00
Derek Hulley
24fa893ac3 ALF-9990: Schema auto-update fails on MS SQL Server
- Added missing index for FK
 - Added NodeDAO.deleteSubscriptions and only added implementation for MSSQL
 - Removed ON DELETE CASCADE for MSSQL from create scripts


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29968 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 17:40:23 +00:00
Derek Hulley
b459001ca1 Fixed ALF-9991: openoffice-transform.properties - error in row break for config file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29965 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 16:29:33 +00:00
David Webster
7d8bd1abe3 Updates from Gloria.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 14:12:42 +00:00
Mark Rogers
318cfae1b1 Filesystem changes.
a) Fixed bug if IOControlHandler threw IOControlNotImplementedException
   b) Cluster cache initialisation for all filesystem contexts.
   c) Don't attempt to start the filesystem if the cluster config fails.
   d) addition of new property for cluster debug (filesystem.cluster.debugFlags)
   e) Changed the property name from  filesystem.cluster.config to filesystem.cluster.configFile

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 13:04:18 +00:00
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
Gavin Cornwell
dccf7caaca Removed (Activiti) label from workflow names as new installs will only show Activiti workflows
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 08:53:20 +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
d6ec5f444b ALF-9613: added sample XML spring beans file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 16:31:09 +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
David Webster
5084d3612f Latest translation update from Gloria (based on r29751)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29916 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-19 12:24:26 +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
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
Gavin Cornwell
6172585955 Added Japanese translation for workflow email notification to replace English placeholder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29874 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-18 13:47: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
b9b352479e Class name typo fix for r29845
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-18 07:23:49 +00:00
Roy Wetherall
5de8e23319 Tanslated email templates for workflow notification.
NOTE: ja file is a place holder and is the english translation for now



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29848 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-18 00:47:18 +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
Dave Ward
8f99b3564e ALF-9943: String corrections for Gloria
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29844 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 18:51:59 +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
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
Kevin Roast
7aaa0bc125 Missing file from rev 29828 - required to bootstrap clean DB.
Corrected the incorrect comment in spaces.xml specifying where to map referenced properties for bootstrapped views.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 13:58:06 +00:00
Kevin Roast
2b64e5b39b Added new folder to clean DB bootstrap from ALF-9710
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-17 12:40:25 +00:00