Commit Graph

1051 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
808a9201cb Merge pull request #151 from feross/greenkeeper-standard-7.0.0
Update standard to version 7.0.0 🚀
2016-05-02 16:25:15 +02:00
greenkeeperio-bot
b2eb7d591d chore(package): update standard to version 7.0.0
https://greenkeeper.io/
2016-05-02 16:20:32 +02:00
Feross Aboukhadijeh
327d9ad4fc 8.0.4 2016-04-23 23:03:09 -07:00
Feross Aboukhadijeh
4a0758db24 Fix unnecessary escape 2016-04-23 23:02:52 -07:00
Feross Aboukhadijeh
721b504e25 8.0.3 2016-04-22 16:43:46 -07:00
Feross Aboukhadijeh
de1e206fec Merge pull request #150 from feross/fix-148
Fix "Error: listener must be a function"
2016-04-22 16:43:02 -07:00
Feross Aboukhadijeh
fafbb25367 Fix "Error: listener must be a function"
The websocket can error and close before the "connection" event has
fired. In that situation, socket.onMessageBound, etc. will be undefined.

Closes #148
2016-04-22 16:34:41 -07:00
Feross Aboukhadijeh
a09c51dffc AUTHORS.md 2016-04-21 03:16:50 -07:00
Feross Aboukhadijeh
6ff67922ea 8.0.2 2016-04-21 03:16:11 -07:00
Feross Aboukhadijeh
06f86a0733 Fix getAnnounceOpts function leak 2016-04-21 03:15:55 -07:00
Feross Aboukhadijeh
ec3ba5bd6c Merge pull request #146 from henkel/master
Fix typo in readme
2016-04-10 20:11:01 -07:00
Philipp Henkel
ce10f2c4dd Fix typo in readme 2016-04-08 22:02:49 +02:00
Feross Aboukhadijeh
a79a47185d 8.0.1 2016-04-04 04:10:19 -07:00
Feross Aboukhadijeh
6a57fe5c7e Merge pull request #143 from feross/greenkeeper-bencode-0.9.0
Update bencode to version 0.9.0 🚀
2016-04-03 21:19:26 -07:00
Feross Aboukhadijeh
6cb8687e71 Merge pull request #144 from feross/greenkeeper-electron-webrtc-0.2.0
Update electron-webrtc to version 0.2.0 🚀
2016-04-03 21:16:36 -07:00
greenkeeperio-bot
3093c9a94c chore(package): update electron-webrtc to version 0.2.0
http://greenkeeper.io/
2016-04-02 22:28:50 -07:00
greenkeeperio-bot
adf4f75551 chore(package): update bencode to version 0.9.0
http://greenkeeper.io/
2016-04-02 18:24:39 -07:00
Feross Aboukhadijeh
5e8fefc7d1 disable stalling websocket server tests 2016-03-31 23:35:26 -07:00
Feross Aboukhadijeh
1963d1b53a 8.0.0 2016-03-31 21:58:25 -07:00
Feross Aboukhadijeh
4431ae14ab Ensure client.destroy() callback is called when websocket pool used
Fixes #141
2016-03-31 21:49:18 -07:00
Feross Aboukhadijeh
9a48e1c10a Add failing test for #141 2016-03-31 21:48:21 -07:00
Feross Aboukhadijeh
2966165a8f BREAKING: Client() takes single opts object now
To use the client, you used to pass in four arguments:

`new Client(peerId, port, parsedTorrent, opts)`

Now, passing in the torrent is no longer required, just the `announce`
and `infoHash` properties. This decouples this package from
`parse-torrent`.

All options get passed in together now:

new Client({
infoHash: '', // hex string or Buffer
peerId: '', // hex string or Buffer
announce: [], // list of tracker server urls
port: 6881 // torrent client port, (in browser, optional)
})

All the normal optional arguments (rtcConfig, wrtc, etc.) can still be
passed in with the rest of these options.

Fixes #118. Fixes #115.

