125 Commits

Author SHA1 Message Date
Gary Spencer
9e79f94c7d Switched to using the ICU4J library to normalize the UTF-8 strings after conversion from a byte array. AR-1507.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5892 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-08 08:54:48 +00:00
Derek Hulley
8f836c1a6b Fixed AR-1483: Potential infinite loop caused by unsynchronized check on shared resource
Note: See the bug comments to see why I've added this in.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-05 15:55:50 +00:00
Andrew Hind
19ce257baa Add WCM search with atomic indexing around snapshots
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5712 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-17 15:52:46 +00:00
Derek Hulley
86e699a71f Merged V2.0 to HEAD
5625: AR-1439 zero length files have content


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-15 16:32:20 +00:00
Gary Spencer
2b9d05c496 Added a custom I/O control to CIFS that returns the authentication ticket for the session. AR-1458.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-05-15 12:36:31 +00:00
Derek Hulley
fb1dd4080b Merged V2.0 to HEAD
5523: Merged V1.4 to V2.0
      5494: db.schema.update=false disables ALL metadata queries
      5500: AR-1399 NTProtocolHander search handle leakage
      5522: AR-1412 IndexRemoteTransactionTracker startup
   5541: Merged V1.4 to V2.0
      5525: Pass-through authentication and domain mapping
         Resolved minor conflict on AlfrescoAuthenticator.java
      5526: Domain mapping support


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-25 02:44:53 +00:00
Derek Hulley
a85bc773c3 Merged V2.0 to HEAD
5497: cwd variable and forminstancedata
   5512: AR-1303 MLPropertyInterceptor
   5527: CIFS invalid characters


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-25 02:13:55 +00:00
Derek Hulley
ad80d96da3 Merged V2.0 to HEAD
5450: (from V1.4)
      5423 (V1.4): CIFS authentication
   5451: (from V1.4)
      5432 (V1.4): 'No root node' fix
      5437 (V1.4): EHCache upgrade
      5440 (V1.4): AR-1355 - Ticket cache config fix
      5442 (V1.4): Bootstrap reorganization
      5446 (V1.4): AR-1353
   5452: (from V1.4)
      5391: AR-1310 (script rename fix)
   5453: Win32NetBIOS LANA
   5454: CIFS unused code


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-11 23:41:00 +00:00
Derek Hulley
4866ed4fc7 Merged V2.0 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5086 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5087 .
      IPC$ name pipe
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5092 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5093 .
      MSWord support.  AR-1228.
   Added FLOSS to new file


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5301 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-03-06 03:05:44 +00:00
Paul Holmes-Higgin
4e2300f095 Updated copyright
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-19 17:17:36 +00:00
Derek Hulley
4da46e2dbc Merged V2.0 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5161 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5162 .
      - Word 2003 fix
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5167 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5168 .
      - .sh executable scripts


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5174 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-16 16:44:42 +00:00
Derek Hulley
0c10d61a48 Merged V2.0 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@5141 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V2.0@51352 .
      - FLOSS
      - Some files will need a follow-up
         -root/projects/repository/source/java/org/alfresco/repo/avm/wf/AVMRemoveWFStoreHandler.java (not yet on HEAD: 5094)
         -root/projects/repository/source/java/org/alfresco/filesys/server/state/FileStateLockManager.java (not yet on HEAD: 5093)
         -onContentUpdateRecord (not on HEAD)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-16 06:44:46 +00:00
