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/lib
Loïc Guitaut 9c482a645c FIX: Allow deletion of categories when chat channel is not present
Currently it’s not possible to delete a category if an associated chat
channel is present even if there are no messages in this channel.
This can lead to annoying situations for our users.

This patch addresses the issue by checking if the channel is empty
instead of just checking if there is a channel.
2022-11-08 10:25:39 +01:00
..
discourse_dev DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
email_controller_helper DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
extensions FIX: Allow deletion of categories when chat channel is not present 2022-11-08 10:25:39 +01:00
onebox/templates DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
tasks DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
validators DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_channel_archive_service.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_channel_fetcher.rb DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
chat_channel_membership_manager.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_mailer.rb DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
chat_message_bookmarkable.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_message_creator.rb DEV: DiscourseEvents for chat messages (#18914) 2022-11-07 19:06:10 +01:00
chat_message_processor.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_message_rate_limiter.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_message_reactor.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_message_updater.rb FIX: Make ChatMessageUpdater check editing access for guardian (#18902) 2022-11-08 09:04:18 +10:00
chat_notifier.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_review_queue.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_seeder.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_statistics.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat_transcript_service.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
direct_message_channel_creator.rb DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
duplicate_message_validator.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
guardian_extensions.rb FIX: Allow deletion of categories when chat channel is not present 2022-11-08 10:25:39 +01:00
message_mover.rb FIX: Make chat editor IDs not null (#18903) 2022-11-08 09:06:13 +10:00
post_notification_handler.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
secure_uploads_compatibility.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
slack_compatibility.rb DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00