Commit Graph

277 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
43a425ee57 5.1.0 2015-07-08 10:14:59 -07:00
Feross Aboukhadijeh
53a8390a74 bn.js@3 2015-07-08 10:14:01 -07:00
Feross Aboukhadijeh
0b88a7a552 5.0.1 2015-07-06 17:49:23 -07:00
Feross Aboukhadijeh
422db58a4e 5.0.0 2015-07-04 17:15:53 -07:00
Feross Aboukhadijeh
3abb687b89 4.5.1 2015-07-02 16:33:51 -07:00
Feross Aboukhadijeh
8d9da24cb5 4.5.0 2015-06-24 01:49:41 -07:00
Feross Aboukhadijeh
ac17ed7d24 standard@4 2015-06-24 01:45:24 -07:00
Feross Aboukhadijeh
69c27bf415 4.4.5 2015-06-09 22:32:45 -07:00
Feross Aboukhadijeh
711da3d28e 4.4.4 2015-06-06 13:11:25 -07:00
Feross Aboukhadijeh
ad0cd4edab 4.4.3 2015-05-30 14:28:01 -07:00
Feross Aboukhadijeh
fdb94e98d7 4.4.2 2015-05-29 21:06:34 -07:00
Feross Aboukhadijeh
50c676727c 4.4.1 2015-05-29 14:24:58 -07:00
Feross Aboukhadijeh
68f0d7e46d 4.4.0 2015-05-27 17:50:44 -07:00
Feross Aboukhadijeh
0f4c0ab74d parse-torrent@5 2015-05-27 17:50:12 -07:00
Feross Aboukhadijeh
59052cba0c magnet-uri@5 2015-05-27 17:50:05 -07:00
Feross Aboukhadijeh
31db779337 4.3.7 2015-05-24 16:44:13 +02:00
Feross Aboukhadijeh
9f0f286489 4.3.6 2015-05-22 16:30:48 +02:00
Feross Aboukhadijeh
0a1b89cbaf 4.3.5 2015-05-22 16:22:37 +02:00
Feross Aboukhadijeh
19ba81a989 4.3.4 2015-05-20 06:46:35 -07:00
Feross Aboukhadijeh
a80f2559e7 4.3.3 2015-05-19 04:33:03 -07:00
Feross Aboukhadijeh
02c92fd2ba randomize the peers that are given out 2015-05-19 04:32:09 -07:00
Feross Aboukhadijeh
9d8c5d6af2 4.3.2 2015-05-17 13:54:14 -07:00
Feross Aboukhadijeh
d0f384931f 4.3.1 2015-05-17 01:54:28 -07:00
Feross Aboukhadijeh
89a4e07430 4.3.0 2015-05-17 00:08:00 -07:00
Feross Aboukhadijeh
f842a34f54 4.2.0 2015-05-16 23:26:13 -07:00
Feross Aboukhadijeh
e5560d8f00 4.1.3 2015-05-05 23:31:37 -07:00
Feross Aboukhadijeh
cd861ff288 4.1.2 2015-05-03 21:01:12 -07:00
Feross Aboukhadijeh
fa23f9bde3 4.1.1 2015-05-03 20:38:50 -07:00
Feross Aboukhadijeh
3e1299b217 4.1.0 2015-05-03 20:30:42 -07:00
Feross Aboukhadijeh
e7f0478e6e 4.0.0 2015-05-03 17:21:43 -07:00
Feross Aboukhadijeh
938c025ed9 remove wrtc dependency
For #303
2015-05-03 17:21:08 -07:00
Feross Aboukhadijeh
1de0983864 3.6.3 2015-05-03 16:49:22 -07:00
Feross Aboukhadijeh
770b2e7480 3.6.2 2015-05-03 16:47:31 -07:00
Feross Aboukhadijeh
71c5cf5fb6 3.6.1 2015-05-03 14:20:52 -07:00
Feross Aboukhadijeh
1212e33e3a 3.6.0 2015-05-02 12:15:53 -07:00
Feross Aboukhadijeh
eada21b6a0 3.5.1 2015-05-01 21:33:35 -07:00
Feross Aboukhadijeh
ba7a58b1d8 3.5.0 2015-05-01 17:36:43 -07:00
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