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/lib
Martin Brennan 3ee4b59c64
DEV: Use guardian user for can_chat? (#19418)
Instead of passing `user` to `guardian.can_chat?`, we
can just use the inner `@user` that is part of the guardian
instance already to determine whether that user can chat,
since this is how it works for all other usages of guardian
even within chat.
2022-12-13 09:14:17 +10:00
..
chat_channel_archive_service_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_channel_fetcher_spec.rb FEATURE: Generic hashtag autocomplete lookup and markdown cooking (#18937) 2022-11-21 08:37:06 +10:00
chat_channel_hashtag_data_source_spec.rb FIX: Do not return channels for hashtags if user cannot chat (#19417) 2022-12-12 12:24:41 +10:00
chat_channel_membership_manager_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_message_bookmarkable_spec.rb DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
chat_message_reactor_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_notifier_spec.rb FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
chat_review_queue_spec.rb FIX: Add editing user ids to ChatMessage and ChatMessageRevision (#18877) 2022-11-07 09:04:47 +10:00
chat_statistics_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_transcript_service_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
direct_message_channel_creator_spec.rb FEATURE: introduces chat_max_direct_message_users setting (#18997) 2022-11-15 10:40:28 +01:00
duplicate_message_validator_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
guardian_extensions_spec.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
message_mover_spec.rb DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
post_notification_handler_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
slack_compatibility_spec.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00