Commit Graph

598 Commits

Author SHA1 Message Date
Derek Hulley
ff4d11c719 Merge into HEAD from BRANCHES/V1.3
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@2997 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@2998 .
   svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3003 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3004 .
   svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3009 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3010 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3016 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-02 11:52:15 +00:00
Andrew Hind
77ee4260ad Missing file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-02 07:27:29 +00:00
Andrew Hind
a28b0141f3 Fix type assoc type for top level groups
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-01 13:22:11 +00:00
Andrew Hind
cd2afd1504 WIP update
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2999 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-30 15:22:37 +00:00
Derek Hulley
08cbefa355 Allow all permissions implementation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2989 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-30 11:12:58 +00:00
Andrew Hind
b399abfaae Revised Indexer WIP
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-25 13:52:41 +00:00
Derek Hulley
49748f1f9f Changed version label to RC1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2973 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 16:35:41 +00:00
Derek Hulley
5e9c4c279e Removed eager join to child associations after checking that performance is not hit by using proxies
Cache size adjustments to keep association (set and map) caches down to a reasonable level after memory issues found during benchmarking


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2972 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 16:32:42 +00:00
Derek Hulley
b9a95c2b31 Fix AR-521: Constraints are inherited (added test to ensure) and overridable (new)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2970 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 15:22:34 +00:00
Derek Hulley
0cc08b2518 Forgot to checkin: Remove permissions on spaces archive store
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2969 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 15:21:05 +00:00
Kevin Roast
15ec36fecd Fix to typo from checkin yestarday
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2967 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 09:33:10 +00:00
Kevin Roast
8ddb8f33fa Fix for issue spotted on forums - LockService.getLocks() was missing a security context definition
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 09:13:41 +00:00
Derek Hulley
5637b7830a Made persistent classes Serializable
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2965 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 07:48:02 +00:00
Derek Hulley
8c870f8c34 Fixed AR-598: Restore not working for non-admin user
Fixed AR-579: Node ownership not changing for archived and restored nodes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2964 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 07:13:56 +00:00
Derek Hulley
47949f8155 Added a toString() method
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 21:49:04 +00:00
Derek Hulley
d4c0284fbc Debug output fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 21:48:23 +00:00
Andrew Hind
aa5ffaed77 Add method to check if authorities already exist
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 14:44:05 +00:00
Derek Hulley
28a03bfd3d Only count 1000 entities
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 14:00:09 +00:00
Derek Hulley
5b6bff9d97 Only count 1000 entities
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 13:49:47 +00:00
Derek Hulley
297a0d9f7c AuthenticationService suspends transactions for methods that work only on the thread login context
- This allows finally blocks that logout or clear the current security context even though the txn is rollback-only


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2952 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 11:22:13 +00:00
Derek Hulley
b73d395d96 Fixed handling of Infinity
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 11:20:04 +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
Roy Wetherall
f661cafaa3 - Fixed bug when moving a locked node in the UI
- Added 'run action' to menu for linked content and folders

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 10:42:09 +00:00
Gary Spencer
3be88fc053 Fix for AR-553. File server fails to start in Turkish environment.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-23 09:05: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
Kevin Roast
2f873a1e14 . Improvements to portlet session handling in Login/Logout situations
- Storing of "inPortal" flag in a Threadlocal
 - No longer invalidate portlet session on logout - clear session by hand instead
   - Makes it easier to integrate with other JSR-168 vendors such as Liferay
. Added the current template NodeRef to the default templating model
   - Accessable as an object in the root of the templating model called "template"
. Added the current script NodeRef to the default scripting model
   - Accessable as a root scope object called "script"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-22 13:25:58 +00:00
