mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
. 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:
@@ -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>
|
||||
|
@@ -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">
|
||||
|
@@ -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>
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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}
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -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.
|
||||
#
|
||||
|
BIN
config/alfresco/templates/rss_templates.acp
Normal file
BIN
config/alfresco/templates/rss_templates.acp
Normal file
Binary file not shown.
@@ -19,4 +19,4 @@ version.build=@build-number@
|
||||
|
||||
# Schema number
|
||||
|
||||
version.schema=16
|
||||
version.schema=17
|
||||
|
Reference in New Issue
Block a user