154 Commits

Author SHA1 Message Date
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
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
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
David Caruana
286e173539 - Example demonstrating how to extend bootstrap data set (Users).
- Modified bootstrap Spring bean definitions allowing easier extension
- Modified importer bootstrap to allow import from .acp files (currently only supports .acp file in filesystem, not .jar)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-10 18:49:45 +00:00
Kevin Roast
26e45a09a1 . Saved Search execution and direct Lucene query execution support added to Template API.
. Fixed bug in TemplateNode for encoding of UTF-8 characters in generated URL filenames.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2334 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-09 14:22:54 +00:00
Derek Hulley
923f393732 Make it clear that transformer is disabled to start with
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2332 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-09 09:32:45 +00:00
Derek Hulley
87fdeb5cca Forgot to check in mimetype map
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-09 09:32:00 +00:00
Derek Hulley
92e6804e39 Added conversions to PDF (and therefore TXT) for .sxi
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2325 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-08 16:47:44 +00:00
Derek Hulley
1c0c31e10e Breaking up some long lines to facilitate debugging.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-08 14:48:57 +00:00
Derek Hulley
f9cb128ed5 Handle RolledbackException better (non-functional change)
Added conversion from Enum types to String


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2315 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-07 17:50:18 +00:00
Derek Hulley
f4b281fc7e Fixed memory leak where transactional cache was NOT used during a transaction, i.e. cleanup was not being performed if the cache was not used
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-06 16:54:07 +00:00
Derek Hulley
c396613cdd Some test cleanup to help with profiling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2305 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-06 16:49:02 +00:00
Derek Hulley
cecaaf4fd3 Fixed NullPointerException when encountering minimal ContentData node property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2304 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-06 16:48:27 +00:00
David Caruana
70e55cebd5 AR-380 - Export/Import of Forums/Discussions failed.
AR-395 - Provide abstract bean definition for DictionaryBootstrap
Fix build issue; JCR Import failed due to recent extension config changes
Fix issue in ISO9075 encoder; failed to encode colon properly meaning that Discussion Posts (with have colon seperated dates in their name) were not importing/exporting.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2299 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-05 16:25:30 +00:00
Roy Wetherall
2c72626944 - Removed reference to moved test model (to fix build failure)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2295 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-03 14:31:34 +00:00
Andrew Hind
f9ccb9ad25 Lucene config and TX fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-03 13:25:42 +00:00
Roy Wetherall
2af1438c2e - Added extension sample project to contain extenstion samples and used to test extension capabilities
- Added contentHits sample aspect that, when applied, counts the number of times a node of content is read and updated.
- Fix to web service sample
- Prevented onContentRead policy being fired when content is updated.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-02 16:37:36 +00:00
Derek Hulley
21eab8566f Tool to run the repository standalone (useful for CIFS and FTP server testing)
Importer no longer flushes integrity events
Improvement to one-jar ant script
Changed bean local references to normal references in scheduler


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2286 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-02 14:50:18 +00:00
Roy Wetherall
a38de2aa2d - Added onContentRead policy to help support planned samples
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2284 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-02 12:23:43 +00:00