szurubooru/tests/config.ini

77 lines
2.1 KiB
INI
Raw Normal View History

2014-05-06 12:01:29 +02:00
[main]
filesPath = "./tests/files/"
thumbnailsPath = "./tests/thumbs/"
2014-05-20 19:46:05 +02:00
avatarsPath = "./tests/avatars/"
logsPath = "./tests/logs/{yyyy}-{mm}.log"
mediaPath = "./public_html/media/"
salt = "salt..."
2014-05-06 12:01:29 +02:00
2014-06-10 12:31:42 +02:00
[appearance]
title = "szurubooru/tests"
2014-05-06 12:01:29 +02:00
[misc]
featuredPostMaxDays=7
debugQueries=0
[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
tagsRelated=15
thumbnailWidth=150
thumbnailHeight=150
thumbnailStyle=outside
2014-05-06 12:01:29 +02:00
endlessScrollingDefault=1
showPostTagTitlesDefault=0
showDislikedPostsDefault=1
maxSearchTokens=4
maxRelatedPosts=50
2014-05-07 21:39:41 +02:00
[tags]
minLength = 1
maxLength = 64
regex = "/^[()\[\]a-zA-Z0-9_.-]+$/i"
2014-05-06 12:01:29 +02:00
[posts]
maxSourceLength = 200
[comments]
minLength = 5
maxLength = 2000
commentsPerPage = 10
maxCommentsInList = 5
2014-05-26 12:30:23 +02:00
[uploads]
logAnonymousUploadsNicknames = 1
allowAnonymousUploads = 1
2014-05-26 12:30:23 +02:00
2014-05-06 12:01:29 +02:00
[registration]
staffActivation = 0
passMinLength = 5
passRegex = "/^.+$/"
userNameMinLength = 3
userNameMaxLength = 20
userNameRegex = "/^[\w_-]+$/ui"
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]