- 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
- currently anything other than exactly 1 element (e.g. /alfresco) will fail
- now correctly supports any length including the root context of "/"
. Clipboard copy/move op correctly uses FileFolderService for folders (which means "Copy of…" gets prepended correctly)
. Added more explicit IDs for JbossPortal pages
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2901 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- APIs for testing of Permissions and checking that an Aspect exists on a node
. Added new command processor to config for Command Servlet
- new command processor to allow execution of Alfresco JavaScript files via URLs
- Wiki docs: http://wiki.alfresco.com/wiki/URL_Addressability#Script_Command_Processor
. Fixed issue where a deleted/missing NodeRef on the end of a Link object would cause errors in the web-client
- Still needs cleanup/change to assoc mechanism as per AWC-647
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
. Fix to image resolver for TemplateContentServlet
. Minor improvement to CommandServlet interfaces as per wiki docs
. Minor fix to date field format in RSS2.0 template (thanks Mike!)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261