discourse/plugins/chat/spec
Joffrey JAFFEUX 0260415664
FIX: correctly handle notifications for channels (#27178)
Prior to this fix we had too logic to detect if a user is active or not:

- idle codepath on the frontend
- online user ids on the backend

The frontend solution is not very reliable, and both solution are just trying to be too smart. Making a lot of people questioning why they receive a notification sometimes and sometimes not. This commit removes all this logic and replaces it with a much more simpler logic:

- you can't receive notifications for channel you are actually watching
- we won't play a sound more than once every 3seconds
2024-05-24 19:59:24 +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 FIX: correctly handle notifications for channels (#27178) 2024-05-24 19:59:24 +02:00
lib DEV: Use site setting mandatory_values for chat allowed groups (#26994) 2024-05-13 14:38:26 +10:00
mailers DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
models FIX: correct in_thread? message logic (#27151) 2024-05-23 11:08:55 +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: load existing chat dm channel via url (#26998) 2024-05-24 12:12:49 +04:00
serializer DEV: bots are always allowed to chat (#26948) 2024-05-09 12:05:31 +02:00
services DEV: move post flags into database (#27125) 2024-05-23 12:19:07 +10:00
support DEV: Move chat service objects into core (#26506) 2024-04-04 10:57:41 -03:00
system FIX: load existing chat dm channel via url (#26998) 2024-05-24 12:12:49 +04: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