300 Commits

Author SHA1 Message Date
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
Ian Gulliver
94491649a1 Cleanups from documentation effort. 2014-06-08 11:38:40 -07:00
Ian Gulliver
1b4b55ac23 Cache named profiles in memory in the Python application, since they're immutable once written. 2014-06-07 23:06:17 -07:00
Ian Gulliver
66e68ea8dd User user IDs instead of email addresses for profile keys, since they're permanent. 2014-06-02 22:57:03 -07:00
Ian Gulliver
7c04134dc4 Rewrite the session code, again. Now use the username as the profile key name. 2014-06-02 22:54:16 -07:00
Ian Gulliver
f4bb278835 Impose access controls for subscribe even without a channel open. 2014-06-02 21:53:51 -07:00
Ian Gulliver
b2c661a385 Send page views for debug console using exposed API. 2014-06-02 21:27:19 -07:00
Ian Gulliver
074820d770 Tracking bugfix, annotation fixes. 2014-06-01 21:49:29 -07:00
Ian Gulliver
5079aac9a6 Allow subscribe to return events from a subject even when not creating a subscription 2014-06-01 21:14:58 -07:00
Ian Gulliver
c004d27e9d Get javascript loading out of the critical path. 2014-06-01 15:27:43 -07:00
Ian Gulliver
b84b733e56 Remove RPC queueing now that we're doing client-side client_id generation. 2014-06-01 13:41:45 -07:00
Ian Gulliver
fd5569c5dc Generate the client_id on the client, so we don't need a round trip to get it before we can send arbitrary RPCs.
This changes the Profile/Client relationship; we never needed to be transactional with them, so split them up entirely so we can reparent Clients.
2014-05-31 23:25:15 -07:00
Ian Gulliver
0ab2fe620c lint/compiler cleanups 2014-05-31 11:51:16 -07:00
Ian Gulliver
54dcc98b00 Google analytics support for load and subscribe events. 2014-05-31 11:41:37 -07:00
Ian Gulliver
ad9836776f Support pressing enter in message and pin fields. 2014-05-30 17:21:14 -07:00
Ian Gulliver
45677a972e Debug page title. 2014-05-30 17:06:27 -07:00
Ian Gulliver
75b8b19f17 Load fonts over HTTPS 2014-05-30 17:03:46 -07:00
Ian Gulliver
d68b1ba942 Remove AuthKey.live, which didn't work anyway. 2014-05-30 17:02:21 -07:00
Ian Gulliver
14ba801e09 Fix resubscription broken by recent change. 2014-05-30 17:00:06 -07:00
Ian Gulliver
27a21cc2d3 New debug console. Add sender_message_id to delivered messages for code simplicity. 2014-05-30 16:56:22 -07:00
Ian Gulliver
e1288a67fb Fixes for read/write ACLs on server and client side 2014-05-30 16:42:30 -07:00
Ian Gulliver
8982e0e2b5 Fix nasty retry bug that causes us to not reconnect. 2014-05-30 11:23:32 -07:00
Ian Gulliver
5d39c9abdf Last ugly style guide compliance fixes 2014-05-28 23:25:53 -07:00
Ian Gulliver
10dd0e4db0 Layout for new debug console. 2014-05-28 23:16:57 -07:00
Ian Gulliver
76bd05d03d Lint cleanup for tests 2014-05-28 21:56:12 -07:00