This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat/spec/models
Martin Brennan 07cc8c8634
FIX: Do not error if autogenerated channel slug is blank (#19759)
In certain cases, like when `SiteSetting.slug_generation_method`
is set to `none` with certain locales, the autogenerated chat
channel slugs will end up blank. This was causing errors in
unrelated jobs calling `update!` on the channel. Instead, we
should just copy Category behaviour, which does not error
if the autogenerated slug ends up blank. We already allow
for this with chat channel URLs, using `-` in place of the
missing slug.
2023-01-06 09:04:52 +10:00
..
category_channel_spec.rb FIX: Do not error if autogenerated channel slug is blank (#19759) 2023-01-06 09:04:52 +10:00
category_spec.rb FIX: Delete associated channel upon category deletion 2022-11-22 10:04:29 +01:00
chat_channel_spec.rb DEV: Add messages_count to ChatChannel table (#19295) 2022-12-06 08:40:46 +10:00
chat_message_spec.rb DEV: Change HashtagAutocompleteService to use DiscoursePluginRegistry (#19491) 2022-12-19 13:46:17 +10:00
deleted_chat_user_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
direct_message_channel_spec.rb FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00
direct_message_spec.rb DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
reviewable_chat_message_spec.rb FIX: Unsilence users on chat message flag disagree. (#19198) 2022-11-28 11:11:35 -03:00
user_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00