Bastien Gérard 
							
						 
					 
					
						
						
							
						
						f91b89f723 
					 
					
						
						
							
							remove dist:xenial as it recently became the default in travis  
						
						
						
						
							
						
					 
					
						2019-06-13 23:07:25 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						1181b75e16 
					 
					
						
						
							
							clean travis.yml  
						
						
						
						
							
						
					 
					
						2019-06-13 22:50:19 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						5f00b4f923 
					 
					
						
						
							
							refactor travis - mongo install and added python3.7  
						
						
						
						
							
						
					 
					
						2019-06-13 22:50:19 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						4c31193b82 
					 
					
						
						
							
							Revert "added another aggregation test"  
						
						... 
						
						
						
						This reverts commit d7285d43dd 
						
						
							
						
					 
					
						2019-06-13 20:53:56 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Voronenkov 
							
						 
					 
					
						
						
							
						
						17fc9d1886 
					 
					
						
						
							
							Fix a big issue when determine if there is a new document or we need to update.  
						
						... 
						
						
						
						With this issue all fields were update always (not only modified fields) 
						
						
							
						
					 
					
						2019-06-13 19:58:44 +03:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						d7285d43dd 
					 
					
						
						
							
							added another aggregation test  
						
						
						
						
							
						
					 
					
						2019-06-12 23:54:20 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						aa8a991d20 
					 
					
						
						
							
							Try a different deployment condition  
						
						... 
						
						
						
						This time my attempt is based on the output found in another job that didn't
