Skip to content

Commit

Permalink
feat: Extend Meeds Builtin Space Templates Applications - MEED-7663 - M…
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker authored and rdenarie committed Nov 4, 2024
1 parent 234c7a8 commit f5c1aa9
Show file tree
Hide file tree
Showing 14 changed files with 952 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
portal.global.newsDetail=News details
portal.global.oeditor=OnlyOffice Editor
portal.global.spaceAgenda=Agenda
portal.global.spaceDocuments=Documents
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
<import>war:/conf/digital-workplace/branding-configuration.xml</import>
<import>war:/conf/digital-workplace/homepage-deployment-configuration.xml</import>
<import>war:/conf/digital-workplace/portal-upgrade-configuration.xml</import>
<import>war:/conf/digital-workplace/dynamic-container-configuration.xml</import>

</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2024 eXo Platform SAS.
This is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this software; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd" xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">
<external-component-plugins>
<target-component>org.exoplatform.commons.addons.AddOnService</target-component>
<component-plugin>
<name>announcement-space-template-widgets</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.commons.addons.AddOnPluginImpl</type>
<description></description>
<init-params>
<value-param>
<name>priority</name>
<value>100</value>
</value-param>
<value-param>
<name>containerName</name>
<value>space-home-widgets-announcement-container</value>
</value-param>
<object-param>
<name>agenda/Agenda</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>agenda/AgendaTimeline</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Agenda Timeline</string>
</field>
</object>
</object-param>
<object-param>
<name>documents-portlet/DocumentsSizeGadget</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>documents-portlet/DocumentsSizeGadget</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Documents Size Widget</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>circle-space-template-widgets</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.commons.addons.AddOnPluginImpl</type>
<description></description>
<init-params>
<value-param>
<name>priority</name>
<value>100</value>
</value-param>
<value-param>
<name>containerName</name>
<value>space-home-widgets-circle-container</value>
</value-param>
<object-param>
<name>agenda/Agenda</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>agenda/AgendaTimeline</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Agenda Timeline</string>
</field>
</object>
</object-param>
<object-param>
<name>documents-portlet/DocumentsSizeGadget</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>documents-portlet/DocumentsSizeGadget</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Documents Size Widget</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>community-space-template-widgets</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.commons.addons.AddOnPluginImpl</type>
<description></description>
<init-params>
<value-param>
<name>priority</name>
<value>100</value>
</value-param>
<value-param>
<name>containerName</name>
<value>space-home-widgets-community-container</value>
</value-param>
<object-param>
<name>agenda/Agenda</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>agenda/AgendaTimeline</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Agenda Timeline</string>
</field>
</object>
</object-param>
<object-param>
<name>documents-portlet/DocumentsSizeGadget</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>documents-portlet/DocumentsSizeGadget</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Documents Size Widget</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>project-space-template-widgets</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.commons.addons.AddOnPluginImpl</type>
<description></description>
<init-params>
<value-param>
<name>priority</name>
<value>100</value>
</value-param>
<value-param>
<name>containerName</name>
<value>space-home-widgets-project-container</value>
</value-param>
<object-param>
<name>agenda/Agenda</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>agenda/AgendaTimeline</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Agenda Timeline</string>
</field>
</object>
</object-param>
<object-param>
<name>documents-portlet/DocumentsSizeGadget</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>documents-portlet/DocumentsSizeGadget</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Documents Size Widget</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>space-space-template-widgets</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.commons.addons.AddOnPluginImpl</type>
<description></description>
<init-params>
<value-param>
<name>priority</name>
<value>100</value>
</value-param>
<value-param>
<name>containerName</name>
<value>space-home-widgets-space-container</value>
</value-param>
<object-param>
<name>agenda/Agenda</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>agenda/AgendaTimeline</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Agenda Timeline</string>
</field>
</object>
</object-param>
<object-param>
<name>documents-portlet/DocumentsSizeGadget</name>
<description></description>
<object type="org.exoplatform.commons.addons.PortletModel">
<field name="contentId">
<string>documents-portlet/DocumentsSizeGadget</string>
</field>
<field name="permissions">
<collection type="java.util.ArrayList">
<value><string>Everyone</string></value>
</collection>
</field>
<field name="title">
<string>Documents Size Widget</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2024 eXo Platform SAS.
This is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this software; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<node-navigation
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_13 http://www.gatein.org/xml/ns/gatein_objects_1_13"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_13">
<page-nodes>
<parent-uri>home/apps</parent-uri>
<node>
<name>documents</name>
<label>#{portal.global.spaceDocuments}</label>
<icon>fas fa-folder-open</icon>
<page-reference>group_template::announcement::documents</page-reference>
<insertion-index>0</insertion-index>
</node>
<node>
<name>agenda</name>
<label>#{portal.global.spaceAgenda}</label>
<icon>fas fa-calendar-alt</icon>
<page-reference>group_template::announcement::agenda</page-reference>
<insertion-index>1</insertion-index>
</node>
</page-nodes>
</node-navigation>
Loading

0 comments on commit f5c1aa9

Please sign in to comment.