Derek Hulley
ca727e389c More performance tester extensions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2924 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-19 13:35:13 +00:00
Kevin Roast
5dfb8b117f Enhancement to ScriptFolderPatch to load the example scripts into the Scripts folder once created
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2921 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 18:56:01 +00:00
Derek Hulley
dcd3c78955 Further extensions to FileFolderService loader
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 13:53:24 +00:00
Kevin Roast
2d8d764421 EhCache size tweaking
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-18 13:41:16 +00:00
Derek Hulley
b4bdf26568 Fixed sample override of Hibernate dialect
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 21:40:53 +00:00
Derek Hulley
da188b04c6 Moved key column from access_control_list onto node
This eliminates several select statements issued while walking up the parent hierarchy
The V1.2.1 - V1.3 script has been updated and tested, but if you want to keep an existing 1.3, then:
  SET FOREIGN_KEY_CHECKS = 0;
  ALTER TABLE node ADD `acl_id` bigint(20) default NULL;
  UPDATE node node SET node.acl_id = (SELECT acl.id FROM access_control_list acl WHERE acl.node_id = node.id);
  SET FOREIGN_KEY_CHECKS = 1;


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 15:36:20 +00:00
Derek Hulley
516fc15cf4 Moved key column from access_control_list onto node
This eliminates several select statements issued while walking up the parent hierarchy
The V1.2.1 - V1.3 script has been updated and tested, but if you want to keep an existing 1.3, then:
  SET FOREIGN_KEY_CHECKS = 0;
  ALTER TABLE node ADD `acl_id` bigint(20) default NULL;
  UPDATE node node SET node.acl_id = (SELECT acl.id FROM access_control_list acl WHERE acl.node_id = node.id);
  SET FOREIGN_KEY_CHECKS = 1;


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 15:24:31 +00:00
Derek Hulley
272aad23f6 Added schedulerFactory bean property and documentation on cache profiler
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 15:20:07 +00:00
Derek Hulley
15f9f1eaee Made InnoDB the default dialect
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 15:06:34 +00:00
Derek Hulley
3f86c7751e Helper for profiling the FileFolderService, which acts as the entry point for several clients to the repo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 14:56:20 +00:00
Derek Hulley
ebe8390d69 Summary of estimated VM percentage that will be used
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2906 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 12:23:27 +00:00
Kevin Roast
c1f6eb64cb URL argument support for the Template and Script servlets
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-17 10:02:07 +00:00
Derek Hulley
df8bb065e9 Fixed problem with V1.2.1 having been given version=12
- Some new V1.3 patches (between 6 and 13) did not execute on an upgrade of a clean V1.2.1 install
 - Tested with Steve
 - Affected were
   - patch.emailTemplatesFolder
   - patch.emailTemplatesContent
   - patch.forumsIcons


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 17:07:58 +00:00
Derek Hulley
5bc354d8b6 Removed unnecessary code that has no effect now
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 14:12:15 +00:00
Derek Hulley
a0a7f6f609 Documenting sample
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 14:11:49 +00:00
Derek Hulley
8a52df4b7e Fixed transaction boundaries for parent directory creation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 11:05:44 +00:00
Derek Hulley
24705ac012 Made schema creation the default again
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 09:13:42 +00:00
Derek Hulley
c4fd8ef2f4 Added additional pointer in README files to WIKI page for new installations
- http://wiki.alfresco.com/wiki/Repository_Configuration#New_Installations
 - Fixed up minor 1.2.1 reference


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 00:21:55 +00:00
Derek Hulley
c82ad99529 Change Hibernate to verify schema updates only
Added example of override to have Hibernate generate a schema


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2895 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-15 22:52:31 +00:00
Derek Hulley
d8878a46ed Fixed AssociationRef.equals method that was causing association matching to fail
Fixed node tests that were hiding a NullPointerException when node associations weren't found
Fixed NodeAssoc AssociationRef caching for cases where the source or target nodes move stores
Removed storage of Path property for archived nodes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 22:04:49 +00:00
Derek Hulley
881f966ee8 Sample mimetype extensions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2885 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 22:01:27 +00:00
David Caruana
bb4575435a Full Repository Export / Import
- support export of system information such as applied patches and version counters
- support for deleted archive store

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 21:30:24 +00:00
Will Abson
adfd5bcc0d Added new mimetype text/calendar for iCal files - enables publishing of iCal files via WebDAV from clients supporting this
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2881 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 17:42:30 +00:00