Bastien Gérard
|
99e660c66d
|
update changelog
|
2019-12-27 09:32:05 +01:00 |
|
Bastien Gérard
|
aa02f87b69
|
change & deprecate .aggregate api to mimic pymongo's interface + separate the aggregation tests from the large test_queryset.py file
|
2019-12-27 09:23:15 +01:00 |
|
Bastien Gérard
|
1cb2f7814c
|
Merge branch 'mcsimps2-allow-periods-in-dict'
|
2019-12-26 20:53:50 +01:00 |
|
Bastien Gérard
|
b5485b16e6
|
Merge branch 'allow-periods-in-dict' of https://github.com/mcsimps2/mongoengine into mcsimps2-allow-periods-in-dict
|
2019-12-26 20:47:46 +01:00 |
|
Bastien Gérard
|
62c8597a3b
|
fix pypi deployment version match
|
2019-12-24 11:15:23 +01:00 |
|
Bastien Gérard
|
8e892dccfe
|
document recent merged PR in changelog
|
2019-12-20 23:51:01 +01:00 |
|
Bastien Gérard
|
c22eb34017
|
Merge branch 'master' of github.com:MongoEngine/mongoengine into release_0_19_0
|
2019-12-20 23:49:41 +01:00 |
|
Bastien Gérard
|
c85b59d3b5
|
Merge branch 'master' of github.com:MongoEngine/mongoengine into negative_indexes_in_list
|
2019-12-20 23:27:51 +01:00 |
|
Bastien Gérard
|
1170de1e8e
|
added explicit doc for order_by #2117
|
2019-12-20 23:20:15 +01:00 |
|
Bastien Gérard
|
332bd767d4
|
minor fixes in tests
|
2019-12-20 23:20:15 +01:00 |
|
Bastien Gérard
|
d44533d956
|
completed the changelog with missing details
|
2019-12-20 22:41:22 +01:00 |
|
Bastien Gérard
|
12d8bd5a22
|
bump version to 0.19.0
|
2019-12-20 22:11:43 +01:00 |
|
Bastien Gérard
|
ae326678ec
|
updated changelog for upcoming 0.19.0
|
2019-12-20 22:09:04 +01:00 |
|
Bastien Gérard
|
280a73af3b
|
minor fix in doc of NULLIFY to improve #834
|
2019-12-14 21:44:59 +01:00 |
|
Bastien Gérard
|
3b099f936a
|
provide additional details on how inheritance works in doc
|
2019-12-13 21:32:45 +01:00 |
|
Bastien Gérard
|
78b240b740
|
updated changelog + improved query_counter test
|
2019-12-04 21:51:07 +01:00 |
|
Bastien Gérard
|
81647d67a0
|
fix recent tests update with unittest2pytest
|
2019-10-31 23:06:40 +01:00 |
|
Bastien Gérard
|
d8924ed892
|
remove inheritance from unittest.TestCase on basic test classes
|
2019-10-31 23:02:28 +01:00 |
|
Bastien Gérard
|
799cdafae6
|
remove references to nose
|
2019-10-31 23:02:28 +01:00 |
|
Bastien Gérard
|
bc0c55e49a
|
improve tests health (flake8 warnings)
|
2019-10-31 23:01:27 +01:00 |
|
Bastien Gérard
|
c61c6a8525
|
fix == None assertions
|
2019-10-31 22:59:49 +01:00 |
|
Bastien Gérard
|
3e764d068c
|
fix remaining assertRaises
|
2019-10-31 22:59:49 +01:00 |
|
Bastien Gérard
|
ac25f4b98b
|
ran unittest2pytest
|
2019-10-31 22:59:49 +01:00 |
|
Bastien Gérard
|
37ca79e9c5
|
fix black formatting
|
2019-10-31 22:39:53 +01:00 |
|
Bastien Gérard
|
6040b4b494
|
update changelog
|
2019-10-31 21:33:19 +01:00 |
|
Bastien Gérard
|
51ea3e3c6f
|
fix for recent coverage/coveralls compatibility issue
|
2019-10-31 20:39:49 +01:00 |
|
Bastien Gérard
|
5a16dda50d
|
fix coverage for pytest runner
|
2019-10-31 20:39:49 +01:00 |
|
Bastien Gérard
|
bbfa978861
|
switch test runner from nose to pytest
|
2019-10-31 20:39:49 +01:00 |
|
Bastien Gérard
|
54ca7bf09f
|
fix associated test to avoid discrepencies btw py2 and py3
|
2019-10-28 23:33:37 +01:00 |
|
Bastien Gérard
|
8bf5370b6c
|
Improve error message from InvalidDocumentError whenever an embedded document has a bad shape (e.g due to migration)
|
2019-10-28 22:05:13 +01:00 |
|
Bastien Gérard
|
c60ed32f3a
|
Documented how pymongo.monitoring can be used with MongoEngine
|
2019-10-16 21:25:17 +02:00 |
|
Bastien Gérard
|
5bcc679194
|
fix 2 pymongo deprecation warnings
|
2019-10-10 22:55:44 +02:00 |
|
Bastien Gérard
|
1e17b5ac66
|
Fix docstring format to improve pycharm inspection
|
2019-10-05 14:24:54 +02:00 |
|
Bastien Gérard
|
19f12f3f2f
|
document pymongo in RTD and make it point to github
|
2019-10-04 21:51:12 +02:00 |
|
Bastien Gérard
|
71e8d9a490
|
Added a FAQ to doc and Document the fact that we dont support motor
|
2019-10-04 21:51:12 +02:00 |
|
Bastien Gérard
|
e3cd553f82
|
add latest pymongo 3.9 as part of the CI
|
2019-10-04 21:46:47 +02:00 |
|
Bastien Gérard
|
be2c4f2b3c
|
fix formatting and improve doc based on review
|
2019-09-16 21:15:35 +02:00 |
|
Bastien Gérard
|
7ac74b1c1f
|
Document Model.objects.aggregate entrypoint with an example
|
2019-09-15 23:27:34 +02:00 |
|
Bastien Gérard
|
7d94af0e31
|
add test coverage for no_cursor_timeout to support recent fix
|
2019-09-11 21:53:30 +02:00 |
|
Bastien Gérard
|
693195f70b
|
fix test_pickable that was brought back to life recently
|
2019-08-31 22:28:31 +03:00 |
|
Bastien Gérard
|
2267b7e7d7
|
rename remaining files for pytest migration
|
2019-08-30 16:27:56 +03:00 |
|
Bastien Gérard
|
ddececbfea
|
rename all test files so that they are prefixed by test_{orginal_filename}.py
|
2019-08-28 16:01:44 +03:00 |
|
Bastien Gérard
|
c68e3e1238
|
Add test case for list update by negative index
|
2019-07-24 21:37:16 +02:00 |
|
Bastien Gérard
|
c5080e4030
|
Merge branch 'master' of github.com:MongoEngine/mongoengine into negative_indexes_in_list
|
2019-07-24 21:14:55 +02:00 |
|
Bastien Gérard
|
951a532a9f
|
additional fix in travis/tox
|
2019-07-03 09:15:28 +02:00 |
|
Bastien Gérard
|
e940044603
|
fixes in .travis.yml and tox.ini based on PR review
|
2019-07-02 23:06:31 +02:00 |
|
Bastien Gérard
|
babfbb0fcd
|
Merge branch 'master' of github.com:MongoEngine/mongoengine into use_globals_in_travis_yml
|
2019-07-02 22:57:03 +02:00 |
|
Bastien Gérard
|
bf32d3c39a
|
Merge branch 'master' of github.com:MongoEngine/mongoengine into use_globals_in_travis_yml
|
2019-06-30 21:11:42 +02:00 |
|
Bastien Gérard
|
06a21e038a
|
Use global constants for mongo/pymongo in travis.yml
|
2019-06-30 21:04:23 +02:00 |
|
Bastien Gérard
|
4d5eba317e
|
convert travis test on latest python/mongo/pymongo from python 3.6 to 3.7
|
2019-06-30 20:55:19 +02:00 |
|
Bastien Gérard
|
8f57279dc7
|
remove pymongo deprecated methods: find_and_modify & remove
|
2019-06-19 23:04:23 +02:00 |
|
Bastien Gérard
|
ca230d28b4
|
fix typo in changelog
|
2019-06-18 22:18:10 +02:00 |
|
Bastien Gérard
|
c96065b187
|
Merge branch 'master' of github.com:MongoEngine/mongoengine into release_0_18_1
|
2019-06-18 22:17:06 +02:00 |
|
Bastien Gérard
|
2abcf4764d
|
minor fixes based on review of #2082
|
2019-06-18 22:15:53 +02:00 |
|
Bastien Gérard
|
63c9135184
|
Bump version number and update changelog for 0.18.1
|
2019-06-17 22:36:54 +02:00 |
|
Bastien Gérard
|
5a2e268160
|
Add test case to prevent regression
|
2019-06-17 22:19:41 +02:00 |
|
Bastien Gérard
|
baabf97acd
|
Merge branch 'master' of github.com:MongoEngine/mongoengine into v0.18.0_fix
|
2019-06-16 10:52:44 +02:00 |
|
Bastien Gérard
|
97005aca66
|
set dist as xenial to avoid relying on flaky travis default dist
|
2019-06-15 13:49:37 +02:00 |
|
Bastien Gérard
|
6e8ea50c19
|
"added another aggregation test"
This reverts commit 4c31193b82.
|
2019-06-14 21:04:02 +02:00 |
|
Bastien Gérard
|
68e8584520
|
add pypy3 back to travis and improve python 3.7 integration
|
2019-06-13 23:29:02 +02:00 |
|
 Bastien GérardandGitHub
