Commit Graph

1261 Commits

Author SHA1 Message Date
Guillermo Rauch
f603dbbeaa package: bump zuul 2015-01-18 18:33:18 +00:00
Guillermo Rauch
1496769411 package: boo-yah 2015-01-18 17:30:59 +00:00
Guillermo Rauch
f6f72316fe package: use ngrok zuul 2015-01-17 17:16:18 +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
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
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
Roman Shtylman
3f139c8863 test: make url tests run on the browser 2015-01-11 15:05:12 -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
Guillermo Rauch
c8fd8177bc re-set env vars 2015-01-10 14:10:19 -08:00
Guillermo Rauch
db45b05b12 Merge pull request #788 from mokesmokes/exponentialBackoff
fixes #784 and #786
2014-11-23 15:50:50 -03:00
Mark Mokryn
e8c5779af6 improve fix for GH-786 plus test it and also backoff 2014-11-23 16:50:21 +02:00
Mark Mokryn
42f51126ff fixes GH-784 and GH-786 2014-11-23 01:56:58 +02:00
Roman Shtylman
fb657ae6df Merge pull request #785 from joshk/patch-1
Use the new build env on Travis
2014-11-20 21:14:27 -08:00
Josh Kalderimis
c51216169a Use the new build env on Travis
faster vms, more cpu, more ram, better network, better vm start time

docs coming soon
2014-11-20 23:26:41 -05:00
Guillermo Rauch
98e3c135b4 Release 1.2.1 2014-11-21 04:59:13 +01:00
Guillermo Rauch
01a699e76a Merge branch 'master' of github.com:Automattic/socket.io-client 2014-11-21 02:58:15 +01:00
Guillermo Rauch
f51dee5a01 package: bump engine.io-client 2014-11-21 02:56:50 +01:00
Guillermo Rauch
6debb04359 Merge pull request #758 from superlukas/bump-uglify
package: bump `uglify-js`
2014-11-15 15:13:15 +09:00
Guillermo Rauch
bc06e919d8 Merge pull request #759 from superlukas/npmignore
Update .npmignore to only include the necessary
2014-11-15 15:12:58 +09:00
Guillermo Rauch
8006f28952 Merge pull request #764 from thexeos/master
Prevent undefined callback error
2014-11-15 15:12:42 +09:00
Guillermo Rauch
965e600324 Merge pull request #736 from pedrorw/master
License added
2014-11-15 15:12:17 +09:00
Guillermo Rauch
7d9476706c Merge pull request #769 from nkzawa/patch-13
Don't listen events on connect
2014-11-15 15:11:04 +09:00
Guillermo Rauch
295be0bda9 Release 1.2.0 2014-10-27 15:54:58 -07:00
Tony Kovanen
bb659965ee package: bump socket.io for tests 2014-10-27 22:41:24 +02:00
Guillermo Rauch
e8e6dad5d4 package: test latest socket.io 2014-10-27 11:50:33 -07:00
Guillermo Rauch
7bb2b80b4b package: bump engine.io-client 2014-10-27 07:47:35 -07:00
Naoyuki Kanezawa
0770af87c3 README: clarify connect evnet 2014-10-21 00:52:28 +09:00
Guillermo Rauch
0b34836741 Merge pull request #768 from rase-/fix/tests
Fix failing tests
2014-10-19 12:13:45 -07:00
Tony Kovanen
361acede8e Increase timeout.
Increased timeout in tests before closing the manager engine so
reconnects will take place with more certainty.
2014-10-19 22:10:49 +03:00
Tony Kovanen
5be8d414bf Bump engine.io-client. 2014-10-19 22:10:49 +03:00
Tony Kovanen
512eb3a8a4 Set readyState before engine.io close event.
This way we don't need to possibly wait for a drain event before we
actually change the readyState and don't miss reconnects, which
currently happens when linked against the current engine.io-client
master.
2014-10-19 22:10:39 +03:00
Tony Kovanen
b5d808e0d6 Merge pull request #767 from nkzawa/patch-12
fix reconnection after reconnecting manually
2014-10-19 13:52:43 +03:00
Tony Kovanen
d34d7e7c1f Merge pull request #766 from nkzawa/patch-11
enable to stop reconnecting
2014-10-19 13:51:32 +03:00
Naoyuki Kanezawa
bf1fb628df fix reconnection after reconnecting manually 2014-10-19 12:14:18 +09:00
Naoyuki Kanezawa
a8b3fbea55 enable to stop reconnecting 2014-10-19 12:11:30 +09:00
Guillermo Rauch
2db4bac5c5 Merge branch 'master' of github.com:Automattic/socket.io-client 2014-10-13 08:51:34 -07:00
Guillermo Rauch
1cbc6e2a60 downloads badge 2014-10-13 08:51:16 -07:00
thexeos
c1246c6fe8 Prevent undefined callback error
If the same callback() is called multiple times from the server, then the client ends up with "TypeError: fn is undefined", due to the fact that the acks object is updated (client callback is removed) after the first call.
2014-10-08 20:50:21 +01:00
Tony Kovanen
eafcf0b323 Merge pull request #762 from haqii/master
Update repository url
2014-10-03 17:11:54 +03:00
haqii
76850bef1b Update repository url 2014-10-03 22:08:12 +08:00
Tony Kovanen
baf60c1502 Merge pull request #732 from nkzawa/patch-10
Enable to reconnect manually
2014-09-21 14:18:50 -06:00
Guillermo Rauch
7912f14c94 Merge pull request #754 from toshipon/patch-1
Support no schema relative url
2014-09-11 17:56:17 +03:00
Lukas Böcker
56e517e069 Update .npmignore 2014-09-08 01:29:54 +02:00
Lukas Böcker
2ff2f0f765 package: bump uglify-js 2014-09-08 01:26:32 +02:00
Guillermo Rauch
fca25797a3 register other nsps 2014-09-04 12:28:29 +02:00