v2.0.0
This commit is contained in:
+53
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"chat": {
|
||||
"max_message_length": 500,
|
||||
"max_username_length": 12,
|
||||
"poll_interval_ms": 2000,
|
||||
"messages_per_page": 100,
|
||||
"session_lock_ip": true,
|
||||
"session_lock_cookie": true,
|
||||
"allow_guest": false
|
||||
},
|
||||
"archive": {
|
||||
"enabled": true,
|
||||
"archive_dir": "archive",
|
||||
"format": "sqlite"
|
||||
},
|
||||
"voice": {
|
||||
"enabled": true,
|
||||
"max_duration_seconds": 60,
|
||||
"max_upload_bytes": 12582912,
|
||||
"auto_play_default": true,
|
||||
"upload_dir": "uploads/voice"
|
||||
},
|
||||
"database": {
|
||||
"main_db": "db/chat.sqlite",
|
||||
"archive_path": "archive/{year}/{month}/{day}.sqlite"
|
||||
},
|
||||
"ui": {
|
||||
"default_theme": "dark",
|
||||
"allow_theme_toggle": true,
|
||||
"app_title": "Chat : )",
|
||||
"app_subtitle": "Be kind."
|
||||
},
|
||||
"security": {
|
||||
"min_password_length": 4,
|
||||
"max_login_attempts": 10,
|
||||
"session_timeout_hours": 24,
|
||||
"bcrypt_cost": 10
|
||||
},
|
||||
"colors": {
|
||||
"user_palette": [
|
||||
"#00ff9f",
|
||||
"#00b8ff",
|
||||
"#ff2d78",
|
||||
"#ff9f00",
|
||||
"#ff3c3c",
|
||||
"#bf5fff",
|
||||
"#00ffff",
|
||||
"#ffff00",
|
||||
"#ff6b35",
|
||||
"#39ff14"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user