Commit graph

25 commits

Author SHA1 Message Date
Tyson Clugg
86c8a68f88 Move dddp.main.greenify() to dddp.greenify() to avoid import of threading module before green thread init. 2015-04-23 13:50:33 +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
c20ad035f6 Add ability to deserialize DDP objects. 2015-04-23 13:24:13 +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
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
5768d1ebcf Fix non-threadsafe failure in serializer - now using thread local serializer instance. 2015-04-23 09:41:49 +10:00
Tyson Clugg
82ca99b142 Make dddp management command a subclass of the runserver command so that staticfiles works as expected. 2015-04-23 09:38:14 +10:00
Tyson Clugg
930dfc439a Change DDP serializer to inherit most behaviours from default python serializer, with judicious use of super() where necessary. 2015-04-23 09:23:57 +10:00
Tyson Clugg
c52f2eac3c Version 0.2.5: Fix foreign key references in change messages to correctly reference related object rather than source object. 2015-04-15 12:01:39 +10:00
Tyson Clugg
068422099f Version 0.2.4 - Fix unicode rendering bug in DDP admin for ObjectMapping model. 2015-04-15 11:10:07 +10:00
Tyson Clugg
c40e8722bc Add console script to start DDP service in more robust manner than using the dddp Django mangement command (bump version for release: 0.2.3). 2015-04-15 11:00:15 +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
7dea154d0d Don't include null/None reply from method calls in message. 2015-04-14 10:51:53 +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
4a4cd729ea Create subscriptions inside a transaction. 2015-04-10 11:09:22 +10:00
Tyson Clugg
e5979318e2 Remove unused site module. 2015-04-10 11:05:44 +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
90dc7facab Connect using psycopg2 directly rather than via django.db.connection.get_new_connection(...) which doesn't do what we want in Django 1.7 2015-03-12 16:50:38 +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
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
Tyson Clugg
88e6799ae2 Refactored server.py intoA dddp management command, added pub/sub capability (realtime), intial result sets... woo! 2015-02-24 11:43:46 +11:00
Tyson Clugg
a044326be0 A working proof-of-concept. 2015-02-23 15:29:18 +11:00