discourse/plugins/chat/spec
Joffrey JAFFEUX 26c8eab1f3
FIX: allows bots to create/update/stream messages (#26900)
Prior to this commit, only system users had this pass.

Another significant change of the PR, is to make membership of a channel the angular stone of the permission check to create/update/stop streaming a message. The idea being, if you are a member of a channel already we don't need to check if you can join it AGAIN.

We also have `Chat::AutoRemove::HandleCategoryUpdated` which will deal with permissions change so it's simpler and less prone to error to consider the membership as the only source of truth.
2024-05-07 15:17:42 +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 FIX: allows bots to create/update/stream messages (#26900) 2024-05-07 15:17:42 +02:00
mailers DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
models FIX: allows bots to create/update/stream messages (#26900) 2024-05-07 15:17:42 +02:00
policies/chat/channel DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
queries/chat DEV: adds first_messages/last_messages to thread SDK (#26861) 2024-05-03 17:30:39 +02:00
requests FIX: allows bots to create/update/stream messages (#26900) 2024-05-07 15:17:42 +02:00
serializer FIX: add excerpt fallback for chat message replies (#26834) 2024-05-01 16:39:47 +02:00
services FIX: allows bots to create/update/stream messages (#26900) 2024-05-07 15:17:42 +02:00
support DEV: Move chat service objects into core (#26506) 2024-04-04 10:57:41 -03:00
system FIX: correctly pass topic/posts context (#26882) 2024-05-06 15:33:00 +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