Commit graph

16 commits

Author SHA1 Message Date
Tyson Clugg
f5f127e9ba Check order of added/changed when emitting WebSocket frames, don't try to emit removed when client doesn't have the item. 2015-05-27 14:28:30 +10:00
Tyson Clugg
fa51d89575 Fix order of added/changed messages by deferring id checking until emitting WebSocket frames. 2015-05-27 12:48:16 +10:00
Tyson Clugg
c7ecd60ea7 Refactor pub/sub functionality to fix support for removed. 2015-05-21 12:51:43 +10:00
Tyson Clugg
f1d031313f Bugfix issue where DDP connection thread stops sending messages after changing item that has subscribers for other connections but not self. 2015-05-20 15:05:05 +10:00
Tyson Clugg
0542e31f3d Fix added/changed messages. 2015-05-18 12:39:00 +10:00
Tyson Clugg
28a187a574 Correct ordering of outgoing messages for RPC calls that should return result after change messages. 2015-05-12 08:53:21 +10:00
Tyson Clugg
c95e2faf2a Refactored send_notify to add custom serialization support. 2015-05-06 19:40:54 +10:00
Tyson Clugg
1e99b0c396 Gracefully handle poorly registered instance methods that take no args (ie: missing self arg) 2015-04-29 19:51:40 +10:00
Tyson Clugg
1a91693d1f Drop session field from Connection model, move transaction wrapper from on_message to dispatch handler. 2015-04-29 19:40:30 +10:00
Tyson Clugg
abe6b12ece Allow fresh connections from browsers that have not established a
session in the database yet, also allow subscriptions from
unauthenticated sessions (but don\'t show any data for collections that
have user_rel items defined).
2015-04-27 22:26:39 +10:00
Tyson Clugg
b9a17b8f37 New DB field: Connection.server_addr, cleanup connections on shutdown. 2015-04-23 13:46:54 +10:00
Tyson Clugg
41c544dadb Fix generation of meteor ID's to match meteor client implementation. 2015-04-14 11:08:08 +10:00
Tyson Clugg
feaea9f0c1 Change validation so that we now pass the DDP test suite <http://ddptest.meteor.com/>. 2015-04-10 11:10:41 +10:00
Tyson Clugg
94a75dee8b Django DDP version 0.2.0 2015-04-08 16:14:22 +10:00
Tyson Clugg
29b9acf8e4 Use logging rather than print statements, find WSGI_APPLICATION rather than using donor project default. 2015-02-25 08:12:56 +11:00
Tyson Clugg
25a9fe6ef3 Refactor dddp management command, breaking out PostgresGreenlet and DDPWebSocketApplication. 2015-02-24 16:59:34 +11:00