Feram Bot
ccd3376627
[docs] Minor fixes ( #2526 )
2016-10-21 03:21:45 +02:00
Tom Atkinson
e60bd5a4da
[fix] Avoid swallowing exceptions thrown by user event handlers ( #2682 )
2016-10-21 03:16:36 +02:00
davidlondono
b8c60506a6
[docs] Fix JSDoc of optional parameters ( #2465 )
...
Making proper optional Docs for socketIO
2016-10-21 03:02:59 +02:00
Damien Arrachequesne
43d9a4b55d
[feature] Add a 'disconnecting' event to access to socket.rooms upon disconnection ( #2332 )
2016-10-06 23:23:26 +02:00
Guillermo Rauch
fb0253edea
Merge pull request #2422 from nus-fboa2016-si/queryStringFix
...
Fix for Issue #331 on socket.io-client
2016-04-11 08:44:59 -07:00
吳東曄 Wu, Dung-Ie
6d4128750b
stop append /# before id when no namespace
2016-04-02 01:55:53 +08:00
Zheng Weihan
045674de97
remove unnecessary decoder. url.parse already decodes string.
...
add test to test decoding function.
2016-02-14 13:46:26 +08:00
Zheng Weihan
e141e09aaf
change decodeUriComponents calls
2016-02-13 14:28:21 +08:00
Zheng Weihan
5fabe4e780
call decodeURIComponent on query received from client.
...
update package.son to point to latest commit in socket.o-client package (with URI encoder)
2016-02-13 14:10:20 +08:00
Zheng Weihan
c077357eff
add comments to code
2016-02-04 13:27:36 +08:00
Zheng Weihan
13af610f6d
add test for issue #331 on socket.io-client.
2016-01-31 15:44:39 +08:00
Zheng Weihan
7d55724468
refactor parsing of URL in CONNECT packet to use 'url' library.
2016-01-30 09:47:28 +08:00
Zheng Weihan
1d84c55743
fix to issue #331 on socket.o-client.
...
Parses CONNECT packet for query string and replaces query in socket.handshake.
2016-01-28 14:40:05 +08:00
Naoyuki Kanezawa
2a91fd57c7
Merge pull request #2344 from denghongcai/patch-2
...
fix wrong jsdoc
2016-01-17 15:25:32 +09:00
Faizal Pribadi
abe2394a24
fix typo word :)
...
update docs source code
2015-12-20 16:16:42 +07:00
Hongcai Deng
7012ba6c64
fix wrong jsdoc
2015-12-14 15:31:42 +08:00
Damien Arrachequesne
1dfacc6647
Trigger callback even when joining an already joined room
2015-11-27 22:08:18 +01:00
Guillermo Rauch
3b00312fa7
namespace: clear rooms flag after a clients call ( fixes #1978 )
2015-11-23 09:40:57 -08:00
Damien Arrachequesne
09f446eca0
Add hasOwnProperty checks
2015-11-23 15:12:21 +01:00
Damien Arrachequesne
b73d9bea4e
converted arrays to objects
2015-11-22 11:12:40 +01:00
Naoyuki Kanezawa
67d1a67b1c
Merge pull request #2319 from darrachequesne/patch-3
...
Minor fix
2015-11-21 23:21:39 +09:00
Damien Arrachequesne
aae68d74b1
Minor performance optimization
2015-11-20 22:03:03 +01:00
Damien Arrachequesne
a1a1c6657a
Removed unused variable
2015-11-20 22:00:42 +01:00
Guillermo Rauch
2a4f7ae161
Merge pull request #2136 from nkzawa/patch-5
...
Don't set request property
2015-11-20 12:59:05 -08:00
Guillermo Rauch
a39d7c2ae4
Merge pull request #2171 from KevinMartin/patch-1
...
Actually prevent double callbacks...
2015-11-18 12:56:01 -08:00
Guillermo Rauch
b1775b1cb8
Merge pull request #2051 from tobalsgithub/master
...
Allowing a custom function for opts.allowRequest
2015-11-16 13:15:08 -08:00
Kevin Jose Martin
514aeb4fcd
Actually prevent double callbacks...
...
We declare `sent = false` and even check `if (sent)` is truthy, but we never set it to truthy, therefore it never really *prevents double callbacks*...
2015-07-06 11:36:00 -04:00
Naoyuki Kanezawa
4d36d6c01a
don't set request property
2015-05-30 03:34:05 +09:00
Guillermo Rauch
3f72dd3322
Merge pull request #2063 from kapouer/patch-1
...
Let adapter.add find connected socket
2015-04-10 21:38:41 -07:00
Guillermo Rauch
916872587f
Merge pull request #2013 from nkzawa/namespace-flags
...
Supports flags on namespace
2015-04-05 15:51:54 -07:00
Jérémy Lal
425409945b
Let adapter.add find connected socket
...
When a socket connects, it joins its own room, resulting in a call to adapter.add.
The adapter in turn should be able to find the socket by id.
2015-03-24 14:54:52 +01:00
TC
1dde0f3947
Allowing a custom function for opts.allowRequest
2015-03-12 15:50:31 -06:00
Naoyuki Kanezawa
53cdd8f1fc
support flags on namespace
2015-02-20 03:34:09 +09:00
Naoyuki Kanezawa
81aea995ed
improve Socket#packet and Client#packet
2015-02-15 04:33:20 +09:00
Guillermo Rauch
5ce06d3088
socket: warn node_redis-style about missing error
2015-02-03 16:26:21 -08:00
Ruben Rodriguez II
8814825a35
Suggestion for implementation of clients API
2015-01-31 02:17:49 -06:00
Guillermo Rauch
1b01e16a6c
fix broken previous commit
2015-01-24 08:02:05 -08:00
Guillermo Rauch
83b36e54ac
Merge pull request #1958 from nkzawa/compress
...
Support compression
2015-01-23 10:04:43 -08:00
Guillermo Rauch
2f0d9d05af
fix origin verification default https port [evanlucas]
...
for PR #1693
2015-01-22 21:41:59 +00:00
Naoyuki Kanezawa
ac8e8598d7
support compression
2015-01-22 05:01:45 +09:00
Alexey Chuvashov
f5b75151bd
Add space in error message
2015-01-15 01:24:19 +03:00
Roman Shtylman
ca82c09bf2
fix leaving unknown rooms
...
close #1670
2015-01-10 14:58:50 -08:00
Drew Blaisdell
a116d7765a
Allow null or undefined origins when allowed origins is a function
...
Requests without an Origin header previously caused an exception to be thrown if the allowed origins passed to the constructor was set to a dynamic function. Omitted origins are now set to an asterisk and passed properly to the origins function.
A test for this case is included in this commit.
2015-01-09 16:30:08 -08:00
Guillermo Rauch
4e4bbf918e
fix protocol violations and improve error handling ( fixes #1880 )
2014-11-21 04:16:37 +01:00
Tony Kovanen
1b4f6a5324
Merge pull request #1777 from akamensky/dynamic-cors
...
Dynamic cors
2014-09-22 13:38:14 -06:00
Tony Kovanen
fa4fa3365a
Merge pull request #1690 from rase-/fix/resource-option-bc
...
Fix resource option BC with the set function
2014-09-22 12:27:35 -06:00
akamensky
9658e32e7a
Added optional Server#origins(function) for dynamic CORS
2014-09-12 10:53:14 +08:00
Anup Bishnoi
f56d4acce6
testing for equivalence of namespaces starting with / or without
2014-08-19 22:19:50 +00:00
Anup Bishnoi
8ea37b7351
Update index.js
2014-08-19 16:17:45 -04:00
Anup Bishnoi
0e41561d56
Take "" and "/" as equivalent namespaces on server
...
On server, `.of(name)` should use the same key in `.nsps` object for "" and "/"
Important to use `String(name)` and `===` to keep out keys that don't cast to ""
2014-08-18 22:38:47 -04:00