discourse/plugins/chat/spec/lib/chat
Martin Brennan b1978e7ad8
DEV: Add last_message_id to channel and thread (#22488)
Initial migration and changes to models as well as
changing the following services to update last_message_id:

* Chat::MessageCreator
* Chat::RestoreMessage
* Chat::TrashMessage

The data migration will set the `last_message_id` for all existing
threads and channels in the database.

When we query the thread list as well as the channel,
we look at the last message ID for the following:

* Channel - Sorting DM channels, and channel metadata for the list of channels
* Thread - Last reply details for thread indicators and thread list
2023-07-13 10:28:11 +10:00
..
types DEV: Introduce an array type for Chat contracts (#22278) 2023-06-27 10:51:58 +10:00
channel_archive_service_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
channel_fetcher_spec.rb DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
channel_hashtag_data_source_spec.rb FIX: Do not cook icon with hashtags (#21676) 2023-05-23 09:33:55 +02:00
channel_membership_manager_spec.rb
duplicate_message_validator_spec.rb
guardian_extensions_spec.rb
message_bookmarkable_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
message_mover_spec.rb FEATURE: Reintroduce better thread reply counter cache (#21197) 2023-04-24 09:32:04 +10:00
message_processor_spec.rb
message_reactor_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
messages_exporter_spec.rb DEV: make sure we don't load all data into memory when exporting chat messages (#22276) 2023-07-12 18:52:18 +04:00
notifier_spec.rb DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
parsed_mentions_spec.rb DEV: Create a chat_mention record when self mentioning (#21438) 2023-05-11 19:30:26 +04:00
post_notification_handler_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
review_queue_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
slack_compatibility_spec.rb
statistics_spec.rb
steps_inspector_spec.rb DEV: Add policy objects to services 2023-05-25 12:34:00 +02:00
transcript_service_spec.rb