discourse/plugins/chat/lib/chat
Joffrey JAFFEUX 41790f7739
DEV: allows stop/resume streaming on a message (#25774)
```ruby
ChatSDK::Message.start_stream(message_id: 1, guardian: guardian)
ChatSDK::Message.stream(raw: "foo", message_id: 1, guardian: guardian)
ChatSDK::Message.stream(raw: "bar", message_id: 1, guardian: guardian)
ChatSDK::Message.stop_stream(message_id: 1, guardian: guardian)
```

Generally speaking only admins or owners of the message can interact with a message.  Also note, Streaming to an existing message with a different user won't change the initial user of the message.
2024-02-26 14:16:29 +01:00
..
types DEV: allows a context when creating a message (#25647) 2024-02-13 11:37:15 +01:00
bookmark_extension.rb DEV: Refactor STI/polymorphic associations in chat (#20789) 2023-04-17 15:41:56 +02:00
category_extension.rb DEV: Refactor STI/polymorphic associations in chat (#20789) 2023-04-17 15:41:56 +02:00
channel_archive_service.rb FEATURE: Add threads support to chat archives (#24325) 2023-11-27 15:47:35 +01:00
channel_fetcher.rb FIX: Look up all channel hashtags (#25617) 2024-02-09 19:59:38 +02:00
channel_hashtag_data_source.rb FEATURE: Async load of category and chat hashtags (#25526) 2024-02-12 12:07:14 +02:00
channel_membership_manager.rb FEATURE: Auto-remove users without permission from channel (#20344) 2023-03-22 10:19:59 +10:00
duplicate_message_validator.rb
engine.rb FEATURE: Add onebox support for chat threads (#23580) 2023-10-25 14:30:39 +02:00
group_extension.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
guardian_extensions.rb DEV: allows stop/resume streaming on a message (#25774) 2024-02-26 14:16:29 +01:00
mailer.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
message_bookmarkable.rb SECURITY: Filter unread bookmark reminders the user cannot see 2023-11-09 13:39:16 +11:00
message_mover.rb DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
message_processor.rb FIX: whitelist uploads before creating thumbnail variants (#25013) 2023-12-22 17:59:53 +08:00
message_rate_limiter.rb
message_reactor.rb
messages_exporter.rb FIX: Chat messages exporter (#25461) 2024-01-30 18:37:11 +04:00
notification_levels.rb FIX: Chat NotificationLevels extension breaking in prod (#21484) 2023-05-10 18:46:06 +02:00
notifier.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
onebox_handler.rb DEV: Revert guardian changes (#24742) 2023-12-06 16:37:32 +10:00
outgoing_web_hook_extension.rb FEATURE: granular webhooks (#23070) 2023-10-09 03:35:31 +00:00
parsed_mentions.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
plugin_instance_extension.rb
post_notification_handler.rb
review_queue.rb FIX: Create a reviewable when flagging a chat message for 'something else' (#23264) 2023-08-25 17:38:27 +08:00
reviewable_extension.rb DEV: Refactor STI/polymorphic associations in chat (#20789) 2023-04-17 15:41:56 +02:00
secure_uploads_compatibility.rb
seeder.rb
slack_compatibility.rb
statistics.rb DEV: Add new chat metrics (#23872) 2024-01-04 16:10:03 +04:00
steps_inspector.rb DEV: Add policy objects to services 2023-05-25 12:34:00 +02:00
transcript_service.rb FIX: Do not display chat replies as threads in transcripts (#24768) 2023-12-15 09:50:43 -03:00
user_email_extension.rb
user_extension.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
user_notifications_extension.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
user_option_extension.rb FEATURE: Add new chat indicator preference for Only Mentions (#23848) 2023-10-27 15:58:19 +08:00