szurubooru/data/config.ini

111 lines
4.1 KiB
INI
Raw Normal View History

[basic]
serviceName = szurubooru
serviceBaseUrl = http://localhost/
2014-09-10 18:09:10 +02:00
[mail]
2015-06-28 12:24:46 +02:00
smtpHost = localhost
smtpPort = 25
smtpUserName = bot
smtpUserPass = groovy123
smtpFrom = noreply@szurubooru
smtpFromName = szurubooru bot
passwordResetSubject = szurubooru - password reset
2014-09-10 18:09:10 +02:00
passwordResetBodyPath = mail/password-reset.txt
activationSubject = szurubooru - account activation
2014-09-10 18:09:10 +02:00
activationBodyPath = mail/activation.txt
2014-08-30 18:11:04 +02:00
[database]
dsn = mysql:dbname=szuru_dev
user = szuru-dev
password = dog
maxPostSize = 10485760 ;10mb
2014-09-25 19:11:41 +02:00
maxCustomThumbnailSize = 1048576 ;1mb
2014-08-30 18:11:04 +02:00
[database.tests]
dsn = mysql:host=localhost
user = szuru_test
password = cat
2014-08-30 18:11:04 +02:00
[security]
secret = change
2014-08-31 14:07:46 +02:00
minPasswordLength = 5
needEmailActivationToRegister = 1
defaultAccessRank = restrictedUser
forceHttpInPermalinks = 0
2014-08-31 14:07:46 +02:00
2014-09-04 19:57:06 +02:00
[security.privileges]
register = anonymous
listUsers = regularUser, powerUser, moderator, administrator
2014-09-30 22:09:43 +02:00
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
2014-10-14 22:38:02 +02:00
banUsers = moderator, administrator
2014-09-04 19:57:06 +02:00
listPosts = regularUser, powerUser, moderator, administrator
viewPosts = regularUser, powerUser, moderator, administrator
2014-09-07 19:49:11 +02:00
uploadPosts = regularUser, powerUser, moderator, administrator
2014-09-15 11:38:24 +02:00
uploadPostsAnonymously = regularUser, powerUser, moderator, administrator
2014-09-23 20:18:12 +02:00
deletePosts = moderator, administrator
2014-09-24 23:24:51 +02:00
featurePosts = moderator, administrator
2014-09-25 19:11:41 +02:00
changePostSafety = powerUser, moderator, administrator
changePostSource = regularUser, powerUser, moderator, administrator
changePostTags = regularUser, powerUser, moderator, administrator
changePostContent = regularUser, powerUser, moderator, administrator
2014-09-25 23:53:47 +02:00
changePostThumbnail = powerUser, moderator, administrator
changePostRelations = regularUser, powerUser, moderator, administrator
2014-10-09 09:45:06 +02:00
changePostFlags = regularUser, powerUser, moderator, administrator
2014-09-07 19:49:11 +02:00
2014-10-25 23:04:43 +02:00
addPostNotes = powerUser, moderator, administrator
editPostNotes = powerUser, moderator, administrator
deletePostNotes = powerUser, moderator, administrator
listTags = regularUser, powerUser, moderator, administrator
2014-10-09 23:46:32 +02:00
massTag = powerUser, moderator, administrator
2014-10-10 09:53:05 +02:00
changeTagName = moderator, administrator
2014-10-19 13:05:21 +02:00
changeTagCategory = moderator, administrator
changeTagImplications = moderator, administrator
changeTagSuggestions = moderator, administrator
2014-10-14 22:56:15 +02:00
banTags = moderator, administrator
2014-11-04 19:26:27 +01:00
deleteTags = moderator, administrator
2014-11-10 11:56:30 +01:00
mergeTags = moderator, administrator
2014-09-07 19:49:11 +02:00
listComments = regularUser, powerUser, moderator, administrator
2014-10-04 13:56:38 +02:00
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
2014-09-26 20:41:28 +02:00
2014-08-31 14:07:46 +02:00
[users]
minUserNameLength = 1
maxUserNameLength = 32
usersPerPage = 20
2014-09-17 18:34:57 +02:00
[posts]
postsPerPage = 40
2014-10-19 13:05:21 +02:00
[tags]
categories[] = meta
categories[] = artist
categories[] = character
categories[] = copyright
[misc]
thumbnailCropStyle = outside
2014-10-04 22:33:20 +02:00
customFaviconUrl = /favicon.png
dumpSqlIntoQueries = 0