|
5d120ebca0
|
Merge pull request #2058 from bagerard/improve_travis_yml
Improve travis yml + add python3.7 to travis
|
2019-06-13 23:20:15 +02:00 |
|
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 |
|
Bastien Gérard
|
d7285d43dd
|
added another aggregation test
|
2019-06-12 23:54:20 +02:00 |
|
 Bastien GérardandStefan Wójcik
|
4a8985278d
|
Document inherited members for the Document, EmbeddedDocument, DynamicDocument, and DynamicEmbeddedDocument (#2040)
|
2019-06-12 11:33:56 +02:00 |
|
Bastien Gérard
|
1fc5b954f2
|
fix typo in changelog
|
2019-06-10 22:38:37 +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érardandGitHub
|
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érardandGitHub
|
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érardandGitHub
|
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érardandGitHub
|
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 |
|
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érardandGitHub
|
da3773bfe8
|
Merge pull request #2063 from bagerard/improve_test
Improve minor things in the tests
|
2019-05-26 22:33:40 +02:00 |
|
Bastien Gérard
|
6e1c132ee8
|
Improve minor things in the tests
|
2019-05-26 22:17:58 +02:00 |
|
Bastien Gérard
|
6a843cc8b2
|
Merge branch 'master' of github.com:MongoEngine/mongoengine into remove_pymongo2_support_dead_code
|
2019-05-23 21:06:15 +02:00 |
|
Bastien Gérard
|
ecdb0785a4
|
Merge branch 'master' of github.com:MongoEngine/mongoengine into remove_pymongo2_support_dead_code
|
2019-05-23 21:04:58 +02:00 |
|
Bastien Gérard
|
2e01eb87db
|
Add support for MongoDB 3.6 and Python3.7 in travis
|
2019-05-18 14:29:42 +02:00 |
|
Bastien Gérard
|
bb1089e03d
|
Improve coverage in fields test
|
2019-05-17 22:16:08 +02:00 |
|
Bastien Gérard
|
c82f0c937d
|
more work on coverage
|
2019-05-17 22:04:28 +02:00 |
|
Bastien Gérard
|
00d2fd685a
|
more test cov
|
2019-05-17 22:04:28 +02:00 |
|
Bastien Gérard
|
f28e1b8c90
|
improve coverage of lazy ref field
|
2019-05-17 22:04:28 +02:00 |
|
 Bastien GérardandGitHub
|
58b0b18ddd
|
Merge pull request #2053 from bagerard/Fix_travis_incomp_tox_virtualenv
Fix Incompatibility btw recent tox version and virtualenv version
|
2019-05-16 23:15:09 +02:00 |
|
Bastien Gérard
|
6a9ef319d0
|
Fix Incompatibility btw recent tox version and virtualenv version
|
2019-05-16 23:01:43 +02:00 |
|
Bastien Gérard
|
cf38ef70cb
|
Remove more code related to supporting pymongo2
|
2019-05-15 22:23:35 +02:00 |
|
Bastien Gérard
|
ac64ade10f
|
remove dead code (related to pymongo2) + minor cleaning
|
2019-05-15 21:54:47 +02:00 |
|