Commit graph

1394 commits

Author SHA1 Message Date
greenkeeper[bot]
635393768e chore(package): update mocha to version 4.0.0 2017-10-03 11:17:01 +00:00
plexigras
1a77168574 added fallback for session to normal auth 2017-10-01 16:39:07 +02:00
Romain Beaumont
2a97df6abd Merge pull request #518 from allain/master
store minecraft jars in /tmp unless overriden by ENV variable
2017-08-28 16:19:58 +02:00
allain
137320489c using os.tmpdir() instead of '/tmp' since it's more portable 2017-08-28 10:13:59 -04:00
allain
b44e052f28 store minecraft jars in /tmp unless overriden by ENV variable 2017-08-27 21:55:42 -04:00
Romain Beaumont
0d4f5d49a8 Merge pull request #512 from PrismarineJS/greenkeeper/debug-3.0.0
Update debug to the latest version 🚀
2017-08-25 19:34:50 +02:00
Romain Beaumont
788b376c21 Merge pull request #517 from PrismarineJS/greenkeeper/yggdrasil-1.1.1
Update yggdrasil to the latest version 🚀
2017-08-25 19:34:11 +02:00
Romain Beaumont
e47f7b1d7b Update package.json 2017-08-25 19:29:29 +02:00
greenkeeper[bot]
55090c42a6 fix(package): update yggdrasil to version 1.1.1 2017-08-25 15:51:31 +00:00
Romain Beaumont
3ab909c931
Release 1.4.1 2017-08-21 09:23:02 +02:00
Romain Beaumont
8a5621b340
lock yggdrasil until issue with 1.1.0 is fixed 2017-08-21 09:21:31 +02:00
Romain Beaumont
c01497816b Merge pull request #514 from lkolbly/proxyFix
Changed let scope, added undefined check.
2017-08-11 00:11:24 +02:00
Lane Kolbly
c7aaee6dbc Changed let scope, added undefined check. 2017-08-10 16:50:12 -05:00
greenkeeper[bot]
943addf89f fix(package): update debug to version 3.0.0 2017-08-08 22:10:54 +00:00
Romain Beaumont
2d5464612c
add 1.12.1 support to readme and tests 2017-08-07 12:16:03 +02:00
Romain Beaumont
650c411822 add readme.md for the proxy example, progress on #380 2017-07-28 22:41:51 +02:00
Romain Beaumont
006dc75d9f remove ursa from readme 2017-07-28 19:39:14 +02:00
Romain Beaumont
294b232af8
Release 1.4.0 2017-07-24 09:24:14 +02:00
Romain Beaumont
8cc3444687 Merge pull request #508 from PrismarineJS/dynamic_autoversion_server
dynamic autoversion server
2017-07-22 09:51:04 +02:00
Romain Beaumont
5942d42d8b
increase server test timeout a bit 2017-07-21 22:48:18 +02:00
Romain Beaumont
562c7ebec7
dynamic autoversion server 2017-07-21 22:15:50 +02:00
Romain Beaumont
8c370d8011 Merge pull request #507 from PrismarineJS/modularize_server
split createServer in 4 plugins
2017-07-21 14:39:00 +02:00
Romain Beaumont
8dd313b5de
make keepalive self-contained 2017-07-21 10:52:11 +02:00
Romain Beaumont
a2598cefda
split createServer in 4 plugins 2017-07-20 23:32:25 +02:00
Robin Lambertz
93e8d63249 Merge pull request #506 from PrismarineJS/remove_ursa
remove ursa, uses crypto rsa functionalities instead, and keypair for keys generation
2017-07-20 18:55:08 +02:00
Romain Beaumont
80f103d2f0
uses node-rsa instead of keypair
package is a bit bigger but still pure js
same package used by ursa purejs
2017-07-20 17:39:54 +02:00
Romain Beaumont
01c3c95cb4
remove ursa, uses crypto rsa functionalities instead, and keypair for keys generation 2017-07-20 17:22:19 +02:00
Romain Beaumont
6246e0e644 Merge pull request #503 from PrismarineJS/proxys
add 2 examples : client_http_proxy and client_socks_proxy. fix #185 fix #436
2017-07-19 20:32:29 +02:00
Romain Beaumont
010362ef78
add connect option to createClient for multiple (ping + normal) connections for the proxy examples, use the normal options for pinging in autoVersion to have that option available and fix the proxy examples accordingly 2017-07-19 18:39:25 +02:00
Romain Beaumont
6279ae9afe
fix socks proxy using a socks module that actually works and provide a proper node stream 2017-07-19 17:24:51 +02:00
Romain Beaumont
cab5a329bf
fix http proxy 2017-07-19 16:41:24 +02:00
Romain Beaumont
e9ced90a50 Update client_socks_proxy.js 2017-07-17 15:30:14 +02:00
Romain Beaumont
d8844a5ba1 Update client_http_proxy.js 2017-07-17 15:30:00 +02:00
Romain Beaumont
ed425e775d
add 2 examples : client_http_proxy and client_socks_proxy. fix #185 fix #436 2017-07-13 14:42:42 +02:00
Romain Beaumont
5e64acce36
rename caseCorrect.js to auth.js, fix #383 2017-07-13 14:29:17 +02:00
Romain Beaumont
d9111d982f
add debug in plugin channels, fix #433 2017-07-13 14:27:44 +02:00
Romain Beaumont
216b4d2da3 add note about node-rcon in readme, fix #483 2017-07-13 14:22:42 +02:00
Romain Beaumont
79f82afb91
var -> const/let in examples and tests 2017-07-13 14:03:52 +02:00
greenkeeper[bot]
4a33bc7ac7 fix(package): update yggdrasil to version 1.0.0
Closes #501
2017-07-12 23:05:06 +02:00
Romain Beaumont
6f644042fe
Release 1.3.2 2017-07-12 13:23:45 +02:00
Romain Beaumont
9c1925a1f2 Merge pull request #500 from PrismarineJS/trying_to_fix_autoversion
trying to fix autoversion in online mode
2017-07-12 13:21:10 +02:00
Romain Beaumont
936a12e6e0
fix ping 2017-07-12 13:17:00 +02:00
Romain Beaumont
eb5764e7ab
fix autoversion in online mode.
Explanation:
in this specific case, we were changing the state of the client to hanshaking (in autoVersion.js) before a connection was made (using setSocket), the consequence is the serializer was already piped to the framer when setSocket was called, and setSocket doesn't unpipe before piping. The consequence of that was the framer was piped 2 times, the packet was sent 2 times and the server kicked us.
My solution is piping the serializer to the framer in Client constructor.
Then if the state is changed, it will anyway automatically unpipe before repiping.

Other places correctly unpipe before piping.

Autoversion is now the default in nmp too
2017-07-12 13:07:25 +02:00
Romain Beaumont
2d4f4a05e1
trying to fix autoversion in online mode 2017-07-09 13:21:54 +02:00
Romain Beaumont
aa96950ac5
Merge remote-tracking branch 'origin/master' 2017-06-19 15:50:29 +02:00
Romain Beaumont
08353123c0
Release 1.3.1 2017-06-19 15:50:11 +02:00
Romain Beaumont
3e118345d6 Merge pull request #493 from PrismarineJS/greenkeeper/require-self-0.2.1
Update require-self to the latest version 🚀
2017-06-19 15:44:10 +02:00
Romain Beaumont
1a4d9f1e84
fix version checking bug with 1.12 and share vanilla server instance between tests 2017-06-19 15:28:24 +02:00
Romain Beaumont
b445e7fb94
fix kicking message in test for 1.12 2017-06-19 14:57:28 +02:00
Romain Beaumont
d9d1b7a56e
fix 1.12 tests : implement anon fields, set varint test value to 1 for some switch, implement bitfield, don't assume non-anon containers for packets 2017-06-19 14:34:13 +02:00