123 Commits

Author SHA1 Message Date
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
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
Gary Spencer
b4d2db1017 Added URL link pseudo files support. Split pseudo file classes to allow local filesystem and
in memory pseudo files.
Drag/drop and URL link pseudo files now only appear when using CIFS.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2229 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-27 15:36:32 +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
Andrew Hind
05a1f2b65f Test fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 16:36:48 +00:00
Andrew Hind
aa831ddd85 Tidy up of UserTransaction roll back on throwable as opposed to Exception
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2218 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 15:38:58 +00:00
Derek Hulley
90d70c6794 Javadocs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 13:37:25 +00:00
Derek Hulley
0a7c58b127 Fixed NullPointerException when FTP server fails to start AND info logging is on
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2212 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 03:28:02 +00:00
Derek Hulley
2ff11e6114 XPath function usage exceptions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2211 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 01:39:38 +00:00
Derek Hulley
65be3657f2 Converted test source code to UTF-8
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 23:38:44 +00:00
Derek Hulley
dc6bc0d726 Patch service I18N. Added permission data patch for AR-344. Bumped up schema version to 3.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2206 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 19:07:06 +00:00
Derek Hulley
f578d4531a Make unit test independent of the encoding of the Java file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2205 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 16:20:41 +00:00
David Caruana
b7aec4a280 Importer - allow imported node references/paths to be searched for within committed repository only or committed repository and current import transaction.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2202 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 15:41:19 +00:00
Andrew Hind
68ae6ef330 Ldap progress and user/person search
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2201 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 14:17:41 +00:00
Derek Hulley
881da2dd03 Changed encoding to UTF-8 as an initial experiment to check if this fixes the Linux compiler encoding issue
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2200 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 13:49:20 +00:00
Derek Hulley
78052faade Patches that were not executed (but considered) are not output on startup
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2198 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 12:13:32 +00:00
David Caruana
e4ca1dfb9f Fix missing checkin
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2197 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 11:05:58 +00:00
Derek Hulley
d7964671b4 Fix NullPointerException
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 09:09:23 +00:00
Derek Hulley
27c3652b85 Temporary build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 08:35:42 +00:00
Derek Hulley
744535fa73 Patch application on startup reports progress
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-24 23:49:16 +00:00
Derek Hulley
ff7e10f80c Made explicit an InputStream closure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-24 23:30:48 +00:00
David Caruana
91b4de1563 Provision of simple import statistics - e.g. duration of import, count of nodes/props/etc imported.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-24 18:47:24 +00:00
Derek Hulley
97792d6afa Another attempt at Linux fix for filesystem differences between Linux and Windows
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-24 18:37:28 +00:00
Gary Spencer
29da65708a Added defaulting of domain/workgroup name to 'WORKGROUP' when the domain cannot
be resolved via network broadcast. Also outputs a message to indicate the domain
was defaulted and possible causes (firewall settings/broadcast mask).
Added hint message to check the broadcast mask when the host announcer fails
with an IOException.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-24 13:51:00 +00:00
Derek Hulley
12b52c471a Attempted fix for file delete discrepancies between Windows and Linux
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-24 10:33:47 +00:00
David Caruana
2a897f877d Fix to handle .acp files which have been updated with via a zip tool.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2180 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-23 18:51:32 +00:00
Gary Spencer
cc60741883 Added support for resume ids and resuming searches. This is required to support folders with large numbers of files.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2178 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-23 17:59:12 +00:00
Andrew Hind
7832a14c40 Fixes for "AuthenticationService" to allow log in as guset.
Fixdes for guset in all group in the open world

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2174 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-23 15:32:50 +00:00
Andrew Hind
9d432121bc Guest fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2173 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-23 11:27:32 +00:00
David Caruana
c0524bd3cc Addition of Import references; allows...
- secondary child links (or multiple parents)
- update of existing items

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2171 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-21 19:14:16 +00:00
Derek Hulley
ec7fb0067e File.lastModifiedTime is erratic on Linux. Disabling test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-20 18:13:26 +00:00