Commit graph

309 commits

Author SHA1 Message Date
Tyson Clugg
cb7b0a08fd Fixes #20 -- depend on gevent>=1.1b6 if not running CPython 2.7 2015-10-30 14:21:49 +11:00
Tyson Clugg
156c0bfe5c Merge branch 'develop' into feature/#16_PyPy_support
Conflicts:
	setup.py
2015-10-30 11:11:38 +11:00
Tyson Clugg
9799c10355 Merge tag '0.17.2' into develop
0.17.2
2015-10-29 10:06:37 +11:00
Tyson Clugg
cc0d437e9d Merge branch 'release/0.17.2' 2015-10-29 10:06:30 +11:00
Tyson Clugg
f371c5b1d4 Update CHNAGES.rst, bump version number. 2015-10-29 10:06:17 +11:00
Tyson Clugg
9c865dd978 Fixes #18, fixes #19 -- Use six forPython 3 compatibility. 2015-10-29 10:02:31 +11:00
Tyson Clugg
a3c9f9c802 Python3 compatibility fixes in dddp.api. 2015-10-29 09:53:52 +11:00
Tyson Clugg
5f776a7996 Python3 compatibility fix for alea module. 2015-10-29 09:25:05 +11:00
Tyson Clugg
be93d5e1e8 Pylint cleanups. 2015-10-28 13:30:58 +11:00
Tyson Clugg
b8b519d9b2 Different install requirements for CPython vs PyPy. 2015-10-26 14:39:23 +11:00
Tyson Clugg
252f9bd9fc Add explanations to limitations in README. 2015-10-16 13:31:08 +11:00
Tyson Clugg
741111159c Merge tag '0.17.1' into develop
0.17.1
2015-10-14 03:02:43 +11:00
Tyson Clugg
fae05933e4 Merge branch 'release/0.17.1'
Conflicts:
	docs/conf.py
2015-10-14 03:02:27 +11:00
Tyson Clugg
5ea4bbd533 Update CHANGES.rst, bump version number. 2015-10-14 03:01:19 +11:00
Tyson Clugg
4c0fd40ebd Fix bug causing some subscription queries to use inefficient SQL. 2015-10-14 02:59:02 +11:00
Tyson Clugg
f1fb3d76ab Correct path for .whl files in Makefile. 2015-10-14 01:54:45 +11:00
Tyson Clugg
8acdf40a1b Fix bug in new bumpversion script. 2015-10-14 01:10:16 +11:00
Tyson Clugg
ed22d16cff Merge branch 'release/0.17.0' 2015-10-14 01:09:44 +11:00
Tyson Clugg
4440b94dd7 Fix bug in new bumpversion script. 2015-10-14 01:09:37 +11:00
Tyson Clugg
287bd58fc2 Merge tag '0.17.0' into develop
0.17.0
2015-10-14 01:06:08 +11:00
Tyson Clugg
5627692c98 Merge branch 'release/0.17.0' 2015-10-14 01:06:01 +11:00
Tyson Clugg
91c7773213 Update CHANGES.rst, bump version number with updated script. 2015-10-14 01:05:46 +11:00
Tyson Clugg
472d0c10a4 Repeatable builds using ye olde make. 2015-10-14 00:28:39 +11:00
Tyson Clugg
e0ae6134d1 Use tox test runner - no tests yet (#11). 2015-10-14 00:28:06 +11:00
Tyson Clugg
d1b91891cd Add concrete requirement files for test suite (#11). 2015-10-14 00:26:48 +11:00
Tyson Clugg
1e767ce521 Fixes #10 -- Started documentation 2015-10-14 00:21:30 +11:00
Tyson Clugg
fe6b214f90 Trimmed fat from .gitignore 2015-10-14 00:19:45 +11:00
Tyson Clugg
27c270f40f Fixes #6 (again) -- Python 3 style exception handling. 2015-10-13 23:44:15 +11:00
Tyson Clugg
80238bc785 Make the SQL for subscriptions much faster to run.
The PostgreSQL query planner knows to short-circuit some operators such
as IN or ANY such that `foo_id IN (SELECT foo.id FROM foo WHERE ...)`
doesn't need to perform a full table scan on foo.

This change ensures that `user_rel` WHERE clauses use the `IN` operator
to take advantage of the greatly improved performance.
2015-10-13 23:13:41 +11:00
Tyson Clugg
07fcf39e0a Merge tag '0.16.0' into develop
0.16.0
2015-10-13 12:20:09 +11:00
Tyson Clugg
fa90800e72 Merge branch 'release/0.16.0' 2015-10-13 12:20:03 +11:00
Tyson Clugg
99cff8241e Update CHANGES.rst, bump version number. 2015-10-13 12:19:52 +11:00
Tyson Clugg
b80e50a6ac Improvements to error/exception handling. 2015-10-13 11:39:20 +11:00
Tyson Clugg
2aa21c7a27 Warn if many TX chunks are waiting (stalled?) 2015-10-13 11:36:05 +11:00
Tyson Clugg
91a1b4a3db Bugfix thread locals setup when opening WebSocket. 2015-10-13 11:18:24 +11:00
Tyson Clugg
0bbf5ac10c Add missing import for Python 2 print(). 2015-10-13 11:13:59 +11:00
Tyson Clugg
b14b2a427e New setting DDP_API_ENDPOINT_DECORATORS.
Takes a list of dotted import paths to decorators which are applied to API
endpoints.  For example, enable New Relic instrumentation with the following:

```
DDP_API_ENDPOINT_DECORATORS = ['newrelic.agent.background_task']
```
2015-10-13 11:05:02 +11:00
Tyson Clugg
397e044ddd Work towards #16 -- Use psycopg2cffi compatibility if psycopg2 not installed. 2015-10-08 11:58:42 +11:00
Tyson Clugg
73465d6ed4 Fixed #7 -- Warn if using DB engines other than psycopg2. 2015-10-08 11:37:03 +11:00
Tyson Clugg
a9df2f27df Merge tag '0.15.0' into develop
0.15.0
2015-09-25 11:38:17 +10:00
Tyson Clugg
cc7e6d2f42 Merge branch 'release/0.15.0' 2015-09-25 11:38:11 +10:00
Tyson Clugg
b093ad8577 Update CHANGES.rst, bump version number. 2015-09-25 11:37:51 +10:00
Tyson Clugg
05e3356b93 Pass all attributes from logging.LogRecord via dddp.logs collection. 2015-09-25 11:32:04 +10:00
Tyson Clugg
f15efc0930 Use select_related() and resultant cached relational fields to speed up Colleciton.serialize(). 2015-09-25 11:30:48 +10: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
250bf0df78 Merge tag '0.14.0' into develop
0.14.0
2015-09-22 18:21:27 +10:00
Tyson Clugg
dba30fd3ab Merge branch 'release/0.14.0' 2015-09-22 18:21:20 +10:00
Tyson Clugg
3e8dd2f26b Update CHANGES.rst, bump version number. 2015-09-22 18:21:14 +10:00
Tyson Clugg
cefe6fe62d Account security tokens are now calculated for each minute allowing for finer grained token expiry. 2015-09-22 18:11:45 +10:00
Tyson Clugg
56c850948f Update dddp/test/meteor_todos/ app to Meteor 1.2.0 (still works fine with older versions though). 2015-09-22 17:01:18 +10:00