130 Commits

Author SHA1 Message Date
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
David Caruana
ac583e0765 Fix AR-379 - checked-out items lose their copiedFrom aspect
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-01 16:37:11 +00:00
Derek Hulley
9be5d15ad1 Fixed AWC-487: Added patch to grant required permissions to 'Saved Searches' folder
Fixed I18N of SavedSearchFolderPatch
Neatened up patch logging


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2276 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-01 15:36:03 +00:00
Roy Wetherall
2bdace676d - Added update and inboundAndUpdate as example rule types that can be commented in.
- Added parameter to content update policy to indicate whether it is new content being updated
- Added triigers to support update rule type

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-01 14:26:17 +00:00
David Caruana
3129923af7 Fix AR-378 - Items with multiple categories export successfully but when imported, only one category is set.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2269 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 18:52:25 +00:00
Kevin Roast
7d02526c34 Exception message changed to fix AWC-467
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2268 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 18:48:07 +00:00
Andrew Hind
5623299943 Fix to set person permission if guest is found and not made
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 16:04:28 +00:00
Roy Wetherall
dc140df4ed - Extended some web service content tests
- Fixed issue with version author being displayed incorrectly
- Fixed hasCategoryValue evalautor null pointer error found during testing

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2262 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 15:36:33 +00:00
Derek Hulley
6fa5688f5f Fixed permissions patch. Split hibernate and cache configuration property files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2261 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 13:26:54 +00:00
David Caruana
89abae6099 Fix AR-377 - able to export everything regardless of permissions (run in background = false).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 13:06:04 +00:00
David Caruana
43833a3d46 Fix AR-375 - Export/Import - Include Children = false, Include this Space = falsse - exported children
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 10:37:35 +00:00
Derek Hulley
9bac8270f4 AR-383: Optimized overwrite behaviour for ContentWriter. Content will only be duplicated for the writes if explicitly requesting a random-access file without the truncate option
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 05:40:51 +00:00
Derek Hulley
cdede309e5 Removed some unused code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2253 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 05:38:24 +00:00
Andrew Hind
6bcc456fcd Fixes to guest permissions and patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2251 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-30 16:50:58 +00:00
David Caruana
a0bab2238c Fix issue where importer failed to find correct xml meta-data file when an .acp file contained exported xml files. The importer would start parsing the last xml file found in the .acp file and generally barf with an exception that was bemusing.l
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2249 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-30 12:31:14 +00:00
Derek Hulley
de11c59226 More tests for property persistence and fixes to ensure that d:any always returns the same type as put in
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2247 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-30 02:57:19 +00:00
Derek Hulley
7955eb623a Fixed AR-359: Property values never persisted as Serializable unless absolutely necessary. Bumped schema version up to 4.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-30 01:45:32 +00:00
Andrew Hind
fc8b53f844 Patch for guest set up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-29 21:18:12 +00:00
Roy Wetherall
8df7c1db7e - Added batchable user queries to admin web service API
- Added big P person service
- web service clinet jar is now build by build process
- Added distribute-web-service-client target which will create web service lcient distribution zip file containing jar and dependant resources
- Added web service client property file so destination repository can be easily specified

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2233 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-27 17:03:57 +00:00
David Caruana
c131dd7dec Fix issue where imported content does not have associated binary content stream (i.e. fixes "ContentData does not have a content url" error).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2232 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-27 16:46:07 +00:00
Gavin Cornwell
c81c8f59e8 Fixed issue where discussions were lost after checkin & updated version number
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-27 15:43:49 +00:00
Derek Hulley
d252748bbe More fine-grained access to mimetype config XML. Added more mimetypes to OpenOffice handlers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-27 14:34:45 +00:00
Derek Hulley
119ac044d4 Enabled *.ods, *.sdc and *.sxc conversion to PDF and therefore to TXT
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 18:27:52 +00:00
Roy Wetherall
48118785b2 - Addition of copyToNew flag to onCopyComplete policy for Gav
- Implementation and unit tests for admin web service
- Implementation and unit tests for access control web service

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 16:55:10 +00:00
Derek Hulley
a4a4830b04 Reversed registration order of ContentTransfomers. Self-registration means that config extensions are much simpler
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 16:54:16 +00:00