mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Add config_panel.toml
This commit is contained in:
parent
40ec043789
commit
057bd4b421
2 changed files with 76 additions and 2 deletions
|
@ -277,8 +277,8 @@ MAX_POLL_OPTION_CHARS=100
|
|||
# Maximum image and video/audio upload sizes
|
||||
# Units are in bytes
|
||||
# 1048576 bytes equals 1 megabyte
|
||||
# MAX_IMAGE_SIZE=8388608
|
||||
# MAX_VIDEO_SIZE=41943040
|
||||
MAX_IMAGE_SIZE=8388608
|
||||
MAX_VIDEO_SIZE=41943040
|
||||
|
||||
# Maximum search results to display
|
||||
# Only relevant when elasticsearch is installed
|
||||
|
|
74
config_panel.toml
Normal file
74
config_panel.toml
Normal file
|
@ -0,0 +1,74 @@
|
|||
version = "1.0"
|
||||
|
||||
[main]
|
||||
name.en = "Main configuration"
|
||||
services = ["__APP__-web", "__APP__-sidekiq", "__APP__-streaming"]
|
||||
|
||||
[main.customization]
|
||||
name.en = "Customization"
|
||||
|
||||
[main.customization.max_toot_chars]
|
||||
ask.en = "Maximum allowed character count in a toot"
|
||||
type = "number"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
example = 500
|
||||
|
||||
[main.customization.max_pinned_toots]
|
||||
ask = "Maximum number of pinned posts"
|
||||
type = "number"
|
||||
example = "5"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
|
||||
[main.customization.max_bio_chars]
|
||||
ask = "Maximum allowed bio characters"
|
||||
type = "number"
|
||||
accept = "500"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
|
||||
[main.customization.max_profile_fields]
|
||||
ask = "Maximim number of profile fields allowed"
|
||||
type = "number"
|
||||
accept = "4"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
|
||||
[main.customization.max_display_name_chars]
|
||||
ask = "Maximum allowed bio characters"
|
||||
type = "number"
|
||||
accept = "30"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
|
||||
[main.customization.max_poll_options]
|
||||
ask = "Maximum allowed poll options"
|
||||
type = "number"
|
||||
accept = "5"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
|
||||
[main.customization.max_poll_option_chars]
|
||||
ask = "Maximum allowed poll option characters"
|
||||
type = "number"
|
||||
accept = "100"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
|
||||
[main.customization.max_image_size]
|
||||
ask = "Maximum image upload size, in bytes"
|
||||
type = "number"
|
||||
accept = "8388608"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
|
||||
[main.customization.max_video_size]
|
||||
ask = "Maximum video and audio upload sizes, in bytes"
|
||||
type = "number"
|
||||
accept = "41943040"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
|
||||
[main.customization.max_emoji_size]
|
||||
ask = "Maximum custom emoji file sizes"
|
||||
type = "number"
|
||||
accept = "51200"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
||||
|
||||
[main.customization.max_remote_emoji_size]
|
||||
ask = "Maximum remote custom emoji file sizes"
|
||||
type = "number"
|
||||
accept = "204800"
|
||||
bind = ":/var/www/__APP__/.env.production"
|
Loading…
Add table
Reference in a new issue