. Added RSS Feed panel to Space Details page

- Selectable template for RSS feed for a folder
  - RSS feed link for drag/drop into RSS reader
. Added new folder "RSS Templates" in Data Dictionary in bootstrap
. Example RSS Template for new folder (docs in last 7 days)
. Created patch to add above folder+example to current schema
. Added 'app:feedsource' aspect to application data model
. Cleaned up some obsolete code in Apply/Remove Template actions
. Simplified Apply/Remove Template dialog navigation to use dialog framework

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-08-16 15:41:49 +00:00
parent 29beac8efb
commit 640195064a
15 changed files with 372 additions and 19 deletions

View File

@@ -112,6 +112,10 @@
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.email.childname}</prop>
<prop key="location">alfresco/templates/email_templates.acp</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.rss.childname}</prop>
<prop key="location">alfresco/templates/rss_templates.acp</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.scripts.childname}</prop>
<prop key="location">alfresco/bootstrap/example_javascripts.acp</prop>

View File

@@ -45,6 +45,19 @@
<cm:title>${spaces.templates.email.name}</cm:title>
<cm:description>${spaces.templates.email.description}</cm:description>
</cm:folder>
<cm:folder view:childName="${spaces.templates.rss.childname}">
<view:acl>
<view:ace view:access="ALLOWED">
<view:authority>guest</view:authority>
<view:permission>Consumer</view:permission>
</view:ace>
</view:acl>
<app:uifacets />
<cm:name>${spaces.templates.rss.name}</cm:name>
<app:icon>space-icon-default</app:icon>
<cm:title>${spaces.templates.rss.name}</cm:title>
<cm:description>${spaces.templates.rss.description}</cm:description>
</cm:folder>
<cm:folder view:childName="${spaces.savedsearches.childname}">
<view:acl view:inherit="false">
<view:ace view:access="ALLOWED">

View File

@@ -260,6 +260,7 @@
<prop key="spaces.templates.childname">${spaces.templates.childname}</prop>
<prop key="spaces.templates.content.childname">${spaces.templates.content.childname}</prop>
<prop key="spaces.templates.email.childname">${spaces.templates.email.childname}</prop>
<prop key="spaces.templates.rss.childname">${spaces.templates.rss.childname}</prop>
<prop key="spaces.savedsearches.childname">${spaces.savedsearches.childname}</prop>
<prop key="spaces.scripts.childname">${spaces.scripts.childname}</prop>
</props>

View File

@@ -7,7 +7,7 @@ spaces.dictionary.name=Data Dictionary
spaces.dictionary.description=User managed definitions
spaces.templates.name=Space Templates
spaces.templates.description=Space templates
spaces.templates.description=Space folder templates
spaces.templates.content.name=Presentation Templates
spaces.templates.content.description=Presentation templates
@@ -15,6 +15,9 @@ spaces.templates.content.description=Presentation templates
spaces.templates.email.name=Email Templates
spaces.templates.email.description=Email templates
spaces.templates.rss.name=RSS Templates
spaces.templates.rss.description=RSS templates
spaces.savedsearches.name=Saved Searches
spaces.savedsearches.description=Saved Searches

View File

@@ -77,4 +77,8 @@ patch.actionRuleDecouplingPatch.description=Migrate existing rules to the update
patch.actionRuleDecouplingPatch.result=Updated {0} rules.
patch.systemWorkflowFolder.description=Ensures the existence of the system workflow container.
patch.systemWorkflowFolder.result.created=Created system workflow container {0}.
patch.systemWorkflowFolder.result.created=Created system workflow container {0}.
patch.rssTemplatesFolder.description=Ensures the existence of the 'RSS Templates' folder.
patch.rssTemplatesFolder.result.exists=The RSS Templates folder already exists: {0}
patch.rssTemplatesFolder.result.created=The RSS Templates folder was successfully created: {0}

View File

@@ -138,6 +138,9 @@
<extension>jpeg</extension>
<extension>jpe</extension>
</mimetype>
<mimetype mimetype="image/svg" display="Scalable Vector Graphics Image">
<extension>svg</extension>
</mimetype>
<mimetype mimetype="application/x-javascript" display="Java Script">
<extension>js</extension>
</mimetype>

View File

@@ -19,6 +19,7 @@
<value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.childname}</value>
<value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.content.childname}</value>
<value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.email.childname}</value>
<value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.rss.childname}</value>
<value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.scripts.childname}</value>
</list>
</property>

View File

@@ -123,6 +123,17 @@
</child-association>
</associations>
</aspect>
<aspect name="app:feedsource">
<title>Feed Source</title>
<properties>
<property name="app:template">
<title>Feed Template</title>
<type>d:noderef</type>
<mandatory>false</mandatory>
</property>
</properties>
</aspect>
</aspects>

View File

@@ -388,5 +388,23 @@
<property name="workflowPackageImpl" ref="workflowPackageImpl"/>
</bean>
<bean id="patch.rssTemplatesFolderPatch" class="org.alfresco.repo.admin.patch.impl.RSSTemplatesFolderPatch" parent="basePatch">
<property name="id"><value>patch.rssFolder</value></property>
<property name="description"><value>patch.rssTemplatesFolder.description</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>16</value></property>
<property name="targetSchema"><value>17</value></property>
<property name="rssTemplatesACP"><value>alfresco/templates/rss_templates.acp</value></property>
<!-- helper beans for execution -->
<property name="importerBootstrap">
<ref bean="spacesBootstrap" />
</property>
<property name="messageSource">
<ref bean="bootstrapSpacesMessageSource" />
</property>
<property name="importerService">
<ref bean="importerComponent" />
</property>
</bean>
</beans>

View File

@@ -97,6 +97,7 @@ spaces.dictionary.childname=app:dictionary
spaces.templates.childname=app:space_templates
spaces.templates.content.childname=app:content_templates
spaces.templates.email.childname=app:email_templates
spaces.templates.rss.childname=app:rss_templates
spaces.savedsearches.childname=app:saved_searches
spaces.scripts.childname=app:scripts
@@ -116,7 +117,7 @@ system.workflow_container.childname=sys:workflow
#
# You can do this when creating the alfresco database at the start
# CREATE DATABASE alfresco CHARACTER SET utf8 COLLATION utf8_bin;
# If you want to do this later this is a dump and load fix as it is dome when the database, tables and columns are created.
# If you want to do this later this is a dump and load fix as it is done when the database, tables and columns are created.
#
# Must other databases are case sensitive by default.
#

Binary file not shown.

View File

@@ -19,4 +19,4 @@ version.build=@build-number@
# Schema number
version.schema=16
version.schema=17