257 Commits

Author SHA1 Message Date
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
Gary Spencer
902293d12a Fixed problem where URL pseudo files would occasionally not be added to the folder listing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2341 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-10 15:46:08 +00:00
Derek Hulley
be2837cc0f Simplified configuration of ServerConfiguration bean for CIFS, FTP, etc.
It is now possible to extend and replace specific sections of the file-servers.xml config file.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-10 14:51:00 +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
Gary Spencer
f6eb2a5394 Fix bug in FTP root folder listing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-08 18:44:24 +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
Gary Spencer
3bb2dd29ea Added delete file and mark for delete support for pseudo files.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-08 16:07:13 +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
Gary Spencer
cc503b2ac8 Added guest account support to the CIFS server. Refactored authenticator code and moved
common code down into the base class.
Added configuration value to control if unknown users should be mapped to the guest account.
Fixed a couple of uncaught access denied exceptions in the CIFS protocol handler.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-07 20:04:16 +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
Gary Spencer
d5c8cba194 Fix bug in folder search code when there are pseudo files and only one real file, the real file was not being returned in the search.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-06 17:55:13 +00:00
Gary Spencer
7bd656484e Changed transaction handling in the main request processing loop to use the new method
that handles commit and rollback.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2309 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-06 17:53:22 +00:00
Gary Spencer
385d11b33a Added guest user support to FTP server/filesystem authenticator. Changed authentication to use the standard authentication classes so FTP should work with LDAP and Kerberos setups.
Fixed server session transaction rollback problem.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-06 17:50:25 +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
Derek Hulley
e27b81132e Exception message was only getting reported in DEBUG
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-06 16:47:26 +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
Kevin Roast
29488351b1 . Fix to message properties file duplicates (as per forum post: http://www.alfresco.org/forums/viewtopic.php?p=3452#3452)
. And fix to spelling errors etc. as also noted in the post
. Fix to AWC-468, so the Person for an User can be deleted even if the User doesn't exist due to previous Auth mechanism such as NTLM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2291 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-03 11:26:29 +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
Gary Spencer
5d8d0e136c Fixed ClassCastException caused by the home share mapper using the DiskDeviceContext to generate the dynamic share. (AR-400)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2281 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-02 10:49:08 +00:00
Gary Spencer
5792f7ae2d Removed check for empty configuration section for FTP as it disables the server. Only disable the
server if the configuration section is not present. (AR-397)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-01 17:43:31 +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
Gary Spencer
2f7aaab592 Added check for open for overwrite in the main openFile() method so that it covers
FTP as well as CIFS file opens.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2263 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 15:47:59 +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
Gary Spencer
db4ea8197f Added open for overwrite optimization that stops existing content being copied when the file
is opened for write access.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-31 10:22:54 +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
Gary Spencer
5ccf3681e9 Fake oplocks for URL file opens to prevent Windows Explorer trying to use
byte range locking which causes an error dialog.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2250 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-30 14:18:37 +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
Gary Spencer
1304c3b82e Fix typo in CIFS URL link building.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2238 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-27 17:26:37 +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