Bernie Hackett
7dc7145800
Debug exhaust cursor test.
2014-10-06 14:04:20 -07:00
behackett
225cd39187
PYTHON-761 - Use listCollections to helper methods
2014-10-02 16:21:11 -07:00
behackett
b74aafb577
PYTHON-762 - Use listIndexes for index_information
2014-10-02 16:20:21 -07:00
behackett
29d5bca15e
PYTHON-763 - Bump MAX_SUPPORTED_WIRE_VERSION to 3.
2014-10-02 16:16:58 -07:00
A. Jesse Jiryu Davis
5538c87552
Dead test code.
2014-10-02 09:32:24 -04:00
Bernie Hackett
f8e6d36c8a
PYTHON-493 - Add **kwargs to Database.dereference
2014-09-26 16:18:47 -07:00
Bernie Hackett
be12ae5ad8
Can't test ssl.CERT_NONE without an SSL module.
...
Python 2.4, 2.5, Jython, etc.
2014-09-26 15:34:07 -07:00
Bernie Hackett
d6593fc24b
PYTHON-679 - Add socketKeepAlive option.
2014-09-26 15:12:05 -07:00
Bernie Hackett
5d3e294b93
PYTHON-693 - Fix parsing of default values for keyword args.
2014-09-26 08:10:28 -07:00
Bernie Hackett
5d2ea1f994
PYTHON-753 - Add "How To Ask For Help" in README.rst
2014-09-25 13:18:30 -07:00
Bernie Hackett
70aaf0dc52
PYTHON-739 - Add namespace to command failure message.
2014-09-24 13:55:08 -07:00
Bernie Hackett
1e4b0c5a12
PYTHON-752 - Fix escaping in __simple_command.
2014-09-24 12:28:56 -07:00
Bernie Hackett
0fb2fcfac0
PYTHON-700 - Support subclassing of son manipulators
2014-09-24 09:50:31 -07:00
A. Jesse Jiryu Davis
9dda1346dd
Test connecting to standalone or RS from the same mod_wsgi script.
2014-09-24 09:52:41 -04:00
Luke Lovett
083b1530ae
PYTHON-765 Allow tests to use an existing user when running with auth enabled.
2014-09-19 22:38:53 +00:00
A. Jesse Jiryu Davis
ad3a03ab56
Remove unreliable TestPoolSocketSharingThreads test.
...
It relies on a find_one being faster on the server than a particular JS function,
which is not reliable on virtual hardware. Furthermore the code it's testing is
very well exercised for both threads and greenlets in _TestMaxPoolSize.
2014-09-19 15:40:22 -04:00
Bernie Hackett
f66441514d
Skip copy_database fromhost test on buggy mongos versions.
2014-09-18 16:27:15 -07:00
Bernie Hackett
69a08095d6
PYTHON-759 - Fix ISO-8601 support for python 2.4 and 2.5
2014-09-18 10:10:50 -07:00
Bernie Hackett
9e7fd4865a
PYTHON-759 - Support $date as ISO-8601 or $numberLong
2014-09-17 13:36:43 -07:00
Bernie Hackett
29c885311f
PYTHON-708 Support $undefined and $numberLong extended JSON types.
2014-09-17 13:33:19 -07:00
Bernie Hackett
1ac607c447
PYTHON-314, PYTHON-744 - Hint by index name, count with hint.
...
This change introduces two closely related features. Cursor.hint
now accepts the name of an index as an alternative to passing
the index spec. Cursor.count will now pass the hint, if one was
specified, to the count command. Count with hint is only supported
by MongoDB 2.6 and newer.
2014-09-12 13:50:04 -07:00
Bernie Hackett
91622e62d5
Fix index tests for MongoDB 2.7.x explain output
2014-09-05 15:00:10 -07:00
Bernie Hackett
93e7db4ec3
PYTHON-706 - SCRAM-SHA-1 support for PyMongo 2.x
2014-09-05 06:48:59 -07:00
Bernie Hackett
793438e681
PYTHON-754 - Deprecate dropDups / drop_dups
...
Also skip the related test when connected to MongoDB >= 2.7.
2014-08-29 16:48:00 -07:00
Luke Lovett
7decdd8a40
PYTHON-751 Move all auth tests to the test_auth module.
2014-08-29 22:51:39 +00:00
Bernie Hackett
33d0c702a5
Version -> +
2014-08-14 09:46:29 -07:00
Bernie Hackett
0d4a2ef28a
BUMP 2.7.2
2014-07-29 14:36:57 -07:00
Bernie Hackett
9ca8ad7fc9
Changelog for version 2.7.2.
2014-07-25 10:56:39 -07:00
Bernie Hackett
d32016274b
PYTHON-736 - Don't close sockets on OperationFailure
...
This also speeds up returning exhaust sockets to the pool
when the server returns an error and fixes the tests to
run against all MongoDB versions we test against.
2014-07-24 13:22:23 -07:00
A. Jesse Jiryu Davis
9ad421a58a
PYTHON-736 Fix exhaust cursor error-handling.
...
Connection-pool semaphore leak on server error when
creating or iterating an exhaust cursor.
2014-07-23 16:35:01 -07:00
Bernie Hackett
46a7df09bd
PYTHON-738 - Clarify versionchanged line for bulk insert.
2014-07-22 16:17:14 -07:00
A. Jesse Jiryu Davis
b293b7735b
import style
2014-07-15 11:08:43 -04:00
A. Jesse Jiryu Davis
e1a7bc5058
PYTHON-732 Handle network errors when adding existing credentials to sockets.
2014-07-15 09:34:23 -04:00
Luke Lovett
a1f7a5487f
PYTHON-714 Work around localhost exception issues in add_user when connected to MongoDB >= 2.7.1.
2014-07-02 17:11:20 +00:00
Bernie Hackett
952953d3a1
Fix tests under pypy3.
2014-06-21 22:44:33 -07:00
A. Jesse Jiryu Davis
e904f014d9
PYTHON-709 insert _id in document after applying non-copying SONManipulators.
2014-06-19 14:50:41 -04:00
A. Jesse Jiryu Davis
79df8d799a
Revert "PYTHON-710, simplify SON's equality operator."
...
This reverts commit 551e1e3edf .
The change did not work as expected in Jython.
2014-06-19 14:10:24 -04:00
A. Jesse Jiryu Davis
6c68762960
Use modern 'distinct' syntax in tests.
...
The old syntax is now an error:
https://jira.mongodb.org/browse/SERVER-12642
2014-06-18 20:34:45 -04:00
A. Jesse Jiryu Davis
69f52d0cdf
PYTHON-710, simplify SON's equality operator.
2014-06-18 17:50:55 -04:00
A. Jesse Jiryu Davis
686c8fae49
PYTHON-710, SON.to_dict shouldn't change original data.
2014-06-18 17:49:57 -04:00
A. Jesse Jiryu Davis
91a56702cf
PYTHON-710 test that SON.to_dict doesn't change data.
2014-06-18 17:44:12 -04:00
A. Jesse Jiryu Davis
fb207af4cf
PYTHON-712 ObjectId.is_valid(None) should be False.
2014-06-18 16:19:58 -04:00
behackett
2dc840955a
PYTHON-705 - Fix Bulk API legacy upsert _id compatibility
...
Versions of MongoDB previous to 2.6 only return the upserted
field for an upsert operation if the _id value is an ObjectId.
This patch works around that issue to ensure nUpserted counts
are correct regardless of server version.
2014-06-06 15:37:31 -07:00
behackett
6fbb4c5307
Version -> +
2014-06-06 14:47:41 -07:00
Bernie Hackett
e959aad948
BUMP 2.7.1
2014-05-23 14:45:12 -07:00
Bernie Hackett
6baba92fcf
Changelog for 2.7.1
2014-05-23 13:39:00 -07:00
Bernie Hackett
47825d9d39
PYTHON-697 - Fix upsert _id backward compatibility
2014-05-20 11:28:06 -07:00
Bernie Hackett
f739025e0c
PYTHON-698 - Try encoding types with broken __getattr__ methods
2014-05-16 14:02:12 -07:00
Bernie Hackett
6991b73734
Fix a few tests for MongoDB 2.7.0
2014-05-12 14:07:25 -07:00
Bernie Hackett
04ff22e3c9
Various fixes for auth tests with old mongos versions.
2014-05-02 15:15:08 -07:00