Mikhail Dudin
7a70f63499
docs: fix reconnection handling in the chat demo app ( #4189 )
2021-12-01 00:03:43 +01:00
Damien Arrachequesne
b4ae8d2e19
docs(examples): update all examples to Socket.IO v4
2021-03-18 15:07:04 +01:00
Adán Toscano
64be1c9985
docs(examples): fix chat example ( #3787 )
2021-03-18 14:06:13 +01:00
Sergio Lenza
6b1d7901db
docs(examples): Improve the chat example with more ES6 features ( #3240 )
2021-01-15 00:36:17 +01:00
Damien Arrachequesne
d00c0c0d9d
docs(examples): update examples to Socket.IO v3
...
Other examples need some additional work (Redis adapter migration, ...).
2020-11-09 10:19:40 +01:00
Damien Arrachequesne
17747e4d69
docs(chat-example): bump dependencies
...
In order to include https://github.com/socketio/engine.io/releases/tag/3.4.1
2020-04-17 11:21:10 +02:00
Damien Arrachequesne
b74bb80122
docs(chat-example): remove dependency to the parent project
2020-04-14 09:56:42 +02:00
Damien Arrachequesne
7e35f901b8
[docs] fix this scope in the chat example
...
`user is typing` messages were not properly removed
Closes #3291
2018-08-28 09:05:44 +02:00
Donut
0279c47c8c
[docs] Convert the chat example to ES6 ( #3227 )
2018-04-27 13:00:27 +02:00
Haku
3386e155a8
[docs] Actually prevent input from having injected markup in chat example ( #2987 )
2017-08-27 08:40:26 +02:00
Stanley288
3684d590f5
[docs] Use path.join instead of concatenating paths ( #3014 )
2017-08-26 07:44:25 +02:00
Damien Arrachequesne
a483658607
[example] Add disconnection/reconnection logs to the chat example ( #2675 )
2016-11-18 01:52:45 +01:00
Naoyuki Kanezawa
0c6d50d9c0
Merge pull request #2416 from nus-fboa2016-si/chatexample
...
updated express version to express 4
2016-04-12 03:58:08 +09:00
Zhu Liang
910b5d77a6
fixed version notation
2016-04-11 22:19:49 +08:00
Dan Callahan
7bae6ac636
Fix chat display in Firefox
2016-03-08 19:50:55 -06:00
Zhu Liang
a116d52e30
updated express version to express 4
2016-01-30 11:57:31 +08:00
nkzawa
0313ad0ea3
improve the chat demo
2015-12-05 10:07:08 +09:00
Chaofeng
ba90f0991b
fixed a typo in the example code
2015-11-19 21:09:34 -07:00
James Ferguson
2e440722a6
Change grammar issues in the chat/README.md
...
Added a few periods and commas which were missing. Also added the word each to clarify how multiple users each enter a unique username.
Very minor edit. No source code changed.
2014-09-18 21:41:28 -07:00
Matthew Canty
3b93c1c562
Change "there're" to "there are"
...
Not a commonly used contraction and looks a bit odd.
2014-09-17 14:01:01 +01:00
Brian Geppert
b49b35b26f
package: fix main file for example application 'chat'.
2014-09-04 12:10:43 -05:00
Guillermo Rauch
ec305bd8df
examples: minor fix of escaping
2014-09-04 11:44:02 +02:00
Andrew Patton
001373ee17
Override default browser font-family for inputs
...
For consistent typography, explicitly declare font-family stack for `input` in addition to `html` (in Chrome and Safari on mac, the input will otherwise use default font for such elements, like Lucida Grande)
2014-06-28 13:14:33 -04:00
Kevin Roark
fdf7937815
clearer instructions to install chat example
2014-06-02 20:28:19 -07:00
Grant Timmerman
4d83456f74
Fix xss vulnerability in example chat app
2014-05-30 02:03:33 -07:00
Grant Timmerman
72eb61d01f
Make chat example wrap long words (no overflow)
2014-05-30 01:44:27 -07:00
Adam Snodgrass
536b338a01
Use cleanInput() on incoming messages
...
This prevents XSS if one were to send messages using socket.io from the console.
2014-05-28 20:35:24 -05:00
Cody Massin
318d62e5ad
When displaying leave and join messages show a message with an updated participants count.
...
Signed-off-by: Cody Massin <keyosk@gmail.com >
2014-03-01 00:20:51 -08:00
Guillermo Rauch
3faca287a5
chat: forward 3000
2014-02-24 16:54:48 -08:00
Guillermo Rauch
266278d14c
prettify
2014-02-24 16:46:23 -08:00
Guillermo Rauch
d286ba2064
rename app->index
2014-02-24 16:28:04 -08:00
Guillermo Rauch
d4ec1b6ff0
use shorthand io call
2014-02-24 16:27:46 -08:00
Guillermo Rauch
49f11f9cf5
README: move to index
2014-02-24 16:27:37 -08:00
Grant Timmerman
d037d6cb38
Redefined input-focus click areas
2014-02-18 21:08:43 -08:00
Grant Timmerman
e06ea11c27
Welcome message is always on top. Click now focuses input.
2014-02-18 20:43:59 -08:00
Grant Timmerman
e0a85a90aa
Changed hash function after testing it on generated lists of random usernames
2014-02-17 13:50:43 -08:00
Grant Timmerman
3aa3213b13
Moved colors to client with hash fn, cleaned up app.js
2014-02-17 13:41:21 -08:00
Grant Timmerman
575ff2ecfc
Fixed scrollbar height, fixed "undefined is typing", cleaned up fade effect
2014-02-16 12:12:02 -08:00
Grant Timmerman
852a9d34df
Added X is typing functionality
2014-02-16 02:50:33 -08:00
Grant Timmerman
8a3781499d
Reorganized event system, added log event, and changed formatting of chat
2014-02-16 01:05:41 -08:00
Grant Timmerman
ab60d166ac
Added basic chatroom html
2014-02-15 23:31:00 -08:00
Grant Timmerman
f7838635a7
Added basic login page html for the new design
2014-02-15 23:00:20 -08:00
Grant Timmerman
cfb2a26d4f
Updated package.json, added numUsers int on server, and used io shorthand notation
2014-02-14 21:29:08 -08:00
Grant Timmerman
1860aa41ee
Removed extra lines, removed extra html
2014-02-11 21:46:59 -08:00
Grant Timmerman
598a140ad4
Update styles and formatting
2014-02-11 21:30:07 -08:00
Grant Timmerman
b8f6d4054c
Added more friendly username input interface
2014-02-11 21:11:58 -08:00
Grant Timmerman
450d408ed6
Updated code style
2014-02-11 18:18:54 -08:00
Grant Timmerman
0023aed4c3
Changed tabs to spaces, removed screenshot, and updated README
2014-02-11 17:13:44 -08:00
Grant Timmerman
f99cdc9339
Updated package.json and Readme
2014-02-11 16:22:01 -08:00
Grant Timmerman
999b8bc387
Updated screenshot
2014-02-11 16:16:25 -08:00