stable

Clone or download

Read-only

Code Node.js server to broadcast message to others client.

Part of: story #8793 broadcast users actions on Kanban Tuleap server sends notifications to Node.js server with permissions. Then Node.js only notify participants of room respecting user permissions. To permit communication between Tuleap server and Node.js server you need to set the same private key on 'config.json' (Node.js), 'local.inc' (Tuleap) and set the Node.js ip address on 'local.inc'. To test the server Node.js: you can start Jasmine with the terminal command: jasmine Change-Id: I446e637fedb889a274436004b59cff037cd6044d

Modified Files

Name
A .gitignore +14 −0 Go to diff View file
A Gruntfile.js +26 −0 Go to diff View file
A README.md +47 −0 Go to diff View file
A backend/jwt.js +75 −0 Go to diff View file
A backend/rights.js +204 −0 Go to diff View file
A backend/rooms.js +180 −0 Go to diff View file
A config/config.js +84 −0 Go to diff View file
A config/config.json +8 −0 Go to diff View file
A package.json +28 −0 Go to diff View file
A server.js +201 −0 Go to diff View file
A spec/backend/jwt.spec.js +51 −0 Go to diff View file
A spec/backend/rights.spec.js +180 −0 Go to diff View file
A spec/backend/rooms.spec.js +72 −0 Go to diff View file
A spec/support/jasmine.json +11 −0 Go to diff View file