460 Commits

Author SHA1 Message Date
lmb
9b9c6f168a Only parser JSON from body when needed 2014-10-18 16:25:06 +01:00
lmb
9429006ee4 Clean up API 2014-10-18 16:07:40 +01:00
lmb
33c4f0b01b Update to express 4.x 2014-10-18 13:30:45 +01:00
lmb
be66a1b346 Fix bin/peerjs 2014-10-18 13:23:09 +01:00
Vsevolod Strukchinsky
eb4f31dabd Tests with _server startup and teardown callbacks 2014-10-18 12:34:15 +01:00
Vsevolod Strukchinsky
2ce55f8e33 Pass server or port option to PeerServer
This allows to initialize websocket server properly
2014-10-18 12:34:14 +01:00
Vsevolod Strukchinsky
bcb585065b Remove return next() - they are unnecessary in express 2014-10-18 12:34:14 +01:00
Vsevolod Strukchinsky
9e0d861715 Migrate to express from restify
PeerServer is now instance of express application - this allows to combine it with other express applications.
Listen is deferred - because it now method from express (you can call it later and supply callback for start event).
Constructor now not using `new` (because we mixing in methods to express app)

Closes #36
2014-10-18 12:34:14 +01:00
Michelle Bu
5c9d1a0416 Patch for CORS issues with restify 2014-08-29 02:10:03 -04:00
Michelle Bu
6cfbe60031 Hack to fix #49 until we can move to express. 2014-08-29 02:06:20 -04:00
Michelle Bu
d3f1f6868c Allow OPTIONS request 2014-08-29 01:34:47 -04:00
Michelle Bu
7335327b44 0.2.6 2014-06-28 15:17:08 -07:00
Michelle Bu
9b3f7a3f38 Make IDs *always* 16 characters 2014-05-01 21:05:11 -07:00
Michelle Bu
8f513dfe3c Version already used 2014-04-13 22:36:23 -07:00
Michelle Bu
39871a5af8 Update changelog 2014-04-13 22:35:41 -07:00
Michelle Bu
5f577f99a7 Bump version 2014-04-13 22:33:56 -07:00
Michelle Bu
50765a09c9 Format comment 2014-04-13 21:42:51 -07:00
Michelle Bu
7385bc0eff Merge pull request #37 from marceloeloelo/support_ip_config
Add support for configurable server ip address
2014-04-13 11:43:00 -07:00
Marcelo Casiraghi
10ad6b46f5 Add support for configurable server ip address 2014-04-06 16:13:05 -03:00
Michelle Bu
983c86b639 May not need to stringify 2014-03-09 14:29:13 -07:00
Michelle Bu
8c1eb5d978 Allow discovery 2014-03-09 13:29:21 -07:00
Michelle Bu
2983739725 Update README and script to accept path 2014-03-01 12:37:46 -08:00
Michelle Bu
4fc23261b3 Add option 2014-03-01 12:28:23 -08:00
Michelle Bu
cb4f933e04 Bump for patch 2014-02-03 19:26:09 -08:00
Michelle Bu
766442d281 Fixes #32 2014-02-03 19:25:53 -08:00
Michelle Bu
82a3e47dcc Bump version 2014-01-31 21:36:08 -08:00
Michelle Bu
1f246028e4 Merge pull request #29 from peers/events
Emit connection/disconnect events.
2014-01-05 12:00:35 -08:00
Michelle Bu
5ace48f9e0 Better doc 2013-12-23 23:33:28 -05:00
Michelle Bu
a17fe6380a Addresses #23 2013-12-23 23:28:24 -05:00
Michelle Bu
c953e61aee Merge pull request #26 from hij1nx/master
removes unused require and updates deps
2013-12-22 13:51:33 -08:00
hij1nx
64966ba208 removes unused require and updates deps 2013-10-28 16:48:52 -07:00
Michelle Bu
5d358ce71f better test 2013-10-24 00:36:28 -07:00
Michelle Bu
d0554cfdd1 Changelog and package.json update 2013-10-24 00:31:18 -07:00
Michelle Bu
e250f49c22 Update desc 2013-10-24 00:07:33 -07:00
Michelle Bu
84acb8a217 handleTransmission tests 2013-10-19 00:14:51 -07:00
Michelle Bu
80dc77140d Merge pull request #24 from peers/yosssi-master
Server fixes
2013-10-18 20:07:09 -07:00
Michelle Bu
5affb856d8 Remove ugly switch 2013-10-18 20:04:05 -07:00
yosssi
32381d1f2f Deleted the unused variable. 2013-10-07 22:25:56 +09:00
yosssi
974f00c996 fixed some syntax mistakes. 2013-10-07 10:22:14 +09:00
Michelle Bu
72998056e0 Match restify engine dependencies 2013-07-09 08:07:57 -07:00
Michelle Bu
a146c7a5a2 Update README.md 2013-07-07 00:29:01 -07:00
Michelle Bu
6a1b20f80e More test 2013-07-07 00:21:57 -07:00
Michelle Bu
102b39f066 change version 2013-07-06 22:52:56 -07:00
Michelle Bu
5f2e6753f4 build 2013-07-06 22:51:29 -07:00
Michelle Bu
f4c86ef4d2 Add test directives 2013-07-06 22:48:42 -07:00
Michelle Bu
c9e6476094 Test suite skeleton. Closes #6 2013-07-06 22:43:49 -07:00
Michelle Bu
6140fb391d Optional options 2013-07-06 22:33:13 -07:00
Michelle Bu
5a37679a40 Up version for npm 2013-07-06 11:53:15 -07:00
Michelle Bu
672853658a Merge pull request #17 from igrigorik/master
Add bin script for simple(r) bootstrap
2013-07-06 11:50:09 -07:00
Ilya Grigorik
f9c2172c8e use longform port flag + consistent formatting 2013-07-06 11:28:21 -07:00