Tyson Clugg
07ccc014bc
Fix array aggregate for Django 1.8
2015-06-14 03:31:27 +10:00
Tyson Clugg
2ad5e28452
WIP on Django 1.8 compatibility.
2015-06-12 23:08:27 +10:00
Tyson Clugg
2cfb3ebe12
Pylint: reduce number of variables in method.
2015-06-05 09:38:15 +10:00
Tyson Clugg
65927e20e6
Don't emit change messages for migrations/ddp apps.
2015-06-05 09:37:36 +10:00
Tyson Clugg
1e000d2892
Show method input params after traceback if exception occurs.
2015-06-05 09:36:49 +10:00
Tyson Clugg
b8bf33a992
Remove shadown method definition.
2015-06-05 09:36:12 +10:00
Tyson Clugg
f02fba6d9f
Refactor serialization to imporove performance (less DB queries) and add support for auth updating subscriptions.
2015-05-28 10:53:29 +10:00
Tyson Clugg
a8b0883a39
Support optional on M2M fields with blank=True for schema generation.
2015-05-27 14:31:23 +10:00
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
6a447b5558
Fix pylint warning about local overwrite of variable.
2015-05-18 12:38:29 +10:00
Tyson Clugg
4fe0a0f858
Send nosub in response to bad sub request.
2015-05-18 12:37:09 +10:00
Tyson Clugg
bd830a4aab
Fix change handler for objects updated using F expressions.
2015-05-18 12:35:52 +10:00
Tyson Clugg
ea440356a3
Show stack trace on console by default to further debugging efforts.
2015-05-18 12:34:30 +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
ba592bb0a0
Fix publications/collection DDP update routing to select the correct collection for change updates.
2015-04-29 19:54:53 +10:00
Tyson Clugg
9de6b8dc9d
Add autoform options to /foo.collection/schema.
2015-04-29 19:47:39 +10:00
Tyson Clugg
223e425cde
Stop wrapping api methods in transaction.atomic, they are already in transactions from websocket.py -> dispatch().
2015-04-29 19:45:52 +10:00
Tyson Clugg
e8e0e2df98
Make live updates honour user_rel restrictions, also allow superusers to see everything.
2015-04-28 12:17:35 +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
756a65474d
Fix /schema method call.
2015-04-23 09:51:37 +10:00
Tyson Clugg
59cc3f0ad1
Fix unsubscribe from publications.
2015-04-23 09:50:45 +10:00
Tyson Clugg
7dea154d0d
Don't include null/None reply from method calls in message.
2015-04-14 10:51:53 +10:00
Tyson Clugg
4a4cd729ea
Create subscriptions inside a transaction.
2015-04-10 11:09:22 +10:00
Tyson Clugg
94a75dee8b
Django DDP version 0.2.0
2015-04-08 16:14:22 +10:00