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
Tyson Clugg
81824e5bfe
Fix dddp.test.test_project URL config and options for MiniMongo collections.
2015-09-22 17:00:03 +10:00
Tyson Clugg
9cf2ec3a0b
Correctly handle serving app content from the root path of a domain.
2015-09-22 16:58:19 +10:00
Tyson Clugg
d7ea54539c
Show API endpoints when dddp command run with verbosity above 1.
2015-09-22 11:55:35 +10:00
Tyson Clugg
5e545ee7c2
Stop printing path to stderr by default when handling GET on Meteor URLs.
2015-09-22 11:51:06 +10:00
Tyson Clugg
9a9e119c36
Fix error in logging call during exception handling.
2015-09-22 11:49:56 +10:00
Tyson Clugg
ef414f50c4
Don't rely on HTTP_REFERER header which may not be present.
2015-09-22 11:48:24 +10:00
Tyson Clugg
7cf4bf5c8c
Fix bug in serialization of logging.LogRecord to show formatted message.
2015-09-22 11:46:50 +10:00
Tyson Clugg
d073fe8c77
Merge tag '0.13.0' into develop
...
0.13.0
2015-09-18 17:54:39 +10:00
Tyson Clugg
750ee103ad
Merge branch 'release/0.13.0'
2015-09-18 17:54:33 +10:00
Tyson Clugg
7cee480c20
Update CHANGES.rst, bump version number.
2015-09-18 17:54:09 +10:00
Tyson Clugg
2264ddbdc2
Abstract DDPLauncher out from dddp.main.serve to permit use from other contexts.
2015-09-18 17:47:26 +10:00
Tyson Clugg
d03b259226
Allow Ctrl-C (Break) handling at any time, only run async DB connection when PostgresGreenlet is running.
2015-09-18 17:47:26 +10:00
Tyson Clugg
3dd63fdd1b
Remove unused import (os.path) from setup.
2015-09-18 17:43:59 +10:00
Tyson Clugg
f756ec445f
Include name and levelno attributes in DDP emitted log records.
2015-09-18 17:43:23 +10:00
Tyson Clugg
61e5d8dcf8
Don't attempt to monkey patch more than once.
2015-09-18 17:42:41 +10:00
Tyson Clugg
da70e10857
Include exception info in logger.error logging call.
2015-09-18 17:42:11 +10:00
Tyson Clugg
c4403c3a98
Update project classifiers to show specific versions of supported dependencies ( fixes #6 ).
2015-09-08 09:10:25 +10:00
Tyson Clugg
5f9083d314
Use sane default options for python setup.py bdist_wheel.
2015-09-08 09:02:39 +10:00
Tyson Clugg
bfab32b4a3
Merge pull request #5 from LegoStormtroopr/patch-1
...
Fixed link to meteor - thanks @LegoStormtroopr
2015-09-04 14:43:50 +10:00
Tyson Clugg
64bbf25b9f
Merge tag '0.12.2' into develop
...
0.12.2
2015-08-27 14:27:52 +10:00
Tyson Clugg
c43adea733
Merge branch 'release/0.12.2'
2015-08-27 14:27:44 +10:00
Tyson Clugg
f68c454c7c
Update CHANGES.rst, bump version number.
2015-08-27 14:27:33 +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
Samuel Spencer
c042761e78
Fixed link to meteor
2015-08-18 13:00:45 +10:00
Tyson Clugg
dbcfa65116
Merge tag '0.12.1' into develop
...
0.12.1
2015-08-13 10:01:07 +10:00
Tyson Clugg
731ba5545b
Merge branch 'release/0.12.1'
2015-08-13 10:01:02 +10:00
Tyson Clugg
b1017c78e5
Update CHANGES.rst, bump version number.
2015-08-13 10:00:54 +10:00