X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/fe388980b431aef835eaf43f4547e51f763c3f4b..65779f741add23006d878bf17340ce230463ef6f:/forum/settings/minrep.py diff --git a/forum/settings/minrep.py b/forum/settings/minrep.py index c403fe1..8206823 100644 --- a/forum/settings/minrep.py +++ b/forum/settings/minrep.py @@ -3,6 +3,10 @@ from django.utils.translation import ugettext_lazy as _ MIN_REP_SET = SettingSet('minrep', _('Minimum reputation config'), _("Configure the minimum reputation required to perform certain actions on your site."), 300) +CAPTCHA_IF_REP_LESS_THAN = Setting('CAPTCHA_IF_REP_LESS_THAN', 0, MIN_REP_SET, dict( +label = _("Show captcha if user with less reputation than"), +help_text = _("If the user has less reputation, captcha is used to when adding new content."))) + REP_TO_VOTE_UP = Setting('REP_TO_VOTE_UP', 15, MIN_REP_SET, dict( label = _("Minimum reputation to vote up"), help_text = _("The minimum reputation an user must have to be allowed to vote up."))) @@ -67,6 +71,14 @@ REP_TO_CONVERT_TO_COMMENT = Setting('REP_TO_CONVERT_TO_COMMENT', 2000, MIN_REP_S label = _("Minimum reputation to convert answers to comment"), help_text = _("The minimum reputation an user must have to be allowed to convert an answer into a comment."))) +REP_TO_CONVERT_COMMENTS_TO_ANSWERS = Setting('REP_TO_CONVERT_COMMENTS_TO_ANSWERS', 2000, MIN_REP_SET, dict( +label = _("Minimum reputation to convert comments to answers"), +help_text = _("The minimum reputation an user must have to be allowed to convert comments into an answer."))) + +REP_TO_CONVERT_TO_QUESTION = Setting('REP_TO_CONVERT_TO_QUESTION', 2000, MIN_REP_SET, dict( +label = _("Minimum reputation to convert answers to questions"), +help_text = _("The minimum reputation an user must have to be allowed to convert an answer into a question."))) + REP_TO_VIEW_FLAGS = Setting('REP_TO_VIEW_FLAGS', 2000, MIN_REP_SET, dict( label = _("Minimum reputation to view offensive flags"), help_text = _("The minimum reputation an user must have to view offensive flags."))) @@ -75,4 +87,4 @@ help_text = _("The minimum reputation an user must have to view offensive flags. #label = _("Minimum reputation to disable nofollow"), #help_text = _(""" #The minimum reputation an user must have to be allowed to disable the nofollow attribute of a post link. -#"""))) \ No newline at end of file +#""")))