74 Commits

Author SHA1 Message Date
Gary Spencer
66c95d5dce Create a transaction for a write when the current content channel is not writable.
Fixes a NullPointerException, AR-1129.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4509 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-04 15:37:48 +00:00
Gary Spencer
a2a543684b Refactoring of the pseudo file/desktop action code to allow use by AVM and repo filesystem drivers.
Added virtualization view to the AVM filesystem driver that shows all stores and versions using a single
shared filesystem.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4443 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-27 09:39:49 +00:00
Britt Park
d12551d5cc Lookup caching is working. It's fairly heavy handed in its invalidation
strategy, but seems to give a 10-20% performance boost.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4426 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-22 16:14:22 +00:00
Gary Spencer
2e2dbf62f1 Checkpoint of file state refactoring.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-22 11:11:54 +00:00
Gary Spencer
a65d2952fc Added the AVM share mapper to allow mapping read-only shares to any version of a store.
Added the <avmAllStores/> configuration tag to add shares for all stores, connected to the head version of the store.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4397 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-20 15:24:42 +00:00
Gary Spencer
45fface102 Fix problem with search restart position being out by one, causing an array bounds exception in some cases.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4390 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-17 18:30:38 +00:00
Gary Spencer
d452a3890a Updates to support AVM filesystems.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-17 14:52:54 +00:00
Gary Spencer
10b48c7f2a First cut of the AVM filesystem driver for CIFS/FTP support.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-17 14:49:51 +00:00
Britt Park
b2f9df29d1 Humongous merge. It is incomplete, however; faces-config-navigation.xml and ClientConfigElement
were both beyond me, and are just the raw conflict merge data.  If Kev can't figure out how they should
go together by tomorrow AM (for me) I'll dig back in.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-11-08 05:17:40 +00:00
Britt Park
111296d4dc Heinous merge from HEAD. Seems to basically work. Be on guard however.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-18 02:24:36 +00:00
Britt Park
39a18df7f2 Yet another merge from head to WCM-DEV2.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-12 18:55:07 +00:00
Britt Park
8031cc6574 Big honkin' merge from head. Sheesh!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-27 01:01:30 +00:00
Britt Park
f7d9d83036 Merge from HEAD into WCM-DEV2. Also fixes build breakage in
jndi-client and catalina-virtual that I introduced earlier. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-24 18:27:41 +00:00
Britt Park
7d940d08e1 Big hunk of merge.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3265 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-28 17:31:18 +00:00
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
Britt Park
4b881e72ad Daily merge.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 20:22:46 +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
05cd2c05b9 Updates to NTLM authentication component/provider to line up with new password encryptor code.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 15:37:18 +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
Gary Spencer
d021b46d07 Redesign of the CIFS authentication code to support NTLMv1/NTLMv2, SPNEGO and NTLMSSP
authentication methods via the session setup.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2760 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 15:29:26 +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
Gary Spencer
00c36aab57 If Winsock based NetBIOS code is selected on 64bit Windows then switch it back to the older
Netbios() API code and output a warning.
Remove unused import in X64.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2628 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-06 09:00:12 +00:00
Gary Spencer
fe6fec12bc Added code to detect if running on 64bit Windows to the Win32NetBIOS static initializer method and load the appropriate DLL.
Added the X64 utility class, currently just has a method for detecting 64bit Windows.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2627 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-06 08:50:45 +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
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