131 lines
3.4 KiB
INI
131 lines
3.4 KiB
INI
[chibi]
|
|
prettyPrint=1
|
|
|
|
[main]
|
|
dbDriver = "sqlite"
|
|
dbLocation = "./data/db.sqlite"
|
|
dbUser = "test"
|
|
dbPass = "test"
|
|
filesPath = "./data/files/"
|
|
thumbsPath = "./data/thumbs/"
|
|
logsPath = "./data/logs/"
|
|
mediaPath = "./public_html/media/"
|
|
title = "szurubooru"
|
|
salt = "1A2/$_4xVa"
|
|
|
|
[misc]
|
|
featuredPostMaxDays=7
|
|
debugQueries=0
|
|
logAnonymousUploads=1
|
|
|
|
[help]
|
|
title=Help
|
|
subTitles[help]=General help
|
|
subTitles[rules]=Rules
|
|
subTitles[privacy]=Privacy policy
|
|
paths[help]=./data/help.md
|
|
paths[rules]=./data/rules.md
|
|
paths[privacy]=./data/privacy.md
|
|
|
|
[browsing]
|
|
usersPerPage=8
|
|
postsPerPage=20
|
|
logsPerPage=250
|
|
tagsPerPage=100
|
|
thumbWidth=150
|
|
thumbHeight=150
|
|
thumbStyle=outside
|
|
endlessScrollingDefault=1
|
|
showPostTagTitlesDefault=0
|
|
showDislikedPostsDefault=1
|
|
maxSearchTokens=4
|
|
maxRelatedPosts=50
|
|
|
|
[comments]
|
|
minLength = 5
|
|
maxLength = 2000
|
|
commentsPerPage = 20
|
|
|
|
[registration]
|
|
staffActivation = 0
|
|
passMinLength = 5
|
|
passRegex = "/^.+$/"
|
|
userNameMinLength = 3
|
|
userNameMaxLength = 20
|
|
userNameRegex = "/^[\w_-]+$/ui"
|
|
|
|
needEmailForRegistering = 1
|
|
needEmailForCommenting = 0
|
|
needEmailForUploading = 1
|
|
confirmationEmailEnabled = 1
|
|
confirmationEmailSenderName = "{host} mailing system"
|
|
confirmationEmailSenderEmail = "noreply@{host}"
|
|
confirmationEmailSubject = "{host} - account activation"
|
|
confirmationEmailBody = "Hello,{nl}{nl}You received this e-mail because someone registered a user with this e-mail address at {host}. If it's you, visit {link} to finish registration process, otherwise you may ignore and delete this e-mail.{nl}{nl}Kind regards,{nl}{host} mailing system"
|
|
passwordResetEmailSenderName = "{host} mailing system"
|
|
passwordResetEmailSenderEmail = "noreply@{host}"
|
|
passwordResetEmailSubject = "{host} - password reset"
|
|
passwordResetEmailBody = "Hello,{nl}{nl}You received this e-mail because someone requested a password reset for user with this e-mail address at {host}. If it's you, visit {link} to finish password reset process, otherwise you may ignore and delete this e-mail.{nl}{nl}Kind regards,{nl}{host} mailing system"
|
|
|
|
[privileges]
|
|
uploadPost=registered
|
|
listPosts=anonymous
|
|
listPosts.sketchy=registered
|
|
listPosts.unsafe=registered
|
|
listPosts.hidden=admin
|
|
viewPost=anonymous
|
|
viewPost.sketchy=registered
|
|
viewPost.unsafe=registered
|
|
viewPost.hidden=admin
|
|
retrievePost=anonymous
|
|
favoritePost=registered
|
|
editPostSafety.own=registered
|
|
editPostSafety.all=moderator
|
|
editPostTags=registered
|
|
editPostThumb=moderator
|
|
editPostSource=moderator
|
|
editPostRelations.own=registered
|
|
editPostRelations.all=moderator
|
|
editPostFile.all=moderator
|
|
editPostFile.own=moderator
|
|
hidePost.own=moderator
|
|
hidePost.all=moderator
|
|
deletePost.own=moderator
|
|
deletePost.all=moderator
|
|
featurePost=moderator
|
|
scorePost=registered
|
|
flagPost=registered
|
|
|
|
listUsers=registered
|
|
viewUser=registered
|
|
viewUserEmail.all=admin
|
|
viewUserEmail.own=registered
|
|
changeUserPassword.own=registered
|
|
changeUserPassword.all=admin
|
|
changeUserEmail.own=registered
|
|
changeUserEmail.all=admin
|
|
changeUserAccessRank=admin
|
|
changeUserName=moderator
|
|
changeUserSettings.all=nobody
|
|
changeUserSettings.own=registered
|
|
acceptUserRegistration=moderator
|
|
banUser.own=nobody
|
|
banUser.all=admin
|
|
deleteUser.own=registered
|
|
deleteUser.all=nobody
|
|
flagUser=registered
|
|
|
|
listComments=anonymous
|
|
addComment=registered
|
|
deleteComment.own=registered
|
|
deleteComment.all=moderator
|
|
editComment.own=registered
|
|
editComment.all=admin
|
|
|
|
listTags=anonymous
|
|
mergeTags=moderator
|
|
renameTags=moderator
|
|
massTag=moderator
|
|
|
|
listLogs=moderator
|
|
viewLog=moderator
|