Giter VIP home page Giter VIP logo

chat's People

Contributors

cynthia-sg avatar tegioz avatar vigyanik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chat's Issues

broadcast messages

hi how do you broadcast messages to all users?


Broadcast API
Send messages to all connected users:
Content-Type: application/json
POST /api/broadcast/
{"msg": "Hello!"}


Can you tell me how to execute this command?

addMessage(info);

When the first new room is created, addMessage(info) function does not seem to append that the user joined the room. It works fine for MainRoom and next rooms created.

New messages dissapear because of scrolling the text area

The Message area scrolls automatically to the "middle" when there are a lot of messages. So new messages dissapear in the bottom and are only readable when the user scrolls back down.
But, when another message appears, the text area scrolls up again.

Panel

have panel admin ?

no user output

Not sure if this is a global issue or just me.

I have redis and chatserver.js running.

On the webpage I can type text in the input box, however it is not showing up in the chat.
The serverBot welcomes me.
However, does not state I joined the room.

Update:
With debug enabled in main.js I am able to send messages to the "sampleroom".
Also it says anonymous -- joined the room--

Still no output in "MainRoom"

when i create room with blank character,can not send msg..

sorry, I can not write correct English。

firstly, i created 'test ' room , and the index of simpleChat display a 'test' room.yes, i know Source Code del with room = room.replace(" ",""); .

The question is now, i try send like 'xxxx' msg, console print a newMessage record , but pages display none.

io.sockets.clients no longer exist any more

meet this error TypeError: Object # has no method 'clients'

can fix it by change
var socketsInRoom = io.sockets.clients(data.room);
to
socket.join(data.room);
var socketsInRoom = io.sockets.adapter.rooms[data.room];

Can't launch redis-server

Hi, i've been trying to launch redis-server, just like what is described on"README", but this command isn't working or not being recognized on my terminal. What can i do to make it right?

Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.