2013-10-05 12:55:03 +02:00
[chibi]
prettyPrint = 1
[main]
2013-12-14 11:14:36 +01:00
dbDriver = "sqlite"
dbLocation = "./data/db.sqlite"
dbUser = "test"
dbPass = "test"
2013-11-21 14:23:20 +01:00
filesPath = "./data/files/"
thumbsPath = "./data/thumbs/"
logsPath = "./data/logs/"
mediaPath = "./public_html/media/"
title = "szurubooru"
salt = "1A2/$_4xVa"
2013-11-10 11:18:00 +01:00
[misc]
2013-10-19 13:38:20 +02:00
featuredPostMaxDays = 7
2013-10-19 12:53:49 +02:00
debugQueries = 0
2013-11-21 15:34:11 +01:00
logAnonymousUploads = 1
2013-10-05 12:55:03 +02:00
2013-11-21 15:16:27 +01:00
[help]
title = Help
2013-12-05 23:17:01 +01:00
subTitles[help] = General help
2013-11-21 15:16:27 +01:00
subTitles[rules] = Rules
subTitles[privacy] = Privacy policy
paths[help] = ./data/help.md
paths[rules] = ./data/rules.md
paths[privacy] = ./data/privacy.md
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
2013-10-20 19:51:49 +02:00
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-11-25 12:07:50 +01:00
showPostTagTitlesDefault = 0
2013-12-05 22:19:21 +01:00
showDislikedPostsDefault = 1
2013-10-13 13:17:23 +02:00
maxSearchTokens = 4
2013-10-30 20:20:01 +01:00
maxRelatedPosts = 50
2013-10-08 23:02:31 +02:00
2013-10-17 22:57:32 +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
2013-10-19 20:51:32 +02:00
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
2013-10-16 19:56:02 +02:00
confirmationEmailEnabled = 1
2013-11-16 19:24:33 +01:00
confirmationEmailSenderName = "{host} mailing system"
2013-10-16 19:56:02 +02:00
confirmationEmailSenderEmail = "noreply@{host}"
2013-11-16 19:24:33 +01:00
confirmationEmailSubject = "{host} - account activation"
2013-10-16 19:56:02 +02:00
confirmationEmailBody = "Hello,
2013-10-05 12:55:03 +02:00
2013-11-16 19:24:33 +01:00
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.
2013-10-05 12:55:03 +02:00
Kind regards,
2013-11-16 19:24:33 +01:00
{host} mailing system"
passwordResetEmailSenderName = "{host} mailing system"
passwordResetEmailSenderEmail = "noreply@{host}"
passwordResetEmailSubject = "{host} - password reset"
passwordResetEmailBody = "Hello,
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.
Kind regards,
{host} mailing system"
2013-10-06 13:21:16 +02:00
[privileges]
uploadPost = registered
2013-10-07 20:44:14 +02:00
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
2013-10-19 20:58:51 +02:00
editPostTags = registered
editPostThumb = moderator
editPostSource = moderator
2013-10-30 20:20:01 +01:00
editPostRelations.own = registered
editPostRelations.all = moderator
2013-11-22 21:20:56 +01:00
editPostFile.all = moderator
editPostFile.own = 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-11-10 12:23:59 +01:00
scorePost = registered
2013-11-17 14:52:46 +01:00
flagPost = registered
2013-10-15 00:41:04 +02:00
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
2013-10-15 00:41:04 +02:00
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
2013-10-15 00:41:04 +02:00
acceptUserRegistration = moderator
2013-10-15 13:14:48 +02:00
banUser.own = nobody
banUser.all = admin
deleteUser.own = registered
deleteUser.all = nobody
2013-11-17 14:52:46 +01:00
flagUser = registered
2013-10-15 00:41:04 +02:00
2013-10-12 20:00:30 +02:00
listComments = anonymous
2013-10-17 22:57:32 +02:00
addComment = registered
2013-10-19 20:13:46 +02:00
deleteComment.own = registered
2013-10-17 23:37:41 +02:00
deleteComment.all = moderator
2013-10-17 22:57:32 +02:00
2013-10-09 17:50:07 +02:00
listTags = anonymous
2013-10-20 00:31:22 +02:00
mergeTags = moderator
renameTags = moderator
2013-10-29 09:04:42 +01:00
massTag = moderator
2013-11-17 14:39:50 +01:00
listLogs = moderator
viewLog = moderator