Commit Graph

290 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
085db1e972 3.4.9 2015-05-01 14:21:45 -07:00
Feross Aboukhadijeh
1d7912142b 3.4.8 2015-04-30 21:00:54 -07:00
Feross Aboukhadijeh
6c1ce82439 3.4.7 2015-04-23 23:27:46 -07:00
Feross Aboukhadijeh
44319cfa11 3.4.6 2015-04-23 22:49:19 -07:00
Feross Aboukhadijeh
814b167e8a bittorrent-tracker/client should work if wrtc fails to install 2015-04-23 22:48:39 -07:00
Feross Aboukhadijeh
427e0f4305 3.4.5 2015-04-23 21:16:16 -07:00
Feross Aboukhadijeh
e0afafc776 don't return empty wrtc object in browser 2015-04-23 21:15:40 -07:00
Feross Aboukhadijeh
19d10c7804 3.4.4 2015-04-20 20:02:36 -07:00
Feross Aboukhadijeh
90c2a1a6e1 3.4.3 2015-04-20 16:39:48 -07:00
Feross Aboukhadijeh
a5d0975dfa Do not crash when wrtc dep is missing 2015-04-20 16:38:59 -07:00
Feross Aboukhadijeh
e2d4e8cebf 3.4.2 2015-04-11 12:03:29 +12:00
Feross Aboukhadijeh
f302bee0bb simple-websocket@2 2015-04-11 11:58:21 +12:00
Feross Aboukhadijeh
0a3c8962a4 3.4.1 2015-04-10 03:40:11 +12:00
Feross Aboukhadijeh
de0007b678 tape@4 2015-04-10 03:39:32 +12:00
Feross Aboukhadijeh
d341783bf7 3.4.0 2015-04-02 11:42:30 +13:00
Feross Aboukhadijeh
8e7a43493b 3.3.1 2015-04-01 17:36:47 +13:00
Feross Aboukhadijeh
3b3683f642 package.json: use ^ in versions 2015-03-27 17:28:55 +13:00
Feross Aboukhadijeh
6ab773f3b6 3.3.0 2015-03-27 16:19:29 +13:00
Feross Aboukhadijeh
03bed33457 add webtorrent (websocket) tracker server
This PR merges webtorrent-tracker into this repo. Keeping the code in
sync between the two repos was becoming burdensome. This change should
not effect performance of the server since the webtorrent tracker is
disabled by default.

To enable the webtorrent tracker (disabled by default), do:

```js
var server = new Server({ ws: true })
```
2015-03-27 16:19:06 +13:00
Feross Aboukhadijeh
1ff5769054 add support for webtorrent (websocket) trackers 2015-03-24 01:52:35 -07:00
Feross Aboukhadijeh
c80ba48a0d 3.2.1 2015-03-19 21:53:19 -07:00
Feross Aboukhadijeh
eb5a4760e4 add "bin" field to package.json 2015-03-19 21:52:58 -07:00
Feross Aboukhadijeh
3bf77c733a 3.2.0 2015-03-19 21:51:00 -07:00
Feross Aboukhadijeh
4afba4bc7d standard@3 2015-03-19 21:50:29 -07:00
Feross Aboukhadijeh
9ace2f5d3a add command line server
Fixes #26
2015-03-19 21:47:47 -07:00
Feross Aboukhadijeh
8f977ee7d3 3.1.4 2015-03-09 20:19:51 -07:00
Feross Aboukhadijeh
1808290d7a 3.1.3 2015-02-28 17:53:55 -05:00
Feross Aboukhadijeh
888d89247d parse-torrent@4 2015-02-28 17:53:35 -05:00
Feross Aboukhadijeh
dc4a4cd69d bn.js@2 2015-02-28 17:53:28 -05:00
Feross Aboukhadijeh
ac5e08311e bencode@0.7 2015-02-28 17:53:23 -05:00
Feross Aboukhadijeh
fee5975a0b 3.1.2 2015-02-19 12:56:47 -08:00
Feross Aboukhadijeh
a5cadcc210 3.1.1 2015-02-06 15:56:59 -08:00
Feross Aboukhadijeh
424bc3cd11 3.1.0 2015-02-05 18:27:37 -08:00
Feross Aboukhadijeh
73ef97239b 3.0.3 2015-02-02 15:20:38 -08:00
Feross Aboukhadijeh
a65c733125 3.0.2 2015-01-31 15:26:00 -08:00
Feross Aboukhadijeh
dd23967082 3.0.1 2015-01-31 15:04:39 -08:00
Feross Aboukhadijeh
287cd873bc remove extend.js 2015-01-31 15:04:16 -08:00
Feross Aboukhadijeh
c2fb38b9e3 3.0.0 2015-01-29 14:59:34 -08:00
Feross Aboukhadijeh
82e6792a6b BREAKING CHANGES
Breaking changes:
- 'listening' event no longer emits with `port` param
- `server.port` property removed (instead, use
`server.http.address().port`)

