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

Feature/reinstate #8

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

matthappens
Copy link

Hey guys,
I had to make a small change to the ella flatcomments branch to improve spam filtering / handling. They include adding a reinstate method to re-post comments that have been removed, and adding a submit date to unsaved comments, so that these comments can be compared to previous comments to detect flooding

@@ -17,6 +19,10 @@

redis = Redis(**comments_settings.REDIS)

EDIT_TIMER_ENABLED = getattr(settings, 'EDIT_TIMER_ENABLED', False)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use comment_settings for these values as well.

@honzakral
Copy link
Member

I added some comments to the code, please also include tests

thanks

@matthappens
Copy link
Author

I'll make the changes.

Bizarrely some of the edit_timer methods are already in master from a previous (Before my time) merge. I'm not sure why're they are showing up in this diff but I can implement the above recommendations

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.

4 participants