From 3b3c5dbf4733398845e2f4ab67790e92577527c3 Mon Sep 17 00:00:00 2001 From: Marcel Nellesen Date: Thu, 3 Dec 2020 09:02:02 +0100 Subject: [PATCH] Update: Added quota changed action --- .../Properties/AssemblyInfo.cs | 6 ++-- src/NotificationConfiguration/Actions.json | 28 +++++++++++++++++++ .../Properties/AssemblyInfo.cs | 6 ++-- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/src/NotificationConfiguration.Test/Properties/AssemblyInfo.cs b/src/NotificationConfiguration.Test/Properties/AssemblyInfo.cs index 543bfe5..179507f 100644 --- a/src/NotificationConfiguration.Test/Properties/AssemblyInfo.cs +++ b/src/NotificationConfiguration.Test/Properties/AssemblyInfo.cs @@ -9,8 +9,8 @@ using System.Reflection; [assembly: AssemblyDescription("NotificationConfiguration.Test is a part of the CoScInE group.")] [assembly: AssemblyCompany("IT Center, RWTH Aachen University")] [assembly: AssemblyProduct("NotificationConfiguration.Test")] -[assembly: AssemblyVersion("1.4.0")] -[assembly: AssemblyFileVersion("1.4.0")] -[assembly: AssemblyInformationalVersion("1.4.0-topic-1127-email0006")] +[assembly: AssemblyVersion("1.5.0")] +[assembly: AssemblyFileVersion("1.5.0")] +[assembly: AssemblyInformationalVersion("1.5.0-topic-1163-admin0001")] [assembly: AssemblyCopyright("2020 IT Center, RWTH Aachen University")] diff --git a/src/NotificationConfiguration/Actions.json b/src/NotificationConfiguration/Actions.json index 286bb89..451536e 100644 --- a/src/NotificationConfiguration/Actions.json +++ b/src/NotificationConfiguration/Actions.json @@ -222,5 +222,33 @@ "en": "You will be informed when a PID owner is contacted." }, "group": [] + }, + "quota_changed": { + "channels": { + "available": [ "email" ], + "always": [], + "only": [] + }, + "template": { + "email": { + "de": { + "subject": "[Coscine] Quota wurde verändert", + "body": "{{> header}}Die Quota für Ihr Projekt {{_projectName}} wurde verändert.{{> footer}}" + }, + "en": { + "subject": "[Coscine] Quota was changed", + "body": "{{> header}}The quota for your project {{_projectName}} was changed.{{> footer}}" + } + } + }, + "name": { + "de": "Quota verändert", + "en": "Quota changed" + }, + "description": { + "de": "Sie werden informiert, wenn die Quota eines Projekts verändert wird.", + "en": "You will be informed when the quota of a project is changed." + }, + "group": [] } } diff --git a/src/NotificationConfiguration/Properties/AssemblyInfo.cs b/src/NotificationConfiguration/Properties/AssemblyInfo.cs index 6c92bda..8fc2854 100644 --- a/src/NotificationConfiguration/Properties/AssemblyInfo.cs +++ b/src/NotificationConfiguration/Properties/AssemblyInfo.cs @@ -9,8 +9,8 @@ using System.Reflection; [assembly: AssemblyDescription("NotificationConfiguration is a part of the CoScInE group.")] [assembly: AssemblyCompany("IT Center, RWTH Aachen University")] [assembly: AssemblyProduct("NotificationConfiguration")] -[assembly: AssemblyVersion("1.4.0")] -[assembly: AssemblyFileVersion("1.4.0")] -[assembly: AssemblyInformationalVersion("1.4.0-topic-1127-email0006")] +[assembly: AssemblyVersion("1.5.0")] +[assembly: AssemblyFileVersion("1.5.0")] +[assembly: AssemblyInformationalVersion("1.5.0-topic-1163-admin0001")] [assembly: AssemblyCopyright("2020 IT Center, RWTH Aachen University")] -- GitLab