Paul Holmes-Higgin
31c250682b Changed licence headers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5081 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-08 18:59:58 +00:00
Gary Spencer
d851541e93 Reset the file type in the info object to stop all files showing up as links. Fix for AR-1224.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-07 17:59:11 +00:00
Gary Spencer
76e673d972 Fixed a problem where file states were updated before the file rename call, if the rename/move call failed the file states were in an inconsistent state.
Fix for AR-1115.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5068 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-07 14:47:55 +00:00
Gary Spencer
92c73dd54a Truncate the CIFS server name is longer than 15 characters and output a warning. Fix for AR-1118.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-06 10:29:31 +00:00
Gary Spencer
34b12db95e Fixed bug with store filtering not clearing the filter flag.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5041 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-05 17:02:18 +00:00
Gary Spencer
eeedbba60b Fixes to store the authentication token in the client information object so it's picked up for the virtual circuit.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-05 16:40:46 +00:00
Gary Spencer
f1cfa53733 URL link now appears in the CIFS root folder, desktop actions are not shown in the root folder. Fix for AR-1042.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5036 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-05 14:47:26 +00:00
Gary Spencer
da8354996b Delete file would report two status codes if a delete failed due to access denied. Fix for AR-1005.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5032 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-05 09:35:34 +00:00
Gary Spencer
3e478f1950 Set a default domain/workgroup name of 'WORKGROUP', if the domain name cannot be found it can cause a null pointer exception when building the
CIFS session setup response. Fix for AR-1069.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5013 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-02 11:49:07 +00:00
Gary Spencer
504506a7a5 Fix problem where authentication token was set only in debug mode. Fix for AR-1150.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-02 11:45:22 +00:00
Gary Spencer
de673986ec Other part of filtering link nodes in FTP fix.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4996 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-01 11:43:28 +00:00
Gary Spencer
5850d4a6f2 Don't show link nodes in FTP. Short term fix for AR-1198.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-01 11:40:29 +00:00
Gary Spencer
e7d4289559 Added filtering out of workflow and author sandboxes from the CIFS virtualization view. Added the <showAllSandboxes/> config
item to switch off filtering. WCM-273.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4992 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-02-01 09:57:21 +00:00
Gary Spencer
7dc0de5b7b If a file/folder is accessed directly without walking the tree the pseudo file states were not in place so the access failed. Added a
second pass to the pseudo folder search to generate paths. AR-1199.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4978 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-31 11:45:45 +00:00
Gary Spencer
b6a5ed9a5f Fixed bug that caused the authentication token to not be saved after the passthru authentication had succeeded, causing 'no SecureContext on thread' and
null pointer errors.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4965 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-30 14:03:40 +00:00
Gary Spencer
60ba6773c5 Added support for link nodes in the repo filesystem driver.
Includes a patch to update existing link node file extensions from .lnk to .url, as CIFS requires .url files to generate the file:// links.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-29 10:46:01 +00:00
Gary Spencer
01fb4eac8a Added catch of bad argument exception in create file and create directory.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-29 10:43:16 +00:00
Gary Spencer
b92da20832 Only check if the host name is the same as the configured CIFS server name on Windows.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-29 10:39:34 +00:00
Gary Spencer
363bb82299 Start a transaction before calling into auth service during login. Fix for AR-1183.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4913 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-24 12:03:46 +00:00
Gary Spencer
b142343235 Removed createMounter() method from the file server config MBean interface.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-24 10:01:20 +00:00
Gary Spencer
05e098c7a6 Added checks for illegal characters in CIFS paths. Fix for WCM-130.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-17 15:42:24 +00:00
Gary Spencer
516471381d Updated CifsMounter to be able to connect from linux to an Alfresco CIFS server that is only running on NetBIOS.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4842 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-16 10:15:56 +00:00
Gary Spencer
366cdfdc86 Added <serverEnabled enable="true|false"/> tag for CIFS, FTP and NFS server enable/disable. Removed <disable.../> tags
as they only worked one way.
Added NFS server bean wiring to bootstrap.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-12 17:44:09 +00:00
Gary Spencer
1b7cfc8303 Updates to repo filesystem to add support for NFS, plus various updates/fixes to NFS.
Removed synchronization from content network file methods, synchronization is done in the protocol layer.
Compacted content network file debug output.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-12 15:04:47 +00:00
Gary Spencer
13e6f22641 Fixed problem with NFS server trying to start when there is no configuration section. Added <disableNFS>, <disableFTP> and
<disableCIFS> tags to allow servers to be switched off easily. Added NFS configuration section to disable server.
Fix for AR-1156.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4759 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-09 09:53:00 +00:00
Gary Spencer
225f69de01 NFS server support added to filesystem server, includes mount and portmapper services plus an NFS v3 server.
Not enabled or wired in yet.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-05 15:07:18 +00:00
Gary Spencer
91ad3dde7d Remove calls to setDebugPrefix() method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4740 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-05 15:01:44 +00:00
Gary Spencer
597c7bcb8b Fix transaction use after changes to the authentication component.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4739 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-05 14:56:53 +00:00
Gary Spencer
f2c6f03164 Added some extra debug output when the user name does not match a person name.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-01-04 21:25:17 +00:00
Gary Spencer
389e0eead9 Added file server configuration MBean and CIFS mounter classes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4701 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-29 12:43:24 +00:00
Derek Hulley
488450a988 Merged 1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4313 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4314 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4317 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4318 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4656 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-19 14:28:55 +00:00
Gary Spencer
372b3a8243 Added code to regenerate root folder file state if it expires. Fix for AR-1140.
Some fixes after merge.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4651 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-19 09:29:57 +00:00
Derek Hulley
f91c7d874a Changed beginTransaction visibility after change coming from V1.4 branch.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4643 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-18 18:03:04 +00:00
Derek Hulley
72bb79696d Merged 1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4252 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4294 .
   svn revert root\common\common.xml
   svn resolved root\projects\repository\config\alfresco\script-services-context.xml


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4634 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-18 13:45:11 +00:00
Derek Hulley
ff07ea1e7d Merged 1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4192 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4197 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4205 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4206 .
   svn resolved root\projects\repository\source\java\org\alfresco\filesys\server\config\ServerConfiguration.java
   svn revert root\projects\repository\config\alfresco\version.properties
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4219 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4224 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-18 11:58:55 +00:00
Britt Park
87b5690fc2 Some cleaning up of the AVMService and derived interfaces.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4624 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-16 18:17:18 +00:00
Gary Spencer
4b028c66ee Removed unnecessary checks for empty pseudo folder list, and create the root folder file state if required in the
AVM callback listeners.
Fixes a problem where the virtualization view does not update when new stores/versions are created when the database is
empty on startup, AR-1134.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4622 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-15 18:15:20 +00:00
Gary Spencer
4834c89f5a Added AVM callback handlers to update the virtualization view pseudo folders when stores/versions are created or purged.
The callback handlers queue change notifications so Windows Explorer views that are open on a pseudo folder should update (most of the time).

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4595 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-12-13 15:40:34 +00:00