bigbluebutton-Github/bbb-graphql-server
Gustavo Trott a6fc59ba46 Allow to edit and delete chat messages through graphql
It introduces the mutations:
chatEditMessage
chatDeleteMessage

The type chat_message receive two new fields:
updatedAt
deletedAt

A new table chat_message_history was introduced to store the previous version of an edited or deleted message.

When removed the message is not deleted, but the content become null and deletedAt populated. So the idea is to show "This message was removed" in the client.
2024-10-02 15:18:21 -03:00
..
metadata Allow to edit and delete chat messages through graphql 2024-10-02 15:18:21 -03:00
bbb_schema.sql Allow to edit and delete chat messages through graphql 2024-10-02 15:18:21 -03:00
build_hasura.sh Introduces userTyping, user_connectionStatus and other flags to Postgres/Hasura 2023-04-05 13:56:22 -03:00
config.yaml use sed to change config.yaml 2024-05-07 13:35:12 -03:00
deploy.sh netstat is old, not used anymore. ss is the natural replacement. Very similar syntax 2024-09-10 15:24:32 -03:00
README.md Set a different password for Hasura admin 2024-05-07 11:39:34 -03:00

Install

Run the script to install all dependencies:

cd ~/src/bbb-graphql-server
sudo ./install-hasura.sh

Update libs

cd ~/src/bbb-common-message; 
./deploy.sh; 
cd ~/src/akka-bbb-apps; 
sbt update; 
cd ~/src/bbb-common-web; 
./deploy.sh; 
cd ~/src/bigbluebutton-web/; 
./build.sh; 

Run Akka from source

cd ~/src/akka-bbb-apps/; 
./run-dev.sh

Run BBB-web from source

cd ~/src/bigbluebutton-web/; 
./run-dev.sh;

Run Html5 from source

cd ~/src/bigbluebutton-html5/;
./run-dev.sh;

Hasura Console

http://bbb30.bbbvm.imdt.com.br:8085/console

password: bigbluebutton

Client for tests:

cd  ~/src/bbb-graphql-client-test
npm install
npm start

https://bbb30.bbbvm.imdt.com.br/graphql-test

  • Join in a meeting, copy the param ?sessionToken=xxx and append it to the URL above