Commit Graph

297 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
6cc1be0890 6.0.6 2015-10-23 17:31:59 -07:00
Feross Aboukhadijeh
96cd1b0a05 fix "browser" exclusions 2015-10-23 17:31:34 -07:00
Feross Aboukhadijeh
95457763e4 6.0.5 2015-09-18 15:59:34 -07:00
Feross Aboukhadijeh
4a140ed4c9 ws@0.8 2015-09-18 15:54:00 -07:00
Feross Aboukhadijeh
35db2a8510 ip@1 2015-09-18 15:49:35 -07:00
Feross Aboukhadijeh
e6450466a7 standard@5 2015-09-18 15:45:42 -07:00
Feross Aboukhadijeh
6a702d612c 6.0.4 2015-08-24 00:12:11 +02:00
Feross Aboukhadijeh
963fd533de 6.0.3 2015-08-06 14:52:43 +02:00
Feross Aboukhadijeh
d34ffde5a5 fix "npm docs" command 2015-08-06 14:50:10 +02:00
Feross Aboukhadijeh
14d3b5fad6 6.0.2 2015-07-29 03:57:26 -07:00
Feross Aboukhadijeh
7c0bbcddd4 6.0.1 2015-07-29 03:22:44 -07:00
Feross Aboukhadijeh
2061eb9818 6.0.0 2015-07-29 02:13:11 -07:00
Feross Aboukhadijeh
9db28c2fad massive cleanup 2015-07-29 01:47:09 -07:00
Feross Aboukhadijeh
3746c05d79 restructure folders 2015-07-29 00:26:44 -07:00
Feross Aboukhadijeh
67abef4545 5.3.2 2015-07-27 15:47:38 -07:00
Feross Aboukhadijeh
69e8528cb4 5.3.1 2015-07-27 15:29:13 -07:00
Feross Aboukhadijeh
04112fb976 5.3.0 2015-07-27 15:20:09 -07:00
Feross Aboukhadijeh
53c973b4ae 5.2.1 2015-07-22 16:31:39 -07:00
Feross Aboukhadijeh
e6f9989310 5.2.0 2015-07-16 18:34:50 -07:00
Feross Aboukhadijeh
5b79d42dcd client: destroy callback isn't called until after cleanup 2015-07-16 18:33:50 -07:00
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