242 Commits

Author SHA1 Message Date
Alexandre Bodin
dbd621e6d8 v3.0.0-beta.16.7 2019-10-01 12:15:48 +02:00
Jelmer Visser
3111ee4942 Fix for null values with manyToMany and manyWay 2019-09-26 16:07:53 +02:00
Alexandre Bodin
6305bee43b v3.0.0-beta.16.6 2019-09-26 14:35:06 +02:00
Alexandre Bodin
bf7870de3b Merge branch 'master' of github.com:strapi/strapi into chore/routing-x-forwarded 2019-09-18 17:29:09 +02:00
Alexandre Bodin
4206419405 Convert mongo search results to plain js objects 2019-09-18 14:30:12 +02:00
Alexandre Bodin
84adbf3bcf v3.0.0-beta.16.5 2019-09-18 14:00:21 +02:00
Alexandre BODIN
7a94d9dad9
Merge branch 'master' into chore/routing-x-forwarded 2019-09-18 13:27:39 +02:00
Alexandre Bodin
df236d0642 v3.0.0-beta.16.4 2019-09-17 12:14:39 +02:00
Alexandre Bodin
293dbb89d9 Populate groups 1st level relations 2019-09-17 11:32:57 +02:00
Alexandre BODIN
c66eb5d2cf
Merge branch 'master' into chore/routing-x-forwarded 2019-09-13 17:40:50 +02:00
Alexandre Bodin
36e4e73ad3 v3.0.0-beta.16.3 2019-09-13 15:08:44 +02:00
Alexandre Bodin
e20d781383 Merge branch 'master' into chore/routing-x-forwarded 2019-09-12 09:59:11 +02:00
Alexandre Bodin
7207184648 v3.0.0-beta.16.2 2019-09-11 19:22:05 +02:00
Ralph
1bae7943fa
Connect to mongo db 4.0.x using mongoose 5.7.0
Added support for connection setting useUnifiedTopology so it can be positioned via the database.json file in strapi project. By default it is positioned to false.
If this is not set and you are connecting to a mongo db v4.0.x using the beta-16.1 and higher version of the strapi-hook-mongoose you will get the following warning message when starting the strapi server:
DeprecationWarning: current Server Discovery and Monitoring engine is
deprecated, and will be removed in a future version. To use the new Server
Discover and Monitoring engine, pass option { useUnifiedTopology: true } to
the MongoClient constructor.
2019-09-11 15:37:42 +02:00
Alexandre Bodin
7d51b8625d v3.0.0-beta.16.1 2019-09-10 16:33:22 +02:00
Alexandre Bodin
25bf0e4ca8 Use kind when provided on morph relation 2019-09-10 11:05:57 +02:00
Alexandre Bodin
2530606e47 Merge branch 'master' into chore/routing-x-forwarded 2019-09-09 14:29:07 +02:00
Alexandre Bodin
05597970fa v3.0.0-beta.16 2019-09-09 13:35:57 +02:00
Alexandre Bodin
705b8a5f76 Mongo delete return plain js object 2019-09-06 14:33:24 +02:00
Alexandre Bodin
774f95a5a7 Refactor mongoose deepfiltering to populate infos correctly 2019-08-20 12:07:45 +02:00
Alexandre Bodin
a62a09e67e Change mongo connection error message 2019-08-19 17:32:33 +02:00
Alexandre Bodin
80989ee8ec Make hook loading async 2019-08-19 09:37:37 +02:00
Alexandre Bodin
e1a319a25e Mongoose unique index error logs and other index error logs 2019-08-12 10:15:22 +02:00
Alexandre Bodin
ebf3922905 Merge branch 'master' into develop 2019-08-12 09:39:59 +02:00
Alexandre Bodin
fe2c2dccb3 v3.0.0-beta.15 2019-08-12 09:35:27 +02:00
Alexandre BODIN
f84962597e
Merge branch 'develop' into group/tests 2019-08-09 15:45:05 +02:00
Alexandre Bodin
d6f14550d2 Fix content-manager stuff for mongoose 2019-08-09 13:48:31 +02:00
Alexandre Bodin
34a5424a8a Fixes to mongoose groups 2019-08-09 11:45:31 +02:00
Alexandre Bodin
4dcb694a57 Support Long in mongoose 2019-08-08 14:35:33 +02:00
Alexandre Bodin
4ad7f5bd89 Support biginteger < 2^53 2019-08-08 14:30:45 +02:00
Alexandre Bodin
60d04d26eb Init group tests and fix some groups issues 2019-08-08 14:30:43 +02:00
Alexandre Bodin
57120c9a02 Add tests and fix support for bigintegers so it is always a string when it comes out of the database 2019-08-08 14:30:40 +02:00
Alexandre Bodin
515d756626 Fix mongo toObject on null objectes 2019-08-01 15:59:21 +02:00
Alexandre Bodin
09761294e9 Fix mongo support 2019-08-01 14:40:02 +02:00
Alexandre Bodin
8e8433662b rename wysiwyg type to richtext for future plans 2019-07-29 18:05:18 +02:00
Alexandre Bodin
f484b4d66e Make groups non repeatable by default 2019-07-29 08:15:18 +02:00
Alexandre Bodin
f757d4d952 Support relations inside of group creation 2019-07-29 08:15:18 +02:00
Alexandre Bodin
04d4b60056 Merge branch 'master' into develop 2019-07-25 15:05:07 +02:00
Alexandre Bodin
6a34fe519c v3.0.0-beta.14 2019-07-25 12:00:42 +02:00
Alexandre Bodin
1dea89ca8f Support type wysiwyg instead of appearance param 2019-07-23 13:36:06 +02:00
Alexandre Bodin
82fc041acd Fix typo 2019-07-22 18:17:22 +02:00
Alexandre Bodin
db0656e6a3 Fix missing dates in mongoose allAttributes 2019-07-22 18:16:16 +02:00
Alexandre Bodin
a62f73fe5f Merge branch 'develop' into feature/groups 2019-07-18 19:37:09 +02:00
Alexandre Bodin
da5d02fb7c Merge branch 'master' into develop 2019-07-18 19:28:52 +02:00
Alexandre Bodin
7e11acac32 Fix bugs mongo 2019-07-18 15:49:24 +02:00
Alexandre Bodin
74402021b7 group is not required by default 2019-07-17 13:41:02 +02:00
Alexandre Bodin
c020f0a6cd mongoose working version 2019-07-17 00:03:38 +02:00
Alexandre Bodin
2befa1cf48 Use primaryKey on delete queries 2019-07-16 23:27:34 +02:00
Alexandre Bodin
8332ed0526 Add deleteMany to mongoose 2019-07-16 23:13:05 +02:00
Alexandre Bodin
09dcea27f1 refactor mongoose queries to match api 2019-07-16 21:24:09 +02:00