257 Commits

Author SHA1 Message Date
Derek Hulley
ac19d98707 Warn if 'protectDays' property is 0. In-transaction writes can have content removed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-19 21:38:59 +00:00
Derek Hulley
58bec08e99 Fixed AR-434: Ensure that persisted empty string properties are never returned as null
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2446 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-19 21:21:57 +00:00
Derek Hulley
b3c0377af7 Fixed fallout from Hibernate upgrade.
- VersionCounter DAO was using unsupported getHibernateTemplate.save() method


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2442 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-18 11:40:14 +00:00
Derek Hulley
42a2cd165a Beefed up javadocs around automatic person creation
Added specialized PersonException for when the user could not be automatically created


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2439 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-18 10:54:09 +00:00
David Caruana
af303ec519 Fix AR-436 - Error configuring the system to use NTLM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 18:08:55 +00:00
Gary Spencer
d060a79d0b Fix for offline file support, AR-67.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2432 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 15:29:04 +00:00
Derek Hulley
c7afc8286e Fixed closing of input stream
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2428 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 12:24:09 +00:00
Andrew Hind
2d1258dd7c only check and clear write locks (not commit locks)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2424 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 11:12:36 +00:00
David Caruana
f63e898993 Fix build issue - ImporterComponentTest failure.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2423 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-17 10:10:38 +00:00
Derek Hulley
440fa299b4 Content URLs are now generated with an extra HOUR folder to handle high volume input in one day better
Added cleanup job for content stores
 - content is moved into (alf_data)/contentstore.deleted and mirrors the live content store
 - We'll make a call about disabling the trigger for the job, but currently it will fire at 4am


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2422 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 20:01:57 +00:00
Derek Hulley
530b2b9026 Added read-only option to non-propagating user transactions as well as TransactionUtil methods
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2421 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 19:37:06 +00:00
Derek Hulley
e5b9b0ccd3 Added read-only option to non-propagating user transactions as well as TransactionUtil methods
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2420 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 19:35:22 +00:00
Derek Hulley
4ad1b74f9d Better output ant catching of transient caches
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2416 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 16:09:47 +00:00
David Caruana
6cb16abef4 Fix AR-431, AR-432.
Modified the Repository bootstrap mechanism so it's performed after all other initialisation and the order of bootstrap is explicit.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 15:11:53 +00:00
Derek Hulley
ab9b2bc196 9 granting permissions instead of 8
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2404 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 02:05:41 +00:00
Derek Hulley
35fba08088 Possible test fix. The list of settable permissions of [Contributor, Coordinator, Guest, Editor, Collaborator] looked right for 'content' and 'folder'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 00:53:18 +00:00
Derek Hulley
9474498ca1 Fixed AR-207: Added older than and younger than support to ContentStore#getUrls
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2402 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 00:18:57 +00:00
Derek Hulley
d57dda657d Removed unused code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 00:16:23 +00:00
Derek Hulley
09239707aa Minor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 22:20:48 +00:00
Roy Wetherall
beb3bfca4d - Fixes to unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2397 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 22:00:13 +00:00
Roy Wetherall
ab62a48f1f - Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 21:46:19 +00:00
Derek Hulley
f21edfd266 Build fix. RuleServiceImpl was using big NodeService instead of runtimeNodeService to check types
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2394 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 17:45:25 +00:00
David Caruana
fb63c64b0a Fix AWC-367. Deleting a user from the system does not remove that user from any groups they may be in.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2391 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 16:35:40 +00:00
Derek Hulley
58afec2afb InvocationTargetException propogation uses getTargetException rather than getCause
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 16:03:00 +00:00
Derek Hulley
d29cf7e074 The ActionServiceImpl was attempting to call a service method after an exception.
- This didn't fail before because the actions didn't use the authenticated services but does now.
 - When an action fails, the service attempts to make it asynchronous, but requires some info in order to proceed.  That info is now fetched upfront.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 14:03:39 +00:00
