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: report email notification #83

Merged
merged 4 commits into from
Nov 14, 2021
Merged

Conversation

ltsNotMike
Copy link
Contributor

Ticket

#6

Summary

What does this PR do/solve?

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

Test Plan

  • Created new Strapi project
  • Configured email provider for Strapi email plugin
  • Added and configured comments plugin
  • Created moderator user and provided his role in plugin config
  • Created a new comment and a new abuse report about this comment

@codecov-commenter
Copy link

codecov-commenter commented Oct 25, 2021

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%) ⬇️

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%) ⬇️

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.

@ltsNotMike ltsNotMike marked this pull request as ready for review October 27, 2021 07:24
@ltsNotMike ltsNotMike self-assigned this Oct 29, 2021
README.md Outdated Show resolved Hide resolved
services/comments.js Outdated Show resolved Hide resolved
services/comments.js Outdated Show resolved Hide resolved
@cyp3rius cyp3rius merged commit a0585ed into master Nov 14, 2021
@cyp3rius cyp3rius deleted the feat/report-email-notification branch November 14, 2021 16:22
github-actions bot pushed a commit to zrp/uqbar-strapi-plugin-comments that referenced this pull request Jan 13, 2023
# 1.0.0 (2023-01-13)

### Bug Fixes

* [CU-21mwg4m] apply strapi team review comments ([88ee04b](88ee04b))
* [CU-21mwg4m] status badge sizing ([80c7946](80c7946))
* [CU-232p7qk] fallback config from local file ([9f9a43e](9f9a43e))
* [CU-23e47df] pagination and sort via rest api ([1eeb742](1eeb742))
* [CU-862hz23aa] Translations init failure while async loading ([VirtusLab-Open-Source#181](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/181)) ([dd665d9](dd665d9))
* avatar and initials rendering ([812afb2](812afb2))
* circle ci directory fix ([74b75ed](74b75ed))
* circle ci directory fix ([#10](#10)) ([0c998eb](0c998eb))
* compatibility with strapi 3.6.x ([VirtusLab-Open-Source#50](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/50)) ([81f69a8](81f69a8))
* dependabot alert for dicer ([e794a9b](e794a9b))
* dependabot dicer alert ([0bb17db](0bb17db))
* dependencies conflict ([c2c7e17](c2c7e17))
* filtering only root level ([VirtusLab-Open-Source#35](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/35)) ([62a90be](62a90be))
* find all in hierarchy fix ([735fbac](735fbac))
* gql and missing nexus dependency ([a438f41](a438f41))
* issue [VirtusLab-Open-Source#104](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/104) interface crashing if related content type removed ([ace336c](ace336c))
* issue [VirtusLab-Open-Source#116](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/116) - bad words filtering turned on when it shouldn't ([240082e](240082e))
* issue [VirtusLab-Open-Source#15](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/15) uuid parsing in mongo ([VirtusLab-Open-Source#17](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/17)) ([7ab3ed3](7ab3ed3))
* issue [#2](#2) search by relation slug ([#3](#3)) ([22eaebe](22eaebe))
* issue-110 gql configuration not applying, issues with old configurations ([ff662d3](ff662d3))
* lack of plugin config to reflect gql schema ([VirtusLab-Open-Source#77](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/77)) ([5fdd8ba](5fdd8ba))
* lack of user data sanitization ([c6957e5](c6957e5))
* make withCount default for GraphQL queries ([5717902](5717902))
* missing translation ([4de9390](4de9390))
* multiple fields population malformed ([f4726ac](f4726ac))
* problem with ref on create ([70bc620](70bc620))
* problems with details on comment ([0a17fd7](0a17fd7))
* problems with drill down ([d1a43d1](d1a43d1))
* query null error ([30dbf17](30dbf17))
* readme wording ([fe990b0](fe990b0))
* relation slug missing while cregistering comment ([9a1ba1c](9a1ba1c))
* relations & content types slugs ([b477c7e](b477c7e))
* remove codecov orb ([8740eca](8740eca))
* undefined sort parameter rejected by strapi query ([db749ea](db749ea))
* version bump ([3e32dc3](3e32dc3))
* wrapped where param in db query ([VirtusLab-Open-Source#152](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/152)) ([bd652c3](bd652c3))

### Features

* [CU-20y7quq] gql handle auth and user context linking ([d4d22ba](d4d22ba))
* [CU-20y7quq] handle user context linking ([39f728c](39f728c))
* [CU-220ekmx] provide sort and pagination support in findAll and findAllInHierarchy methods ([5c1ab4f](5c1ab4f))
* [CU-23e4bnk] ([d363b6f](d363b6f))
* [CU-23ku6zz] apply strapi pagination spec to findallflat endpoint ([c93b3a1](c93b3a1))
* [CU-2ep5xe1] [CU-2eap4ev] inform commenter about responses & avatar fix ([VirtusLab-Open-Source#143](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/143)) ([c7d664a](c7d664a))
* add tests to ci ([VirtusLab-Open-Source#159](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/159)) ([7cf6474](7cf6474))
* bad words customization ([VirtusLab-Open-Source#33](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/33)) ([f1fad77](f1fad77))
* codecov setup ([#11](#11)) ([d3950bf](d3950bf))
* comments pre-moderation ([VirtusLab-Open-Source#68](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/68)) ([8cab133](8cab133))
* context user support ([VirtusLab-Open-Source#23](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/23)) ([1d1354b](1d1354b))
* control gql auth via form ([2000942](2000942))
* custom fields on server-side [CU-xhcmx-63] ([VirtusLab-Open-Source#161](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/161)) ([a7737c8](a7737c8))
* report email notification ([VirtusLab-Open-Source#83](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/83)) ([a0585ed](a0585ed))
* strapi 3.1.0 rbac support ([#4](#4)) ([eb36adf](eb36adf))
* support for query parameters ([VirtusLab-Open-Source#34](https://github.com/zrp/uqbar-strapi-plugin-comments/issues/34)) ([753dc0c](753dc0c))
* **UQ-1853:** changed admin ([2590100](2590100))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants