discourse/plugins/chat/app
Andrei Prigorshnev b3a1199493
FEATURE: Hide user status when user is hiding public profile and presence (#24300)
Users can hide their public profile and presence information by checking 
“Hide my public profile and presence features” on the 
`u/{username}/preferences/interface` page. In that case, we also don't 
want to return user status from the server.

This work has been started in https://github.com/discourse/discourse/pull/23946. 
The current PR fixes all the remaining places in Core.

Note that the actual fix is quite simple – a5802f484d. 
But we had a fair amount of duplication in the code responsible for 
the user status serialization, so I had to dry that up first. The refactoring 
as well as adding some additional tests is the main part of this PR.
2024-02-26 17:40:48 +04:00
..
controllers/chat DEV: chat streaming (#25736) 2024-02-20 09:49:19 +01:00
helpers/chat DEV: chat streaming (#25736) 2024-02-20 09:49:19 +01:00
jobs PERF: Avoid loading the whole record when we only need id (#25301) 2024-01-18 08:50:26 +08:00
models DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
policies DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
queries/chat FIX: allows to query a username made of integers (#25815) 2024-02-22 14:53:47 +01:00
serializers/chat FEATURE: Hide user status when user is hiding public profile and presence (#24300) 2024-02-26 17:40:48 +04:00
services DEV: allows stop/resume streaming on a message (#25774) 2024-02-26 14:16:29 +01:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views FIX: correctly uses private_email site setting in chat (#24528) 2023-11-23 15:54:22 +01:00