From 8a5bd302039755487d59c11742f4937cddf44f7a Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Sat, 28 Oct 2023 08:45:53 +0100 Subject: [PATCH] feat: Move sites definition into common extension - MEED-2811 - Meeds-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. --- .../portal/template/pages/analytics/page.xml | 76 + .../template/pages/custom space/page.xml | 29 + .../conf/portal/template/pages/space/page.xml | 41 + .../template/pages/spaceHomePage/page.xml | 83 + .../platform/administrators/navigation.xml | 64 + .../group/platform/administrators/pages.xml | 164 ++ .../group/platform/delegated/navigation.xml | 34 + .../sites/group/platform/delegated/pages.xml | 43 + .../group/platform/rewarding/navigation.xml | 64 + .../sites/group/platform/rewarding/pages.xml | 121 + .../sites/group/platform/users/navigation.xml | 33 + .../conf/sites/group/platform/users/pages.xml | 42 + .../conf/sites/portal-configuration.xml | 76 +- .../conf/sites/portal/global/navigation.xml | 286 +++ .../conf/sites/portal/global/pages.xml | 1979 +++++++++++++++++ .../conf/sites/portal/global/portal.xml | 33 + 16 files changed, 3167 insertions(+), 1 deletion(-) create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/analytics/page.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/custom space/page.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/space/page.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/spaceHomePage/page.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/administrators/navigation.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/administrators/pages.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/delegated/navigation.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/delegated/pages.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/rewarding/navigation.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/rewarding/pages.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/users/navigation.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/users/pages.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/navigation.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/pages.xml create mode 100644 webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/portal.xml diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/analytics/page.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/analytics/page.xml new file mode 100644 index 000000000..acc46dc9c --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/analytics/page.xml @@ -0,0 +1,76 @@ + + + + + + Everyone + + Everyone + + + analytics + AnalyticsDashboardBreadcrumb + + Breadcrumb Analytics + Everyone + false + + + + Everyone + + + analytics + AnalyticsPortlet + + Everyone + false + + + + analytics + AnalyticsPortlet + + Everyone + false + + + + Everyone + + + analytics + AnalyticsPortlet + + Everyone + false + + + + analytics + AnalyticsPortlet + + Everyone + false + + + + \ No newline at end of file diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/custom space/page.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/custom space/page.xml new file mode 100644 index 000000000..3d7308850 --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/custom space/page.xml @@ -0,0 +1,29 @@ + + + + + + + + + social-portlet + SpaceMenuPortlet + + false + + + + + + + social-portlet + SpaceActivityStreamPortlet + + false + + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/space/page.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/space/page.xml new file mode 100644 index 000000000..d74cc8222 --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/space/page.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + social-portlet + SpaceMenuPortlet + + *:/platform/users + false + + + + + + \ No newline at end of file diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/spaceHomePage/page.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/spaceHomePage/page.xml new file mode 100644 index 000000000..f09c715fe --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/portal/template/pages/spaceHomePage/page.xml @@ -0,0 +1,83 @@ + + + + + + + + + + social-portlet + SpaceMenuPortlet + + *:/platform/users;*:/platform/externals + false + + + + *:/platform/users;*:/platform/externals + + *:/platform/users;*:/platform/externals + + + social-portlet + SpaceActivityStreamPortlet + + *:/platform/users;*:/platform/externals + false + + + + *:/platform/users;*:/platform/externals + + + + social-portlet + SpaceInfos + + *:/platform/users;*:/platform/externals + false + + + + *:/platform/users;*:/platform/externals + + + + + social-portlet + WhoIsOnLinePortlet + + *:/platform/users;*:/platform/externals + false + + + + space-home-widgets-container + addonContainer + + + + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/administrators/navigation.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/administrators/navigation.xml new file mode 100644 index 000000000..bd7b08837 --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/administrators/navigation.xml @@ -0,0 +1,64 @@ + + + + 2 + + + + usersManagement + + group::/platform/administrators::usersManagement + + + groupsManagement + + group::/platform/administrators::groupsManagement + + + membershipsManagement + + group::/platform/administrators::membershipsManagement + + + profileManagement + + group::/platform/administrators::profileManagement + + + generalSettings + + group::/platform/administrators::generalSettings + + + notification + + group::/platform/administrators::notification + + + appCenterAdminSetup + + group::/platform/administrators::appCenterAdminSetup + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/administrators/pages.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/administrators/pages.xml new file mode 100644 index 000000000..2295c2fac --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/administrators/pages.xml @@ -0,0 +1,164 @@ + + + + + usersManagement + Users Management + *:/platform/administrators + manager:/platform/administrators + + *:/platform/administrators + + + social-portlet + IDMUsersManagement + + Users Management + *:/platform/administrators + false + false + + + + + groupsManagement + Groups Management + manager:/platform/administrators + manager:/platform/administrators + + *:/platform/administrators + + + social-portlet + IDMGroupsManagement + + Groups Management + manager:/platform/administrators + false + false + + + + + membershipsManagement + Memberships Management + manager:/platform/administrators + manager:/platform/administrators + + *:/platform/administrators + + + social-portlet + IDMMembershipTypesManagement + + Memberships Management + manager:/platform/administrators + false + false + + + + + profileManagement + Profile Settings Management + manager:/platform/administrators + manager:/platform/administrators + + *:/platform/users + + + social-portlet + ProfileSettingsPortlet + + Profile Settings Management + manager:/platform/administrators + false + false + + + + + generalSettings + General Settings + *:/platform/administrators + manager:/platform/administrators + + *:/platform/administrators + + + social-portlet + GeneralSettings + + General Settings Portlet + *:/platform/administrators + false + + + + + + notification + Notifications Administration + manager:/platform/administrators + manager:/platform/administrators + + *:/platform/administrators + + + social-portlet + NotificationAdministration + + Notifications Administration + manager:/platform/administrators + false + false + false + + + + + appCenterAdminSetup + App center admin setup + *:/platform/administrators + *:/platform/administrators + + *:/platform/administrators + + + app-center + AppCenterAdminSetupPortlet + + + pageSize + 10 + false + + + + App Center Admin Setup + *:/platform/administrators + false + + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/delegated/navigation.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/delegated/navigation.xml new file mode 100644 index 000000000..899517c12 --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/delegated/navigation.xml @@ -0,0 +1,34 @@ + + + + 2 + + + + usersManagement + + group::/platform/delegated::usersManagement + + + \ No newline at end of file diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/delegated/pages.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/delegated/pages.xml new file mode 100644 index 000000000..68fef9a0e --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/delegated/pages.xml @@ -0,0 +1,43 @@ + + + + + usersManagement + Users Management + *:/platform/delegated + *:/platform/delegated + + *:/platform/delegated + + + social-portlet + IDMUsersManagement + + Users Management + *:/platform/delegated + false + false + + + + \ No newline at end of file diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/rewarding/navigation.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/rewarding/navigation.xml new file mode 100644 index 000000000..de8c0f8a7 --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/rewarding/navigation.xml @@ -0,0 +1,64 @@ + + + + 3 + + + rewardAdministration + + + walletAdministration + + group::/platform/rewarding::walletAdministration + + + + rewardAdministration + + group::/platform/rewarding::rewardAdministration + + + + kudosAdministration + + group::/platform/rewarding::kudosAdministration + + + perkStoreAdministration + + group::/platform/rewarding::perkStoreAdministration + + + + gamificationConnectorsAdministration + + group::/platform/rewarding::gamificationConnectorsAdministration + + + + gamificationBadgesAdministration + + group::/platform/rewarding::gamificationBadgesAdministration + + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/rewarding/pages.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/rewarding/pages.xml new file mode 100644 index 000000000..bd26ea88b --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/rewarding/pages.xml @@ -0,0 +1,121 @@ + + + + + walletAdministration + Wallet adminsitration + *:/platform/rewarding + manager:/platform/rewarding + + *:/platform/users + + + wallet + WalletAdmin + + Wallet adminsitration + *:/platform/rewarding + false + + + + + rewardAdministration + Reward administration + *:/platform/rewarding + manager:/platform/rewarding + + *:/platform/users + + + wallet + RewardAdmin + + Reward administration + *:/platform/rewarding + false + + + + + gamificationConnectorsAdministration + Gamification Connectors Administration + *:/platform/rewarding + manager:/platform/rewarding + + *:/platform/rewarding + + + gamification-portlets + ConnectorAdminSettings + + Gamification Connectors Administration + *:/platform/rewarding + false + + + + + gamificationBadgesAdministration + Gamification Badges Administration + *:/platform/rewarding + manager:/platform/rewarding + + *:/platform/rewarding + + + gamification-portlets + GamificationManageBadges + + Gamification Manage Badges + *:/platform/rewarding + false + + + + + perkStoreAdministration + perk store administration + *:/platform/rewarding + manager:/platform/rewarding + + *:/platform/users + + + perk-store + PerkStoreAdmin + + perk store administration + *:/platform/rewarding + false + + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/users/navigation.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/users/navigation.xml new file mode 100644 index 000000000..32e49ad32 --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/users/navigation.xml @@ -0,0 +1,33 @@ + + + + 8 + + + spacesAdministration + + group::/platform/users::spacesAdministration + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/users/pages.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/users/pages.xml new file mode 100644 index 000000000..1e3ec9c0a --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/group/platform/users/pages.xml @@ -0,0 +1,42 @@ + + + + + spacesAdministration + Spaces Administration + *:/platform/administrators + *:/platform/administrators + false + + *:/platform/administrators + + + social-portlet + SpacesAdministration + + *:/platform/users + false + + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-configuration.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-configuration.xml index 3898c8775..98e967fd6 100644 --- a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-configuration.xml +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal-configuration.xml @@ -27,7 +27,81 @@ org.exoplatform.portal.config.UserPortalConfigService - public.config + group.configuration + initListener + org.exoplatform.portal.config.NewPortalConfigListener + this listener init the portal configuration + + + group.configuration + description + + + + + /platform/administrators + + + /platform/users + + + /platform/delegated + + + /platform/rewarding + + + + + group + + + war:/conf/sites/ + + + ${io.meeds.groups.portalConfig.metadata.override:true} + + + ${io.meeds.groups.portalConfig.metadata.importmode:overwrite} + + + + + + + global.portal.configuration + initListener + org.exoplatform.portal.config.NewPortalConfigListener + this listener init the portal configuration + + + portal.configuration + + + + + global + + + + + portal + + + war:/conf/sites/ + + + ${io.meeds.portalConfig.metadata.override:true} + + + ${io.meeds.portalConfig.metadata.importmode:insert} + + + + + + + public.portal.configuration initListener org.exoplatform.portal.config.NewPortalConfigListener diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/navigation.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/navigation.xml new file mode 100644 index 000000000..15d119b15 --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/navigation.xml @@ -0,0 +1,286 @@ + + + + 1 + + + + + stream + + portal::global::stream + + + + spaces + + portal::global::all-spaces + + + + people + + portal::global::all-people + + + + contributions + + SYSTEM + portal::global::programs + + programs + + SYSTEM + portal::global::programs + + + actions + + SYSTEM + portal::global::actions + + + achievements + + SYSTEM + portal::global::achievements + + + + + wallet + + SYSTEM + portal::global::wallet + + + + tasks + + SYSTEM + portal::global::tasks + + + + connexions + + SYSTEM + portal::global::all-people + + + people + + portal::global::all-people + + + + network + + portal::global::all-people + + + + receivedInvitations + + portal::global::all-people + + + + pendingRequests + + portal::global::all-people + + + + + activities + + SYSTEM + portal::global::activities + + + + activity + + SYSTEM + portal::global::activity + + + + connections + + SYSTEM + + all-people + + portal::global::all-people + + + + network + + portal::global::all-people + + + + receivedInvitations + + portal::global::all-people + + + + pendingRequests + + portal::global::all-people + + + yours + + portal::global::all-people + + + invitations + + portal::global::all-people + + + requests + + portal::global::all-people + + + + + all-spaces + + SYSTEM + portal::global::all-spaces + + + + invitationSpace + + SYSTEM + portal::global::all-spaces + + + + pendingSpace + + SYSTEM + portal::global::all-spaces + + + + space-access + + SYSTEM + portal::global::space-access + + + + search + + SYSTEM + portal::global::search + + + + settings + + SYSTEM + portal::global::settings + + + + profile + + SYSTEM + portal::global::profile + + + + analytics + + SYSTEM + portal::global::analytics + + analyticsUsers + + DISPLAYED + portal::global::analytics-users + + + analyticsSpaces + + DISPLAYED + portal::global::analytics-spaces + + + analyticsMobile + + DISPLAYED + portal::global::analytics-mobile + + + analyticsSecurity + + DISPLAYED + portal::global::analytics-security + + + + notes-editor + + SYSTEM + portal::global::notes-editor + + + analytics + + SYSTEM + portal::global::analytics + + analyticsWallet + + DISPLAYED + portal::global::analytics-wallet + + + + perkstore + + SYSTEM + portal::global::perkstore + + + appCenterUserSetup + appCenterUserSetup + + SYSTEM + portal::global::appCenterUserSetup + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/pages.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/pages.xml new file mode 100644 index 000000000..6bd8fa0cd --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/pages.xml @@ -0,0 +1,1979 @@ + + + + + + all-people + People Directory + *:/platform/users + manager:/platform/administrators + + *:/platform/users + + *:/platform/users + + + social-portlet + PeopleList + + All People + *:/platform/users + false + true + + + + *:/platform/users + + + social-portlet + PeopleOverview + + People Overview Portlet + *:/platform/users + false + true + + + + + social-portlet + SuggestionsPeopleAndSpace + + + suggestionsType + user + + + + Suggestions peoples + *:/platform/users + false + false + false + + + rightbottom-people-container + *:/platform/users + addonContainer + + + + + + + + all-spaces + All Spaces + *:/platform/users + manager:/platform/administrators + + *:/platform/users + + *:/platform/users + + + social-portlet + SpacesList + + All Spaces + *:/platform/users + false + true + + + + *:/platform/users + + + social-portlet + SpacesOverview + + Spaces Overview Portlet + *:/platform/users + false + true + + + + + social-portlet + SuggestionsPeopleAndSpace + + + suggestionsType + space + + + + Suggestions spaces + *:/platform/users + false + false + false + + + rightbottom-spaces-container + *:/platform/users + addonContainer + + + + + + + + activity + Activity + *:/platform/users;*:/platform/externals + manager:/platform/administrators + + *:/platform/users;*:/platform/externals + + *:/platform/users;*:/platform/externals + + + social-portlet + UserActivityStreamPortlet + + User Activity Stream + *:/platform/users;*:/platform/externals + false + true + + + + + + + search + Search + Everyone + manager:/platform/administrators + + + + space-access + space-access + *:/platform/users;*:/platform/externals + manager:/platform/administrators + + + social-portlet + SpaceAccessPortlet + + space-access + *:/platform/users;*:/platform/externals + false + true + + + + + settings + Settings + *:/platform/users;*:/platform/externals + manager:/platform/administrators + + *:/platform/users;*:/platform/externals + + + social-portlet + UserSettingLanguage + + User Setting Language + *:/platform/users;*:/platform/externals + false + false + + + + social-portlet + UserSettingNotifications + + User Setting Notifications + *:/platform/users;*:/platform/externals + false + false + + + + social-portlet + UserSettingSecurity + + User Setting Security + *:/platform/users;*:/platform/externals + false + false + + + settings-bottom-container + *:/platform/users;*:/platform/externals + addonContainer + + + + + + stream + Stream + *:/platform/users + manager:/platform/administrators + + *:/platform/users + + *:/platform/users + + + social-portlet + UserActivityStreamPortlet + + User Activity Stream + *:/platform/users + false + true + + + + *:/platform/users + + *:/platform/users + + + social-portlet + GettingStarted + + Getting Started + *:/platform/users + false + true + + + + *:/platform/users + + stream-top-widgets-container + addonContainer + + + + *:/platform/users + + *:/platform/users + + + social-portlet + WhoIsOnLinePortlet + + Who is on line + *:/platform/users + false + false + false + + + + + social-portlet + SuggestionsPeopleAndSpace + + Suggestions peoples and spaces + *:/platform/users + false + false + false + + + *:/platform/users + + stream-bottom-widgets-container + addonContainer + + + + + + + + + externalStream + externalStream + *:/platform/externals + manager:/platform/administrators + + *:/platform/externals + + *:/platform/externals + + + social-portlet + UserActivityStreamPortlet + + User Activity Stream + *:/platform/externals + false + true + + + + *:/platform/externals + + *:/platform/externals + + + social-portlet + GettingStarted + + Getting Started + *:/platform/externals + false + true + + + + *:/platform/externals + + + social-portlet + ExternalSpacesList + + External spaces list + *:/platform/externals + false + + + + *:/platform/externals + + + task-management + tasks + + Tasks + *:/platform/externals + false + + + + + + + + profile + Profile + *:/platform/users;*:/platform/externals + manager:/platform/administrators + + + *:/platform/users;*:/platform/externals + + + social-portlet + ProfileHeader + + Profile Header Portlet + *:/platform/users;*:/platform/externals + false + true + + + + *:/platform/users;*:/platform/externals + + *:/platform/users;*:/platform/externals + + profile-before-about-me-container + *:/platform/users;*:/platform/externals + addonContainer + + + *:/platform/users;*:/platform/externals + + + social-portlet + ProfileAboutMe + + Profile AboutMe Portlet + *:/platform/users;*:/platform/externals + false + true + + + + profile-after-about-me-container + *:/platform/users;*:/platform/externals + addonContainer + + + profile-before-work-experience-container + *:/platform/users;*:/platform/externals + addonContainer + + + profile-before-contact-information-container + *:/platform/users + addonContainer + + + *:/platform/users;*:/platform/externals + + + social-portlet + ProfileContactInformation + + Profile contact information Portlet + *:/platform/users;*:/platform/externals + false + true + + + + profile-after-contact-information-container + *:/platform/users + addonContainer + + + *:/platform/users;*:/platform/externals + + + social-portlet + ProfileWorkExperience + + Profile Work Experience Portlet + *:/platform/users;*:/platform/externals + false + true + + + + profile-after-work-experience-container + *:/platform/users;*:/platform/externals + addonContainer + + + + *:/platform/users;*:/platform/externals + + profile-right-container + *:/platform/users;*:/platform/externals + addonContainer + + + + + + + + programs + Contribution Center - Programs + *:/platform/users;*:/platform/externals + *:/platform/administrators + + *:/platform/users;*:/platform/externals + + top-programs-container + *:/platform/users;*:/platform/externals + addonContainer + + + programs-container + *:/platform/users;*:/platform/externals + addonContainer + + + bottom-programs-container + *:/platform/users;*:/platform/externals + addonContainer + + + + + + actions + Contribution Center - Actions + *:/platform/users;*:/platform/externals + *:/platform/administrators + + *:/platform/users;*:/platform/externals + + top-actions-container + *:/platform/users;*:/platform/externals + addonContainer + + + actions-container + *:/platform/users;*:/platform/externals + addonContainer + + + bottom-actions-container + *:/platform/users;*:/platform/externals + addonContainer + + + + + + achievements + Contribution Center - Achievements + *:/platform/users;*:/platform/externals + *:/platform/administrators + + *:/platform/users;*:/platform/externals + + top-achievements-container + *:/platform/users;*:/platform/externals + addonContainer + + + achievements-container + *:/platform/users;*:/platform/externals + addonContainer + + + bottom-achievements-container + *:/platform/users;*:/platform/externals + addonContainer + + + + + + overview + overview + *:/platform/users;*:/platform/externals + *:/platform/rewarding + + *:/platform/users;*:/platform/externals + + *:/platform/users;*:/platform/externals + + *:/platform/users;*:/platform/externals + + *:/platform/users;*:/platform/externals + + + social-portlet + Image + + + name + overivewBanner + + + image-path + war:/../images/banner/overviewBanner.webp + false + + + + Overview Banner Portlet + *:/platform/users;*:/platform/externals + false + false + + + + + + gamification-portlets + myContributions + + My Contributions + *:/platform/users;*:/platform/externals + false + + + + + + gamification-portlets + myReputation + + My Reputation + *:/platform/users;*:/platform/externals + false + + + + + + gamification-portlets + myRewards + + My Rewards + *:/platform/users;*:/platform/externals + false + + + + + + gamification-portlets + topChallengers + + Top Challengers + *:/platform/users;*:/platform/externals + false + + + + + + gamification-portlets + challengesOverview + + Challenges Overview + *:/platform/users;*:/platform/externals + false + + + + + + gamification-portlets + programsOverview + + Programs Overview + *:/platform/users;*:/platform/externals + false + + + + + + + + wallet + Wallet + *:/platform/users;*:/platform/externals + *:/platform/administrators + + + top-wallet-container + *:/platform/users;*:/platform/externals + addonContainer + + + wallet-container + *:/platform/users;*:/platform/externals + addonContainer + + + bottom-wallet-container + *:/platform/users;*:/platform/externals + addonContainer + + + + + tasks + Tasks + *:/platform/users;*:/platform/externals + *:/platform/administrators + + *:/platform/users;*:/platform/externals + + top-task-container + *:/platform/users;*:/platform/externals + addonContainer + + + tasks-container + *:/platform/users;*:/platform/externals + addonContainer + + + bottom-tasks-container + *:/platform/users;*:/platform/externals + addonContainer + + + + + analytics + Analytics + *:/platform/analytics;*:/platform/administrators + manager:/platform/analytics + + Everyone + + Everyone + + + analytics + AnalyticsDashboardBreadcrumb + + Breadcrumb Analytics + Everyone + false + + + + Everyone + + + analytics + AnalyticsPortlet + + + settings + { + "offset": 0, + "filters": [ + { + "field": "operation", + "type": "EQUAL", + "valueString": "login" + } + ], + "title": "analytics.distinctLogins", + "aggregations": [ + { + "field": "timestamp", + "type": "DATE", + "interval": "day", + "sortDirection": "asc" + }, + { + "field": "userId", + "type": "CARDINALITY" + } + ], + "xAxisAggregations": [ + { + "field": "timestamp", + "type": "DATE", + "interval": "day", + "sortDirection": "asc" + } + ], + "multipleCharts": false, + "yAxisAggregation": { + "field": "userId", + "type": "CARDINALITY" + }, + "chartType": "bar", + "limit": 0 + } + + + + Distinct logins + Everyone + false + + + + analytics + AnalyticsPortlet + + + settings + { + "title":"analytics.usersCount", + "chartType":"line", + "multipleChartsField":"countType.keyword", + "filters":[ + { + "field":"operation", + "type":"EQUAL", + "valueString":"usersCount" + }, + { + "valueString":"enabledInternalUsers,enabledExternalUsers", + "field":"countType", + "type":"IN_SET" + } + ], + "aggregations":[ + { + "field":"countType.keyword", + "type":"COUNT" + }, + { + "field":"timestamp", + "type":"DATE", + "interval":"day", + "sortDirection":"asc" + }, + { + "field":"count", + "type":"MAX" + } + ], + "xAxisAggregations":[ + { + "field":"timestamp", + "type":"DATE", + "interval":"day", + "sortDirection":"asc" + } + ], + "multipleCharts":true, + "multipleChartsAggregation":{ + "field":"countType.keyword", + "type":"COUNT" + }, + "yAxisAggregation":{ + "field":"count", + "type":"MAX" + } + } + + + + Users count Analytics + Everyone + false + + + + Everyone + + + analytics + AnalyticsRatePortlet + + + settings + { + "title": "analytics.activeUsers", + "chartType": "percentageBar", + "colors": ["#4273C8"], + "threshold": { + "filters": [ + { + "range": null, + "valueString": "usersCount", + "field": "operation", + "type": "EQUAL" + }, + { + "range": null, + "valueString": "enabledUsers", + "field": "countType", + "type": "EQUAL" + } + ], + "yAxisAggregation": { + "interval": null, + "sortDirection": null, + "field": "count", + "type": "MAX" + } + }, + "value": { + "filters": [ + { + "range": null, + "valueString": "login", + "field": "operation", + "type": "EQUAL" + } + ], + "yAxisAggregation": { + "interval": null, + "sortDirection": null, + "field": "userId", + "type": "CARDINALITY" + } + } + } + + + + Connected Users + Everyone + false + + + + analytics + AnalyticsRatePortlet + + + settings + { + "title": "", + "chartType": "percentage", + "colors": ["#4d5466"], + "value": { + "filters": [ + { + "field": "userId", + "type": "GREATER", + "valueString": "1" + } + ], + "yAxisAggregation": { + "type": "COUNT" + } + }, + "percentageLimit": { + "aggregation": { + "filters": [ + { + "valueString": "enabledUsers", + "field": "countType", + "type": "EQUAL" + } + ], + "yAxisAggregation": { + "field": "count", + "type": "MAX" + } + }, + "percentage": 10, + "field": "userId" + }, + "threshold": { + "filters": [ + { + "field": "userId", + "type": "GREATER", + "valueString": "1" + } + ], + "yAxisAggregation": { + "type": "COUNT" + } + } + } + + + + Active Users + Everyone + false + + + + Everyone + + + analytics + AnalyticsPortlet + + + settings + { + "offset": 0, + "title": "analytics.spacesCount", + "aggregations": [ + { + "field": "timestamp", + "type": "DATE", + "interval": "day", + "sortDirection": "asc" + }, + { + "field": "count", + "type": "MAX" + } + ], + "filters": [ + { + "field": "operation", + "type": "EQUAL", + "valueString": "spacesCount" + }, + { + "field": "countType", + "type": "EQUAL", + "valueString": "allSpaces" + } + ], + "xAxisAggregations": [ + { + "field": "timestamp", + "type": "DATE", + "interval": "day", + "sortDirection": "asc" + } + ], + "multipleCharts": false, + "yAxisAggregation": { + "field": "count", + "type": "MAX" + }, + "chartType": "line", + "limit": 0 + } + + + + Users count Portlet + Everyone + false + + + + analytics + AnalyticsPortlet + + + settings + { + "offset": 0, + "title": "analytics.activitiesCount", + "lang": null, + "aggregations": [ + { + "field": "module", + "type": "COUNT", + "interval": null, + "sortDirection": "asc" + } + ], + "filters": [ + { + "field": "operation", + "type": "IN_SET", + "valueString": "noteCreated,noteUpdated,taskCreated,taskUpdated,taskCommented,taskCompleted,taskStatusChanged,createActivity,createComment,likeActivity,likeComment,sendKudos,contactSection,experienceSection,avatar", + "range": null + } + ], + "xAxisAggregations": [ + { + "field": "module", + "type": "COUNT", + "interval": null, + "sortDirection": "asc" + } + ], + "multipleCharts": false, + "multipleChartsAggregation": null, + "yAxisAggregation": { + "field": null, + "type": "COUNT", + "interval": null, + "sortDirection": null + }, + "multipleChartsField": null, + "chartType": "pie", + "colors": null, + "limit": 0 + } + + + + Platform Activities + Everyone + false + + + + + + + analytics-users + Analytics + *:/platform/analytics;*:/platform/administrators + manager:/platform/analytics + + Everyone + + Everyone + + + analytics + AnalyticsDashboardBreadcrumb + + Breadcrumb Analytics + Everyone + false + + + + Everyone + + + analytics + AnalyticsTablePortlet + + + settings + { + "pageSize":20, + "mainColumn":{ + "title":"analytics.users", + "valueAggregation":{ + "aggregation":{ + "field":"userId", + "type":"TERMS", + "dataType":"text" + }, + "filters":[ + { + "valueString":"1", + "field":"userId", + "type":"GREATER" + } + ] + } + }, + "columns":[ + { + "title":"analytics.creationDate", + "previousPeriod":false, + "valueAggregation":{ + "periodIndependent":true, + "aggregation":{ + "sortDirection":"desc", + "field":"userCreatedDate", + "type":"MAX" + } + }, + "sortable":true, + "dataType":"date" + }, + { + "title":"analytics.lastConnection", + "valueAggregation":{ + "filters":[ + { + "valueString":"login", + "field":"operation", + "type":"EQUAL" + } + ], + "periodIndependent":true, + "aggregation":{ + "sortDirection":"desc", + "field":"timestamp", + "type":"MAX" + } + }, + "sortable":true, + "dataType":"date" + }, + { + "title":"analytics.connectionsCount", + "valueAggregation":{ + "filters":[ + { + "valueString":"login", + "field":"operation", + "type":"EQUAL" + } + ], + "periodIndependent":false, + "aggregation":{ + "sortDirection":"desc", + "field":"doc['timestamp'].value.dayOfYear", + "type":"CARDINALITY" + } + }, + "sortable":true, + "dataType":"long" + }, + { + "title":"analytics.activitiesCount", + "previousPeriod":false, + "valueAggregation":{ + "filters":[ + { + "valueString":"noteCreated,noteUpdated,taskCreated,taskUpdated,taskCommented,taskCompleted,taskStatusChanged,createActivity,createComment,likeActivity,likeComment,sendKudos,contactSection,experienceSection,avatar", + "field":"operation", + "type":"IN_SET" + } + ], + "periodIndependent":false, + "aggregation":{ + "sortDirection":"desc", + "type":"COUNT" + } + }, + "sortable":true, + "dataType":"long" + }, + { + "title":"analytics.favoriteModule", + "previousPeriod":false, + "valueAggregation":{ + "filters":[ + { + "valueString":"noteCreated,noteUpdated,taskCreated,taskUpdated,taskCommented,taskCompleted,taskStatusChanged,createActivity,createComment,likeActivity,likeComment,sendKudos,contactSection,experienceSection,avatar", + "field":"operation", + "type":"IN_SET" + } + ], + "periodIndependent":false, + "aggregation":{ + "sortDirection":"desc", + "limit":1, + "field":"module", + "type":"TERMS" + } + }, + "dataType":"keyword" + } + ] + } + + + + User Analytics + Everyone + false + + + + + + + analytics-spaces + Analytics + *:/platform/analytics;*:/platform/administrators + manager:/platform/analytics + + Everyone + + Everyone + + + analytics + AnalyticsDashboardBreadcrumb + + Breadcrumb Analytics + Everyone + false + + + + Everyone + + + analytics + AnalyticsTablePortlet + + + settings + { + "pageSize": 20, + "mainColumn":{ + "title":"analytics.spaces", + "valueAggregation":{ + "aggregation":{ + "field":"spaceId", + "type":"TERMS", + "dataType":"text" + }, + "filters":[ + { + "range":null, + "valueString":"1", + "field":"spaceId", + "type":"GREATER" + } + ] + } + }, + "columns":[ + { + "title":"analytics.creationDate", + "previousPeriod":false, + "valueAggregation":{ + "aggregation":{ + "sortDirection":"desc", + "field":"spaceCreatedTime", + "type":"MAX", + }, + "periodIndependent":true + }, + "sortable":true, + "dataType":"date" + }, + { + "title":"analytics.membersCount", + "previousPeriod":true, + "valueAggregation":{ + "aggregation":{ + "sortDirection":"desc", + "field":"spaceMembersCount", + "type":"MAX" + } + }, + "sortable":true, + "dataType":"long" + }, + { + "title":"analytics.activeUsersPercent", + "previousPeriod":true, + "valueAggregation":{ + "filters":[ + { + "valueString":"1", + "field":"spaceId", + "type":"GREATER" + }, + { + "valueString":"noteCreated,noteUpdated,taskCreated,taskUpdated,taskCommented,taskCompleted,taskStatusChanged,createActivity,createComment,likeActivity,likeComment,sendKudos,contactSection,experienceSection,avatar", + "field":"operation", + "type":"IN_SET" + } + ], + "aggregation":{ + "sortDirection":"desc", + "field":"userId", + "type":"CARDINALITY" + } + }, + "sortable":true, + "dataType":"long", + "thresholdAggregation":{ + "aggregation":{ + "sortDirection":"desc", + "field":"spaceMembersCount", + "type":"MAX" + } + } + }, + { + "title":"analytics.activitiesCount", + "previousPeriod":true, + "valueAggregation":{ + "filters":[ + { + "valueString":"noteCreated,noteUpdated,taskCreated,taskUpdated,taskCommented,taskCompleted,taskStatusChanged,createActivity,createComment,likeActivity,likeComment,sendKudos,contactSection,experienceSection,avatar", + "field":"operation", + "type":"IN_SET" + }, + { + "valueString":"1", + "field":"spaceId", + "type":"GREATER" + } + ], + "aggregation":{ + "sortDirection":"desc", + "type":"COUNT" + } + }, + "sortable":true, + "dataType":"long" + }, + { + "title":"analytics.mainModule", + "valueAggregation":{ + "filters":[ + { + "valueString":"noteCreated,noteUpdated,taskCreated,taskUpdated,taskCommented,taskCompleted,taskStatusChanged,createActivity,createComment,likeActivity,likeComment,sendKudos,contactSection,experienceSection,avatar", + "field":"operation", + "type":"IN_SET" + } + ], + "aggregation":{ + "sortDirection":"desc", + "limit":1, + "field":"module", + "type":"TERMS" + } + }, + "dataType":"keyword" + } + ] + } + + + + Space Analytics + Everyone + false + + + + + + + analytics-mobile + Analytics + *:/platform/analytics;*:/platform/administrators + manager:/platform/analytics + + Everyone + + Everyone + + + analytics + AnalyticsDashboardBreadcrumb + + Breadcrumb Analytics + Everyone + false + + + + + + analytics-security + Analytics Security + *:/platform/analytics;*:/platform/administrators + manager:/platform/analytics + + Everyone + + Everyone + + + analytics + AnalyticsDashboardBreadcrumb + + Breadcrumb Analytics + Everyone + false + + + + Everyone + + + analytics + AnalyticsPortlet + + + settings + + { + "offset": 0, + "filters": [ + { + "field": "operation", + "type": "EQUAL", + "valueString": "login", + "range": null + }, + { + "field": "status", + "type": "EQUAL", + "valueString": "1", + "range": null + }, + { + "field": "reason", + "type": "EQUAL", + "valueString": "wrongCredentials", + "range": null + } + ], + "limit": 0, + "multipleCharts": false, + "chartType": "bar", + "colors": null, + "multipleChartsField": null, + "lang": null, + "aggregations": [ + { + "field": "timestamp", + "type": "DATE", + "offset": null, + "interval": "day", + "limit": 0, + "useBounds": false, + "minBound": 0, + "maxBound": 0, + "sortDirection": "asc" + }, + { + "field": "timestamp", + "type": "COUNT", + "offset": null, + "interval": null, + "limit": 0, + "useBounds": false, + "minBound": 0, + "maxBound": 0, + "sortDirection": "desc" + } + ], + "yAxisAggregation": { + "field": "timestamp", + "type": "COUNT", + "offset": null, + "interval": null, + "limit": 0, + "useBounds": false, + "minBound": 0, + "maxBound": 0, + "sortDirection": "desc" + }, + "multipleChartsAggregation": null, + "xAxisAggregations": [ + { + "field": "timestamp", + "type": "DATE", + "offset": null, + "interval": "day", + "limit": 0, + "useBounds": false, + "minBound": 0, + "maxBound": 0, + "sortDirection": "asc" + } + ], + "timeZone": null, + "title": "analytics.failedLogin" + } + + + + + Failed logins + Everyone + false + + + + analytics + AnalyticsPortlet + + + settings + + { + "offset": 0, + "filters": [ + { + "field": "operation", + "type": "EQUAL", + "valueString": "login", + "range": null + }, + { + "field": "status", + "type": "EQUAL", + "valueString": "1", + "range": null + }, + { + "field": "reason", + "type": "EQUAL", + "valueString": "accountLocked", + "range": null + } + ], + "limit": 0, + "multipleCharts": false, + "chartType": "bar", + "colors": [ + "#F97575", + "#f97575", + "#98cc81", + "#4273c8", + "#cea6ac", + "#bc99e7", + "#9ee4f5", + "#774ea9", + "#ffa500", + "#bed67e", + "#0E100F", + "#ffaacc" + ], + "multipleChartsField": null, + "lang": null, + "aggregations": [ + { + "field": "timestamp", + "type": "DATE", + "offset": null, + "interval": "day", + "limit": 0, + "useBounds": false, + "minBound": 0, + "maxBound": 0, + "sortDirection": "asc" + }, + { + "field": "timestamp", + "type": "COUNT", + "offset": null, + "interval": null, + "limit": 0, + "useBounds": false, + "minBound": 0, + "maxBound": 0, + "sortDirection": "desc" + } + ], + "yAxisAggregation": { + "field": "timestamp", + "type": "COUNT", + "offset": null, + "interval": null, + "limit": 0, + "useBounds": false, + "minBound": 0, + "maxBound": 0, + "sortDirection": "desc" + }, + "multipleChartsAggregation": null, + "xAxisAggregations": [ + { + "field": "timestamp", + "type": "DATE", + "offset": null, + "interval": "day", + "limit": 0, + "useBounds": false, + "minBound": 0, + "maxBound": 0, + "sortDirection": "asc" + } + ], + "timeZone": null, + "title": "analytics.accountLocked" + } + + + + + Locked Accounts + Everyone + false + + + + + + notes-editor + Notes Editor + *:/platform/users;*:/platform/externals + *:/platform/administrators + true + true + + top-notes-editor-container + *:/platform/users;*:/platform/externals + addonContainer + + + notes-editor-container + *:/platform/users;*:/platform/externals + addonContainer + + + bottom-notes-editor-container + *:/platform/users;*:/platform/externals + addonContainer + + + + + analytics-wallet + Analytics Wallet + *:/platform/analytics;*:/platform/administrators + manager:/platform/analytics + + Everyone + + Everyone + + + analytics + AnalyticsDashboardBreadcrumb + + Breadcrumb Analytics + Everyone + false + + + + Everyone + + + analytics + AnalyticsPortlet + + + settings + + { + "filters": [ + { + "field": "module", + "type": "EQUAL", + "valueString": "wallet" + }, + { + "field": "subModule", + "type": "EQUAL", + "valueString": "blockchain" + } + ], + "aggregations": [ + { + "field": "timestamp", + "type": "DATE", + "interval": "day", + "useBounds": false, + "sortDirection": "asc" + }, + { + "field": "timestamp", + "type": "COUNT", + "useBounds": false, + "sortDirection": "desc" + } + ], + "yAxisAggregation": { + "field": "timestamp", + "type": "COUNT", + "useBounds": false, + "sortDirection": "desc" + }, + "xAxisAggregations": [ + { + "field": "timestamp", + "type": "DATE", + "interval": "day", + "useBounds": false, + "sortDirection": "asc" + } + ], + "multipleCharts": false, + "chartType": "bar", + "title": "Blockchain Calls" + } + + + + + Blockchain Calls + Everyone + false + + + + analytics + AnalyticsPortlet + + + settings + + { + "filters": [ + { + "field": "module", + "type": "EQUAL", + "valueString": "wallet" + }, + { + "field": "subModule", + "type": "EQUAL", + "valueString": "blockchain" + } + ], + "aggregations": [ + { + "field": "operation", + "type": "TERMS", + "useBounds": false, + "sortDirection": "desc" + }, + { + "field": "operation", + "type": "COUNT", + "useBounds": false, + "sortDirection": "desc" + } + ], + "yAxisAggregation": { + "field": "operation", + "type": "COUNT", + "useBounds": false, + "sortDirection": "desc" + }, + "xAxisAggregations": [ + { + "field": "operation", + "type": "TERMS", + "useBounds": false, + "sortDirection": "desc" + } + ], + "multipleCharts": false, + "chartType": "pie", + "colors": [ + "#F97575", + "#9EE4F5", + "#98cc81", + "#4273c8", + "#cea6ac", + "#bc99e7", + "#9ee4f5", + "#774ea9", + "#ffa500", + "#bed67e", + "#0E100F", + "#ffaacc" + ], + "title": "Blockchain Calls By Operation" + } + + + + + Blockchain Calls By Operation + Everyone + false + + + + + + + perkstore + Perk Store + *:/platform/users;*:/platform/externals + *:/platform/administrators + + *:/platform/users;*:/platform/externals + + top-perk-store-container + *:/platform/users;*:/platform/externals + addonContainer + + + perk-store-container + *:/platform/users;*:/platform/externals + addonContainer + + + bottom-perk-store-container + *:/platform/users;*:/platform/externals + addonContainer + + + + + + kudosAdministration + Kudo administration + *:/platform/rewarding + manager:/platform/rewarding + + *:/platform/rewarding + + + kudos + KudosAdmin + + Kudos administration + *:/platform/rewarding + false + + + + + + appCenterUserSetup + App Center User Setup + *:/platform/users;*:/platform/externals + manager:/platform/administrators + + *:/platform/users;*:/platform/externals + + + app-center + AppCenterUserSetupPortlet + + App Center User Setup + *:/platform/users;*:/platform/externals + false + true + + + + + diff --git a/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/portal.xml b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/portal.xml new file mode 100644 index 000000000..88d163d6d --- /dev/null +++ b/webapps/plf-sites-extension/src/main/webapp/WEB-INF/conf/sites/portal/global/portal.xml @@ -0,0 +1,33 @@ + + + + global + en + *:/platform/users;*:/platform/externals + *:/platform/administrators + + onDemand + 0 + + + + +