discourse/plugins/chat/spec/services/chat
Joffrey JAFFEUX 5fec841c19
FIX: ensures users can open channel invites (#24067)
We were incorrectly generating URLs with message id even when it was not provided, resulting in a route ending with "undefined", which was causing an error.

This commit also uses this opportunity to:
- move `invite_users` into a proper controller inside the API namespace
- refactors the code into a service: `Chat::InviteUsersToChannel`
2023-10-24 18:51:33 +02:00
..
auto_join_channel_batch_spec.rb DEV: fixes flakey spec from auto-join-channel-batch (#23044) 2023-08-09 22:37:28 +02:00
create_category_channel_spec.rb FEATURE: enable_public_channels site setting (#22565) 2023-07-13 10:00:25 +02:00
create_direct_message_channel_spec.rb FEATURE: new jump to channel menu (#22383) 2023-07-05 18:18:27 +02:00
create_message_spec.rb DEV: enforces system user membership (#23771) 2023-10-04 17:03:23 +02:00
create_thread_spec.rb FIX: ensures we reuse existing thread if existing (#23618) 2023-09-26 10:15:16 +02:00
invite_users_to_channel_spec.rb FIX: ensures users can open channel invites (#24067) 2023-10-24 18:51:33 +02:00
list_channel_messages_spec.rb FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00
list_channel_thread_messages_spec.rb FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00
lookup_channel_threads_spec.rb DEV: Refactor chat specs related to message creation 2023-08-31 11:21:23 +02:00
lookup_thread_spec.rb DEV: Remove experimental site setting for chat threads (#22720) 2023-07-26 12:46:23 +02:00
mark_all_user_channels_read_spec.rb DEV: Refactor chat specs related to message creation 2023-08-31 11:21:23 +02:00
message_destroyer_spec.rb DEV: Refactor chat specs related to message creation 2023-08-31 11:21:23 +02:00
publisher_spec.rb SECURITY: Add permissions to MessageBus in chat 2023-10-16 10:34:30 -04:00
restore_message_spec.rb FEATURE: add outgoing web hooks for Chat messages 2023-09-13 17:31:42 -03:00
search_chatable_spec.rb FEATURE: enable_public_channels site setting (#22565) 2023-07-13 10:00:25 +02:00
tracking_state_spec.rb DEV: Remove experimental site setting for chat threads (#22720) 2023-07-26 12:46:23 +02:00
trash_channel_spec.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
trash_message_spec.rb FEATURE: add outgoing web hooks for Chat messages 2023-09-13 17:31:42 -03:00
update_channel_spec.rb FIX: Mark threads read when threading enabled for a channel (#22458) 2023-07-06 16:24:56 +10:00
update_channel_status_spec.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
update_message_spec.rb FEATURE: add grace period for chat edits (#23800) 2023-10-23 16:40:30 +08:00
update_thread_notification_settings_spec.rb DEV: Refactor chat specs related to message creation 2023-08-31 11:21:23 +02:00
update_thread_spec.rb DEV: Remove experimental site setting for chat threads (#22720) 2023-07-26 12:46:23 +02:00
update_user_last_read_spec.rb DEV: check if user can_chat inside the can_join_chat_channel guardian (#21812) 2023-07-19 21:55:00 +04:00
update_user_thread_last_read_spec.rb DEV: check if user can_chat inside the can_join_chat_channel guardian (#21812) 2023-07-19 21:55:00 +04:00