Guillermo Rauch
62f4298a88
Release 1.2.1
2015-01-17 12:30:53 +00:00
Guillermo Rauch
636c530d9e
Merge pull request #799 from rase-/add/socket-id-property
...
Added `socket.id` property
2015-01-17 12:29:31 +00:00
Tony Kovanen
5d96f92940
Make sure socket.id is defined
2015-01-17 22:20:00 +02:00
Tony Kovanen
2663d3510a
Added socket.id docs
2015-01-17 22:19:58 +02:00
Guillermo Rauch
304a93d68f
Merge pull request #21 from marcooliveira/master
...
Fix confusing comment in `add`
2015-01-17 12:28:41 +00:00
Guillermo Rauch
ddf8e61cd6
Merge pull request #20 from marcooliveira/patch-1
...
Call the callback on `delAll`
2015-01-17 12:27:47 +00:00
Guillermo Rauch
3f7dde9e61
Merge pull request #41 from rase-/fix/parse-error
...
Fix parse error
2015-01-17 12:25:24 +00:00
Guillermo Rauch
b8ded0d725
Merge pull request #1903 from rase-/add/volatile-tests
...
Added tests for volatile
2015-01-17 12:23:06 +00:00
Guillermo Rauch
086ccd2708
Merge pull request #1938 from fay-jai/license
...
update license with up-to-date year range
2015-01-17 12:22:11 +00:00
Guillermo Rauch
864857cb6f
Merge pull request #1939 from rase-/add/test-for-emit-after-server-restart
...
Add test for reconnection after server restarts
2015-01-17 12:21:53 +00:00
Guillermo Rauch
e5a7e422f9
Merge pull request #1943 from eychu/patch-1
...
Add space in error message
2015-01-17 12:21:38 +00:00
Tony Kovanen
b21717b66d
Pass has-binary result to encodePacket
...
Needs to be done so thet individual packets don't get encoded as binary.
2015-01-16 21:28:01 +02:00
Tony Kovanen
44c7aa5ab9
Fix parse error
...
We always need to send binary when encoding payloads when sending from
server to client, because the polling transport has to know the response
type ahead of time.
2015-01-16 21:19:27 +02:00
Alexey Chuvashov
f5b75151bd
Add space in error message
2015-01-15 01:24:19 +03:00
Tony Kovanen
b0c4c2edd0
Added socket.id property
...
- Make sure `socket.id` is defined on connect
- Make sure `socket.id` is cleared on disconnect
- Make sure `socket.id` is updated on reconnect
2015-01-14 18:18:02 +02:00
Tony Kovanen
0523b655da
Add test for reconnection after server restarts
2015-01-14 17:22:50 +02:00
Roman Shtylman
92e08eee01
fix reference to this (typo from self commit)
2015-01-11 16:59:55 -08:00
Guillermo Rauch
e3fe9a2f44
Merge pull request #366 from Automattic/fix-default-port
...
fix default port detection when host is specified
2015-01-11 16:33:12 -08:00
Roman Shtylman
bfc48ec4ad
fix default port detection when host is specified
...
This fixes an issue when a full url is specified (i.e.
http://service.com ) the port would be the port from the page and not the
uri string. This is easily exposed if using external engine.io servers
on a page served up by localhost:3000 or similar from a development
page.
2015-01-11 16:32:35 -08:00
Guillermo Rauch
d0e8643d05
Revert "migrate this usage to self to help with client side minification"
...
This reverts commit d725d91db2 .
2015-01-11 15:59:43 -08:00
Roman Shtylman
d725d91db2
migrate this usage to self to help with client side minification
...
`this` cannot be effectively minified but using a local self allows for
local minifcation.
2015-01-11 15:51:35 -08:00
Guillermo Rauch
f9276e9674
Merge pull request #797 from Automattic/fix-default-url
...
fix url parsing when uri string is undefined
2015-01-11 15:13:17 -08:00
Guillermo Rauch
ec6ef0cf17
Merge branch 'master' of github.com:Automattic/socket.io-client
2015-01-11 15:12:58 -08:00
Guillermo Rauch
cb97a20538
remove duplicate dep
2015-01-11 15:12:48 -08:00
Guillermo Rauch
e0feeca3bf
package: bump client
2015-01-11 15:09:42 -08:00
Guillermo Rauch
959d5944eb
package: bump parser
2015-01-11 15:09:23 -08:00
Guillermo Rauch
1923fdc0c8
package: bump parser
2015-01-11 15:09:11 -08:00
Guillermo Rauch
b8ec539b30
Release 1.2.0
2015-01-11 15:08:45 -08:00
Roman Shtylman
3f139c8863
test: make url tests run on the browser
2015-01-11 15:05:12 -08:00
Guillermo Rauch
e1a8f55e25
remove envs
2015-01-11 14:54:18 -08:00
Guillermo Rauch
145df37d17
remove env
2015-01-11 14:54:01 -08:00
Roman Shtylman
1e899abd45
fix url parsing when uri string is undefined
...
The url parser was ignoring port hints from window.location when the uri
string was undefined. This commit changes the parser to use
window.location.host (not hostname) so that the port is preserved.
2015-01-11 13:10:36 -08:00
Willson Mock
d9415a38e4
update license with up-to-date year range
2015-01-11 00:11:55 -05:00
Roman Shtylman
ca82c09bf2
fix leaving unknown rooms
...
close #1670
2015-01-10 14:58:50 -08:00
Roman Shtylman
b9aaa1607c
Merge pull request #1922 from smart--petea/patch-1
...
Update Readme.md
2015-01-10 14:48:59 -08:00
Roman Shtylman
d1304c5d82
Merge pull request #1926 from coderaiser/patch-1
...
package: debug v2.1.0
2015-01-10 14:33:21 -08:00
Guillermo Rauch
c8fd8177bc
re-set env vars
2015-01-10 14:10:19 -08:00
Roman Shtylman
b477f2b7ef
README: fix ping/pong packet documentation
...
close #18
2015-01-10 10:27:23 -08:00
Guillermo Rauch
bd479a9cd6
Merge pull request #1936 from drewblaisdell/master
...
Allow null or undefined origins when allowed origins is a function
2015-01-09 16:36:38 -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
1c6620d564
everything is fixed
2015-01-09 16:25:42 -08:00
Guillermo Rauch
dba462e6da
fix tests on 0.11
2015-01-09 16:24:24 -08:00
Guillermo Rauch
19c4422361
package: fix npm test to run on windows
2015-01-09 13:57:45 -08:00
Grant Timmerman
2338755762
Fix return type for decodePacket
2015-01-09 10:54:28 -08:00
Grant Timmerman
81642975f0
Clarify README API
2015-01-09 10:54:28 -08:00
Grant Timmerman
2fe91aa98e
Cleaned up README explanations/code
2015-01-09 10:54:28 -08:00
Grant Timmerman
f2ab8d4ec5
Fixed spelling and formatting of README
2015-01-09 10:54:28 -08:00
Grant Timmerman
c54a46117e
Added API document
2015-01-09 10:54:28 -08:00
Roman Shtylman
2cbcd1eb11
Merge pull request #17 from pkyeck/master
...
fixed the payload format
2015-01-09 10:33:06 -08:00
Naoyuki Kanezawa
f6bf9f807f
support permessage-deflate
2015-01-06 03:20:08 +09:00