discourse/plugins/chat/spec
Joffrey JAFFEUX dda4bb0f7c
DEV: allows to disable strip_whitespaces in messages (#26848)
The TextCleaner step has been moved from chat message’s validation to create_message/update_message services. It allows us to easily tweak part of its behavior depending on the needs.

For example we will now disable strip_whitespaces by default when streaming messages as we want to keep newlines and spaces at the end of the message.
2024-05-02 11:59:18 +02:00
..
components/chat DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
fabricators DEV: chat streaming (#25736) 2024-02-20 09:49:19 +01:00
integration PERF: Reduce overhead from chat message excerpt (#26712) 2024-04-25 14:29:00 +02:00
jobs DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
lib DEV: allows to disable strip_whitespaces in messages (#26848) 2024-05-02 11:59:18 +02:00
mailers DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
models FEATURE: encourage users to set chat thread titles (#26617) 2024-04-29 17:20:01 +08:00
policies/chat/channel DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
queries/chat DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
requests FEATURE: encourage users to set chat thread titles (#26617) 2024-04-29 17:20:01 +08:00
serializer FIX: add excerpt fallback for chat message replies (#26834) 2024-05-01 16:39:47 +02:00
services DEV: allows to disable strip_whitespaces in messages (#26848) 2024-05-02 11:59:18 +02:00
support DEV: Move chat service objects into core (#26506) 2024-04-04 10:57:41 -03:00
system FIX: ensures last read is updated on new message (#26772) 2024-04-26 18:27:39 +02:00
validators DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
plugin_helper.rb PERF: Reduce overhead from chat message excerpt (#26712) 2024-04-25 14:29:00 +02:00
plugin_spec.rb DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00