433 Commits

Author SHA1 Message Date
David Caruana
b9c43d59a6 Allow import of any java class/package within rhino java script.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3222 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-23 13:56:19 +00:00
Derek Hulley
eb55d8f625 Fixed unreported bug where index recovery was using unused 'deleted' column.
Fixed queries
  Removed 'deleted' column
  TODO: Fix DB upgrade scripts to not contain the column (minor)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-23 11:10:04 +00:00
Derek Hulley
fe439b54c7 Added explicit checks for certain cascade delete scenarios
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-23 11:08:56 +00:00
Derek Hulley
71f57ee6c7 V1.3 to HEAD (3005, 3014, 3021, 3027, 3045, 3064, 3105, 3106)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3162 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-20 11:13:29 +00:00
Derek Hulley
5431702cf3 Fix AR-680: Fixed my muppetry that reversed access denied/granted check for CIFS
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-20 10:44:31 +00:00
Andrew Hind
d48bb08213 Fix AR-641
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 12:58:04 +00:00
Andrew Hind
15554ce96b Comment out for linux build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3147 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 11:46:14 +00:00
Andrew Hind
1f13390e22 Additional test for round tripping - to debug linux failures
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 11:43:08 +00:00
Kevin Roast
257bc57ea6 Fix to expose inherit permissions flag for a node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-19 10:55:31 +00:00
Derek Hulley
affce5b315 Fix AR-191, AR-192: CIFS and other network protocols will now treat everything as read-only when the server is in read-only mode
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 11:01:51 +00:00
Derek Hulley
dab54834b8 Fixed unreported bug when doing Lucene search across all attributes on types that contain numeric properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 10:46:04 +00:00
David Caruana
43a69ac371 Fix AR-649.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 17:58:03 +00:00
Derek Hulley
97425c7177 Expose database unique node ID as a spoofed property. This can be used as an alternative to the UUID for local uniqueness.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 14:49:22 +00:00
Derek Hulley
1eb9d806b4 Expose database unique node ID as a spoofed property. This can be used as an alternative to the UUID for local uniqueness.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 14:39:15 +00:00
Derek Hulley
46e178a215 Fixed AR-607: Maximum number of files per folder in ContentStore
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3110 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 10:44:10 +00:00
Derek Hulley
d20935dc16 Javadoc cleanup
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 10:42:21 +00:00
Derek Hulley
df94f342d8 Added getArchivedNode(NodeRef originalNodeRef) method for quick retrieval of archived node reference
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 15:40:27 +00:00
Kevin Roast
ba7f48869b Permissions now exposed in FreeMarker template model
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3094 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 09:27:17 +00:00
Derek Hulley
40c225d3c7 Fixed AR-35, AR-213: ContentStore replication driven by quartz
Fixed up sample and WIKI


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 08:49:01 +00:00
Andrew Hind
dd527a2dcf LDAP bug fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 15:58:13 +00:00
Andrew Hind
4d3c3e6659 Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 15:53:38 +00:00
Andrew Hind
9a91ea7912 New indexer implementation.
It is usable with caution.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 10:39:16 +00:00
Roy Wetherall
1639134ef7 Async rules are now queued untill the end of the transaction
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3086 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-13 09:08:10 +00:00
Derek Hulley
469894719d Fix AR-279: Enforce permissions at FileFolderService entry
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3083 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-12 21:50:03 +00:00
Kevin Roast
530eb70aaf fix for AR-654 - saving multi value properties on JavaScript node object
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-12 14:26:18 +00:00
David Caruana
acab729d1a Fix AR-540.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3075 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-09 17:19:08 +00:00
Derek Hulley
c01c49fbe3 Fixes to test to not use illegal characters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-09 17:03:09 +00:00
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