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
Derek Hulley
1b2e8c53ec
Fixed compilation error from 30162. Mixing fixes
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30163 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-02 03:53:35 +00:00
Derek Hulley
9e84d86ec5
Fixed ALF-10061: NodeService.getAssoc() throws an exception if the requested association does not exist
...
- CMIS expects to get null (as per NodeService javadoc) but it was generating a concurrency exception
- Added a specific call to getNodeAssocOrNull to the DAO
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30162 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-02 03:23:06 +00:00
Derek Hulley
a33fa7be9f
Fixed ALF-10012: Repository fails to start on MS SQL Server
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-02 03:07:25 +00:00
Steven Glover
8ba839ca7d
ALF-9510: wip. Further code changes.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30112 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 16:18:36 +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
2910af4b61
Improve the Links rest api testing for deletion, and port the delete webscript from JS to Java backed (using the service)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 16:08:55 +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
Florian Mü
d8501628d4
Fixed a bug in CMIS cancelCheckOut() (Web Services)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30097 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 13:22:21 +00:00
N Smith
b746747d4a
Fixed a bug with the URL generated in the Inviatation Email.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30095 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-26 13:01:47 +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
Nick Burch
13a4308fe9
ALF-8670 When listing events in a site you have permissions to, but where you lack permissions to the calendar container, return no events rather than an exception. (This is the behaviour if you can see the container, but not the event nodes inside it)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 13:36:57 +00:00
Derek Hulley
139be956cf
pollForSnapshotCount now only logs an error. Also added a check for too many snaphots to start with.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 13:36:17 +00:00
Florian Mü
786c324be1
Added support for cmis:user in applyACL operations
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30052 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 12:12:21 +00:00
Andrew Hind
0ba194c1d9
ALF-9933 RSOLR 042: Add query support for new CMIS object ids
...
- added test suite for opencmis query
- fixed object ids with appropriate unit test for folders, unversioned and versioned docs.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-25 10:35:05 +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
Nick Burch
9c5e894a97
ALF-9153 Share sometimes asks for a topic listing with a zero page size, avoid giving this to the CQ engine and instead immediately return an empty result set
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30035 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 16:06:13 +00:00
Florian Mü
44aa5689bd
minor CMIS bug fixes and improvements
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30034 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 15:44:55 +00:00
Nick Burch
2aedabf4c0
ALF-9153 Add unit tests for the new discussions hot topics CQ and service method
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30028 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 14:30:21 +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
7386ef6f44
Fixed failing SiteServiceTest.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30025 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-24 13:21:07 +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
Andrew Hind
47b39283e2
ALF-9933: RSOLR 042: Add query support for new CMIS object ids
...
- Part 1: fix and test the old implementation (non opencmis)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-23 20:20:09 +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
Florian Mü
6f73e4153c
PWC is not searchable in CMIS
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29992 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-23 13:26:54 +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
Nick Burch
e2c0f84f10
ALF-9153 Support listing discussion topics by created date, as needed by the hot webscript, with service tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 15:03:45 +00:00
Matt Ward
a359d3cec9
ALF-9613: fix some cases of content being in in-memory cache but not on disk.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 14:55:18 +00:00
Nick Burch
9c62f6938c
ALF-9153 Unit tests for the discussions listing CQs permissions
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 13:15:43 +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
Gavin Cornwell
a9229b3ed6
Tweaked the updateTask method to only send notification emails if the assignee has changed (Explorer client always sends all properties on an update) and added check for null start task just in case!
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 12:22:16 +00:00
Nick Burch
3d050b6033
ALF-9153 Update the topic listing service methods to optionally filter by cm:creator, with tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-08-22 11:23:15 +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
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