Derek Hulley
976fa1a09c Fixed TextMining (Word to Text) transformer that was not closing an input stream after use
Added checks to the Abstract transformer to log an error non-closures of streams.  This won't halt execution.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2384 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 13:51:25 +00:00
Derek Hulley
b4abc1b8a1 Fixed debug message
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 13:21:52 +00:00
Derek Hulley
2f5a87fa9e Added trace debugging categories to catch unclosed IO Channels and unclosed UserTransactions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 13:05:25 +00:00
Derek Hulley
e171f28a86 Minor debug helper
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 18:35:20 +00:00
Andrew Hind
f3e5093891 incorrect uri for 1.0 enterprise all permission
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2377 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 17:21:26 +00:00
David Caruana
654f3b76d2 Fix AR-310.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 15:49:51 +00:00
Derek Hulley
71ca136519 Fixed WebDAV missing content handling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 15:11:10 +00:00
Derek Hulley
d562864c82 Minor generics fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 15:07:04 +00:00
David Caruana
c25759542b Fix for sample user bootstrap extension (6000 user example for Novell) which failed in enterprise build. Change order of bootstrap so that user store is created first. Also added log flag to importerBootstrap allow debug output for bootstrap without first unpacking war file to adjust log4j properties.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2371 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 14:59:19 +00:00
Gary Spencer
7673bd086d When NT dialect is negotiated with the client the SMB response flags and flags2 fields were not being
set. If the client set the extended security flag the server would indicate it supports extended security.
The flags and flags2 values are now set in the response. (AR-426).

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 13:25:20 +00:00
Andrew Hind
391a0e2d12 First go at bug 413
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 10:51:26 +00:00
Derek Hulley
6b2c1482c0 Split transactional EHCache configuration from entity and other EHCache configuration. This will allow a smoother transition to EHCache 1.2, which is to be released soon.
Added a deep cache tracer for EHCaches.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2364 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 00:39:45 +00:00
Derek Hulley
52e70ac68e Fixed thread authentication in test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-14 00:35:27 +00:00
Roy Wetherall
9eea769f9a - Fixed tests causing build to fail
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 20:38:22 +00:00
Gary Spencer
3f6cff061e Added checks to the NetBIOS name server config/startup to make sure the server has at least one valid local IP address.
Linux often defaults the local host name to the 127.0.0.1 address which causes problems with name lookups.
(Fixes AR-422)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 18:11:33 +00:00
Derek Hulley
67e53b52e6 Added authentication to threads in test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2358 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 15:33:30 +00:00
David Caruana
4972870392 Fix CheckoutCheckIn tests - failed due to un-authenticated creation of test data. This used to work as rule triggers are no longer executed as the system user.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 13:51:04 +00:00
David Caruana
056a3dc9d8 Fix for asynchronous action test. Authentication context was not set for complete asynchronous action execution transaction, therefore failed in commit processing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 12:40:31 +00:00
Derek Hulley
ae6bed1eb4 Fix AR-350: Transactional caches for node ownership and permissions statuses
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 12:28:03 +00:00
David Caruana
12b94f82af Temporary build fix for asynchronous action test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2353 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 11:31:57 +00:00
Derek Hulley
f0f0b634e3 Performance improvement - removed unnecessary call in high volume method
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2352 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 11:24:49 +00:00
Roy Wetherall
542775a3cd - Prevent the ownable and author aspect from being created.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2350 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-11 21:18:04 +00:00
Roy Wetherall
c4a4e7ecba - Asynchronous rules are now executed as the user that triggers the rule.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-11 20:50:05 +00:00
Derek Hulley
681960a849 Fixed bug caused by transaction listeners registering more listeners during callbacks
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2347 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-10 21:20:12 +00:00
Derek Hulley
1edc42fc63 Javadoc fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2345 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-10 19:53:56 +00:00