104 lines
4 KiB
INI
104 lines
4 KiB
INI
[basic]
|
|
serviceName = szurubooru
|
|
serviceBaseUrl = http://localhost/
|
|
|
|
[mail]
|
|
botName = szurubooru bot
|
|
botAddress = noreply@localhost
|
|
passwordResetSubject = szurubooru - password reset
|
|
passwordResetBodyPath = mail/password-reset.txt
|
|
activationSubject = szurubooru - account activation
|
|
activationBodyPath = mail/activation.txt
|
|
|
|
[database]
|
|
dsn = mysql:dbname=szuru_dev
|
|
user = szuru-dev
|
|
password = dog
|
|
maxPostSize = 10485760 ;10mb
|
|
maxCustomThumbnailSize = 1048576 ;1mb
|
|
|
|
[database.tests]
|
|
dsn = mysql:host=localhost
|
|
user = szuru_test
|
|
password = cat
|
|
|
|
[security]
|
|
secret = change
|
|
minPasswordLength = 5
|
|
needEmailActivationToRegister = 1
|
|
defaultAccessRank = restrictedUser
|
|
|
|
[security.privileges]
|
|
register = anonymous
|
|
listUsers = regularUser, powerUser, moderator, administrator
|
|
viewUsers = regularUser, powerUser, moderator, administrator
|
|
deleteOwnAccount = regularUser, powerUser, moderator, administrator
|
|
deleteAllAccounts = administrator
|
|
changeOwnName = regularUser, powerUser, moderator, administrator
|
|
changeOwnAvatarStyle = regularUser, powerUser, moderator, administrator
|
|
changeOwnEmailAddress = regularUser, powerUser, moderator, administrator
|
|
changeOwnName = regularUser, powerUser, moderator, administrator
|
|
changeOwnPassword = regularUser, powerUser, moderator, administrator
|
|
changeAllAvatarStyles = moderator, administrator
|
|
changeAllEmailAddresses = moderator, administrator
|
|
changeAllNames = moderator, administrator
|
|
changeAllPasswords = moderator, administrator
|
|
changeAccessRank = administrator
|
|
viewAllEmailAddresses = moderator, administrator
|
|
viewAllAccessRanks = moderator, administrator
|
|
banUsers = moderator, administrator
|
|
|
|
listPosts = regularUser, powerUser, moderator, administrator
|
|
viewPosts = regularUser, powerUser, moderator, administrator
|
|
uploadPosts = regularUser, powerUser, moderator, administrator
|
|
uploadPostsAnonymously = regularUser, powerUser, moderator, administrator
|
|
deletePosts = moderator, administrator
|
|
featurePosts = moderator, administrator
|
|
changePostSafety = powerUser, moderator, administrator
|
|
changePostSource = regularUser, powerUser, moderator, administrator
|
|
changePostTags = regularUser, powerUser, moderator, administrator
|
|
changePostContent = regularUser, powerUser, moderator, administrator
|
|
changePostThumbnail = powerUser, moderator, administrator
|
|
changePostRelations = regularUser, powerUser, moderator, administrator
|
|
changePostFlags = regularUser, powerUser, moderator, administrator
|
|
|
|
addPostNotes = powerUser, moderator, administrator
|
|
editPostNotes = powerUser, moderator, administrator
|
|
deletePostNotes = powerUser, moderator, administrator
|
|
|
|
listTags = regularUser, powerUser, moderator, administrator
|
|
massTag = powerUser, moderator, administrator
|
|
changeTagName = moderator, administrator
|
|
changeTagCategory = moderator, administrator
|
|
changeTagImplications = moderator, administrator
|
|
changeTagSuggestions = moderator, administrator
|
|
banTags = moderator, administrator
|
|
deleteTags = moderator, administrator
|
|
|
|
listComments = regularUser, powerUser, moderator, administrator
|
|
addComments = regularUser, powerUser, moderator, administrator
|
|
editOwnComments = regularUser, powerUser, moderator, administrator
|
|
editAllComments = moderator, administrator
|
|
deleteOwnComments = regularUser, powerUser, moderator, administrator
|
|
deleteAllComments = moderator, administrator
|
|
|
|
viewHistory = regularUser, powerUser, moderator, administrator
|
|
|
|
[users]
|
|
minUserNameLength = 1
|
|
maxUserNameLength = 32
|
|
usersPerPage = 20
|
|
|
|
[posts]
|
|
postsPerPage = 40
|
|
|
|
[tags]
|
|
categories[] = meta
|
|
categories[] = artist
|
|
categories[] = character
|
|
categories[] = copyright
|
|
|
|
[misc]
|
|
thumbnailCropStyle = outside
|
|
customFaviconUrl = /favicon.png
|
|
dumpSqlIntoQueries = 0
|