Added features:
- expose http server as `server.http`
- expose udp server as `server.udp`
- client.destroy() - ungracefully leave the swarm
- server: added `filter` option to black/whitelist torrents

Bugfixes:
- client considers udp tracker errors to be warnings
- emit 'start', 'stop', 'update', etc. AFTER response sent
- fix udp error response action and message being `undefined`

Internal:
- remove `portfinder` dep
- add complete test for `filter` functionality
2015-01-29 14:59:08 -08:00
Feross Aboukhadijeh
474ce73c93 standard@2 2015-01-28 19:26:55 -08:00
Feross Aboukhadijeh
ebb86f728f JavaScript Standard Style
https://github.com/feross/standard
2015-01-26 18:16:01 -08:00
Feross Aboukhadijeh
a096d27d7a 2.12.1 2015-01-23 22:42:25 -08:00
Feross Aboukhadijeh
bc66025350 2.12.0 2015-01-22 14:24:14 -08:00
Feross Aboukhadijeh
94feea69e2 Support http tracker redirects, gzip/deflate 2015-01-22 14:23:53 -08:00
Feross Aboukhadijeh
b3ea3f73aa 2.11.0 2015-01-22 14:14:51 -08:00
Feross Aboukhadijeh
3fd782b4cd parse-torrent@3 2015-01-22 14:14:15 -08:00
Feross Aboukhadijeh
ab9caa3570 bn.js@1 2015-01-22 14:14:10 -08:00
Feross Aboukhadijeh
dc533f1e7d 2.10.3 2015-01-05 20:12:43 -08:00
Feross Aboukhadijeh
344b493adb 2.10.2 2014-12-22 02:17:12 -08:00
Feross Aboukhadijeh
45ea7d2d01 magnet-uri@4 2014-12-22 02:16:51 -08:00
Feross Aboukhadijeh
db08b5131f portfinder@0.3 2014-12-22 02:16:47 -08:00
Feross Aboukhadijeh
9f96b004e0 bn.js@0.16 2014-12-22 02:16:41 -08:00
Feross Aboukhadijeh
15a1042048 extend.js@0.0.2 2014-12-22 02:15:58 -08:00
Feross Aboukhadijeh
f867de47b4 2.10.1 2014-12-22 01:26:58 -08:00
Feross Aboukhadijeh
04d50cf021 2.10.0 2014-12-13 15:20:26 -08:00
Astro
b72960dee3 server: split out Swarm 2014-12-10 16:47:41 +01:00
Feross Aboukhadijeh
8ef041f4f8 2.9.1 2014-11-27 17:32:38 +08:00
Feross Aboukhadijeh
0c709523df 2.9.0 2014-11-26 20:21:49 +08:00
Feross Aboukhadijeh
6db96d6125 bn.js@0.15 & bump dev-deps 2014-11-26 20:20:23 +08:00
Feross Aboukhadijeh
54b8d7112a 2.8.2 2014-11-26 17:40:59 +08:00
Feross Aboukhadijeh
20d08f6d03 2.8.1 2014-11-26 16:22:12 +08:00
Feross Aboukhadijeh
7376843920 2.8.0 2014-11-26 15:27:31 +08:00
Feross Aboukhadijeh
b44715d37a 2.7.0 2014-10-06 23:14:35 -07:00
Feross Aboukhadijeh
a357dd2957 2.6.1 2014-09-16 19:58:24 -07:00
Feross Aboukhadijeh
1e354c8f22 debug@2 and bn.js@0.14 2014-09-16 19:58:05 -07:00
Feross Aboukhadijeh
b956132918 update dep 2014-09-09 09:39:49 +01:00
Feross Aboukhadijeh
0edafda089 2.6.0 2014-08-18 01:40:52 -07:00
Feross Aboukhadijeh
1bcb3e4097 2.5.1 2014-08-17 20:56:39 -07:00
Feross Aboukhadijeh
06eab6871d 2.5.0 2014-08-16 19:06:23 -07:00
Feross Aboukhadijeh
01286e2ee7 listen() without port picks random port 2014-08-16 19:05:56 -07:00
Feross Aboukhadijeh
8f321d8cfb 2.4.0 2014-08-06 22:39:59 -07:00
Feross Aboukhadijeh
913768b271 2.3.0 2014-08-06 22:38:59 -07:00
Feross Aboukhadijeh
3d3c0d44d0 better 'listening' event handling 2014-08-06 22:35:43 -07:00
Feross Aboukhadijeh
dce7205f40 2.2.4 2014-08-03 02:29:16 -07:00
Feross Aboukhadijeh
ac26444f50 2.2.3 2014-08-03 01:52:14 -07:00
Feross Aboukhadijeh
557b7f1544 2.2.2 2014-08-02 22:34:55 -07:00
Feross Aboukhadijeh
f2a6ab9d00 remove unneeded querystring dep 2014-08-02 22:34:35 -07:00
Feross Aboukhadijeh
48da68d657 2.2.1 2014-08-02 14:41:23 -07:00
Feross Aboukhadijeh
789e3bd2a4 2.2.0 2014-08-02 14:10:08 -07:00
Feross Aboukhadijeh
6414587a35 2.1.1 2014-08-02 13:43:45 -07:00
Feross Aboukhadijeh
2b248d978f 2.1.0 2014-07-21 22:59:24 -07:00
Feross Aboukhadijeh
e6de7a2f54 add tests for scraping a udp tracker (fix #34) 2014-07-21 22:58:13 -07:00
Feross Aboukhadijeh
3ca0563e84 2.0.0 2014-07-12 18:57:40 -07:00
Feross Aboukhadijeh
e1fa242cc5 1.11.0 2014-07-11 03:52:23 -07:00
Feross Aboukhadijeh
df31ae90b7 1.10.0 2014-07-10 22:06:19 -07:00
Feross Aboukhadijeh
9f64ec67c3 1.9.0 2014-07-10 21:31:56 -07:00
Feross Aboukhadijeh
bf30085fc0 1.8.0 2014-07-08 02:05:36 -07:00
Feross Aboukhadijeh
f5ab69793e bn.js@0.13.x 2014-07-08 02:05:18 -07:00
Feross Aboukhadijeh
8b42fb2bef 1.7.0 2014-07-05 14:42:54 -07:00
Feross Aboukhadijeh
3e6832ab29 1.6.0 2014-07-03 20:05:19 -07:00
Feross Aboukhadijeh
ba6d85c0a9 1.5.0 2014-06-11 17:57:31 -07:00
Feross Aboukhadijeh
6696c01ee2 bncode -> bencode 2014-06-11 17:57:23 -07:00
Feross Aboukhadijeh
d96f783c32 1.4.0 2014-06-07 15:15:12 -07:00
Feross Aboukhadijeh
3009adea66 1.3.0 2014-06-07 15:11:37 -07:00
Feross Aboukhadijeh
2186b425ea don't bundle ./server.js for browser 2014-06-07 15:11:30 -07:00
Feross Aboukhadijeh
231aed2ee6 1.2.0 2014-06-06 01:16:00 -07:00
Feross Aboukhadijeh
e2da63c434 bn.js@0.11.7 2014-06-06 01:15:46 -07:00
Feross Aboukhadijeh
e35baa6a4f buffer-equal@0.0.1 2014-06-06 01:15:36 -07:00
Feross Aboukhadijeh
49d91dbd98 1.1.1 2014-06-06 00:26:00 -07:00
Feross Aboukhadijeh
125e9f5796 1.1.0 2014-06-05 23:41:03 -07:00
Feross Aboukhadijeh
85b7c606b9 add debug 2014-06-05 23:40:22 -07:00
Feross Aboukhadijeh
ba84b812c2 1.0.2 2014-06-05 00:18:26 -07:00
Feross Aboukhadijeh
575f28e041 1.0.1 2014-05-23 21:31:43 -07:00
Feross Aboukhadijeh
a2d5f959ca bn.js@0.10.0 2014-05-23 21:31:22 -07:00
Feross Aboukhadijeh
3889d91f64 1.0.0 2014-05-23 21:27:17 -07:00
Feross Aboukhadijeh
783263f3a0 add udp tracker server
fixes #9
2014-05-23 19:44:57 -07:00
Feross Aboukhadijeh
3d50193ba0 0.7.3 2014-05-22 11:27:39 -07:00
Feross Aboukhadijeh
59d3c01937 0.7.2 2014-05-18 18:37:09 -07:00
Feross Aboukhadijeh
e83328babe fix bug where client mangles tracker port
The client was converting the binary (compact) response to a utf8
string which would modify the data in some cases. Keeping it as a
buffer the whole time solves the issue.

Fixes #19.
2014-05-18 18:36:40 -07:00
Feross Aboukhadijeh
c4871a5480 bump deps 2014-05-18 18:34:56 -07:00
Feross Aboukhadijeh
7b5be63e75 0.7.1 2014-05-17 12:52:31 -07:00
Feross Aboukhadijeh
c60fe18c6d 0.7.0 2014-05-14 12:50:33 -07:00
Feross Aboukhadijeh
6f565ed6fa add test: tracker client from magnet uri 2014-05-14 12:45:48 -07:00
Feross Aboukhadijeh
3318ef642d 0.6.1 2014-05-11 23:58:56 -07:00
Feross Aboukhadijeh
bbe2fa35bf upgrade bn.js 2014-05-11 23:58:42 -07:00
Feross Aboukhadijeh
d0c1caf83b 0.6.0 2014-05-11 17:33:28 -07:00
Feross Aboukhadijeh
7102b9bc3e 0.5.1 2014-05-07 12:38:38 -07:00
Feross Aboukhadijeh
26738d29ae update deps 2014-05-07 12:38:26 -07:00
Feross Aboukhadijeh
43e5a8b094 0.5.0 2014-05-01 07:31:49 -07:00
Mathias Buus
64eaa3f936 use bn.js instead of bignum 2014-04-30 23:02:19 +02:00
Feross Aboukhadijeh
3b6241da98 0.4.1 2014-04-19 01:33:28 -07:00
Feross Aboukhadijeh
ad7a181241 update parse-torrent dep 2014-04-19 01:32:50 -07:00
Feross Aboukhadijeh
5d970f70e5 make bignum an optional dependency 2014-04-19 01:32:42 -07:00
Feross Aboukhadijeh
0f29a4c5e6 0.4.0 2014-04-18 23:29:08 -07:00
Feross Aboukhadijeh
dfd5149d6b fix #11 - support torrents with 64-bit file sizes 2014-04-18 23:28:59 -07:00
Feross Aboukhadijeh
b0a659f00c [udp server] add stub implementation 2014-04-18 23:05:21 -07:00
Feross Aboukhadijeh
c61009eceb 0.3.6 2014-04-11 22:00:11 -07:00
Feross Aboukhadijeh
2cf4bf649d 0.3.5 2014-04-11 21:57:33 -07:00
Feross Aboukhadijeh
00da5d0281 0.3.4 2014-04-11 21:55:27 -07:00
Feross Aboukhadijeh
cd14b7d5b3 0.3.3 2014-04-04 23:27:54 -07:00
Feross Aboukhadijeh
7858111646 0.3.2 2014-03-28 17:47:48 -07:00
Feross Aboukhadijeh
9a4688ff8e 0.3.1 2014-03-27 21:56:10 -07:00
Feross Aboukhadijeh
eef2b1bc61 0.3.0 2014-03-27 21:04:34 -07:00
Feross Aboukhadijeh
586305cc8b 0.2.2 2014-03-27 01:24:58 -07:00
Feross Aboukhadijeh
0a6a2d3a6a 0.2.1 2014-03-27 00:39:18 -07:00
Feross Aboukhadijeh
7622bdb581 0.2.0 2014-03-27 00:36:52 -07:00
Feross Aboukhadijeh
31b82e0a2b add bittorrent tracker server implementation! 2014-03-27 00:17:49 -07:00
Feross Aboukhadijeh
522f00230f 0.1.1 2014-03-26 02:12:44 -07:00
Feross Aboukhadijeh
edc56f44e6 0.1.0 2014-03-26 01:37:39 -07:00
Feross Aboukhadijeh
1159037222 basic client implementation 2014-03-26 01:17:54 -07:00