From 94fb4a09ae53bb0a1d1b8dbf02a66904315c4979 Mon Sep 17 00:00:00 2001 From: Kevin Roast Date: Thu, 15 Oct 2009 10:38:44 +0000 Subject: [PATCH] Merged V3.2 to HEAD 16841: Fix for ETHREEOH-3046 - discussion post replies and further post content now all set to UTF-8 encoding format. 16853: Merged V3.1 to V3.2 13681: Disable CMIS Web Services. 13958: ETHREEOH-1625 - Incorrect save file process via Office Addin 14026: ETHREEOH-1805 - update GET login web script description to recommend use of POST login web script instead. 16861: Merged V3.1 to V3.2 14162: ETHREEOH-1733 - multiday events display correctly 14273: fix for ETHREEOH-2031 14274: fix for event not adjusted by height issue in week view, after adding 16867: Merged V3.1 to V3.2 15429: The solution is to remove 'label' and 'description attributes' and add appropriate 'label-id' and 'description-id' attributes in web-client\config\alfresco\web-client-config.xml for dashlets. Appropriate ids were added into webclient.properties. 16677: ETHREEOH-1208 - Upload/recall documents with apostrophe/accent via Alfresco Office plugin 16869: Merged V3.1 to V3.2 16848: Merged V2.2 to V3.1 15217: Fix for ETWOTWO-1268. Check for existence of desired control on first step of the dialog. 15218: Fix for ETWOTWO-1269. Remove node.hasPermission(PermissionService.CREATE_CHILDREN) from CheckoutDocEvaluator#evaluate method (like 3.2 version). 16849: Merged V2.2 to V3.1 15424: ETWOTWO-1349 16851: Merged V2.2 to V3.1 15432: **RECORD ONLY** Input characters validation script was modified to disallow !@#$%^&*(). 15433: This check-in fixes ETWOTWO-1351, ETWOTWO-1352, ETWOTWO-1353 because their behaviour is similar. 16874: Merged DEV/TEMPORARY to V3.2 16789: ETHREEOH-1895: Incorrect working of Link Destination Details 16790: ETHREEOH-2372: Incorrect working of Link Destination Details 16791: ETHREEOH-2342: Error message appear when "Coordinator" try to remove himself from the space 16793: ETHREEOH-1364 & ETHREEOH-1367 16794: ETHREEOH-2358: Letters and special symbols can be typed in Date value of property while creation of Content Rule and it leads to error 16837: ETHREEOH-2631: two jsp:root elements cause compilation error in Weblogic 10.3.1 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16956 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- config/alfresco/cmis-ws-context.xml | 3 + .../office/documentDetails.get.html.ftl | 2 +- .../alfresco/office/myAlfresco.get.html.ftl | 7 ++- .../office/myTasksDetail.get.html.ftl | 7 ++- .../alfresco/office/navigation.get.html.ftl | 12 ++-- .../office/searchResults.get.html.ftl | 7 ++- .../alfresco/repository/login.get.desc.xml | 4 ++ .../slingshot/calendar/userevents.get.js | 63 +++++++++++++++++++ .../calendar/userevents.get.json.ftl | 4 +- .../org/alfresco/repo/webdav/LockMethod.java | 1 - 10 files changed, 92 insertions(+), 18 deletions(-) diff --git a/config/alfresco/cmis-ws-context.xml b/config/alfresco/cmis-ws-context.xml index 1d70b7fdc3..0bfc015095 100644 --- a/config/alfresco/cmis-ws-context.xml +++ b/config/alfresco/cmis-ws-context.xml @@ -9,6 +9,8 @@ + diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl index d615aad3ad..77455bd516 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl @@ -170,7 +170,7 @@ <#-- Only Word supports document compare --> <#if extn == "doc" || extn == "docx" || extn == "odt" || extn == "sxw" > - ${message("office.action.compare_current")}
+ ${message("office.action.compare_current")}
diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl index 35d26e653f..759f857843 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl @@ -3,6 +3,7 @@ <#assign extn=args.e!"doc"><#assign extnx=extn+"x"> <#if args.e??><#assign extList=[]><#else><#assign extList=[".odt", ".sxw", ".doc", ".rtf", ".ods", ".sxc", ".xls", ".odp", ".sxi", ".ppt", ".odg", ".sxd", ".odb", ".odf", ".sxm"]> <#assign nav=args.n!""> +<#assign chLen=companyhome.name?length> <#-- resolve the path (from Company Home) into a node --> <#if companyhome.childByNamePath[path]??> <#assign d=companyhome.childByNamePath[path]> @@ -60,7 +61,7 @@ <#list companyhome.childrenByLuceneSearch[query] as child> <#if child.isDocument> <#assign rowNum=rowNum+1> - <#assign relativePath = (child.displayPath?substring(companyhome.name?length+1) + '/' + child.name)?url?replace('%2F', '/')?replace('\'', '\\\'') /> + <#assign relativePath = child.displayPath?substring(chLen + 1) + '/' + child.name /> <#assign isSupportedExtn = false> <#list extList as ext> <#if child.name?ends_with(ext)> @@ -74,7 +75,7 @@ <#if child.name?ends_with(extn) || child.name?ends_with(extnx) || isSupportedExtn> - ${child.name?html}
+ ${child.name?html}
<#else> ${child.name?html}
@@ -86,7 +87,7 @@ ${message("office.property.modified")}: ${child.properties.modified?datetime} (${(child.size / 1024)?int}${message("office.unit.kb")})
${message( ${message( - ${message( + ${message( <#if !child.name?ends_with(".pdf")> ${message( diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/myTasksDetail.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/myTasksDetail.get.html.ftl index 0c4cf7c9e5..25f5e43dac 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/myTasksDetail.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/myTasksDetail.get.html.ftl @@ -6,6 +6,7 @@ <#assign task = workflow.getTaskById(taskid)> +<#assign chLen=companyhome.name?length> <#if task??> @@ -46,11 +47,11 @@ <#list task.packageResources as res> <#if res.isDocument> - <#assign relativePath = (res.displayPath?substring(companyhome.name?length+1) + '/' + res.name)?url?replace('%2F', '/')?replace('\'', '\\\'') /> + <#assign relativePath = res.displayPath?substring(chLen + 1) + '/' + res.name /> <#if res.name?ends_with(extn) || res.name?ends_with(extnx)>
${res.name?html} - ${res.name?html} + ${res.name?html} <#else> ${res.name?html} @@ -65,7 +66,7 @@ <#else> ${message( - ${message( + ${message( <#if !res.name?ends_with(".pdf")> ${message( diff --git a/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl b/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl index a8625cf3ee..42e7bccd2a 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl @@ -177,7 +177,7 @@ <#if child.isDocument> <#assign isVersionable = child.hasAspect("cm:versionable")> <#assign documentsFound = documentsFound + 1> - <#assign relativePath = (child.displayPath?substring(chLen+1) + '/' + child.name)?url?replace('%2F', '/')?replace('\'', '\\\'') /> + <#assign relativePath = child.displayPath?substring(chLen + 1) + '/' + child.name /> <#assign isSupportedExtn = false> <#list extList as ext> <#if child.name?ends_with(ext)> @@ -188,14 +188,14 @@
<#if child.name?ends_with(extn) || child.name?ends_with(extnx) || isSupportedExtn> - Open ${child.name?html} + Open ${child.name?html} <#else> Open ${child.name?html} <#if child.name?ends_with(extn) || child.name?ends_with(extnx) || isSupportedExtn> - ${child.name?html} + ${child.name?html} <#else> ${child.name?html} @@ -214,7 +214,7 @@ ${message( ${message( - ${message( + ${message( <#if !child.name?ends_with(".pdf")> ${message( @@ -235,7 +235,7 @@
<#assign currentPath = thisSpace.displayPath + '/' + thisSpace.name /> -<#assign currentPath = currentPath?substring(chLen+1)?url?replace('%2F', '/')?replace('\'', '\\\'') /> +<#assign currentPath = currentPath?substring(chLen + 1) />