448 Commits

Author SHA1 Message Date
Derek Hulley
77b51ec5dc Merged V1.3 to HEAD (3017:3020)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3017 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3020 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3337 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-18 15:04:50 +00:00
Derek Hulley
791755e0d6 Merged V1.3 to HEAD (3005:3013)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3005 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3013 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3336 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-18 15:00:47 +00:00
Derek Hulley
d8b6213ee9 Merge V1.3 to HEAD (2976:3004)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@2976 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3004 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-18 14:50:00 +00:00
David Caruana
d1acea9b24 Add support for writing jBPM plug-in actions which have access to Spring context.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-13 17:58:11 +00:00
David Caruana
ab8e78e1f7 Integrate jBPM engine into the Alfresco Spring Context - .jars, beans, db connections & transactions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-13 12:22:37 +00:00
David Caruana
b837029c1c Fix AR-730
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-13 10:42:46 +00:00
Andrew Hind
623a4d8420 Build Fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-12 21:47:31 +00:00
Andrew Hind
868966c11a First cut of audit annotations on public services, updated audit schema and first cut of default audit settings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-12 16:59:19 +00:00
Andrew Hind
9025ad537a Performance improvements for new indexing:
disable lucene locks, faster FTS deletes and overlays, in memory merging

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3311 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-12 16:50:31 +00:00
Kevin Roast
1ec0296c22 . Fix to issue in login page redirect code where URL arguments (e.g. for templates and scripts) were removed and not passed through.
- this only affected the template/command servlets that were using parameters and had not already logged in

. Support for 'path' argument on DownloadContentServlet
  for example /alfresco/download/direct?path=/Company%20Home/Kev's%20Home%20Space/myimage.jpg
  - paths are specified in a similar way to webdav path - they are 'cm:name' based URL encoded strings
  - this means we no longer need to have the NodeRef to a document to download it

. Support for 'templatePath' and 'contextPath' URL arguments in TemplateContentServlet
  for example: /alfresco/template?templatePath=/Company%20Home/Data%20Dictionary/Presentation%20Templates/doc_info.ftl&contextPath=/Company%20Home/file.txt
  - the 'templatePath' argument specifies the cm:name based path to the template to execute
  - the 'contextPath' argument specifies the cm:name based path to the context for the template

. Support for 'scriptPath' and 'contextPath' URL arguments in Script CommandProcessor
  for example: /alfresco/command/script/execute?scriptPath=/Company%20Home/Data%20Dictionary/Scripts/append%20copyright.js&contextPath=/Company%20Home/file.txt
  - the 'scriptPath' argument specifies the cm:name based path to the script to execute
  - the 'contextPath' argument specifies the cm:name based path to the context for the script

. Adding debugging output to get timings for executing templates and scripts

. Enhancements and additions to JavaScript API:
  setPermission()
  removePermission()
  get/setInheritsPermissions()

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3297 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-11 10:13:30 +00:00
Andrew Hind
fdeac3db35 Firts stage of Audit work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3293 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-10 13:32:34 +00:00
Roy Wetherall
048bffec76 - Rules now fire in a more reliable way
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3268 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-30 09:41:28 +00:00
Gavin Cornwell
fa7068678e Back out previous change
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-26 20:55:18 +00:00
David Caruana
a876f7fb45 Fix "System" user remaining authenticated on bootstrap thread.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-26 15:37:27 +00:00
Derek Hulley
10c3d924df Fixed test that didn't run after a previous test due to policies registered in earlier tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-23 14:45:00 +00:00
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