2bac28a553
Following privileges for post actions can now understand different settings for everyone and for uploader: * Scoring posts * Featuring posts * Flagging posts * Favoriting posts Additionally, privilege for flagging users can now understand different settings for everyone and for the user that is currently logged in. In other words: with this update admin can configure privileges so that scoring own posts or flagging oneself will be prohibited, while scoring other people's posts or flagging others will be okay.
129 lines
3.3 KiB
INI
129 lines
3.3 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=moderator
|
|
massTag.own=registered
|
|
massTag.all=power-user
|
|
hidePost=moderator
|
|
deletePost=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
|
|
|
|
listLogs=moderator
|
|
viewLog=moderator
|