[basic]
serviceName = szuru2
serviceBaseUrl = http://localhost/

[mail]
botName = szuru2 bot
botAddress = noreply@localhost
passwordResetSubject = szuru2 - password reset
passwordResetBodyPath = mail/password-reset.txt
activationSubject = szuru2 - account activation
activationBodyPath = mail/activation.txt

[database]
dsn = sqlite:db.sqlite
user =
password =
maxPostSize = 10485760 ;10mb
maxCustomThumbnailSize = 1048576 ;1mb

[security]
secret = change
minPasswordLength = 5
needEmailActivationToRegister = 1

[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
ban                     = moderator, administrator

listPosts               = anonymous, regularUser, powerUser, moderator, administrator
viewPosts               = anonymous, 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

listTags                = anonymous, regularUser, powerUser, moderator, administrator

viewHistory             = anonymous, regularUser, powerUser, moderator, administrator

[users]
minUserNameLength = 1
maxUserNameLength = 32
usersPerPage = 20

[posts]
postsPerPage = 40

[misc]
thumbnailCropStyle = outside
