Commit Graph

488 Commits

Author SHA1 Message Date
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
Derek Hulley
3473e1a1a0 Fixed complete muppetry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 16:42:47 +00:00
Derek Hulley
55393337ef Tweaks to some methods that were heavily used.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2877 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 14:35:59 +00:00
Derek Hulley
f52cffbd77 Removed natural-key declaration from node_assoc table
- This was a nice idea, but mandates that we flush the deleted associations before recreating them (ala version service restore).
 - For now, we can leave this off


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2875 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 14:09:05 +00:00
Gavin Cornwell
951ad22e72 Removed list based access from the config service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2874 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 13:55:06 +00:00
Derek Hulley
76535b9afb FileImporterTest now has the option to load each file/folder in a new transaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 13:17:23 +00:00
Kevin Roast
aa99aeae3a . Soft Delete UI fixups and minor changes
- Removed use of "sys:archivedOriginalPath" - instead uses childassocref to build path (as per Derek's request)
 - Fix to building of success/failure items lists outside of the transaction to restore nodes
. JavaScript example files added to bootstrap
. JavaScript file icons from Linton

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 11:02:34 +00:00
Derek Hulley
14395f7d23 Added toString() method
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 10:05:10 +00:00
Derek Hulley
e1143e64be Fixed removal of original path property
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2861 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 09:34:42 +00:00
Derek Hulley
cda459a84f Fixed test to flush session, avoiding unique constraint violation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 19:13:02 +00:00
Derek Hulley
d61df5f408 Dropped nullPermissionCache
- A node's AccessControlList is attached to the node directly now


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2849 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 15:52:24 +00:00