37 Commits

Author SHA1 Message Date
Britt Park
7f79a2a498 Merged up to HEAD.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3129 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 19:18:30 +00:00
Britt Park
a5d07e1069 Morning merge.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 16:39:21 +00:00
Gary Spencer
35f3eda32f Changed DCE/RPC Server and Workstation services to always report the server version as NT 5.1,
reporting the older caused some weird problems once the filesystem was set to NTFS.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2765 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 15:53:04 +00:00
Gary Spencer
07e63009ff Fixed bug in the disk sizing, the share was showing up as an 80Mb disk, it now shows up as an 80Gb disk.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 15:50:15 +00:00
Gary Spencer
8c40b60e23 Removed the folder name prefix check so that the client side drag and drop app will appear in all folders,
if enabled in the file-servers.xml config file.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2763 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 15:41:41 +00:00
Gary Spencer
a937dfa608 Updates to the CIFS protocol handlers to use the new authentication code.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2761 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 15:34:49 +00:00
Paul Holmes-Higgin
3c5457c602 changed enterprise headers to open
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2757 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 12:37:20 +00:00
Gary Spencer
8274d21c4d Moved I/O control classes to correct package.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2752 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 09:14:31 +00:00
Paul Holmes-Higgin
0575ebf276 SMB code in wrong place from merge
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2751 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 08:52:16 +00:00
Paul Holmes-Higgin
7669f098bc filesys enterpise files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-03 20:15:10 +00:00
Derek Hulley
506e408ca7 Merge V1.2.0 BRANCH to HEAD
svn merge -r 2519:2565 svn://www.alfresco.org/alfresco/BRANCHES/V1.2.0/root HEAD/root


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-22 12:23:43 +00:00
Gary Spencer
af933ac8bc Cleanup active transactions for the CIFS session if it is abnormally terminated and there are open files. AR-452.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-23 14:03:52 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gary Spencer
235eedee97 Changed filesystem initialization code to use the system user as the security
context to allow calls to normal services.
Added <relativePath> filesystem configuration to allow root of filesystem to be
a folder node within the hierarchy.
Changed drag and drop <path> setting to search the classpath for the file. Added checks
to validate that the file exists and is on the local filesystem.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-18 13:17:53 +00:00
Gary Spencer
08b0f1f668 Fixed problem where the MS Word renames during document save lose the original mime-type.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-17 14:47:38 +00:00
Gary Spencer
c4e84b9dc7 Added pseudo file support
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-17 11:16:39 +00:00
Gary Spencer
dad8713bc8 Check for the NodeLockedException when deleting a file and convert to
an access denied error. When marking a file for delete check if the file
node has a lock, return an access denied error if locked.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2087 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-09 15:00:12 +00:00
Gary Spencer
927c58f048 Added custom I/O control support to the CIFS server to support the client
side Windows application to expose repo specific functions such as check in/out.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2005-12-22 15:04:54 +00:00
Kevin Roast
6171b6ae11 . backed out change
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2005-12-16 12:56:47 +00:00
Roy Wetherall
e6987f6c49 - UIArtifacts aspect is now added when content is created via CIFS
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2041 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2005-12-16 11:57:23 +00:00
Derek Hulley
e1e6508fec Moving to root below branch label
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2005-12-08 07:13:07 +00:00