Commit Graph

224 Commits

Author SHA1 Message Date
Ian Gulliver
fffbf0f30c Start of a public header. 2015-06-06 10:44:46 -07:00
Ian Gulliver
f055809a22 Make URL a parameter. 2015-06-06 10:39:33 -07:00
Ian Gulliver
d596ff1444 Retry and backoff working properly. 2015-06-05 23:20:07 -07:00
Ian Gulliver
f8c40a65c5 Response parsing and RPC retries. 2015-06-03 22:45:07 -07:00
Ian Gulliver
28c1f9612c Actually send commands! 2015-06-03 22:24:07 -07:00
Ian Gulliver
c4ed549342 Move to condition variable communication. 2015-06-03 20:53:27 -07:00
Ian Gulliver
9e4cefb27e Simplified ownership. 2015-06-03 20:32:00 -07:00
Ian Gulliver
f5cff306de Start some sanity refactoring. 2015-06-03 20:15:31 -07:00
Ian Gulliver
872426aa78 Store and parse return values, partially handle errors. 2015-06-02 22:53:15 -07:00
Ian Gulliver
b2d595322c Start of C client library. 2015-06-02 22:21:28 -07:00
Ian Gulliver
1e6da9504a Set request and response content type to json. 2015-05-31 21:23:45 -07:00
Ian Gulliver
3fa24f803d Switch to idiomatic JS Event framework.
Remove Unity debugging, as we no longer have interested clients.
2015-05-31 18:00:07 -07:00
Ian Gulliver
014fde230a Merge branch 'master' of github.com:flamingcowtv/cosmopolite 2015-05-31 16:48:07 -07:00
Ian Gulliver
7e3af49303 Fix test race condition in Profile merge. 2015-05-31 10:07:07 -07:00
Ian Gulliver
eb536ae20a Change XMLHttpRequest call ordering to satisfy firefox. 2014-11-15 17:30:02 -08:00
Ian Gulliver
1ca44a764e Log chaos monkey 503s 2014-11-13 13:46:21 -08:00
Ian Gulliver
0aa1d6c41c Attach a random 32-bit unsigned integer to each message for game protocols. 2014-11-11 15:56:31 -08:00
Ian Gulliver
72c7453091 Style fixes. 2014-06-27 23:17:33 -07:00
Ian Gulliver
f12d8cb8ea Keep up with QUnit API change. 2014-06-27 23:15:53 -07:00
Ian Gulliver
f675715317 Bugfixes for "me" ACL. 2014-06-21 17:29:10 -07:00
Ian Gulliver
eacb6bd7ba Use "me" ACL in debug interface. 2014-06-21 12:21:23 -07:00
Ian Gulliver
88c49d6371 Log instance IDs in internal channel callbacks. 2014-06-21 00:15:01 -07:00
Ian Gulliver
368c704b81 Translate events in pre-channel subscribe responses. 2014-06-19 23:36:47 -07:00
Ian Gulliver
3c452dabf3 Add message translation layer than can handle "me" as an ACL. 2014-06-19 23:14:26 -07:00
Ian Gulliver
959049af59 Add connected() function. 2014-06-17 21:28:47 -07:00
Ian Gulliver
c210d826b2 Send profile with every RPC response. 2014-06-17 21:14:59 -07:00
Ian Gulliver
a1ee25a937 Clear pin state before subscribe events. 2014-06-17 21:06:43 -07:00
Ian Gulliver
3629f3c266 Const correctness for private members 2014-06-15 14:46:06 -07:00
Ian Gulliver
bf07fc6196 Doc cleanups. Make public docstrings refer to the website. 2014-06-14 12:23:19 -07:00
Ian Gulliver
d88e6b618a Remove jquery externs 2014-06-14 10:36:23 -07:00
Ian Gulliver
10b4c10e83 Make uuid() public 2014-06-13 22:13:01 -07:00
Ian Gulliver
7d45f44265 Survive clearing of localStorage while we're running by caching client ID. 2014-06-13 21:33:19 -07:00
Ian Gulliver
40229ff0c0 Return the new message for sendMessage and pin RPCs. Pass it through the sendMessage Promise callback. 2014-06-12 23:12:00 -07:00
Ian Gulliver
493f7b1456 Closure compiler has moved to github 2014-06-12 23:11:48 -07:00
Ian Gulliver
fed379ddc7 Remove duplicate message logging; they're a normal thing now. 2014-06-12 22:55:27 -07:00
Ian Gulliver
828a9c50ea Add bulk subscribe support. 2014-06-11 21:46:50 -07:00
Ian Gulliver
bc42e8d5e3 Compiler fixes 2014-06-11 21:32:17 -07:00
Ian Gulliver
d09eee1259 Clean up use of promises to do more sensible things with exceptions. 2014-06-11 21:11:22 -07:00
Ian Gulliver
66c1564980 Add server-side info logging. 2014-06-09 23:51:41 -07:00
Ian Gulliver
1904d6bf50 More reliable document ready detection. 2014-06-09 23:04:18 -07:00
Ian Gulliver
8af50befbe Don't try to add things to the DOM until it loads. 2014-06-09 22:47:51 -07:00
Ian Gulliver
5d1c4407e0 Add ability to send/receive arbitrary objects from the debug console. 2014-06-09 22:20:17 -07:00
Ian Gulliver
2692d540e8 Change delay to milliseconds and make the backoff/stagger algorithm smarter. 2014-06-09 22:11:34 -07:00
Ian Gulliver
a164d7e7e4 Add mailing list link 2014-06-08 23:59:15 -07:00
Ian Gulliver
a2c32c833e More website links. 2014-06-08 23:57:47 -07:00
Ian Gulliver
ceb3b77897 Add website link in readme 2014-06-08 23:56:02 -07:00
Ian Gulliver
23f0ce5cc0 Add debug page support for admin ACLs. 2014-06-08 23:55:27 -07:00
Ian Gulliver
d2e7b76df9 Add support for magic "admin" ACL that is only satisfied by appengine administrators. 2014-06-08 23:41:23 -07:00
Ian Gulliver
44ede2abbf Record IP addresses for messages and pins to support later banning. 2014-06-08 22:04:53 -07:00
Ian Gulliver
322eb14a5d Fix bug when attempt to re-open channel 2014-06-08 21:54:57 -07:00