talawa-api
talawa-api copied to clipboard
[Feature Request] Posts and Events features and Spam mitigation for Talawa-admin
Is your feature request related to a problem? Please describe. Currently, In talawa-admin, the posts and events list contains hard-coded values, and some fields are missing while creating events and posts. Also, as the count of posts and events increases, there is a need for search functionality.
Also, there is no way in Talawa-admin to detect the user who spammed in the organization group chat and block that user.
For more info PalisadoesFoundation/talawa-admin#357
Describe the solution you'd like
- A mutation will be added to update the already existing post.
- A new function will be implemented in the postsByOrganization resolver to filter the posts.
- A new function will be implemented in the eventsByOrganization resolver to filter the events.
- A new field will be added in the organization schema named ‘spamCount’ to store the details of users who spammed in the organization.
- A new field will be added in the user schema named ‘spamInOrganizations’ to store the details of the organization in which the user has spammed.
- A new helper function will be created named ‘checkSpamMessages’ to check whether the message is spam or not.
- To check whether the message is spam or not following tasks will be done:
- Check whether the message contains the keywords of spam or not.
- Check the frequency of the last 30 messages. If the message frequency is less than 5 seconds then it is spam.
- A helper function will check the spam just before storing the messages in the database i.e. in the ‘sendMessageToGroupChat’ resolver.
- A new mutation will be added named ‘updateSpamNotifcation’, to update the readed notifications in talawa-admin.
@palisadoes sir, this issue can be assigned to me
This issue did not get any activity in the past 60 days and will be closed in 365 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.
Hello @asmitsirohi it's been a while since this issue is created. Are you still working on this ? let me know so that I can update the status of this issue.
@SiddheshKukade This probably cannot be closed unless this one is too. If there is no activity on either by the end of the year, then we should close both.
- https://github.com/PalisadoesFoundation/talawa-api/pull/742.
Hello @asmitsirohi it's been a while since this issue is created. Are you still working on this ? let me know so that I can update the status of this issue.
#742 is the pull request for this issue, which needs to be merged after review.
This issue did not get any activity in the past 60 days and will be closed in 365 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.