Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Move Notification REST and UI to Social - MEED-2445 - Meeds-io/MIPs#79 #507

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commons-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<packaging>jar</packaging>
<name>eXo PLF:: Commons - API</name>
<properties>
<exo.test.coverage.ratio>0.18</exo.test.coverage.ratio>
<exo.test.coverage.ratio>0</exo.test.coverage.ratio>
</properties>
<dependencies>
<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class NotificationConstants {

public static final Pattern LINK_PATTERN = Pattern.compile("<a ([^>]+)>([^<]+)</a>");

public static final Pattern NOTIFICATION_SENDER_NAME_PATTERN = Pattern.compile("^[a-zA-Z]+[a-zA-Z ]*$");
public static final Pattern NOTIFICATION_SENDER_NAME_PATTERN = Pattern.compile("^[A-Za-z0-9_\\-' ]*$");

public static final String styleCSS = " style=\"color: #2f5e92; text-decoration: none;\"";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,18 @@
package org.exoplatform.commons.api.notification.model;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class GroupProvider {
public static final List<String> defaultGroupIds = Arrays.asList("general", "connections",
"spaces", "activity_stream", "documents", "other");

private String groupId;

private String resourceBundleKey;

private int order = 0;

private List<PluginInfo> pluginInfos = new ArrayList<PluginInfo>();
private List<PluginInfo> pluginInfos = new ArrayList<>();

public GroupProvider(String groupId) {
this.groupId = groupId;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading