Derek Hulley
0a30d7f036
Removed unused code
...
Hid unused code warnings for local variables that might be useful for debugging
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 13:59:30 +00:00
Derek Hulley
44b56a20a5
Fixed NullPointerException occuring under Linux when CIFS not configured
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2496 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-27 13:43:39 +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
6fac2e9b25
Added checks to the file server configuration bean initialization to check that the configured
...
authenticator matches the authentication component NTLM mode.
Updated authenticator base class required for passthru changes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-23 13:59:50 +00:00
Gary Spencer
295d1cd0b6
Fix processing of SIZE command, not passing the session object to the getFileInformation() call (AR-443).
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-21 13:33:45 +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
David Caruana
6cb16abef4
Fix AR-431, AR-432.
...
Modified the Repository bootstrap mechanism so it's performed after all other initialisation and the order of bootstrap is explicit.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-16 15:11:53 +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
3f6cff061e
Added checks to the NetBIOS name server config/startup to make sure the server has at least one valid local IP address.
...
Linux often defaults the local host name to the 127.0.0.1 address which causes problems with name lookups.
(Fixes AR-422)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-13 18:11:33 +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
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
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
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
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
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
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
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
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
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
Kevin Roast
8481d30d8c
.reverted
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-20 17:18:10 +00:00
Kevin Roast
be812b30bb
. Guest access check-point
...
. Fixes to document/space details screen when expanding/collapsing the Links panel
. Fix to Saved Searches to handle AuthenticationException for Guest user access to saved searches folder
. Fix to New User and Edit Password dialogs to fire text changed events when paste is used to fill in form fields
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2164 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-20 17:15:32 +00:00
Andrew Hind
1a1e8f5ebf
Fix
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2152 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-19 17:01:29 +00:00
Gary Spencer
e7a04ebff4
Allow CIFS server to be disabled by removing the configuration section
...
from file-servers.xml.
Fixed check for disabling FTP server if config section is not available.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-19 15:36:08 +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
Derek Hulley
7de3129545
Added support to load config from 'file:', 'classpath:' or 'http:'
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2089 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-09 17:05:36 +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