- inserted new blog icons

- fixes for top search bar, but icons still not correctly layed out
- fixed blog/discussion REST API unit tests
- fix for broken external blog config dialog
- documentlibrary activity now produces correct download url for files (filename at the end of the url was missing)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Michael Ru
2008-07-24 09:45:06 +00:00
parent a451555bac
commit 0af3358015
3 changed files with 16 additions and 9 deletions

View File

@@ -61,8 +61,8 @@ public class DiscussionServiceTest extends BaseWebScriptTest
private static final String SITE_SHORT_NAME_DISCUSSION = "DiscussionSiteShortName";
private static final String COMPONENT_DISCUSSION = "discussion";
private static final String URL_FORUM_POST = "/forum/post/site/" + SITE_SHORT_NAME_DISCUSSION + "/" + COMPONENT_DISCUSSION + "/";
private static final String URL_FORUM_POSTS = "/forum/site/" + SITE_SHORT_NAME_DISCUSSION + "/" + COMPONENT_DISCUSSION + "/posts";
private static final String URL_FORUM_POST = "/api/forum/post/site/" + SITE_SHORT_NAME_DISCUSSION + "/" + COMPONENT_DISCUSSION + "/";
private static final String URL_FORUM_POSTS = "/api/forum/site/" + SITE_SHORT_NAME_DISCUSSION + "/" + COMPONENT_DISCUSSION + "/posts";
private List<String> posts = new ArrayList<String>(5);
@@ -194,12 +194,12 @@ public class DiscussionServiceTest extends BaseWebScriptTest
private String getRepliesUrl(String nodeRef)
{
return "/forum/post/node/" + nodeRef.replace("://", "/") + "/replies";
return "/api/forum/post/node/" + nodeRef.replace("://", "/") + "/replies";
}
private String getPostUrl(String nodeRef)
{
return "/forum/post/node/" + nodeRef.replace("://", "/");
return "/api/forum/post/node/" + nodeRef.replace("://", "/");
}
private JSONObject createReply(String nodeRef, String title, String content, int expectedStatus)