123 Commits

Author SHA1 Message Date
Michelle Bu
0c8f4b8525 Fix heroku deploy 2014-11-01 14:39:25 -07:00
Michelle Bu
1c7ba7f77f Merge branch 'michelle-express-rewrite' 2014-11-01 14:38:21 -07:00
Michelle Bu
3c96df6af0 Fix path reference 2014-11-01 14:37:09 -07:00
Michelle Bu
e89da8000e Fix test spacing 2014-11-01 13:54:21 -07:00
Michelle Bu
747f70db4b Fix spacing 2014-11-01 13:51:31 -07:00
Michelle Bu
1bbce52ae9 4 spaces to 2 spaces 2014-11-01 13:47:55 -07:00
Michelle Bu
563eb46f04 4 space to 2 space in bin 2014-11-01 13:46:37 -07:00
Michelle Bu
8aa939b609 4 spaces -> 2 spaces 2014-11-01 13:16:17 -07:00
Michelle Bu
abb2d09c84 Merge pull request #56 from jondavidjohn/heroku-start
"Deploy to Heroku" Button
2014-11-01 13:01:20 -07:00
Jonathan Johnson
8defe3718c use path option instead of root 2014-11-01 14:42:36 -05:00
Jonathan Johnson
bd101ab44f enable "Deploy to Heroku" Button 2014-10-23 09:03:20 -05:00
lmb
054145343e Add 'proxied' option for running the server behind a reverse proxy 2014-10-20 10:16:54 +01:00
lmb
d1a24d5711 Fix tests 2014-10-20 09:52:45 +01:00
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