diff --git a/config/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties b/config/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties index 46f2060901ea..71f48d4e52ed 100644 --- a/config/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties +++ b/config/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties @@ -5378,15 +5378,6 @@ # DEFAULT: false #quartz.seedsites.autorun=true -# Set this to false to hide the bullhorn icon in the topbar and disable bullhorn event harvesting. -# DEFAULT: true -#portal.bullhorns.enabled=false - -# Turn on notifications debugging in the browser console, for both server sent events and push. -# -# DEFAULT: false -#portal.notifications.debug=true - # Enable push notifications. This has to be enabled for bullhorn alerts - setting this to false will # effectively halt any bullhorn alerts. When set to true (the default) the browser will request a # push subscription from the browser vendor's push service, followed by the browser sending those diff --git a/kernel/kernel-impl/src/test/java/org/sakaiproject/messaging/impl/RuntimeRegistrationTest.java b/kernel/kernel-impl/src/test/java/org/sakaiproject/messaging/impl/RuntimeRegistrationTest.java index fc0b0fbda7c2..360c7696e4ad 100644 --- a/kernel/kernel-impl/src/test/java/org/sakaiproject/messaging/impl/RuntimeRegistrationTest.java +++ b/kernel/kernel-impl/src/test/java/org/sakaiproject/messaging/impl/RuntimeRegistrationTest.java @@ -58,12 +58,6 @@ public class RuntimeRegistrationTest extends SakaiTests { @Autowired private ServerConfigurationService serverConfigurationService; @Autowired private UserMessagingService userMessagingService; - @Before - public void setup() { - - when(serverConfigurationService.getBoolean(eq("portal.bullhorns.enabled"), anyBoolean())).thenReturn(true); - } - @Test public void givenNoHandlers_whenInitializing_thenItStartsUp() { diff --git a/kernel/kernel-impl/src/test/java/org/sakaiproject/messaging/impl/UserMessagingServiceTests.java b/kernel/kernel-impl/src/test/java/org/sakaiproject/messaging/impl/UserMessagingServiceTests.java index d84c10a9a706..13b3c32b3a13 100644 --- a/kernel/kernel-impl/src/test/java/org/sakaiproject/messaging/impl/UserMessagingServiceTests.java +++ b/kernel/kernel-impl/src/test/java/org/sakaiproject/messaging/impl/UserMessagingServiceTests.java @@ -90,7 +90,6 @@ public void setup() { when(userDirectoryService.getUser(instructor)).thenReturn(instructorUser); } catch (UserNotDefinedException unde) {} - when(serverConfigurationService.getBoolean("portal.bullhorns.enabled", true)).thenReturn(true); when(userTimeService.dateTimeFormat(any(), any(), any())).thenReturn("07 Feb 1971");; userNotification1 = new UserNotification(); diff --git a/portal/portal-api/api/src/java/org/sakaiproject/portal/api/PortalConstants.java b/portal/portal-api/api/src/java/org/sakaiproject/portal/api/PortalConstants.java index c8e50aa76731..b4e62a7c3ad5 100644 --- a/portal/portal-api/api/src/java/org/sakaiproject/portal/api/PortalConstants.java +++ b/portal/portal-api/api/src/java/org/sakaiproject/portal/api/PortalConstants.java @@ -63,7 +63,6 @@ public class PortalConstants { public static final String PROP_POWERED_BY_IMAGE = "powered.img"; public static final String PROP_POWERED_BY_URL = "powered.url"; public static final String PROP_PUSH_NOTIFICATIONS = "portal.notifications.push.enabled"; - public static final String PROP_PUSH_NOTIFICATIONS_DEBUG = "portal.notifications.debug"; public static final String PROP_SAKAI_VERSION = "version.sakai"; public static final String PROP_SERVICE_NAME = "ui.service"; public static final String PROP_SERVICE_VERSION = "version.service"; diff --git a/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/SkinnableCharonPortal.java b/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/SkinnableCharonPortal.java index b5c230133203..d61b6ae386fd 100644 --- a/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/SkinnableCharonPortal.java +++ b/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/SkinnableCharonPortal.java @@ -191,7 +191,6 @@ public class SkinnableCharonPortal extends HttpServlet implements Portal { private String[] poweredByImage; private String[] poweredByUrl; private boolean containerLogin; - private boolean debugNotifications; private boolean displayUserloginInfo; private boolean enableDirect; private boolean forceContainer; @@ -245,7 +244,6 @@ public void init(ServletConfig config) throws ServletException { containerLogin = serverConfigurationService.getBoolean(PROP_CONTAINER_LOGIN, false); copyrightText = serverConfigurationService.getString(PROP_COPYRIGHT_TEXT); - debugNotifications = serverConfigurationService.getBoolean(PROP_PUSH_NOTIFICATIONS_DEBUG, false); displayUserloginInfo = serverConfigurationService.getBoolean(PROP_DISPLAY_USER_LOGIN, true); enableGAM = serverConfigurationService.getString(PROP_GLOBAL_ALERT_MESSAGE, "false"); favIconUrl = serverConfigurationService.getString(PROP_PORTAL_FAV_ICON); @@ -1034,8 +1032,6 @@ public PortalRenderContext startPageContext(String siteType, String title, Strin rcontext.put("notificationsPushEnabled", notificationsPushEnabled); - rcontext.put("debugNotifications", debugNotifications); - rcontext.put("tasksEnabled" , tasksEnabled); return rcontext; @@ -1533,7 +1529,6 @@ public void includeBottom(PortalRenderContext rcontext, Site site) { rcontext.put("bottomNavSakaiVersion", sakaiVersion); rcontext.put("bottomNavServer", serverId); rcontext.put("useBullhornAlerts", useBullhornAlerts); - rcontext.put("bullhornAlertCount", useBullhornAlerts ? userMessagingService.getNotifications().size() : 0); rcontext.put("chromeInfoUrl", serverConfigurationService.getString("notifications.chrome.info.url", "")); rcontext.put("firefoxInfoUrl", serverConfigurationService.getString("notifications.firefox.info.url", "")); rcontext.put("safariInfoUrl", serverConfigurationService.getString("notifications.safari.info.url", "")); diff --git a/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/BasePortalHandler.java b/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/BasePortalHandler.java index 623871b0ce48..919b35f1c5c8 100644 --- a/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/BasePortalHandler.java +++ b/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/BasePortalHandler.java @@ -221,7 +221,5 @@ protected void addTimeInfo(PortalRenderContext rcontext) { TimeZone userTz = timeService.getLocalTimeZone(); rcontext.put("userTimezone", userTz.getID()); rcontext.put("userTimezoneOffsetMillis", userTz.getOffset(now)); - String iso8601 = Instant.now().atZone(ZoneId.of(userTz.getID())).toLocalDateTime().toString(); - rcontext.put("userISO8601Timestamp", iso8601); } } diff --git a/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/SiteHandler.java b/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/SiteHandler.java index 36afb49c72f9..7f4c95fb555a 100644 --- a/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/SiteHandler.java +++ b/portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/SiteHandler.java @@ -590,12 +590,7 @@ public void doSite(HttpServletRequest req, HttpServletResponse res, Session sess } rcontext.put("siteId", siteId); - boolean showShortDescription = Boolean.valueOf(serverConfigurationService.getBoolean("portal.title.shortdescription.show", false)); - if (showShortDescription) { - rcontext.put("shortDescription", Web.escapeHtml(site.getShortDescription())); - } - if (siteService.isUserSite(siteId)){ rcontext.put("siteTitle", rb.getString("sit_mywor") ); rcontext.put("siteUrl", site.getUrl()); diff --git a/portal/portal-render-engine-impl/impl/src/webapp/vm/morpheus/includeStandardHead.vm b/portal/portal-render-engine-impl/impl/src/webapp/vm/morpheus/includeStandardHead.vm index 52ee79c2bf7e..49e6bcbb61a2 100644 --- a/portal/portal-render-engine-impl/impl/src/webapp/vm/morpheus/includeStandardHead.vm +++ b/portal/portal-render-engine-impl/impl/src/webapp/vm/morpheus/includeStandardHead.vm @@ -8,10 +8,6 @@ @@ -67,9 +52,10 @@ #parse("/vm/morpheus/snippets/title-snippet.vm") - ## TRINITY-43 Review before merging to master #parse("/vm/morpheus/snippets/portalCSS-snippet.vm") + + diff --git a/portal/portal-render-engine-impl/impl/src/webapp/vm/morpheus/snippets/profile-snippet.vm b/portal/portal-render-engine-impl/impl/src/webapp/vm/morpheus/snippets/profile-snippet.vm index 85b510935f4d..577ff88d7391 100644 --- a/portal/portal-render-engine-impl/impl/src/webapp/vm/morpheus/snippets/profile-snippet.vm +++ b/portal/portal-render-engine-impl/impl/src/webapp/vm/morpheus/snippets/profile-snippet.vm @@ -53,49 +53,6 @@ -