diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-11-01 01:03:47 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-11-01 01:03:47 -0300 |
commit | a8ebdd9c1e5c76a7a9c7ad77ddda74eaa2d79ec4 (patch) | |
tree | 946de5143cadb4d85e7ec896c85fd03af68078cc /askbot/conf | |
parent | 813f17dea5e1084ebc98b096b965a06ca6ea56d2 (diff) | |
download | askbot-a8ebdd9c1e5c76a7a9c7ad77ddda74eaa2d79ec4.tar.gz askbot-a8ebdd9c1e5c76a7a9c7ad77ddda74eaa2d79ec4.tar.bz2 askbot-a8ebdd9c1e5c76a7a9c7ad77ddda74eaa2d79ec4.zip |
added lower rep barrier to accept any posts with links - as a first line of defense against spam
Diffstat (limited to 'askbot/conf')
-rw-r--r-- | askbot/conf/minimum_reputation.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/askbot/conf/minimum_reputation.py b/askbot/conf/minimum_reputation.py index 359855c9..fee880ac 100644 --- a/askbot/conf/minimum_reputation.py +++ b/askbot/conf/minimum_reputation.py @@ -108,8 +108,21 @@ settings.register( livesettings.IntegerValue( MIN_REP, 'MIN_REP_TO_INSERT_LINK', + default=30, + description=_('Insert clickable links') + ) +) + +settings.register( + livesettings.IntegerValue( + MIN_REP, + 'MIN_REP_TO_SUGGEST_LINK', default=10, - description=_('Insert links') + description=_('Insert link suggestions as plain text'), + help_text=_( + 'This value should be smaller than that for "insert clickable links". ' + 'This setting should stop link-spamming by newly registered users.' + ) ) ) |