Commit Graph

  • d37a30e083 improve doc (based on review) Bastien Gérard 2019-06-30 20:46:40 +02:00
  • 9170eea784
    Rename MongoEngineConnectionError to ConnectionFailure (#2111) Stefan Wójcik 2019-06-30 09:23:32 +02:00
  • 2769967e1e Update the changelog [ci skip] Stefan Wojcik 2019-06-27 17:41:29 +02:00
  • 609f50d261
    Fix the duplicate ListField max_length test (#2110) Stefan Wójcik 2019-06-27 16:45:31 +02:00
  • 82f0eb1cbc
    Add a max_length param to the ListField (#2107) Stefan Wójcik 2019-06-27 15:07:02 +02:00
  • b47669403b
    Format the codebase using Black (#2109) Stefan Wójcik 2019-06-27 13:05:54 +02:00
  • 91899acfe5 Clarify unack'd write concern not returning the deleted count [ci skip] Stefan Wojcik 2019-06-26 15:14:43 +02:00
  • ffedd33101
    Drop support for positional arguments when instantiating a document (#2103) Stefan Wójcik 2019-06-26 11:31:11 +02:00
  • c9ed930606 Add a documentation page for validation Bastien Gérard 2019-06-25 22:20:47 +02:00
  • af292b0ec2 Bump version to v0.18.2 v0.18.2 Stefan Wojcik 2019-06-25 16:52:31 +02:00
  • 1ead7f9b2b Add changelog entries for v0.18.2 Stefan Wojcik 2019-06-25 16:51:56 +02:00
  • 5c91877b69 Fix the Travis deployment condition Stefan Wojcik 2019-06-25 16:48:51 +02:00
  • e57d834a0d Fix automated tests for py3 Stefan Wojcik 2019-06-25 12:41:59 +02:00
  • 0578cdb62e Cleaner loop using itertools.count() Stefan Wojcik 2019-06-25 11:41:27 +02:00
  • b661afba01 Use set comprehensions for existing_fields & existing_db_fields Stefan Wojcik 2019-06-25 11:34:31 +02:00
  • b1002dd4f9
    Merge pull request #2097 from bagerard/remove_deprecated_pymongo_methods Bastien Gérard 2019-06-24 22:03:58 +02:00
  • 8e69008699 Fill in the PR # in the changelog [ci skip] Stefan Wojcik 2019-06-24 16:00:21 +02:00
  • f45552f8f8 Drop support for positional arguments when instantiating a document Stefan Wojcik 2019-06-24 15:44:35 +02:00
  • a659f9aa8d Add a changelog entry [ci skip] base-document-to-dict Stefan Wojcik 2019-06-21 15:59:04 +02:00
  • f884839d17 Implement BaseDocument.to_dict Stefan Wojcik 2019-06-21 15:30:44 +02:00
  • a4fe091a51 Cleaner code & comments in BaseField.__set__ Stefan Wojcik 2019-06-21 13:51:53 +02:00
  • 216217e2c6 Datastructures comments: fix typos and tweak formatting [ci skip] Stefan Wojcik 2019-06-21 13:48:24 +02:00
  • 799775b3a7 Slightly cleaner docstring of BaseQuerySet.no_sub_classes [ci skip] Stefan Wojcik 2019-06-20 12:18:58 +02:00
  • ae0384df29
    Improve Document.meta.shard_key docs (#2099) Stefan Wójcik 2019-06-20 11:25:51 +02:00
  • 8f57279dc7 remove pymongo deprecated methods: find_and_modify & remove Bastien Gérard 2019-06-19 23:04:23 +02:00
  • e8dbd12f22
    Merge pull request #2091 from bagerard/release_0_18_1 v0.18.1 Bastien Gérard 2019-06-18 22:56:57 +02:00
  • ca230d28b4 fix typo in changelog Bastien Gérard 2019-06-18 22:18:10 +02:00
  • c96065b187 Merge branch 'master' of github.com:MongoEngine/mongoengine into release_0_18_1 Bastien Gérard 2019-06-18 22:17:06 +02:00
  • 2abcf4764d minor fixes based on review of #2082 Bastien Gérard 2019-06-18 22:15:53 +02:00
  • 6a4c342e45 Supported updates of an array by negative index Dmitry Voronenkov 2019-06-18 16:13:29 +03:00
  • bb0b1e88ef
    Split up custom PK field tests (#2095) Stefan Wójcik 2019-06-18 15:43:46 +02:00
  • 63c9135184 Bump version number and update changelog for 0.18.1 Bastien Gérard 2019-06-17 22:36:54 +02:00
  • 7fac0ef961
    Merge pull request #2082 from divomen/v0.18.0_fix Bastien Gérard 2019-06-17 22:30:18 +02:00
  • 5a2e268160 Add test case to prevent regression Bastien Gérard 2019-06-17 22:05:54 +02:00
  • a4e4e8f440 Tweaks to the QuerySet.order_by docstring Stefan Wojcik 2019-06-17 17:28:41 +02:00
  • b62ce947a6 Cleaner mongoengine.connection.__all__ Stefan Wojcik 2019-06-17 15:42:15 +02:00
  • 9538662262 Slightly cleaner connection code Stefan Wojcik 2019-06-17 15:34:11 +02:00
  • 09d7ae4f80 More BaseDocument.__init__ documentation tweaks Stefan Wojcik 2019-06-17 14:52:26 +02:00
  • d7ded366c7 Document params expected by BaseDocument.__init__ [ci skip] Stefan Wojcik 2019-06-17 14:34:13 +02:00
  • 09c77973a0
    Clean up how _changed_fields are set in BaseDocument._from_son (#2090) Stefan Wójcik 2019-06-17 13:41:02 +02:00
  • 22f3c70234 Fix PyMongo dependency in the readme [ci skip] Stefan Wojcik 2019-06-17 09:41:41 +02:00
  • 6527b1386f Benchmarks: Python 3 tweaks + more consistent testing of small vs big docs Stefan Wojcik 2019-06-17 09:31:51 +02:00
  • baabf97acd Merge branch 'master' of github.com:MongoEngine/mongoengine into v0.18.0_fix Bastien Gérard 2019-06-16 10:52:44 +02:00
  • 97005aca66 set dist as xenial to avoid relying on flaky travis default dist Bastien Gérard 2019-06-15 12:24:13 +02:00
  • 6e8ea50c19 "added another aggregation test" Bastien Gérard 2019-06-14 21:04:02 +02:00
  • 1fcd706e11 Clearer docstring of Document._get_collection [ci skip] Stefan Wojcik 2019-06-14 14:57:12 +02:00
  • 008bb19b0b Add a test covering basic Document operations Stefan Wojcik 2019-06-13 17:46:45 +02:00
  • 023acab779 Clean up benchmark.py and move it to benchmarks/test_inserts.py Stefan Wojcik 2019-06-13 15:47:54 +02:00
  • 68e8584520 add pypy3 back to travis and improve python 3.7 integration Bastien Gérard 2019-06-13 23:29:02 +02:00
  • 5d120ebca0
    Merge pull request #2058 from bagerard/improve_travis_yml Bastien Gérard 2019-06-13 23:20:15 +02:00
  • f91b89f723 remove dist:xenial as it recently became the default in travis Bastien Gérard 2019-06-13 23:07:25 +02:00
  • 1181b75e16 clean travis.yml Bastien Gérard 2019-06-03 23:18:48 +02:00
  • 5f00b4f923 refactor travis - mongo install and added python3.7 Bastien Gérard 2019-06-02 23:40:29 +02:00
  • 4c31193b82 Revert "added another aggregation test" Bastien Gérard 2019-06-13 20:53:56 +02:00
  • 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) Dmitry Voronenkov 2019-06-13 19:58:44 +03:00
  • d7285d43dd added another aggregation test Bastien Gérard 2019-06-12 23:54:20 +02:00
  • aa8a991d20 Try a different deployment condition v0.18.0 Stefan Wojcik 2019-06-12 12:19:36 +02:00
  • 40ba51ac43 Try a different deployment condition Stefan Wojcik 2019-06-12 12:08:11 +02:00
  • d20430a778 Bump up waiting for MongoDB from 15s to 20s Stefan Wojcik 2019-06-12 11:57:25 +02:00
  • f08f749cd9 Bump version to v0.18.0 Stefan Wojcik 2019-06-12 11:47:31 +02:00
  • a6c04f4f9a Finalize the v0.18.0 changelog [ci skip] Stefan Wojcik 2019-06-12 11:38:58 +02:00
  • 15b6c1590f Add extra context to the BaseDocument.validate docstring Stefan Wojcik 2019-06-12 11:37:08 +02:00
  • 4a8985278d Document inherited members for the Document, EmbeddedDocument, DynamicDocument, and DynamicEmbeddedDocument (#2040) Bastien Gérard 2019-06-12 11:33:56 +02:00
  • 996618a495 Fix wording of an exception message in QuerySet.insert Stefan Wojcik 2019-06-12 08:27:22 +02:00
  • 1f02d5fbbd
    Merge pull request #1570 from erdenezul/remove_save_embedded erdenezul 2019-06-11 16:15:53 +02:00
  • c58b9f00f0 Add changelog Erdenezul Batmunkh 2019-06-11 15:53:50 +02:00
  • f131b18cbe Make test_update_shard_key_routing more resilient Stefan Wojcik 2019-06-11 15:50:22 +02:00
  • 118a998138 Classify the QuerySet.aggregate change as a bugfix [ci skip] Stefan Wojcik 2019-06-11 15:09:16 +02:00
  • 7ad6f036e7 Remove test Erdenezul Batmunkh 2019-06-11 13:16:33 +02:00
  • 1d29b824a8 Remove save method from test Erdenezul Batmunkh 2019-06-11 12:52:29 +02:00
  • 3caf2dce28 Merge branch 'master' into remove_save_embedded Erdenezul Batmunkh 2019-06-11 12:41:11 +02:00
  • 1fc5b954f2 fix typo in changelog Bastien Gérard 2019-06-10 22:38:37 +02:00
  • 31d99c0bd2 Cleaner wording in the dev changelog Stefan Wojcik 2019-06-10 11:26:47 +02:00
  • 0ac59c67ea
    Merge pull request #2068 from bagerard/fix_connection_auth_same_host Bastien Gérard 2019-06-07 21:08:26 +02:00
  • 8e8c74c621 Drop the unused mongodb_version attribute in IndexesTest Stefan Wojcik 2019-06-07 12:35:38 +02:00
  • f996f3df74 Cleaner test_hint Stefan Wojcik 2019-06-07 12:34:32 +02:00
  • 9499c97e18 Clean up the .install_mongodb_on_travis.sh script Stefan Wojcik 2019-06-07 12:15:35 +02:00
  • c1c81fc07b
    Merge pull request #2070 from bagerard/improve_doc_of_custom_field_validation erdenezul 2019-06-05 22:30:40 +02:00
  • 072e86a2f0
    Merge pull request #2069 from bagerard/some_refactoring erdenezul 2019-06-05 22:30:09 +02:00
  • 70d6e763b0 Document the custom field validation feature Bastien Gérard 2019-06-05 22:06:37 +02:00
  • 15f4d4fee6 fix tests for diff mongo vers Bastien Gérard 2019-06-04 23:35:38 +02:00
  • 82e28dec43 improved string operation code Bastien Gérard 2019-03-08 17:09:39 +01:00
  • b407c0e6c6 add test for shard key routing (ported from https://github.com/closeio/mongoengine/commit/43f35f5) Bastien Gérard 2019-03-04 23:42:45 +01:00
  • 27ea01ee05 refactored datetime to_mongo, separating parsing from str + added test Bastien Gérard 2019-03-02 23:44:33 +01:00
  • 7ed5829b2c Add test on datetime field - parse datetime as str Bastien Gérard 2019-03-02 23:17:24 +01:00
  • 5bf1dd55b1
    Update mongomock example Bastien Gérard 2019-06-04 22:56:52 +02:00
  • 36aebffcc0 update changelog Bastien Gérard 2019-06-04 22:39:44 +02:00
  • 84c42ed58c Add tests Bastien Gérard 2019-06-04 22:35:42 +02:00
  • 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) Bastien Gérard 2019-05-15 21:43:29 +02:00
  • 048a045966
    Update connection/multiple databases docs Bastien Gérard 2019-06-04 21:47:28 +02:00
  • a18c8c0eb4
    Merge pull request #2049 from bagerard/save_to_mongo_call_in_save Bastien Gérard 2019-06-01 15:00:44 +02:00
  • 5fb0f46e3f fix changelog (py37 not yet in travis) Bastien Gérard 2019-06-01 11:14:01 +02:00
  • 962997ed16 fix flaky test due to signal receiver garbage collection Bastien Gérard 2019-05-26 22:33:04 +02:00
  • daca0ebc14 update changelog Bastien Gérard 2019-05-17 22:21:22 +02:00
  • 9ae8fe7c2d Improve perf of Doc.save by preventing a full to_mongo() call just to get the created variable Bastien Gérard 2019-05-08 23:45:35 +02:00
  • 1907133f99
    Merge pull request #2050 from bagerard/change_custom_field_validation_raise Bastien Gérard 2019-06-01 10:45:43 +02:00
  • 4334955e39
    Update the test matrix to reflect what's supported in 2019 (#2066) Stefan Wójcik 2019-05-31 11:01:15 +02:00
  • f00c9dc4d6 Fix flake8 import error Bastien Gérard 2019-05-16 22:53:31 +02:00
  • 7d0687ec73 custom field validator is now expected to raise a ValidationError (drop support for returning True/False) Bastien Gérard 2019-05-11 22:34:25 +02:00
  • da3773bfe8
    Merge pull request #2063 from bagerard/improve_test Bastien Gérard 2019-05-26 22:33:40 +02:00