trigger a deployment: https://travis-ci.org/MongoEngine/mongoengine/jobs/544664203 
```
/home/travis/.travis/job_stages: line 660: expected `)'
/home/travis/.travis/job_stages: line 660: syntax error near `AND'
/home/travis/.travis/job_stages: line 660: `  if [[ ($TRAVIS_REPO_SLUG = "MongoEngine/mongoengine") && ($TRAVIS_PYTHON_VERSION = 2.7) && ($PYMONGO = 3.x AND $MONGODB = 3.4) && ("$TRAVIS_TAG" != "") ]]; then'
```
See 80ca6360c1f3ea073e3fcb65070ded0558514ffa and
40ba51ac43 
						
						
							
 
						
					 
					
						2019-06-12 12:19:36 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						40ba51ac43 
					 
					
						
						
							
							Try a different deployment condition  
						
						... 
						
						
						
						The previous one was a verbatim copy-paste of what TravisCI's Support suggested
to me, but sadly it didn't work. See
https://travis-ci.org/MongoEngine/mongoengine/jobs/544655132 . That build
should've triggered a deployment.
This time I'm trying a different syntax, primarily influenced by
https://docs.travis-ci.com/user/conditions-v1#boolean-operators . 
						
						
							
						
					 
					
						2019-06-12 12:08:11 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						d20430a778 
					 
					
						
						
							
							Bump up waiting for MongoDB from 15s to 20s  
						
						... 
						
						
						
						I've noticed that `mongo --eval 'db.version()'` has been failing fairly
regularly in the last few weeks. Hopefully that extra 5s is enough. 
						
						
							
						
					 
					
						2019-06-12 11:57:25 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						f08f749cd9 
					 
					
						
						
							
							Bump version to v0.18.0  
						
						
						
						
							
						
					 
					
						2019-06-12 11:47:31 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						a6c04f4f9a 
					 
					
						
						
							
							Finalize the v0.18.0 changelog [ci skip]  
						
						
						
						
							
						
					 
					
						2019-06-12 11:38:58 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						15b6c1590f 
					 
					
						
						
							
							Add extra context to the BaseDocument.validate docstring  
						
						
						
						
							
						
					 
					
						2019-06-12 11:37:08 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						4a8985278d 
					 
					
						
						
							
							Document inherited members for the Document, EmbeddedDocument, DynamicDocument, and DynamicEmbeddedDocument ( #2040 )  
						
						
						
						
							
						
					 
					
						2019-06-12 11:33:56 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						996618a495 
					 
					
						
						
							
							Fix wording of an exception message in QuerySet.insert  
						
						
						
						
							
						
					 
					
						2019-06-12 08:29:59 +02:00 
						 
				 
			
				
					
						
							
							
								erdenezul 
							
						 
					 
					
						
						
							
						
						1f02d5fbbd 
					 
					
						
						
							
							Merge pull request  #1570  from erdenezul/remove_save_embedded  
						
						... 
						
						
						
						EmbeddedDocument should not have save method #1552  
						
						
							
						
					 
					
						2019-06-11 16:15:53 +02:00 
						 
				 
			
				
					
						
							
							
								Erdenezul Batmunkh 
							
						 
					 
					
						
						
							
						
						c58b9f00f0 
					 
					
						
						
							
							Add changelog  
						
						
						
						
							
						
					 
					
						2019-06-11 15:53:50 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						f131b18cbe 
					 
					
						
						
							
							Make test_update_shard_key_routing more resilient  
						
						
						
						
							
						
					 
					
						2019-06-11 15:50:22 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						118a998138 
					 
					
						
						
							
							Classify the QuerySet.aggregate change as a bugfix [ci skip]  
						
						
						
						
							
						
					 
					
						2019-06-11 15:09:16 +02:00 
						 
				 
			
				
					
						
							
							
								Erdenezul Batmunkh 
							
						 
					 
					
						
						
							
						
						7ad6f036e7 
					 
					
						
						
							
							Remove test  
						
						
						
						
							
						
					 
					
						2019-06-11 13:16:33 +02:00 
						 
				 
			
				
					
						
							
							
								Erdenezul Batmunkh 
							
						 
					 
					
						
						
							
						
						1d29b824a8 
					 
					
						
						
							
							Remove save method from test  
						
						
						
						
							
						
					 
					
						2019-06-11 12:52:29 +02:00 
						 
				 
			
				
					
						
							
							
								Erdenezul Batmunkh 
							
						 
					 
					
						
						
							
						
						3caf2dce28 
					 
					
						
						
							
							Merge branch 'master' into remove_save_embedded  
						
						
						
						
							
						
					 
					
						2019-06-11 12:41:11 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						1fc5b954f2 
					 
					
						
						
							
							fix typo in changelog  
						
						
						
						
							
						
					 
					
						2019-06-10 22:38:37 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						31d99c0bd2 
					 
					
						
						
							
							Cleaner wording in the dev changelog  
						
						
						
						
							
						
					 
					
						2019-06-10 11:26:47 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						0ac59c67ea 
					 
					
						
						
							
							Merge pull request  #2068  from bagerard/fix_connection_auth_same_host  
						
						... 
						
						
						
						Fix connection issue when using different authentication in different dbs 
						
						
							
						
					 
					
						2019-06-07 21:08:26 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						8e8c74c621 
					 
					
						
						
							
							Drop the unused mongodb_version attribute in IndexesTest  
						
						
						
						
							
						
					 
					
						2019-06-07 12:35:38 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						f996f3df74 
					 
					
						
						
							
							Cleaner test_hint  
						
						
						
						
							
						
					 
					
						2019-06-07 12:34:32 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						9499c97e18 
					 
					
						
						
							
							Clean up the .install_mongodb_on_travis.sh script  
						
						... 
						
						
						
						This is a leftover from #2066 . Since we no longer install MongoDB versions
v2.6 – v3.2, we no longer need this code. 
						
						
							
						
					 
					
						2019-06-07 12:16:32 +02:00 
						 
				 
			
				
					
						
							
							
								erdenezul 
							
						 
					 
					
						
						
							
						
						c1c81fc07b 
					 
					
						
						
							
							Merge pull request  #2070  from bagerard/improve_doc_of_custom_field_validation  
						
						... 
						
						
						
						Document the custom field validation feature 
						
						
							
						
					 
					
						2019-06-05 22:30:40 +02:00 
						 
				 
			
				
					
						
							
							
								erdenezul 
							
						 
					 
					
						
						
							
						
						072e86a2f0 
					 
					
						
						
							
							Merge pull request  #2069  from bagerard/some_refactoring  
						
						... 
						
						
						
						minor refactoring and additional of tests 
						
						
							
						
					 
					
						2019-06-05 22:30:09 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						70d6e763b0 
					 
					
						
						
							
							Document the custom field validation feature  
						
						
						
						
							
						
					 
					
						2019-06-05 22:23:54 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						15f4d4fee6 
					 
					
						
						
							
							fix tests for diff mongo vers  
						
						
						
						
							
						
					 
					
						2019-06-05 21:51:21 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						82e28dec43 
					 
					
						
						
							
							improved string operation code  
						
						
						
						
							
						
					 
					
						2019-06-04 23:17:10 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						b407c0e6c6 
					 
					
						
						
							
							add test for shard key routing (ported from  https://github.com/closeio/mongoengine/commit/43f35f5 )  
						
						
						
						
							
						
					 
					
						2019-06-04 23:17:10 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						27ea01ee05 
					 
					
						
						
							
							refactored datetime to_mongo, separating parsing from str + added test  
						
						
						
						
							
						
					 
					
						2019-06-04 23:16:26 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						7ed5829b2c 
					 
					
						
						
							
							Add test on datetime field - parse datetime as str  
						
						
						
						
							
						
					 
					
						2019-06-04 23:16:26 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						5bf1dd55b1 
					 
					
						
						
							
							Update mongomock example  
						
						... 
						
						
						
						Improved the mongomock example as reported in #2067  
 
Fixes  #2067  
						
						
							
						
					 
					
						2019-06-04 22:56:52 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						36aebffcc0 
					 
					
						
						
							
							update changelog  
						
						
						
						
							
						
					 
					
						2019-06-04 22:39:44 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						84c42ed58c 
					 
					
						
						
							
							Add tests  
						
						
						
						
							
						
					 
					
						2019-06-04 22:35:42 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						9634e44343 
					 
					
						
						
							
							Fix the issue that the same MongoClient gets re-used in case we connect to 2 databases on the same host (problematic when different users authenticate)  
						
						
						
						
							
						
					 
					
						2019-06-04 22:12:46 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						048a045966 
					 
					
						
						
							
							Update connection/multiple databases docs  
						
						... 
						
						
						
						I observed that many people were confused by this so I thought I'd make the multiple databases example more explicit 
						
						
							
						
					 
					
						2019-06-04 21:47:28 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						a18c8c0eb4 
					 
					
						
						
							
							Merge pull request  #2049  from bagerard/save_to_mongo_call_in_save  
						
						... 
						
						
						
						Improve perf of Document.save 
						
						
							
						
					 
					
						2019-06-01 15:00:44 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						5fb0f46e3f 
					 
					
						
						
							
							fix changelog (py37 not yet in travis)  
						
						
						
						
							
						
					 
					
						2019-06-01 11:16:29 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						962997ed16 
					 
					
						
						
							
							fix flaky test due to signal receiver garbage collection  
						
						
						
						
							
						
					 
					
						2019-06-01 11:13:28 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						daca0ebc14 
					 
					
						
						
							
							update changelog  
						
						
						
						
							
						
					 
					
						2019-06-01 11:13:28 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						9ae8fe7c2d 
					 
					
						
						
							
							Improve perf of Doc.save by preventing a full to_mongo() call just to get the created variable  
						
						
						
						
							
						
					 
					
						2019-06-01 11:13:28 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						1907133f99 
					 
					
						
						
							
							Merge pull request  #2050  from bagerard/change_custom_field_validation_raise  
						
						... 
						
						
						
						custom field validator is now expected to raise a ValidationError 
						
						
							
						
					 
					
						2019-06-01 10:45:43 +02:00 
						 
				 
			
				
					
						
							
							
								Stefan Wójcik 
							
						 
					 
					
						
						
							
						
						4334955e39 
					 
					
						
						
							
							Update the test matrix to reflect what's supported in 2019 ( #2066 )  
						
						... 
						
						
						
						Previously, we were running the test suite for several combinations of MongoDB,
Python, and PyMongo:
- PyPy, MongoDB v2.6, PyMongo v3.x (which really means v3.6.1 at the moment)
- Python v2.7, MongoDB v2.6, PyMongo v3.x
- Python v3.5, MongoDB v2.6, PyMongo v3.x
- Python v3.6, MongoDB v2.6, PyMongo v3.x
- Python v2.7, MongoDB v3.0, PyMongo v3.5.0
- Python v3.6, MongoDB v3.0, PyMongo v3.5.0
- Python v3.5, MongoDB v3.2, PyMongo v3.x
- Python v3.6, MongoDB v3.2, PyMongo v3.x
- Python v3.6, MongoDB v3.4, PyMongo v3.x
- Python v3.6, MongoDB v3.6, PyMongo v3.x
There were a couple issues with this setup:
1. MongoDB v2.6 – v3.2 have reached their End of Life already (v2.6 almost 3
   years ago!). See the "MongoDB Server" section on
   https://www.mongodb.com/support-policy .
2. We were only testing two recent-ish PyMongo versions (v3.5.0 & v3.6.1).
   We were not testing the oldest actively supported MongoDB/PyMongo/Python
   setup.
This PR updates the test matrix so that these problems are solved. For the
sake of simplicity, it does not yet attempt to cover MongoDB v4.0:
- PyPy, MongoDB v3.4, PyMongo v3.x (aka v3.6.1 at the moment)
- Python v2.7, MongoDB v3.4, PyMongo v3.x
- Python v3.5, MongoDB v3.4, PyMongo v3.x
- Python v3.6, MongoDB v3.4, PyMongo v3.x
- Python v2.7, MongoDB v3.4, PyMongo v3.4
- Python v3.6, MongoDB v3.6, PyMongo v3.x 
						
						
							
						
					 
					
						2019-05-31 11:01:15 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						f00c9dc4d6 
					 
					
						
						
							
							Fix flake8 import error  
						
						
						
						
							
						
					 
					
						2019-05-28 09:26:07 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						7d0687ec73 
					 
					
						
						
							
							custom field validator is now expected to raise a ValidationError (drop support for returning True/False)  
						
						
						
						
							
						
					 
					
						2019-05-28 09:26:07 +02:00 
						 
				 
			
				
					
						
							
							
								Bastien Gérard 
							
						 
					 
					
						
						
							
						
						da3773bfe8 
					 
					
						
						
							
							Merge pull request  #2063  from bagerard/improve_test  
						
						... 
						
						
						
						Improve minor things in the tests 
						
						
							
						
					 
					
						2019-05-26 22:33:40 +02:00