VirtusLab-Open-Source / strapi-plugin-comments

A plugin for Strapi Headless CMS that provides end to end comments feature with their moderation panel, bad words filtering, abuse reporting and more.
MIT License
407 stars 63 forks source link

feat: report email notification #83

Closed ltsNotMike closed 2 years ago

ltsNotMike commented 2 years ago

Ticket

https://github.com/VirtusLab/strapi-plugin-comments/issues/6

Summary

What does this PR do/solve?

This PR implements feature of sending email notifications about abuse reports to moderators.

Test Plan

codecov-commenter commented 2 years ago

Codecov Report

Merging #83 (51cffe8) into master (dda0f51) will decrease coverage by 0.51%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
- Coverage   14.36%   13.85%   -0.52%     
==========================================
  Files           5        5              
  Lines         348      361      +13     
  Branches      111      112       +1     
==========================================
  Hits           50       50              
- Misses        238      250      +12     
- Partials       60       61       +1     
Flag Coverage Δ
unittest 13.85% <0.00%> (-0.52%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
services/comments.js 2.15% <0.00%> (-0.11%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dda0f51...51cffe8. Read the comment docs.