Commit graph

70 commits

Author SHA1 Message Date
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
5f43879f74 Login after create_user as per http://docs.meteor.com/#/full/accounts_createuser 2015-05-14 13:44:32 +10:00
Tyson Clugg
9ddbf7a6ae Merge tag '0.6.0' into develop
Version 0.6.0
2015-05-12 14:42:58 +10:00
Tyson Clugg
90e3926f14 Merge branch 'release/0.6.0' 2015-05-12 14:42:51 +10:00
Tyson Clugg
c031582418 Bump version number to 0.6.0, update changelog. 2015-05-12 14:42:05 +10:00
Tyson Clugg
53ec18cd33 Add dddp.accounts module (Django application). 2015-05-12 14:35:08 +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
89c988f4c1 Merge tag '0.5.0' into develop
Version 0.5.0
2015-05-07 09:25:02 +10:00
Tyson Clugg
f13dc6e283 Merge branch 'release/0.5.0' 2015-05-07 09:24:53 +10:00
Tyson Clugg
f64761c933 Bump version number, update CHANGES and README files. 2015-05-07 09:24:00 +10:00
Tyson Clugg
c95e2faf2a Refactored send_notify to add custom serialization support. 2015-05-06 19:40:54 +10:00
Tyson Clugg
55825b860a Add license details. 2015-04-30 11:35:03 +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
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
97cc333c5e Add correct license (MIT) to trove classifiers in setup.py 2015-04-29 19:49:24 +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
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
93be313adb Merge tag '0.4.0' into develop
django-ddp version 0.4.0
2015-04-28 12:27:24 +10:00
Tyson Clugg
f5df013348 Merge branch 'release/0.4.0' 2015-04-28 12:27:00 +10:00
Tyson Clugg
e475b942c6 Update README.rst and CHANGES.rst for 0.4.0 release. 2015-04-28 12:25:17 +10:00
Tyson Clugg
139a0d459e Bump version: 0.4.0 2015-04-28 12:19:35 +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
882f8977b1 Merge branch 'master' into develop 2015-04-27 22:45:18 +10:00
Tyson Clugg
8931025d53 Support serializing objects that are saved with F expressions by reading field values for F expressions from database explicitly before serializing. 2015-04-27 22:30:52 +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
b6a4388b93 Move serializer factory into global thread context. 2015-04-27 10:29:00 +10:00
Tyson Clugg
d28572fba5 Merge tag '0.3.0' into develop
Django DDP version 0.3.0
2015-04-23 15:09:33 +10:00
Tyson Clugg
0d8b8681a4 Release version 0.3.0 2015-04-23 15:08:49 +10:00
Tyson Clugg
bb5852d18b Update README for 0.3.0 release. 2015-04-23 15:04:17 +10:00
Tyson Clugg
f20ffcbc11 Updated changelog for 0.3.0 release. 2015-04-23 15:01:53 +10:00
Tyson Clugg
c85a6b7204 Preparing for 0.3.0 release. 2015-04-23 14:52:22 +10:00
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
7627450696 Merge pull request #2 from commoncode/develop
Develop
2015-04-15 12:07:22 +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
e5493cf56c Merge pull request #1 from commoncode/develop
Version 0.2.3
2015-04-15 11:03:43 +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
69eaefc6c6 Bump verison number: 0.2.2 2015-04-14 11:15:50 +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