-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…-io/MIPs#100 This change will move sites pages definition into sites.war extension to centralize the configuration of sites which will improve the maintainability and evolutivity.
- Loading branch information
Showing
16 changed files
with
3,167 additions
and
1 deletion.
There are no files selected for viewing
76 changes: 76 additions & 0 deletions
76
...plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/analytics/page.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2022 Meeds Association | ||
[email protected] | ||
This program 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 3 of the License, or (at your option) any later version. | ||
This program 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 program; if not, write to the Free Software Foundation, | ||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
--> | ||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.exoplatform.org/xml/ns/gatein_objects_1_8 http://www.exoplatform.org/xml/ns/gatein_objects_1_8" xmlns="http://www.exoplatform.org/xml/ns/gatein_objects_1_8"> | ||
<name></name> | ||
<container | ||
id="topAnalyticsPage" | ||
template="system:/groovy/portal/webui/container/UIContainer.gtmpl" | ||
cssClass="singlePageApplication border-box-sizing"> | ||
<access-permissions>Everyone</access-permissions> | ||
<container id="breadcrumbAnalytics" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<access-permissions>Everyone</access-permissions> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>analytics</application-ref> | ||
<portlet-ref>AnalyticsDashboardBreadcrumb</portlet-ref> | ||
</portlet> | ||
<title>Breadcrumb Analytics</title> | ||
<access-permissions>Everyone</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
<container cssClass="analyticsPageRow" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<access-permissions>Everyone</access-permissions> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>analytics</application-ref> | ||
<portlet-ref>AnalyticsPortlet</portlet-ref> | ||
</portlet> | ||
<access-permissions>Everyone</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>analytics</application-ref> | ||
<portlet-ref>AnalyticsPortlet</portlet-ref> | ||
</portlet> | ||
<access-permissions>Everyone</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
<container cssClass="analyticsPageRow" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<access-permissions>Everyone</access-permissions> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>analytics</application-ref> | ||
<portlet-ref>AnalyticsPortlet</portlet-ref> | ||
</portlet> | ||
<access-permissions>Everyone</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>analytics</application-ref> | ||
<portlet-ref>AnalyticsPortlet</portlet-ref> | ||
</portlet> | ||
<access-permissions>Everyone</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
</container> | ||
</page> |
29 changes: 29 additions & 0 deletions
29
...-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/custom space/page.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<page | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_2 http://www.gatein.org/xml/ns/gatein_objects_1_2" | ||
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_2"> | ||
<owner-type/> | ||
<owner-id/> | ||
<name/> | ||
<container id="SpaceMenu" template="system:/groovy/portal/webui/container/UITableColumnContainer.gtmpl"> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social-portlet</application-ref> | ||
<portlet-ref>SpaceMenuPortlet</portlet-ref> | ||
</portlet> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
<container id="SpaceApplications" template="system:/groovy/portal/webui/container/UITableColumnContainer.gtmpl"> | ||
<container id="ActivityStreamPortlet" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social-portlet</application-ref> | ||
<portlet-ref>SpaceActivityStreamPortlet</portlet-ref> | ||
</portlet> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
</container> | ||
</page> |
41 changes: 41 additions & 0 deletions
41
...pps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/space/page.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<!-- | ||
Copyright (C) 2003-2007 eXo Platform SAS. | ||
This program is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Affero General Public License | ||
as published by the Free Software Foundation; either version 3 | ||
of the License, or (at your option) any later version. | ||
This program 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 General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, see<http://www.gnu.org/licenses/>. | ||
--> | ||
<page | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_2 http://www.gatein.org/xml/ns/gatein_objects_1_2" | ||
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_2"> | ||
<owner-type></owner-type> | ||
<owner-id></owner-id> | ||
<name></name> | ||
<container id="SpacePage" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<container id="Menu" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social-portlet</application-ref> | ||
<portlet-ref>SpaceMenuPortlet</portlet-ref> | ||
</portlet> | ||
<access-permissions>*:/platform/users</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
<container id="Application" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
</container> | ||
</container> | ||
</page> |
83 changes: 83 additions & 0 deletions
83
...sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/spaceHomePage/page.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2023 Meeds Association [email protected] | ||
This program 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 3 of the License, or (at your option) any later version. | ||
This program 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 program; if not, write to the Free Software Foundation, | ||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
--> | ||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.exoplatform.org/xml/ns/gatein_objects_1_8 http://www.exoplatform.org/xml/ns/gatein_objects_1_8" | ||
xmlns="http://www.exoplatform.org/xml/ns/gatein_objects_1_8"> | ||
<owner-type/> | ||
<owner-id/> | ||
<name/> | ||
<container id="Menu" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social-portlet</application-ref> | ||
<portlet-ref>SpaceMenuPortlet</portlet-ref> | ||
</portlet> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
<container id="StreamPage" template="system:/groovy/portal/webui/container/UIMobileSwipeContainer.gtmpl"> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<container id="StreamMainContainer" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social-portlet</application-ref> | ||
<portlet-ref>SpaceActivityStreamPortlet</portlet-ref> | ||
</portlet> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
<container id="StreamRightContainer" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<container id="SpaceInfos" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social-portlet</application-ref> | ||
<portlet-ref>SpaceInfos</portlet-ref> | ||
</portlet> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
<container id="stickyBlockDesktop" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<container id="SpaceHomePortlets" template="system:/groovy/portal/webui/container/UIColumnContainer.gtmpl"> | ||
<container id="OnlineUsers" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> | ||
<portlet-application> | ||
<portlet> | ||
<application-ref>social-portlet</application-ref> | ||
<portlet-ref>WhoIsOnLinePortlet</portlet-ref> | ||
</portlet> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<show-info-bar>false</show-info-bar> | ||
</portlet-application> | ||
</container> | ||
<container id="space-home-widgets-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>space-home-widgets-container</name> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
</container> | ||
</container> | ||
</container> | ||
</container> | ||
</page> |
64 changes: 64 additions & 0 deletions
64
...extension/src/main/webapp/WEB-INF/conf/sites/group/platform/administrators/navigation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2022 Meeds Association [email protected] | ||
This program 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 3 of the License, or (at your option) any later version. | ||
This program 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 program; if not, write to the Free Software Foundation, | ||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
--> | ||
<node-navigation | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_6 http://www.gatein.org/xml/ns/gatein_objects_1_6" | ||
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_6"> | ||
<priority>2</priority> | ||
|
||
<page-nodes> | ||
<node> | ||
<name>usersManagement</name> | ||
<label>#{administration.usersManagement}</label> | ||
<page-reference>group::/platform/administrators::usersManagement</page-reference> | ||
</node> | ||
<node> | ||
<name>groupsManagement</name> | ||
<label>#{administration.groupsManagement}</label> | ||
<page-reference>group::/platform/administrators::groupsManagement</page-reference> | ||
</node> | ||
<node> | ||
<name>membershipsManagement</name> | ||
<label>#{administration.membershipsManagement}</label> | ||
<page-reference>group::/platform/administrators::membershipsManagement</page-reference> | ||
</node> | ||
<node> | ||
<name>profileManagement</name> | ||
<label>#{administration.profileManagement}</label> | ||
<page-reference>group::/platform/administrators::profileManagement</page-reference> | ||
</node> | ||
<node> | ||
<name>generalSettings</name> | ||
<label>#{administration.generalSettings}</label> | ||
<page-reference>group::/platform/administrators::generalSettings</page-reference> | ||
</node> | ||
<node> | ||
<name>notification</name> | ||
<label>#{administration.notification}</label> | ||
<page-reference>group::/platform/administrators::notification</page-reference> | ||
</node> | ||
<node> | ||
<name>appCenterAdminSetup</name> | ||
<label>#{administration.appCenterAdminSetup}</label> | ||
<page-reference>group::/platform/administrators::appCenterAdminSetup</page-reference> | ||
</node> | ||
</page-nodes> | ||
</node-navigation> |
Oops, something went wrong.