Added ws tests for scrape.
2016-03-31 21:37:51 -07:00
Feross Aboukhadijeh
7a289638df 7.7.0 2016-03-30 00:32:15 -07:00
Feross Aboukhadijeh
3cd84411fb Fixes for PR #142 2016-03-30 00:31:51 -07:00
Feross Aboukhadijeh
74f9cda6f9 Merge pull request #142 from DiegoRBaquero/master
Web-based tracker statistics. Fix #74
2016-03-30 00:26:31 -07:00
Diego Rodríguez
035994ccea Web-based tracker statistics 2016-03-29 19:03:24 -03:00
Feross Aboukhadijeh
1563f75fc3 update AUTHORS.md 2016-03-28 23:39:19 -07:00
Feross Aboukhadijeh
6fc84b03be 7.6.2 2016-03-28 23:38:48 -07:00
Feross Aboukhadijeh
c92b1714db Remove all Function.bind calls
For https://github.com/feross/webtorrent-desktop/issues/256
2016-03-28 23:38:23 -07:00
Feross Aboukhadijeh
96a8fabe2d Merge pull request #140 from feross/fix-test
fix tests
2016-03-26 20:31:06 -07:00
Feross Aboukhadijeh
d3a7c94f36 fix tests 2016-03-26 20:29:05 -07:00
Feross Aboukhadijeh
b5687c6a3b Revert "Re-enabled wrtc server tests, using SIGKILL to ensure Electron daemon gets killed"
This reverts commit 7369b6b900.
2016-03-26 19:46:15 -07:00
Feross Aboukhadijeh
ba9b5b0eab Merge pull request #139 from mappum/master
Re-enabled wrtc server tests, using SIGKILL to ensure Electron daemon gets killed
2016-03-26 16:38:30 -07:00
Matt Bell
7369b6b900 Re-enabled wrtc server tests, using SIGKILL to ensure Electron daemon gets killed 2016-03-25 00:34:37 -07:00
Feross Aboukhadijeh
7524131f0d update AUTHORS.md 2016-03-24 05:12:00 -07:00
Feross Aboukhadijeh
241d7cec1f 7.6.1 2016-03-24 05:11:38 -07:00
Feross Aboukhadijeh
5c5f986a54 disable websocket server tests 2016-03-24 05:09:21 -07:00
Feross Aboukhadijeh
f60ecec0dc remove buffer-equals dependency 2016-03-24 03:25:31 -07:00
Feross Aboukhadijeh
35697f5187 Merge pull request #137 from fanatid/feature/buffer-equals
buffer-equals instead buffer-equal
2016-03-24 03:21:08 -07:00
Feross Aboukhadijeh
0b7edf84a7 try to make wrtc test reliable on node v5 2016-03-24 01:35:19 -07:00
Feross Aboukhadijeh
2376fe6f41 7.6.0 2016-03-23 22:04:35 -07:00
Feross Aboukhadijeh
721a7bea7c make server and client always send { action: 'announce' } 2016-03-23 22:04:07 -07:00
Feross Aboukhadijeh
2fffdc6730 ws server: drop support for old tracker clients
old clients don’t send params.action === ‘action’
2016-03-23 21:27:32 -07:00
Feross Aboukhadijeh
4159d35cfc ws client: drop support for old tracker servers
Old tracker server versions don’t send data.action === ‘announce’
2016-03-23 21:26:52 -07:00
Feross Aboukhadijeh
8ed0e14ef4 7.5.9 2016-03-23 18:30:56 -07:00
Feross Aboukhadijeh
2df3ffecef Merge pull request #138 from feross/greenkeeper-bencode-0.8.0
Update bencode to version 0.8.0 🚀
2016-03-23 18:30:08 -07:00
greenkeeperio-bot
d8f227c917 chore(package): update bencode to version 0.8.0
http://greenkeeper.io/
2016-03-23 17:12:02 -07:00
Kirill Fomichev
0193f58654 buffer-equals instead buffer-equal 2016-03-21 14:46:39 +03:00
Feross Aboukhadijeh
b178ddf099 7.5.8 2016-03-18 23:15:28 -07:00
Feross Aboukhadijeh
89b9fb7f40 prevent two reconnect timers for running at same time 2016-03-18 23:14:48 -07:00