Commit graph

21 commits

Author SHA1 Message Date
Tyson Clugg
81bedca997 Remove unused import. 2015-12-14 13:08:02 +11:00
Tyson Clugg
33052f4835 Fix bug in get_meteor_ids() which caused extra database hits. 2015-09-25 11:29:38 +10:00
Tyson Clugg
282fe36b7e Set blank=True on AleaIdField, allowing adding items without inventing IDs yourself. 2015-08-27 14:25:26 +10:00
Tyson Clugg
04ef1ab8a0 More aggressive searching for local AleaIdField(unique=True) when translating between meteor/object identifiers. 2015-08-13 09:46:31 +10:00
Tyson Clugg
7663405702 Honour AleaIdField(max_length=...) when generating IDs. 2015-08-11 09:44:54 +10:00
Tyson Clugg
d7dd9f2bb5 Merge branch 'develop' into feature/AleaIdField_as_primary_key 2015-07-23 08:53:59 +10:00
Tyson Clugg
8eb2a3d492 Add short_description to get_meteor_id helper for use in ModelAdmin list_display. 2015-07-17 17:49:23 +10:00
Tyson Clugg
797e10e08c Add ObjectMappingMixin using GenericRelation back to ObjectMapping model. 2015-07-17 17:48:25 +10:00
Tyson Clugg
f43097a9ca Add dddp.models.get_object_ids helper function. 2015-07-17 17:46:46 +10:00
Tyson Clugg
43b35a12ce Add models and various shortcuts to allow for AleaIdField with primary_key=True. 2015-07-14 09:31:42 +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
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
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
befa57b8a3 Add dddp.models.get_object(model, meteor_id) method, make get_meteor_id(obj) return None where obj is None. 2015-04-23 10:02:13 +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
94a75dee8b Django DDP version 0.2.0 2015-04-08 16:14:22 +10:00
Tyson Clugg
7c303c1a23 Add test_project, update dddp command to use port 8000 by default, new subscription model. 2015-03-16 15:03:35 +11:00
Tyson Clugg
ab0d3ba161 Add gevent thread local support, Alea PRNG generator, refactor EJSON message generation, add ObjectMapping model. 2015-03-04 18:29:07 +11:00