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
Tyson Clugg
df97966941
Bump version number in preparation for next release.
2015-04-10 11:35:35 +10:00
Tyson Clugg
e14b899f7e
Remove line numbers from example code.
2015-04-10 11:17:57 +10:00
Tyson Clugg
586b242e3f
Add sections to REAME: Requirements; Scalability; Limitations; Installation; Contributors.
2015-04-10 11:15:57 +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
9ea4ba9b7c
Drop unused VERSION.txt
2015-03-11 14:15:50 +11:00
Tyson Clugg
c32e966692
Add missing dependencies, new release (0.1.1).
2015-03-11 14:15:20 +11:00
Tyson Clugg
11528c9800
Stop using VERSION.txt
2015-03-11 13:53:03 +11:00
Tyson Clugg
c2647cc227
Correct package URL.
2015-03-11 13:36:48 +11:00