Add new RPC methods and notifications (mostly for scripting interaction) to server and client#3730
Add new RPC methods and notifications (mostly for scripting interaction) to server and client#3730dingodoppelt wants to merge 3 commits into
Conversation
cdf20bb to
663a557
Compare
|
@mcfnord you might be interested in this. |
8b270d7 to
6111ecb
Compare
f301d4e to
9fffbad
Compare
pljones
left a comment
There was a problem hiding this comment.
Needs splitting. The private message feature should be separate.
In addition to
but I don't see why only the private chat message should be handled independently. |
Because the feature is entirely new. |
48202f5 to
130584b
Compare
d3b79d9 to
d628c27
Compare
f7a4b86 to
61e5aa3
Compare
- jamulusclient/setMuted - jamulusserver/broadcastChatMessage - jamulusserver/chatMessageReceived - jamulusserver/clientConnected - jamulusserver/clientDisconnected
61e5aa3 to
a24721e
Compare
| { | ||
| emit ClientDisconnected ( iCurChanID ); // TODO do this outside the mutex lock? | ||
| } | ||
| emit ClientDisconnected ( iCurChanID ); // TODO do this outside the mutex lock? |
There was a problem hiding this comment.
Do you want to say with the comment that you are unsure if there might be concurrency buts?
| /// @param {number} params.id - Channel ID of sending client or -1 for RPC sent messages. | ||
| /// @param {string} params.chatMessage - Chat message text. | ||
| connect ( pServer, &CServer::sentChatMessage, [=] ( const int iSendingChanID, const QString& strChatText ) { | ||
| pRpcServer->BroadcastNotification ( "jamulusserver/chatMessageReceived", |
There was a problem hiding this comment.
We might want to be clear what this enables - privacy wise. Server operators could log chat messages now - and this should be made very clear in the privacy policy.
ann0see
left a comment
There was a problem hiding this comment.
Tested and works ok. Please see my comments.
Short description of changes
Add the following RPC methods and notifications to server and client. These are useful mostly for scripting interaction.
jamulus/getAvailableMethodsjamulusserver/getClientDetailsjamulusserver/privateChatMessageCHANGELOG: Add new RPC methods and notifications (mostly for scripting interaction) to server and client
Context: Fixes an issue?
Relates to #3029 #3447 #2828 #1057 #1371
This is needed for Jamban and others.
Does this change need documentation? What needs to be documented and how?
I guess the automated RPC documentation is sufficient?
Status of this Pull Request
up for discussion
What is missing until this pull request can be merged?
Approval
Checklist