From 1c12d5a2db72a2de3308a06193b2340454fddb83 Mon Sep 17 00:00:00 2001 From: Jon Erickson Date: Tue, 29 Aug 2023 16:39:29 -0700 Subject: [PATCH] Added claim filed notification for infringing member (#1) --- src/data/build.xml | 1 + src/data/emails.xml | 14 ++ src/data/extensions.json | 1 + src/data/lang.xml | 10 +- src/data/schema.json | 24 ++-- src/data/settings.json | 4 + src/data/theme.xml | 8 +- src/data/versions.json | 3 +- src/dev/email/filed.phtml | 7 + src/dev/email/filed.txt | 6 + src/dev/email/notification_filed.phtml | 5 + src/dev/email/notification_filed.txt | 4 + src/dev/html/front/report/report.phtml | 8 +- src/dev/lang.php | 8 +- .../core/EditorLocations/ClaimFiledEmail.php | 130 ++++++++++++++++++ src/extensions/core/Notifications/Claim.php | 51 ++++--- src/modules/admin/system/settings.php | 5 + src/setup/upg_10002/data.json | 23 ++++ src/setup/upg_10002/emailTemplates.json | 8 ++ src/setup/upg_10002/lang.json | 19 +++ src/setup/upg_10002/queries.json | 21 +++ src/setup/upg_10002/settings.json | 7 + src/setup/upg_10002/theme.json | 19 +++ src/sources/Reports/Report.php | 22 ++- 24 files changed, 364 insertions(+), 44 deletions(-) create mode 100644 src/dev/email/filed.phtml create mode 100644 src/dev/email/filed.txt create mode 100644 src/dev/email/notification_filed.phtml create mode 100644 src/dev/email/notification_filed.txt create mode 100644 src/extensions/core/EditorLocations/ClaimFiledEmail.php create mode 100644 src/setup/upg_10002/data.json create mode 100644 src/setup/upg_10002/emailTemplates.json create mode 100644 src/setup/upg_10002/lang.json create mode 100755 src/setup/upg_10002/queries.json create mode 100644 src/setup/upg_10002/settings.json create mode 100644 src/setup/upg_10002/theme.json diff --git a/src/data/build.xml b/src/data/build.xml index 793aa2c..2bb4fc2 100644 --- a/src/data/build.xml +++ b/src/data/build.xml @@ -9,6 +9,7 @@ + diff --git a/src/data/emails.xml b/src/data/emails.xml index f2f4392..01c8c81 100644 --- a/src/data/emails.xml +++ b/src/data/emails.xml @@ -5,6 +5,11 @@ — {setting="board_name"}]]>$message, $report, $email{$message|raw} {$report|raw} +-- {setting="board_name"}0