-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: master
Are you sure you want to change the base?
Conversation
the moment the post was created to make any changes. After that, the edit is not allowed. Moderators can always edit regardless of this time constraint.
…ds compatible wherever possible.
Accounting for modules deprecated in Django 1.6
…e to check for comment flooding
@@ -17,6 +19,10 @@ | |||
|
|||
redis = Redis(**comments_settings.REDIS) | |||
|
|||
EDIT_TIMER_ENABLED = getattr(settings, 'EDIT_TIMER_ENABLED', False) |
There was a problem hiding this comment.
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.
I added some comments to the code, please also include tests thanks |
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 |
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