Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3b19342e
Commit
3b19342e
authored
Mar 22, 2012
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update settings2's askbot to reflect new karma limits
parent
dff3ed63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
13 deletions
+20
-13
settings2/askbotsettings.py
+20
-13
No files found.
settings2/askbotsettings.py
View file @
3b19342e
# askbot livesettings
"""
There are other askbot settings in common.py that covers things like where the
templates are located, etc. This file is purely for askbot forum *behavior*.
This means things like karma limits, the ability to post questions as wikis,
anonymous questions, etc.
"""
LIVESETTINGS_OPTIONS
=
{
1
:
{
'DB'
:
False
,
...
...
@@ -88,9 +94,9 @@ LIVESETTINGS_OPTIONS = {
'MIN_TITLE_LENGTH'
:
1
,
'MIN_QUESTION_BODY_LENGTH'
:
1
,
'MIN_ANSWER_BODY_LENGTH'
:
1
,
'WIKI_ON'
:
Tru
e
,
'WIKI_ON'
:
Fals
e
,
'ALLOW_ASK_ANONYMOUSLY'
:
True
,
'ALLOW_POSTING_BEFORE_LOGGING_IN'
:
Tru
e
,
'ALLOW_POSTING_BEFORE_LOGGING_IN'
:
Fals
e
,
'ALLOW_SWAPPING_QUESTION_WITH_ANSWER'
:
False
,
'MAX_TAG_LENGTH'
:
20
,
'MIN_TITLE_LENGTH'
:
1
,
...
...
@@ -181,21 +187,21 @@ LIVESETTINGS_OPTIONS = {
'MIN_REP'
:
{
'MIN_REP_TO_ACCEPT_OWN_ANSWER'
:
1
,
'MIN_REP_TO_ANSWER_OWN_QUESTION'
:
1
,
'MIN_REP_TO_CLOSE_OTHERS_QUESTIONS'
:
100
,
'MIN_REP_TO_CLOSE_OTHERS_QUESTIONS'
:
1
2
00
,
'MIN_REP_TO_CLOSE_OWN_QUESTIONS'
:
1
,
'MIN_REP_TO_DELETE_OTHERS_COMMENTS'
:
2
000
,
'MIN_REP_TO_DELETE_OTHERS_POSTS'
:
5
000
,
'MIN_REP_TO_EDIT_OTHERS_POSTS'
:
2
000
,
'MIN_REP_TO_EDIT_WIKI'
:
1
,
'MIN_REP_TO_DELETE_OTHERS_COMMENTS'
:
5
000
,
'MIN_REP_TO_DELETE_OTHERS_POSTS'
:
10
000
,
'MIN_REP_TO_EDIT_OTHERS_POSTS'
:
5
000
,
'MIN_REP_TO_EDIT_WIKI'
:
200
,
'MIN_REP_TO_FLAG_OFFENSIVE'
:
1
,
'MIN_REP_TO_HAVE_STRONG_URL'
:
250
,
'MIN_REP_TO_LEAVE_COMMENTS'
:
1
,
'MIN_REP_TO_LOCK_POSTS'
:
4
000
,
'MIN_REP_TO_LOCK_POSTS'
:
10
000
,
'MIN_REP_TO_REOPEN_OWN_QUESTIONS'
:
1
,
'MIN_REP_TO_RETAG_OTHERS_QUESTIONS'
:
1
,
'MIN_REP_TO_RETAG_OTHERS_QUESTIONS'
:
1
00
,
'MIN_REP_TO_UPLOAD_FILES'
:
1
,
'MIN_REP_TO_VIEW_OFFENSIVE_FLAGS'
:
2000
,
'MIN_REP_TO_VOTE_DOWN'
:
1
,
'MIN_REP_TO_VOTE_DOWN'
:
1
5
,
'MIN_REP_TO_VOTE_UP'
:
1
,
},
'QA_SITE_SETTINGS'
:
{
...
...
@@ -275,7 +281,7 @@ LIVESETTINGS_OPTIONS = {
'VOTE_RULES'
:
{
'MAX_VOTES_PER_USER_PER_DAY'
:
30
,
'MAX_FLAGS_PER_USER_PER_DAY'
:
5
,
'MIN_DAYS_FOR_STAFF_TO_ACCEPT_ANSWER'
:
7
,
'MIN_DAYS_FOR_STAFF_TO_ACCEPT_ANSWER'
:
0
,
'MIN_DAYS_TO_ANSWER_OWN_QUESTION'
:
0
,
'MIN_FLAGS_TO_DELETE_POST'
:
5
,
'MIN_FLAGS_TO_HIDE_POST'
:
3
,
...
...
@@ -284,4 +290,4 @@ LIVESETTINGS_OPTIONS = {
},
},
},
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment