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
Martin Brennan 3fdb8ffb57
FEATURE: Allow showing hashtag autocomplete results without term (#19219)
This commit allows us to type # in the UI and present autocomplete
results immediately with the following logic for the topic composer,
and reversed for the chat composer:

* Categories the user can access and has not muted sorted by `topic_count`
* Tags the user can access and has not muted sorted by `topic_count`
* Chat channels the user is a member of sorted by `messages_count`

So in effect, we allow searching for hashtags without a search term.
To do this we add a new `search_without_term` to each data source so
each one can define how it wants to handle this logic.
2022-12-08 13:47:59 +10: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 REFACTOR: Make chat summary email notifications easier to translate (#19354) 2022-12-07 15:45:02 +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 FIX: Minor hashtag autocomplete fixes (#19173) 2022-11-24 15:45:13 +11:00
chat_channel_hashtag_data_source.rb FEATURE: Allow showing hashtag autocomplete results without term (#19219) 2022-12-08 13:47:59 +10: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 FIX: Deliver chat summaries when allowed groups include "everyone" (#18955) 2022-11-09 10:54:47 -03: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 FIX: webhook should touch channel’s last_message_sent_at (#19342) 2022-12-06 19:33:39 +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 FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -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 FEATURE: introduces chat_max_direct_message_users setting (#18997) 2022-11-15 10:40:28 +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 FEATURE: Allow staff to flag chat messages (#18919) 2022-11-22 12:14:15 -03: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