gentics / mesh-incubator

Project which is home for planned enhancements for Gentics Mesh
3 stars 0 forks source link

Comment Plugin #134

Open Jotschi opened 6 years ago

Jotschi commented 6 years ago

The comment plugin should provide REST endpoints which enable a logged in user to:

Comments are either created by logged in Users (User is creator) or by Anonymous User (User Data like Name, eMail is stored in the comment itself)

Admin users are able to:

Domain Model

(projectRoot)->(commentsRoot)->(commentNodeRoot1)->(comment)->(subComment)

Front-end handling

Questions:

Configuration

eMail Handling

The plugin should be able to render email templates and send emails to notify users about new comments.

Setup

Open:

DSGVO

The plugin needs to be able to anonymize the user data and data of anonymous comments. Anonymous comments contain the user data within the comment node. The plugin needs to annotate schema fields which contain personal information.

Comments Configuration

Permission Handling

Roles:

API

Preview Handling

Comment sections can be embedded via loading a single JavaScript file similar to the way how disqus works.

The script will invoke AJAX calls to the Mesh Comments plugin. The payload needs to contain:

The response will return the rendered comments section

reCAPTCHA

The plugin needs to be able to validate the reCAPTCHA data.

Questions:

Form Validation

Questions:

Gentics CMS support

The tagtype for comments should be provided via a devtools package.

Requirements:

philippguertler commented 6 years ago

Some more remarks:

Jotschi commented 6 years ago

Open:

Later:

Idea: