406 Commits

Author SHA1 Message Date
Andrew Hind
94b52b6e0e Index update check point
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-09 13:32:54 +00:00
Derek Hulley
d1e340143c Fix AR-647: System not working on Oracle due to read or including serializable column
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 17:32:08 +00:00
Derek Hulley
ea441e8f27 Fix AR-499: Indexing of content pushed to the background for slow (>50ms) transformations.
- Made delay configurable


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:26:23 +00:00
Derek Hulley
6fad540064 Fix AR-499: Indexing of content pushed to the background for slow (>50ms) transformations.
- We can make this configurable if required
 - This mostly means that text formats will be indexed atomically while slower transformations will be pushed back


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:12:31 +00:00
Derek Hulley
14d4b785b9 Import
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:09:55 +00:00
Derek Hulley
0797e2055c Removed test that has moved to the integrity check tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-06 09:09:59 +00:00
Kevin Roast
77d0d67fb7 Fix for AR-636
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3034 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-05 16:14:38 +00:00
Derek Hulley
7c17d38207 Fixed AR-626: Default aspects not being checked for.
- The NodeService was preventing the removal of required aspects
 - This is now enforced by integrity


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-05 15:01:25 +00:00
Derek Hulley
576b4a107a Added created threads to thread groups to assist with profiling
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3028 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-05 14:35:10 +00:00
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
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
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
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
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
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
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
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
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
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
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
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