From 57c216c708db81caeb8e2ecdcbb84cd4891ca495 Mon Sep 17 00:00:00 2001 From: azayati Date: Fri, 28 Aug 2026 15:41:18 +0100 Subject: [PATCH 1/2] feat: Declare the Tasks digest mail notifications category - EXO-89484 - eXIP7.3.0.22 Contributes the Tasks category to the digest settings drawer, next to the notification plugins it covers. Pure configuration: the category is declared on the Kernel DigestCategoryRegistry of commons, and its label lives in the bundle the notification plugins of this addon already use. Co-Authored-By: Claude Fable 5 --- .../TaskNotification_en.properties | 3 ++ .../task-addon/notification-configuration.xml | 37 ++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/webapps/src/main/resources/locale/notification/TaskNotification_en.properties b/webapps/src/main/resources/locale/notification/TaskNotification_en.properties index 3199fbf66..07646ae06 100644 --- a/webapps/src/main/resources/locale/notification/TaskNotification_en.properties +++ b/webapps/src/main/resources/locale/notification/TaskNotification_en.properties @@ -134,3 +134,6 @@ Notification.digest.more.TaskCommentedPlugin=$USER have commented on your $COUNT Notification.digest.one.TaskMentionedPlugin=You've been mentioned in a task $PROJECT_NAME: $TASK_TITLE Notification.digest.more.TaskMentionedPlugin=You've been mentioned in $COUNT tasks $PROJECT_NAME + +# Digest mail notifications: label of the category this addon owns +digest.category.tasks=Tasks diff --git a/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml b/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml index e00664957..b9b9166b8 100644 --- a/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml +++ b/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml @@ -378,4 +378,39 @@ - \ No newline at end of file + + + + io.meeds.commons.digest.DigestCategoryRegistry + + tasks + addCategoryProvider + io.meeds.commons.digest.plugin.DigestCategoryPlugin + The task notifications: assignments, due dates, comments and mentions + + + id + tasks + + + labelKey + digest.category.tasks + + + order + 40 + + + pluginIds + TaskAssignPlugin + TaskCoworkerPlugin + TaskDueDatePlugin + TaskCompletedPlugin + TaskCommentedPlugin + TaskMentionedPlugin + TaskEditionPlugin + + + + + From 92ad503acf090307ce3db41a3d5e98c90ee06918 Mon Sep 17 00:00:00 2001 From: azayati Date: Mon, 31 Aug 2026 16:01:19 +0100 Subject: [PATCH 2/2] fix: Keep only the notifications the spec lists in the digest categories - EXO-89484 - eXIP7.3.0.22 The category declarations covered every notification of their group, but the functional spec lists exactly which notifications the digest considers: only those 12 plugins are declared, nothing else enters a digest. Co-Authored-By: Claude Fable 5 --- .../WEB-INF/conf/task-addon/notification-configuration.xml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml b/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml index b9b9166b8..511608374 100644 --- a/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml +++ b/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml @@ -404,11 +404,7 @@ pluginIds TaskAssignPlugin TaskCoworkerPlugin - TaskDueDatePlugin - TaskCompletedPlugin - TaskCommentedPlugin TaskMentionedPlugin - TaskEditionPlugin