Commit graph

206 commits

Author SHA1 Message Date
David Fifield
2d871a1a4f We don't need to worry about the base64 WebSockets.
That's only for very very old Firefox. Even for flash proxy it was only
relevant for a short time.
2016-03-26 14:23:22 -07:00
Arlo Breault
cf1b0a49f1 Close connections before unloading
Noticed a long delay after the window closed before the datachannel
 timed out.

 2016/03/18 13:53:16 Traffic Bytes (in|out): 202576 | 8087
 2016/03/18 13:58:10 WebRTC: DataChannel.OnClose [remotely]
2016-03-18 14:22:34 -07:00
Arlo Breault
2ac12c5b8d Fix receiving cp/paste offer 2016-03-18 13:11:45 -07:00
Arlo Breault
df2ea126c8 Fix input handler 2016-03-18 11:58:01 -07:00
Serene Han
afd814773a snowflake proxy continues to poll broker until at capacity (#11) 2016-03-17 15:57:38 -07:00
Serene Han
490b8b33b7 better checks on receiveOffer (#11) 2016-03-15 20:13:39 -07:00
Serene Han
b1e76420bd per-proxypair Snowflake ID generation instead of just one for the Broker (#11) 2016-03-14 22:12:52 -07:00
Arlo Breault
422717f36f Update proxy readme for npm 2016-03-14 20:46:52 -07:00
Arlo Breault
9867730e34 Run client tests in travis too 2016-03-14 19:38:59 -07:00
Serene Han
3339b9f172 simplify proxypair relay onclose 2016-03-13 23:25:47 -07:00
Serene Han
5e318b6219 prepare for multiplexed snowflake (#11) 2016-03-12 22:29:56 -08:00
Serene Han
39be8403a4 provide 'silent' param on snowflake proxy to disable confirmation dialog 2016-03-07 22:58:23 -08:00
Serene Han
d2e61e315c confirmation dialog on proxy close (close #23) 2016-03-02 05:45:27 -08:00
Serene Han
e35687b587 Disconnections from websocket side also resets browser proxy 2016-02-17 19:55:43 -08:00
Serene Han
b04d1f67fb Add context to HTTP handlers, attempt to support localhost Broker.
Seems unlikely to work due to dev_appserver single inflight request limitation
2016-02-12 18:00:36 -08:00
Serene Han
6fb2e4753f Update Snowflake embed, and add info page about it (close #16) 2016-02-10 14:03:13 -08:00
Serene Han
4f18340c16 Complete broker spec cases 2016-02-10 13:05:21 -08:00
Serene Han
bb9eb721e2 Fix jasmine spec for broker async request 2016-02-09 22:36:36 -08:00
Serene Han
548c100160 Begin spec for proxy-side broker interaction 2016-02-08 19:27:28 -08:00
Serene Han
547cb9690a more jasmine specs for proxypair, ui, and snowflake coffee files 2016-02-07 08:35:01 -08:00
Serene Han
e0081ea954 Fix ui.coffee debug mode message log 2016-02-06 17:28:23 -08:00
Serene Han
889b3fee98 better ProxyPair jasmine specs, ensure travis using more recent npm 2016-02-05 12:06:37 -08:00
Serene Han
e38bed8be3 convert all coffeescript tests to jasmine 2016-02-04 14:57:12 -08:00
Serene Han
10d24accad fix travis test and remove unused badge member 2016-02-03 21:51:28 -08:00
Serene Han
21c38a04ce Snowflake badge works, and animates when serving client (issue #16) and some logging cleanups 2016-02-03 21:37:21 -08:00
Serene Han
caba2cc8f8 Move all DOM related stuff into ui.coffee 2016-02-03 20:59:13 -08:00
Serene Han
7677707249 Begin embeddable snowflake badge (issue #16) 2016-02-03 20:28:31 -08:00
Serene Han
30bfeb247e Status bar for the snowflake console, instead of cluttered log messages during
polling
2016-01-28 15:21:30 -08:00
Arlo Breault
cb505b6202 Enforce cake linting in CI 2016-01-27 22:10:02 -08:00
Serene Han
e1f6c7fc5d snowflake reset works correctly without copy paste condition,
and use default broker poll interval of 5s
2016-01-25 10:23:24 -08:00
Serene Han
0301ff1879 Query string params available in the snowflake proxy for manual mode, broker url, and target relay address 2016-01-23 09:27:26 -08:00
Serene Han
77fbfe0e66 Snowflake proxy successfully reset and bootstrap a new client (#15) 2016-01-22 12:22:09 -08:00
Serene Han
c9013b2f80 answer successfully roundtripped back from snowflake proxy through broker to client (#1) 2016-01-21 13:02:46 -08:00
Serene Han
7081e6328c broker successfully passing client offers to snowflake proxy (#1) 2016-01-21 11:40:46 -08:00
Serene Han
0cd6852ad0 broker tracking a heap of snowflakes 2016-01-21 10:44:14 -08:00
Serene Han
28e557fb43 Initial broker registration of browser proxies
- broker.coffee contains the xhr stuff
- COR enabled on the go broker
- POST body reflection works
2016-01-20 17:23:47 -08:00
Arlo Breault
5c166f5015 s/facilitator/broker/ 2016-01-19 21:52:03 -08:00
Serene Han
bc1e147ca2 use coffeelint 2016-01-15 08:47:06 -08:00
Serene Han
7e5e9f9f5f fix Cakefile test task 2016-01-14 16:44:43 -08:00
Serene Han
fa9f58c9ab split and organize coffee files, improve Cake build tasks 2016-01-14 16:28:32 -08:00
Serene Han
e433af26f8 snowflake terminal turns green when connected 2016-01-14 15:38:46 -08:00
Serene Han
17f30d1091 README instructions for using browser snowflake 2016-01-13 11:51:53 -08:00
Serene Han
487dfe697a convert rest of address spec tests, ProxyPair test, and move parse functions into Parse container 2016-01-13 10:50:50 -08:00
Serene Han
75ac969fc7 more functional rate limiting 2016-01-13 10:14:38 -08:00
Serene Han
9c4fc24719 successful bootstrap through browser proxy! (closes #5) 2016-01-12 11:14:28 -08:00
Serene Han
a8477ee402 move datachannel into ProxyPair as client, use hardcoded default Relay as fallback 2016-01-12 10:57:36 -08:00
Serene Han
cfd87d1798 parse address spec, create websocket. a bit more to iron out (issue #5) 2016-01-11 18:19:09 -08:00
Serene Han
d735c0fbf9 snowflake proxy asks user for relay address. also:
- tests for cookiestring and querystring
- fixed Cakefile with a concat so it works fine in both browser and local test
2016-01-11 17:58:13 -08:00
Serene Han
95952830ba begin snowflake coffee tests and Cakefile 2016-01-11 10:30:49 -08:00
Serene Han
3de5b30287 ProxyPair with initial websocket stuff, nearly there 2016-01-10 13:01:59 -08:00