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: comments pre-moderation #68

Merged

Conversation

CodeVoyager
Copy link
Contributor

Ticket

Issue #45

Summary

What does this PR do/solve?

This PR adds pre moderation of the comments. Ability to mark as pending, displaying said status and deciding about approval status in admins panel.

Test Plan

  • Add comment with body containing approvalStatus === PENDING
  • Enter admin's panel
  • New comment should be marked as pending
  • Approve comment
  • Reject comment
  • After that when querying one can filter by approvalStatus

@cyp3rius
Copy link
Collaborator

cyp3rius commented Sep 8, 2021

Looks good @CodeVoyager , can you please make sure that all works also with GQL support (if applicable ofc). It's on master branch at this very moment and just being released

@cyp3rius cyp3rius added this to the v1.0.3 milestone Sep 8, 2021
@cyp3rius cyp3rius requested a review from ltsNotMike October 11, 2021 06:35
@cyp3rius cyp3rius force-pushed the feat/pre-moderation branch 3 times, most recently from 1bf50e3 to 8a1ec03 Compare October 19, 2021 08:37
feat: comments pre-moderation
@cyp3rius cyp3rius force-pushed the feat/pre-moderation branch from 8a1ec03 to 6ef143a Compare October 19, 2021 08:54
@cyp3rius cyp3rius merged commit 8cab133 into VirtusLab-Open-Source:master Oct 19, 2021
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