szuru/config.ini

100 lines
2.2 KiB
INI
Raw Permalink Normal View History

2013-10-05 12:55:03 +02:00
[chibi]
userCodeDir=./src/
prettyPrint=1
[main]
dbPath=./db.sqlite
2013-10-07 00:44:17 +02:00
filesPath=./files/
2013-10-09 23:46:22 +02:00
thumbsPath=./thumbs/
2013-10-08 23:02:31 +02:00
mediaPath=./public_html/media/
2013-10-05 21:22:28 +02:00
title=szurubooru
2013-10-19 13:38:20 +02:00
featuredPostMaxDays=7
2013-10-19 12:53:49 +02:00
debugQueries=0
2013-10-22 11:40:10 +02:00
salt = "1A2/$_4xVa"
2013-10-05 12:55:03 +02:00
2013-10-08 23:02:31 +02:00
[browsing]
2013-10-16 13:07:01 +02:00
usersPerPage=8
2013-10-08 23:02:31 +02:00
postsPerPage=20
thumbWidth=150
thumbHeight=150
2013-10-08 23:02:31 +02:00
thumbStyle=outside
2013-10-22 00:17:06 +02:00
endlessScrollingDefault=1
2013-10-13 13:17:23 +02:00
maxSearchTokens=4
2013-10-08 23:02:31 +02:00
[comments]
minLength = 5
maxLength = 2000
commentsPerPage = 20
2013-10-05 12:55:03 +02:00
[registration]
2013-10-16 19:38:59 +02:00
staffActivation = 0
2013-10-05 12:55:03 +02:00
passMinLength = 5
passRegex = "/^.+$/"
userNameMinLength = 3
userNameMaxLength = 20
2013-10-05 12:55:03 +02:00
userNameRegex = "/^[\w_-]+$/ui"
2013-10-16 18:07:23 +02:00
needEmailForRegistering = 1
needEmailForCommenting = 0
needEmailForUploading = 1
confirmationEmailEnabled = 1
confirmationEmailSenderName = "{host} registration engine"
confirmationEmailSenderEmail = "noreply@{host}"
confirmationEmailSubject = "{host} activation"
confirmationEmailBody = "Hello,
2013-10-05 12:55:03 +02:00
You received this e-mail because someone registered a user with this address at {host}. If it's you, visit {link} to finish registration process, otherwise you may ignore and delete this e-mail.
2013-10-05 12:55:03 +02:00
Kind regards,
{host} registration engine"
2013-10-06 13:21:16 +02:00
[privileges]
uploadPost=registered
listPosts=anonymous
2013-10-07 23:17:33 +02:00
listPosts.sketchy=registered
listPosts.unsafe=registered
2013-10-13 12:28:16 +02:00
listPosts.hidden=nobody
viewPost=anonymous
viewPost.sketchy=registered
viewPost.unsafe=registered
viewPost.hidden=admin
retrievePost=anonymous
2013-10-12 14:53:47 +02:00
favoritePost=registered
2013-10-13 12:28:16 +02:00
editPostSafety.own=registered
editPostSafety.all=moderator
editPostTags=registered
editPostThumb=moderator
editPostSource=moderator
2013-10-13 12:28:16 +02:00
hidePost.own=moderator
hidePost.all=moderator
deletePost.own=moderator
deletePost.all=moderator
2013-10-19 13:38:20 +02:00
featurePost=moderator
2013-10-14 10:22:53 +02:00
listUsers=registered
viewUser=registered
2013-10-20 19:19:52 +02:00
viewUserEmail.all=admin
viewUserEmail.own=registered
changeUserPassword.own=registered
changeUserPassword.all=admin
changeUserEmail.own=registered
changeUserEmail.all=admin
changeUserAccessRank=admin
changeUserName=moderator
2013-10-25 17:25:05 +02:00
changeUserSettings.all=nobody
changeUserSettings.own=registered
acceptUserRegistration=moderator
banUser.own=nobody
banUser.all=admin
deleteUser.own=registered
deleteUser.all=nobody
2013-10-12 20:00:30 +02:00
listComments=anonymous
addComment=registered
2013-10-19 20:13:46 +02:00
deleteComment.own=registered
2013-10-17 23:37:41 +02:00
deleteComment.all=moderator
listTags=anonymous
2013-10-20 00:31:22 +02:00
mergeTags=moderator
renameTags=moderator