-
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
…1385) This change will add the definition of MyCraft and Engage sites. At the same time, the sharedlayout has been moved from gatein-portal in order to centralize layout management in this extension. In addition, this change will bring some page templates definition from gatein-portal.
Showing
29 changed files
with
1,023 additions
and
194 deletions.
There are no files selected for viewing
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
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
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
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
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
22 changes: 22 additions & 0 deletions
22
.../plf-sites-extension/src/main/resources/locale/navigation/portal/contribute_en.properties
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,22 @@ | ||
# | ||
# This file is part of the Meeds project (https://meeds.io/). | ||
# | ||
# Copyright (C) 2023 Meeds Association contact@meeds.io | ||
# | ||
# 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. | ||
# | ||
|
||
portal.contribute.actions=Actions | ||
portal.contribute.programs=Programs | ||
portal.contribute.perks=Perks |
23 changes: 23 additions & 0 deletions
23
...pps/plf-sites-extension/src/main/resources/locale/navigation/portal/mycraft_en.properties
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,23 @@ | ||
# | ||
# This file is part of the Meeds project (https://meeds.io/). | ||
# | ||
# Copyright (C) 2023 Meeds Association contact@meeds.io | ||
# | ||
# 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. | ||
# | ||
|
||
portal.mycraft.dashboard=Dashboard | ||
portal.mycraft.tasks=Tasks | ||
portal.mycraft.achievements=Achievements | ||
portal.mycraft.wallet=Wallet |
74 changes: 74 additions & 0 deletions
74
webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/sharedlayout.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,74 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2023 Meeds Association contact@meeds.io | ||
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. | ||
--> | ||
<container | ||
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" | ||
id="ParentSiteContainer" | ||
template="system:/groovy/portal/webui/workspace/UIParentSiteContainer.gtmpl"> | ||
|
||
<container id="UITopBarContainer" template="system:/groovy/portal/webui/container/UITopBarContainer.gtmpl"> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<container id="left-topNavigation-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl" attribute=""> | ||
<name>left-topNavigation-container</name> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
<container id="hamburger-menu-items-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>hamburger-menu-items-container</name> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
<container id="top-bar-logo-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>top-bar-logo-container</name> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
<container id="right-topNavigation-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>right-topNavigation-container</name> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
<container id="right-topNavigation-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>right-topNavigation-container</name> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
<container id="MiddleToolBar" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>MiddleToolBar</name> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
<container id="SearchPortlet" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>SearchPortlet</name> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
<container id="middle-topNavigation-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>middle-topNavigation-container</name> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
<container id="TopbarLoadingContainer" template="system:/groovy/portal/webui/container/UITopbarLoadingContainer.gtmpl"> | ||
<access-permissions>*:/platform/users;*:/platform/externals</access-permissions> | ||
</container> | ||
</container> | ||
<site-body /> | ||
<container id="bottom-all-container" template="system:/groovy/portal/webui/container/UIAddOnContainer.gtmpl"> | ||
<name>bottom-all-container</name> | ||
<factory-id>addonContainer</factory-id> | ||
</container> | ||
</container> |
35 changes: 35 additions & 0 deletions
35
...-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/basic/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,35 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2023 Meeds Association contact@meeds.io | ||
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>1</priority> | ||
|
||
<page-nodes> | ||
<node> | ||
<name>home</name> | ||
<label>Home</label> | ||
<page-reference>portal::@owner@::homepage</page-reference> | ||
</node> | ||
</page-nodes> | ||
</node-navigation> |
34 changes: 34 additions & 0 deletions
34
...s/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/basic/pages.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,34 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2023 Meeds Association contact@meeds.io | ||
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-set | ||
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"> | ||
|
||
<page> | ||
<name>homepage</name> | ||
<title>Home Page</title> | ||
<access-permissions>Everyone</access-permissions> | ||
<edit-permission>*:/platform/administrators</edit-permission> | ||
</page> | ||
|
||
</page-set> |
40 changes: 40 additions & 0 deletions
40
.../plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/portal/template/basic/portal.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,40 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2023 Meeds Association contact@meeds.io | ||
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. | ||
--> | ||
<portal-config | ||
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"> | ||
<portal-name>@owner@</portal-name> | ||
<label>Basic Portal</label> | ||
<description>This is basic portal template</description> | ||
<locale>en</locale> | ||
<access-permissions>Everyone</access-permissions> | ||
<edit-permission>*:/platform/administrators</edit-permission> | ||
<properties> | ||
<entry key="sessionAlive">onDemand</entry> | ||
</properties> | ||
|
||
<portal-layout> | ||
<page-body></page-body> | ||
</portal-layout> | ||
|
||
</portal-config> |
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
20 changes: 20 additions & 0 deletions
20
...-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
27 changes: 27 additions & 0 deletions
27
...pps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/empty/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,27 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<!-- | ||
This file is part of the Meeds project (https://meeds.io/). | ||
Copyright (C) 2023 Meeds Association contact@meeds.io | ||
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.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"> | ||
<name></name> | ||
</page> |
Oops, something went wrong.