76 lines
2.1 KiB
INI
76 lines
2.1 KiB
INI
[main]
|
|
filesPath = "./tests/files/"
|
|
thumbnailsPath = "./tests/thumbs/"
|
|
avatarsPath = "./tests/avatars/"
|
|
logsPath = "./tests/logs/{yyyy}-{mm}.log"
|
|
mediaPath = "./public_html/media/"
|
|
salt = "salt..."
|
|
|
|
[appearance]
|
|
title = "szurubooru/tests"
|
|
|
|
[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
|
|
endlessScrollingDefault=1
|
|
showPostTagTitlesDefault=0
|
|
showDislikedPostsDefault=1
|
|
maxSearchTokens=4
|
|
maxRelatedPosts=50
|
|
|
|
[tags]
|
|
minLength = 1
|
|
maxLength = 64
|
|
regex = "/^[()\[\]a-zA-Z0-9_.-]+$/i"
|
|
|
|
[posts]
|
|
maxSourceLength = 200
|
|
|
|
[comments]
|
|
minLength = 5
|
|
maxLength = 2000
|
|
commentsPerPage = 10
|
|
maxCommentsInList = 5
|
|
|
|
[uploads]
|
|
logAnonymousUploadsNicknames = 1
|
|
allowAnonymousUploads = 1
|
|
|
|
[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]
|