c8c8957c15
Suggested tutorial cleanups
Ian Gulliver
2014-06-03 22:14:02 -07:00
1031f2fee9
Change playground URL
Ian Gulliver
2014-06-03 22:00:40 -07:00
66e68ea8dd
User user IDs instead of email addresses for profile keys, since they're permanent.
Ian Gulliver
2014-06-02 22:57:03 -07:00
7c04134dc4
Rewrite the session code, again. Now use the username as the profile key name.
Ian Gulliver
2014-06-02 22:54:16 -07:00
f4bb278835
Impose access controls for subscribe even without a channel open.
Ian Gulliver
2014-06-02 21:53:51 -07:00
b2c661a385
Send page views for debug console using exposed API.
Ian Gulliver
2014-06-02 21:27:19 -07:00
074820d770
Tracking bugfix, annotation fixes.
Ian Gulliver
2014-06-01 21:49:29 -07:00
5079aac9a6
Allow subscribe to return events from a subject even when not creating a subscription
Ian Gulliver
2014-06-01 21:14:58 -07:00
c004d27e9d
Get javascript loading out of the critical path.
Ian Gulliver
2014-06-01 15:27:43 -07:00
b84b733e56
Remove RPC queueing now that we're doing client-side client_id generation.
Ian Gulliver
2014-06-01 13:41:45 -07:00
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.
Ian Gulliver
2014-05-31 23:25:15 -07:00
0ab2fe620c
lint/compiler cleanups
Ian Gulliver
2014-05-31 11:51:16 -07:00
54dcc98b00
Google analytics support for load and subscribe events.
Ian Gulliver
2014-05-31 11:41:37 -07:00
ad9836776f
Support pressing enter in message and pin fields.
Ian Gulliver
2014-05-30 17:21:14 -07:00
45677a972e
Debug page title.
Ian Gulliver
2014-05-30 17:06:27 -07:00
75b8b19f17
Load fonts over HTTPS
Ian Gulliver
2014-05-30 17:03:46 -07:00
d68b1ba942
Remove AuthKey.live, which didn't work anyway.
Ian Gulliver
2014-05-30 17:02:21 -07:00
14ba801e09
Fix resubscription broken by recent change.
Ian Gulliver
2014-05-30 17:00:06 -07:00
27a21cc2d3
New debug console. Add sender_message_id to delivered messages for code simplicity.
Ian Gulliver
2014-05-30 16:56:22 -07:00
e1288a67fb
Fixes for read/write ACLs on server and client side
Ian Gulliver
2014-05-30 16:42:30 -07:00
8982e0e2b5
Fix nasty retry bug that causes us to not reconnect.
Ian Gulliver
2014-05-30 11:23:32 -07:00
5d39c9abdf
Last ugly style guide compliance fixes
Ian Gulliver
2014-05-28 23:25:53 -07:00
10dd0e4db0
Layout for new debug console.
Ian Gulliver
2014-05-28 23:16:57 -07:00
76bd05d03d
Lint cleanup for tests
Ian Gulliver
2014-05-28 21:56:12 -07:00
d5941a49f7
Whitespace for strict linting.
Ian Gulliver
2014-05-28 21:52:12 -07:00
9e791bcf3b
Move types inside our namespace to avoid polluting globals. Make some private.
Ian Gulliver
2014-05-28 21:43:27 -07:00
6ca7247fc9
Lots of style fixes for JavaScript
Ian Gulliver
2014-05-28 21:32:01 -07:00
0ad033550c
Fix auth key bug introduced in last change
Ian Gulliver
2014-05-28 14:58:37 -07:00
a70982243b
Add app-local caching and stop using memcache; reduce overall datastore access.
Ian Gulliver
2014-05-28 14:44:13 -07:00
9736c15faa
Subjects get a key name to enforce uniqueness.
Ian Gulliver
2014-05-28 13:51:42 -07:00
be27a86b72
Use get_or_insert for finding instances.
Ian Gulliver
2014-05-28 13:39:15 -07:00
e9752f9277
(Failing) test to race to duplicate a subject
Ian Gulliver
2014-05-28 13:36:12 -07:00
3b18676f59
Add a new class of chaos monkey errors after the inner code has run. Lower the overall error rate to reduce traffic.
Ian Gulliver
2014-05-27 16:58:20 -07:00
4427af1505
Combined our two post-connect functions into one, so we make less HTTP calls.
Ian Gulliver
2014-05-27 16:32:59 -07:00
6d6950624f
Add onConnect/onDisconnect callbacks
Ian Gulliver
2014-05-27 15:48:03 -07:00
1dd1490518
Pin test, fixes, cleanup
Ian Gulliver
2014-05-27 15:33:51 -07:00
d96c31abf7
Remove stupid cycling UUID scheme. Instead, limit server-side pin deduping to a single instance.
Ian Gulliver
2014-05-27 14:54:16 -07:00
43dec31217
Attempt more reliable handling for connecting with a bad instance ID.
Ian Gulliver
2014-05-27 14:43:59 -07:00
fd94334133
Change our sender IDs when re-pinning, so we don't race against duping ourselves.
Ian Gulliver
2014-05-27 14:33:17 -07:00
ba51350768
Move exception logging to warn level, so real errors stick out.
Ian Gulliver
2014-05-27 14:32:15 -07:00
e51d42a842
Lots of closure annotation to allow JavaScript compile/verification.
Ian Gulliver
2014-05-27 14:29:12 -07:00
b700202e4f
Quiet some of the logspam around instances
Ian Gulliver
2014-05-26 17:28:59 -07:00
df1beb58d9
Add tutorial entry about pins
Ian Gulliver
2014-05-26 16:51:58 -07:00
f1a670749d
Simplify with getLastMessage()
Ian Gulliver
2014-05-26 10:03:27 -07:00
070521493b
Add getLastMessage() for easier key/value storing.
Ian Gulliver
2014-05-26 10:02:37 -07:00
34744c2a36
Add domain reference
Ian Gulliver
2014-05-26 09:47:08 -07:00
8d1d79ef58
Remove reference to key and add pin overview
Ian Gulliver
2014-05-25 23:55:42 -07:00
898121dabd
Remove the concept of keys; they can just be encoded into subject names.
Ian Gulliver
2014-05-25 23:50:53 -07:00
8e7af2f5cf
Add support for ephemeral messages that are tied to an open channel, aka "pins".
Ian Gulliver
2014-05-25 23:40:56 -07:00
1e91f5babb
Per-RPC retry support, used when subscribe() can't find an active instance.
Ian Gulliver
2014-05-23 15:32:31 -07:00
ba82bf3dee
Minor cleanups
Ian Gulliver
2014-05-23 15:24:52 -07:00
2ec0402962
Change titles.
Ian Gulliver
2014-05-23 15:12:32 -07:00
c6cbae4885
Generate a new instance_id when we reconnect the channel, so we look like an entirely different instance.
Ian Gulliver
2014-05-23 15:10:49 -07:00
b5bce48df6
Make Instance actually stand alone.
Ian Gulliver
2014-05-23 15:00:28 -07:00
0b38d082c1
Remove Instance from the Profile hierarchy to allow key_name queries.
Ian Gulliver
2014-05-23 14:29:11 -07:00
d6933a85e2
Link to the playground application
Ian Gulliver
2014-05-23 11:47:56 -07:00
c15b57aa05
Incognito windows no longer needed.
Ian Gulliver
2014-05-23 11:46:15 -07:00
9b14a5a14b
Move the two channels test to the dev appserver, since the second channel never connects in prod.
Ian Gulliver
2014-05-23 11:45:34 -07:00
1ec2340f48
Need to make the client_id even shorter. Switch to id()
Ian Gulliver
2014-05-23 11:40:08 -07:00
0e87448f6f
Switch to using Instance key as the channel_id, since there seems to be an undocumented length limit.
Ian Gulliver
2014-05-23 11:23:30 -07:00
6bfa10e82a
Add a third level construct under Profile and Client, Instance. This allows more than one connected object with the same client credentials.
Ian Gulliver
2014-05-23 10:31:52 -07:00
518f3a45af
Add tutorial section on using keys
Ian Gulliver
2014-05-22 13:14:58 -07:00
fca0da9917
Minor formatting style
Ian Gulliver
2014-05-22 12:27:51 -07:00
e8ec10c26e
Tutorial gets through subscribing to a subject
Ian Gulliver
2014-05-22 12:17:46 -07:00
f2f191f118
Flesh out testing section
Ian Gulliver
2014-05-22 11:38:45 -07:00
d5242b2c86
Add tutorial
Ian Gulliver
2014-05-22 11:35:21 -07:00
11010fdcd4
Start of tutorial
Ian Gulliver
2014-05-22 11:34:33 -07:00
f8105f5d9f
Remove IE compat
Ian Gulliver
2014-05-22 11:11:10 -07:00
48085dd978
Switch to universal analytics
Ian Gulliver
2014-05-22 11:10:12 -07:00
d862580b22
Lots of new links for definitions.
Ian Gulliver
2014-05-22 11:08:37 -07:00
725c83d96f
A little bit of header layout
Ian Gulliver
2014-05-22 11:02:20 -07:00
65bfdda48f
Remove junk file
Ian Gulliver
2014-05-22 11:00:28 -07:00
f73308434f
Remove reference to fctv
Ian Gulliver
2014-05-22 10:59:11 -07:00
f4b18f32ec
Remove spam footer.
Ian Gulliver
2014-05-22 10:58:33 -07:00
2dbc17ec98
Try to sort out this mess.
Ian Gulliver
2014-05-22 10:53:52 -07:00