flaambe
4d01b2c84c
test: remove deprecated Buffer usage ( #3481 )
2019-09-20 10:50:12 +02:00
Grant Timmerman
9c1e73c752
[chore] Update the license of the chat example ( #3410 )
...
There was no obvious reason to use BSD instead of MIT for that very basic chat app.
Closes #3411
2019-03-15 22:22:22 +01:00
Nadir Hussain Laskar
d3c653d876
[docs] Add Touch Support to the whiteboard example ( #3104 )
2018-11-20 08:01:09 +01: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
bf7afb14cb
[docs] Update Webpack server example ( #2976 )
2017-06-15 23:40:43 +02:00
Damien Arrachequesne
2b10f1b3a4
[docs] Update webpack example ( #2960 )
2017-06-03 13:53:03 +02:00
Damien Arrachequesne
6c0705f733
[docs] Add an example of custom parser ( #2929 )
2017-05-09 00:46:01 +02:00
Damien Arrachequesne
2d5b0026c5
[docs] Add webpack build example ( #2828 )
2017-02-22 12:48:46 +01:00
Damien Arrachequesne
e28b475428
[docs] Add httpd cluster example ( #2819 )
2017-01-16 08:33:22 +01:00
Damien Arrachequesne
f7eed6e397
[docs] Add haproxy cluster example ( #2818 )
2017-01-16 08:33:09 +01:00
Damien Arrachequesne
988852986a
[docs] Add nginx cluster example ( #2817 )
2017-01-16 08:32:53 +01:00
Damien Arrachequesne
8eaba085de
[docs] Implement whiteboard example ( #2810 )
2017-01-16 08:32:33 +01: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