48 Commits

Author SHA1 Message Date
Derek Hulley
f4e00169ab Merged V1.3 to HEAD (3180:3203, 3204:3217)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3180 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3203 .
   svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3204 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3217 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-26 11:00:06 +00:00
Derek Hulley
e80158b922 Merged V1.3 to HEAD (3117:3125)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3117 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3125 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3402 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-26 09:43:07 +00:00
Derek Hulley
dbffd532f7 Merge V1.3 to HEAD (3045:3063)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3045 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3063 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-18 15:22:09 +00:00
Derek Hulley
a05f525a7d Merged V1.3 to HEAD (3021:3026)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3021 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3026 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3338 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-18 15:08:26 +00:00
Derek Hulley
d8b6213ee9 Merge V1.3 to HEAD (2976:3004)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@2976 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3004 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-18 14:50:00 +00:00
Gavin Cornwell
fa7068678e Back out previous change
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-26 20:55:18 +00:00
David Caruana
a876f7fb45 Fix "System" user remaining authenticated on bootstrap thread.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-26 15:37:27 +00:00
Derek Hulley
5431702cf3 Fix AR-680: Fixed my muppetry that reversed access denied/granted check for CIFS
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-20 10:44:31 +00:00
Derek Hulley
affce5b315 Fix AR-191, AR-192: CIFS and other network protocols will now treat everything as read-only when the server is in read-only mode
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 11:01:51 +00:00
Derek Hulley
576b4a107a Added created threads to thread groups to assist with profiling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3028 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-05 14:35:10 +00:00
Gary Spencer
958c02d730 Fix for AR-565. Checked out files can be edited and saved via CIFS without any warnings being given that the save failed.
Locked files are now marked as read-only, and may also be marked as offline if the <offlineFiles/> config is enabled.
An attempt to open a locked file for write returns an access denied status to the CIFS client.
There is also a minor fix to the file state caching of folders that are not opened/referenced by the client directly, this
caused them to be expire from the cache causing path lookups to require a database hit. The expiry time is now bumped when a
folders cached file state is used to find the NodeRef for a path.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 11:02:34 +00:00
Gary Spencer
bac632076b Fix for AR-501. Added shutdown flag to the file state expiry daemon thread with shutdown request called during
the closing of the filesystem context.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 08:53:12 +00:00
Gary Spencer
8b5937bfd8 Fix for AR-581 ArrayIndexOutOfBoundsException in Win32NetBIOSLanaMonitor.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 08:05:11 +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