discourse/plugins/chat/config/settings.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

148 lines
3.1 KiB
YAML
Raw Permalink Normal View History

chat:
chat_enabled:
default: true
client: true
enable_public_channels:
default: true
client: true
chat_allowed_groups:
type: group_list
list_type: compact
default: "1|2|11" # @admins, @moderators, @trust_level_1
mandatory_values: "1|2" # @admins, @moderators
allow_any: false
refresh: true
chat_threads_enabled:
client: true
default: false
hidden: true
needs_chat_seeded:
default: true
hidden: true
chat_debug_webhook_payloads:
default: false
hidden: true
chat_channel_retention_days:
default: 90
client: true
max: 3652 # 10 years
min: 0
chat_max_direct_message_users:
default: 20
min: 0
max: 100
client: true
chat_dm_retention_days:
default: 0
client: true
max: 3652 # 10 years
min: 0
chat_auto_silence_duration:
default: 30
min: 0
chat_allowed_messages_for_trust_level_0:
default: 20
min: 0
chat_allowed_messages_for_other_trust_levels:
default: 40
min: 0
chat_silence_user_sensitivity:
type: enum
enum: "ReviewableSensitivitySetting"
default: 6
chat_auto_silence_from_flags_duration:
default: 60
min: 0
area: "flags"
chat_allow_archiving_channels:
default: false
client: true
chat_archive_destination_topic_status:
type: enum
default: archived
choices:
- archived
- open
- closed
chat_duplicate_message_sensitivity:
type: float
default: 0.5
min: 0
max: 1
default_emoji_reactions:
type: emoji_list
default: +1|heart|tada
client: true
chat_minimum_message_length:
type: integer
default: 1
min: 1
max: 50
client: true
chat_maximum_message_length:
type: integer
default: 6000
client: true
hidden: true
min: 100
max: 12000
chat_allow_uploads:
default: true
client: true
validator: "Chat::AllowUploadsValidator"
max_chat_auto_joined_users:
min: 0
default: 10000
hidden: true
client: true
direct_message_enabled_groups:
default: "11" # @trust_level_1
type: group_list
allow_any: false
refresh: true
validator: "Chat::DirectMessageEnabledGroupsValidator"
chat_message_flag_allowed_groups:
default: "1|2|11" # @admins, @moderators, @trust_level_1
mandatory_values: "1|2" # @admins, @moderators
type: group_list
allow_any: false
refresh: true
area: "flags"
max_mentions_per_chat_message:
client: true
type: integer
default: 5
max: 10
min: 0
max_chat_draft_length:
default: 50_000
hidden: true
chat_separate_sidebar_mode:
client: true
default: "never"
type: enum
enum: "Chat::SeparateSidebarModeSiteSetting"
chat_editing_grace_period:
client: true
type: integer
default: 30
min: 0
chat_editing_grace_period_max_diff_low_trust:
client: true
type: integer
default: 10
min: 0
chat_editing_grace_period_max_diff_high_trust:
client: true
type: integer
default: 40
min: 0
DEV: rename chat preferred mobile index to chat preferred index (#27953) * DEV: rename chat preferred mobile index to chat preferred index * UX: change routing to be consistent with mobile * DEV: change migration file to use script * UX: show footer only if more than one option is available * UX: Remove desktopView only checks for chat * DEV: Remove unused imports * UX: Update chat footer checks and Add rerouting to chat drawer * UX: Add margin to chat row in desktop and update chat drawer logic * UX: Change chat in desktop to use flexbox * UX: Add drawer actions to chat navbar * DEV: Update page object with new chat css classes removed `.open-browse-page-btn` usage in 7bd65006d760886b261f0587fafe28443bf2d3ec * DEV: rename `browse/open` in chat url to `channels` * UX: Adjust css for when in threads mode * DEV: change css class name in no_sidebar_spec.rb * DEV: rename tests to be more descriptive with the action they are testing update chat template to not rely on `:has` * DEV: update test and add method to chat page object * DEV: update no_sidebar_spec for chat changes * DEV: remove tests from navigation_spec that no longer apply * DEV: revert typo in test * DEV: change url path for mobile chat in test specs * DEV: Add check for when is desktop in rerouting * UX: Removed footer from desktop. Made `hasThreads` and `hasDirectMessages` methods in chat-drawer public * UX: remove sidebar on desktop full page if dm list is empty * DEV: Address review comments * DEV: Adjust reroute logic for chat browse remove unused code * UX: Adjust rerouting to go to browse.open * UX: Change rerouting to be more consistent Add chat_default_channel_id routing * UX: Update rerouting configuration for chat routes * DEV: Update tests with the new chat behavior * DEV: revert changes made in tests and bring back toggle for drawer * DEV: revert classes in page objects * DEV: Add tests to new chat navigation behavior remove unused stylesheets revert deleted lines in tests update concat class logic in chat dm template * DEV: update css on test
2024-07-30 09:25:22 -04:00
chat_preferred_index:
client: true
type: enum
default: channels
choices:
- channels
- direct_messages
- my_threads