\r
MIN_REP_SET = SettingSet('minrep', _('Minimum reputation config'), _("Configure the minimum reputation required to perform certain actions on your site."), 300)\r
\r
+CAPTCHA_IF_REP_LESS_THAN = Setting('CAPTCHA_IF_REP_LESS_THAN', 0, MIN_REP_SET, dict(\r
+label = _("Show captcha if user with less reputation than"),\r
+help_text = _("If the user has less reputation, captcha is used to when adding new content.")))\r
+\r
REP_TO_VOTE_UP = Setting('REP_TO_VOTE_UP', 15, MIN_REP_SET, dict(\r
label = _("Minimum reputation to vote up"),\r
help_text = _("The minimum reputation an user must have to be allowed to vote up.")))\r
label = _("Minimum reputation to upload"),\r
help_text = _("The minimum reputation an user must have to be allowed to upload a file.")))\r
\r
+REP_TO_CREATE_TAGS = Setting('REP_TO_CREATE_TAGS', 250, MIN_REP_SET, dict(\r
+label = _("Minimum reputation to create tags"),\r
+help_text = _("The minimum reputation an user must have to be allowed to create new tags.")))\r
+\r
REP_TO_CLOSE_OWN = Setting('REP_TO_CLOSE_OWN', 250, MIN_REP_SET, dict(\r
label = _("Minimum reputation to close own question"),\r
help_text = _("The minimum reputation an user must have to be allowed to close his own question.")))\r
\r
+UNIFY_PERMISSIONS_TO_CLOSE_AND_REOPEN = Setting('UNIFY_PERMISSIONS_TO_CLOSE_AND_REOPEN', True, MIN_REP_SET, dict(\r
+label = _("Unify close and reopen permissions"),\r
+help_text = _("If checked the same permissions as the ones to close question will be required to reopen it."),\r
+required=False))\r
+\r
REP_TO_REOPEN_OWN = Setting('REP_TO_REOPEN_OWN', 500, MIN_REP_SET, dict(\r
label = _("Minimum reputation to reopen own question"),\r
help_text = _("The minimum reputation an user must have to be allowed to reopen his own question.")))\r
label = _("Minimum reputation to edit wiki posts"),\r
help_text = _("The minimum reputation an user must have to be allowed to edit community wiki posts.")))\r
\r
+REP_TO_WIKIFY = Setting('REP_TO_WIKIFY', 2000, MIN_REP_SET, dict(\r
+label = _("Minimum reputation to mark post as community wiki"),\r
+help_text = _("The minimum reputation an user must have to be allowed to mark a post as community wiki.")))\r
+\r
REP_TO_EDIT_OTHERS = Setting('REP_TO_EDIT_OTHERS', 2000, MIN_REP_SET, dict(\r
label = _("Minimum reputation to edit others posts"),\r
help_text = _("The minimum reputation an user must have to be allowed to edit others posts.")))\r
label = _("Minimum reputation to delete comments"),\r
help_text = _("The minimum reputation an user must have to be allowed to delete comments.")))\r
\r
+REP_TO_CONVERT_TO_COMMENT = Setting('REP_TO_CONVERT_TO_COMMENT', 2000, MIN_REP_SET, dict(\r
+label = _("Minimum reputation to convert answers to comment"),\r
+help_text = _("The minimum reputation an user must have to be allowed to convert an answer into a comment.")))\r
+\r
+REP_TO_CONVERT_COMMENTS_TO_ANSWERS = Setting('REP_TO_CONVERT_COMMENTS_TO_ANSWERS', 2000, MIN_REP_SET, dict(\r
+label = _("Minimum reputation to convert comments to answers"),\r
+help_text = _("The minimum reputation an user must have to be allowed to convert comments into an answer.")))\r
+\r
+REP_TO_CONVERT_TO_QUESTION = Setting('REP_TO_CONVERT_TO_QUESTION', 2000, MIN_REP_SET, dict(\r
+label = _("Minimum reputation to convert answers to questions"),\r
+help_text = _("The minimum reputation an user must have to be allowed to convert an answer into a question.")))\r
+\r
REP_TO_VIEW_FLAGS = Setting('REP_TO_VIEW_FLAGS', 2000, MIN_REP_SET, dict(\r
label = _("Minimum reputation to view offensive flags"),\r
help_text = _("The minimum reputation an user must have to view offensive flags.")))\r
#label = _("Minimum reputation to disable nofollow"),\r
#help_text = _("""\r
#The minimum reputation an user must have to be allowed to disable the nofollow attribute of a post link.\r
-#""")))
\ No newline at end of file
+#""")))\r