szurubooru/data/config.ini

95 lines
3.6 KiB
INI
Raw Normal View History

[basic]
serviceName = szuru2
serviceBaseUrl = http://localhost/
2014-09-10 18:09:10 +02:00
[mail]
botName = szuru2 bot
botAddress = noreply@localhost
passwordResetSubject = szuru2 - password reset
passwordResetBodyPath = mail/password-reset.txt
activationSubject = szuru2 - account activation
activationBodyPath = mail/activation.txt
2014-08-30 18:11:04 +02:00
[database]
2014-09-14 16:16:15 +02:00
dsn = sqlite:db.sqlite
2014-09-28 16:26:44 +02:00
user =
password =
maxPostSize = 10485760 ;10mb
2014-09-25 19:11:41 +02:00
maxCustomThumbnailSize = 1048576 ;1mb
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
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
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-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