Commit Graph
100 Commits
Author SHA1 Message Date
Bastien Gérard ad6ff819fe Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_db_fields_inconsistencies_in_constructor 2020-11-14 14:44:08 +01:00
Bastien Gérard 48357640c6 improve deprecated pymongo call 2020-11-14 14:41:59 +01:00
Bastien Gérard 1d17dc4663 Add black badge to readme to emphasize that repo is using autoformatter black as it is often forgotten in PR and makes CI failing 2020-11-12 22:13:53 +01:00
Bastien Gérard 3f5a15d236 improve changelog 2020-11-12 00:43:22 +01:00
Bastien Gérard 338c40b5d5 Remove Py3.5 as it is EOL and added 3.9 to CI 2020-11-11 21:14:54 +01:00
Bastien Gérard 746faceb5c Document fact that srv URI can be used with host #1956 2020-11-08 22:55:24 +01:00
Bastien Gérard 8c3058d99b Fix some issues related with db_field in constructor by removing field/db_field translation that shouldn't occur in constructor 2020-11-08 22:36:58 +01:00
Bastien Gérard 03af784ebe Bug fix in DynamicDocument which isn not parsing known fields in constructor like Document do #2412 2020-11-07 21:30:23 +01:00
Bastien Gérard 90c5d83f84 remove deprecated comment 2020-11-02 15:02:11 +01:00
Bastien Gérard d8b8ff6851 Removed code related to Document.__only_fields and Queryset.only_fields which appear to have no effect 2020-11-02 14:52:02 +01:00
Bastien Gérard 94a7e813b1 fix difference in test for certain version of pymongo 2020-11-01 19:37:13 +01:00
Bastien Gérard 8ef7213426 improve EnumField Doc and add quick test 2020-11-01 14:05:58 +01:00
Bastien Gérard f4962fbc40 remove utf8 encoding declaration in test files as it's not needed/recommended 2020-10-30 21:10:21 +01:00
Bastien Gérard 015a36c85f minor styling fix in .rst 2020-10-19 23:59:12 +02:00
Bastien Gérard fbd3388a59 Merge branch 'master' of github.com:MongoEngine/mongoengine into add_validation_to_doc 2020-10-19 23:36:12 +02:00
Bastien Gérard d8a52d68c5 improve doc in .readthedocs.yml 2020-10-19 23:34:24 +02:00
Bastien Gérard 4286708e2e fix mongoengine setup.py path in .readthedocs.yml 2020-10-18 22:47:00 +02:00
Bastien Gérard e362d089e1 install mongoengine for readthedocs build to work 2020-10-18 22:44:06 +02:00
Bastien Gérard 6b657886a5 remove explicit install from .readthedocs.yml to rely on default instead 2020-10-18 22:21:45 +02:00
Bastien Gérard eb16945147 fix requirements.txt location for readthedocs 2020-10-18 22:06:15 +02:00
Bastien Gérard c801e79d4b Fix readthedocs build that failed by making it use python3 instead of default python2.7 2020-10-18 21:33:30 +02:00
Bastien Gérard 3fca3739de rework validation documentation based on review 2020-10-18 21:11:16 +02:00
Bastien Gérard c218c8bb6c Merge branch 'master' of github.com:MongoEngine/mongoengine into add_validation_to_doc 2020-10-17 15:05:27 +02:00
Bastien Gérard 3adb67901b update changelog for #2392 2020-10-11 00:53:46 +02:00
Bastien Gérard d4350e7da4 Fix for ListField that isnt detecting properly that item 0 is changed 2020-10-10 23:32:22 +02:00
Bastien Gérard 0d289fd5a1 upgrade pymongo and mongodb versions used in CI 2020-10-07 21:30:43 +02:00
Bastien Gérard aabc18755c fix inconsistencies in ._changed_fields computation 2020-10-07 00:01:09 +02:00
Bastien Gérard 1f2a5db016 fix deprecated use of .update in test suite 2020-08-12 22:30:52 +02:00
Bastien Gérard 7f77084e0e minor fixes in doc links 2020-08-12 21:56:38 +02:00
Bastien Gérard aca4de728e Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_count_documents_deprecation 2020-08-11 23:01:33 +02:00
Bastien Gérard 7116dec74a run black to please ci 2020-08-11 21:55:22 +02:00
Bastien Gérard a5302b870b Merge branch 'fix/queryTransform' of git://github.com/hiimdoublej/mongoengine into hiimdoublej-fix/queryTransform 2020-08-11 21:48:00 +02:00
Bastien Gérard e431e27cb2 #2360 fix py3 incompatible code 2020-08-01 15:09:10 +02:00
Bastien Gérard 194b0cac88 improve doc + changelog 2020-05-26 23:45:35 +02:00
Bastien Gérard 7b4175fc5c Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_limit0_bug 2020-05-26 23:44:05 +02:00
Bastien Gérard adb5f74ddb Fix a bug in limit0 #2311 2020-05-26 23:37:55 +02:00
Bastien Gérard dc7da5204f Merge branch 'terencehonles-patch-1' 2020-05-23 23:12:33 +02:00
Bastien Gérard 0301bca176 Merge branch 'patch-1' of https://github.com/terencehonles/mongoengine into terencehonles-patch-1 2020-05-23 23:12:01 +02:00
Bastien Gérard 49f9bca23b fix black formatting 2020-05-23 23:08:56 +02:00
Bastien Gérard 3fbe9c3cdd Bump version to 0.20.0 and update CHANGELOG accordingly 2020-05-01 13:13:30 +02:00
Bastien Gérard 78c9e9745d fix linting + update changelog & contributors 2020-04-26 22:51:56 +02:00
Bastien Gérard fd0095b73f improve recent docstring of EmbeddedDocumentList.create 2020-04-26 22:28:14 +02:00
Bastien Gérard 226049f66a Merge branch 'master' of github.com:MongoEngine/mongoengine into DonQueso89-master 2020-04-26 22:27:11 +02:00
Bastien Gérard dc1cf88ca6 Merge branch 'master' of git://github.com/DonQueso89/mongoengine into DonQueso89-master 2020-04-26 22:27:02 +02:00
Bastien Gérard e8f6b42316 Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_complex_datetime_field_invalid_string_set 2020-04-25 22:12:35 +02:00
Bastien Gérard 394da67cf1 fix travis env var 2020-04-25 21:47:37 +02:00
Bastien Gérard ef7da36ac6 Update pre-commit and fix existing flake8 warnings once for all 2020-04-25 21:36:07 +02:00
Bastien Gérard 1312100bc7 Merge branch 'master' of github.com:MongoEngine/mongoengine into Pacu2-fix/add-dev-tools 2020-04-25 20:53:35 +02:00
Bastien Gérard 4085bc2152 Merge branch 'fix/add-dev-tools' of git://github.com/Pacu2/mongoengine into Pacu2-fix/add-dev-tools 2020-04-25 20:46:44 +02:00
Bastien Gérard f4d7e72426 improve .gitignore 2020-04-25 20:43:55 +02:00
Bastien Gérard 43724e40b2 improve doc related to dropping Py2 support 2020-04-25 14:16:56 +02:00
Bastien Gérard 1bfa40e926 Merge branch 'master' of github.com:MongoEngine/mongoengine into bump_development_status_classifier 2020-04-25 14:07:43 +02:00
Bastien Gérard d493f71c4e Merge branch 'drop_py2_support' of github.com:bagerard/mongoengine into drop_py2_support 2020-04-25 14:05:30 +02:00
Bastien Gérard 87f4d1a323 Merge branch 'master' of github.com:MongoEngine/mongoengine into drop_py2_support 2020-04-25 13:51:21 +02:00
Bastien Gérard 707923e3f5 fix subdependencies that dropped Py2 support 2020-04-08 21:54:26 +02:00
Bastien Gérard d9b9581df2 Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_complex_datetime_field_invalid_string_set 2020-04-08 21:33:58 +02:00
Bastien Gérard 2b0157aecd Improve Queryset.get to avoid confusing message in case multiple match are found 2020-03-22 14:08:29 +01:00
Bastien Gérard 476b07af6e reformat changelog 2020-03-17 23:59:54 +01:00
Bastien Gérard e2b9a02531 Merge branch 'master' of github.com:MongoEngine/mongoengine into remove_drop_dups 2020-03-17 23:58:44 +01:00
Bastien Gérard 547cd4a3ae Merge branch 'master' of github.com:MongoEngine/mongoengine into remove_old_deprecated_method 2020-03-17 21:39:36 +01:00
Bastien Gérard ee2d50b2d1 remove drop_dups index option, deprecated with MongoDB3 2020-03-17 21:38:50 +01:00
Bastien Gérard 15c3ddece8 Merge branch 'master' of github.com:MongoEngine/mongoengine into remove_field_name_attribute_deprecated 2020-03-17 21:29:47 +01:00
Bastien Gérard 8eb51790b5 Remove Field(name='...') which was deprecated when db_field was introduced a while ago 2020-03-17 21:26:41 +01:00
Bastien Gérard aadc6262ed remove qs.slave_okay() that is deprecated since pymongo3 2020-03-17 21:10:52 +01:00
Bastien Gérard ad0669a326 update changelog 2020-03-17 10:15:47 +01:00
Bastien Gérard 85df76c623 Merge branch 'master' of github.com:MongoEngine/mongoengine into drop_py2_support 2020-03-17 09:24:32 +01:00
Bastien Gérard 87512246cb Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_dictfield_validation 2020-03-16 22:30:48 +01:00
Bastien Gérard a3f9016ae9 reformat import for flake8 2020-03-15 22:27:19 +01:00
Bastien Gérard 4e58e9f8d1 Merge branch 'master' of github.com:MongoEngine/mongoengine into feature/allow-setting-read-concern-queryset 2020-03-15 22:25:59 +01:00
Bastien Gérard 333e014f13 Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_complex_datetime_field_invalid_string_set 2020-03-15 22:20:46 +01:00
Bastien Gérard c0c0efce18 improve docstring related to #2267 and document the change in the changelog 2020-03-15 22:14:26 +01:00
Bastien Gérard beabaee345 Merge branch 'master' of github.com:MongoEngine/mongoengine into support-elemmatch-projection 2020-03-15 22:08:20 +01:00
Bastien Gérard aa4a6ae023 Fix invalid escape seq in codebase 2020-03-15 21:02:44 +01:00
Bastien Gérard b57946ec98 remove virtualenv installation in travis 2020-03-14 21:39:47 +01:00
Bastien Gérard 1e110a2c41 run pyupgrade --py3-plus 2020-03-11 23:34:43 +01:00
Bastien Gérard b234aa48e4 run pyupgrade 2020-03-11 23:21:38 +01:00
Bastien Gérard 8086576677 get rid of six 2020-03-11 23:07:03 +01:00
Bastien Gérard 03e34299f0 clean code related to Py2 + six.text_type & six.string_types 2020-03-11 21:50:50 +01:00
Bastien Gérard 421e3f324f Drop python2 support 2020-03-09 00:18:52 +01:00
Bastien Gérard a0b803959c Merge branch 'master' of github.com:MongoEngine/mongoengine into py2py3_improve_compat 2020-03-08 14:44:39 +01:00
Bastien Gérard ff4d57032a reformat w black 2020-03-03 23:51:11 +01:00
Bastien Gérard ba34589065 Merge branch 'master' of github.com:MongoEngine/mongoengine into abarto-feature/allow-setting-read-concern-queryset 2020-03-03 23:50:36 +01:00
Bastien Gérard d85f0e6226 Merge branch 'feature/allow-setting-read-concern-queryset' of git://github.com/abarto/mongoengine into abarto-feature/allow-setting-read-concern-queryset 2020-03-02 23:04:42 +01:00
Bastien Gérard cfb4943986 reformat with black 2020-03-02 22:49:21 +01:00
Bastien Gérard 450658d7ac fix indirect library version that dropped python2 support recently 2020-02-04 22:51:02 +01:00
Bastien Gérard 2d6a4c4b90 update changelog 2020-01-23 23:36:03 +01:00
Bastien Gérard 38703acc29 fix complex datetime field invalid string set 2020-01-23 23:33:23 +01:00
Bastien Gérard 095217e797 remove methods that were derecated in 2013... 2020-01-13 23:53:24 +01:00
Bastien Gérard 86e965f854 remove very old deprecated method 2020-01-13 23:45:42 +01:00
Bastien Gérard 57db68dc04 update changelog 2020-01-13 23:34:43 +01:00
Bastien Gérard 72de6d67c7 Bump dev status classifier 2020-01-13 23:33:02 +01:00
Bastien Gérard 605de59bd0 improve travis + fix tox mg310 2020-01-12 21:37:32 +01:00
Bastien Gérard e0565ddac5 update changelog 2020-01-12 21:31:28 +01:00
Bastien Gérard 18b68f1b80 update travis mongo 4.0 to latest 4.0.13 2020-01-12 21:29:18 +01:00
Bastien Gérard ea88806630 Merge branch 'master' of github.com:MongoEngine/mongoengine into mongodb_40 2020-01-12 21:16:48 +01:00
Bastien Gérard 412bed0f6d fix bug in legacy .count due to with_limit_and_skip that was missing 2020-01-12 11:04:05 +01:00
Bastien Gérard 53cf26b9af Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_count_documents_deprecation 2020-01-12 10:07:36 +01:00
Bastien Gérard d738462139 Fix bug introduced in -1.19 related to DictField validate failing without default connection 2020-01-11 23:17:05 +01:00
Bastien Gérard 2fa48cd9e5 fix for pymongo < 3.7 2020-01-07 22:24:55 +01:00
Bastien Gérard e64a7a9448 reformat with latest black 2020-01-07 22:11:24 +01:00