Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (46 sloc) 1.111 kb
5786d03 @antirez uesr profile
antirez authored
1 # General
bb513bb @antirez Initial application layout
antirez authored
2 SiteName = "Lamer News"
041dee3 @antirez It is now possible to post links using a bookmarlet
antirez authored
3 SiteUrl = "http://lamernews.com"
5786d03 @antirez uesr profile
antirez authored
4
5 # Redis config
bb513bb @antirez Initial application layout
antirez authored
6 RedisHost = "127.0.0.1"
e1a7154 @antirez default config modified to use Redis port 10000
antirez authored
7 RedisPort = 10000
5786d03 @antirez uesr profile
antirez authored
8
9 # Security
a4cc109 @antirez PBKDF2 now defaults to 1000 iterations for reasonable performances. It's...
antirez authored
10 PBKDF2Iterations = 1000 # Set this to 5000 to improve security. But it is slow.
d86feea @antirez OpenSSL support off by default
antirez authored
11 UseOpenSSL = false
2ca3583 @antirez Required password length is no enforced and configurable.
antirez authored
12 PasswordMinLength = 8
5786d03 @antirez uesr profile
antirez authored
13
14 # Comments
910ed1e @antirez news submission work in progress
antirez authored
15 CommentMaxLength = 4096
843e6e3 @antirez comment system sucks less now.
antirez authored
16 CommentEditTime = 3600*2
79a9f4b @antirez indend replies a bit more to improve usability.
antirez authored
17 CommentReplyShift = 60
fb40fef @antirez user comments page
antirez authored
18 UserCommentsPerPage = 10
0261ac4 @antirez /replies implemented
antirez authored
19 SubthreadsInRepliesPage = 10
5786d03 @antirez uesr profile
antirez authored
20
31737c3 @antirez ability to subtract / transfer karma when user performs actions in the s...
antirez authored
21 # Karma
cb1efa3 @antirez Fixed user creation
antirez authored
22 UserInitialKarma = 1
31737c3 @antirez ability to subtract / transfer karma when user performs actions in the s...
antirez authored
23 KarmaIncrementInterval = 3600
5786d03 @antirez uesr profile
antirez authored
24 KarmaIncrementAmount = 1
31737c3 @antirez ability to subtract / transfer karma when user performs actions in the s...
antirez authored
25 NewsDownvoteMinKarma = 30
26 NewsDownvoteKarmaCost = 6
27 NewsUpvoteMinKarma = 0
28 NewsUpvoteKarmaCost = 1
29 NewsUpvoteKarmaTransfered = 1
30 KarmaIncrementComment = 1
31
e0d1817 @seppo0010 Add KeyboardNavigation configuration to enable/disable keyboard shortcut
seppo0010 authored
32 # UI Elements
33 KeyboardNavigation = 1
34
31737c3 @antirez ability to subtract / transfer karma when user performs actions in the s...
antirez authored
35 # User
843e6e3 @antirez comment system sucks less now.
antirez authored
36 DeletedUser = {"username" => "deleted_user", "email" => "", "id" => -1}
5786d03 @antirez uesr profile
antirez authored
37
38 # News and ranking
bfb5083 @antirez ranking algo modified
antirez authored
39 NewsAgePadding = 60*60*8
5786d03 @antirez uesr profile
antirez authored
40 TopNewsPerPage = 30
41 LatestNewsPerPage = 100
843e6e3 @antirez comment system sucks less now.
antirez authored
42 NewsEditTime = 60*15
3a0fef5 @antirez score computation modified to give less value to total number of votes
antirez authored
43 NewsScoreLogStart = 10
44 NewsScoreLogBooster = 2
0948785 @antirez more weight to time in rank computation
antirez authored
45 RankAgingFactor = 2.2
5786d03 @antirez uesr profile
antirez authored
46 PreventRepostTime = 3600*48
5a702b7 @koudelka Require a minimal delay between same user submissions, default is 15 min...
koudelka authored
47 NewsSubmissionBreak = 60*15
973e1cf @antirez pagination implemented in news_list_to_html function. User saved stories...
antirez authored
48 SavedNewsPerPage = 10
9a92ffe @antirez Footer links bar
antirez authored
49
50 # Footer links
51 FooterTwitterLink = false
52 FooterGoogleGroupLink = false
224470f @antirez getnews API call
antirez authored
53
54 # API
55 APIMaxNewsCount = 32
Something went wrong with that request. Please try again.