260 Commits

Author SHA1 Message Date
Alexandre Bodin
cf6ecbff4f v3.0.0-beta.17.8 2019-12-01 23:20:50 +01:00
Jim LAURIE
8199f2d59c v3.0.0-beta.17.7 2019-11-29 17:36:51 +01:00
Alexandre Bodin
9aff9af165 v3.0.0-beta.17.6 2019-11-25 18:54:50 +01:00
Alexandre Bodin
b2e0ec5d1f v3.0.0-beta.17.5 2019-11-04 17:52:02 +01:00
Andrey Hohutkin
fb39ebecc4
Cleaning 2019-10-29 09:42:49 +02:00
Andrey Hohutkin
42d4543802
Using returning promise instead of callbacks 2019-10-29 09:41:23 +02:00
Andrey Hohutkin
c51c6b06c5
Lifecycle pre callbacks can be cancelled
In case that any Lifecycle pre callback returns Promise.reject it will be caught by Admin UI showing error banner.
It allows custom validations with Lifecycle callbacks as well
Admin UI will show saving process without it in case of error inside Lifecycle callback just writing error message in log.
2019-10-28 16:51:42 +02:00
Alexandre Bodin
7a61db7285 v3.0.0-beta.17.4 2019-10-23 15:11:30 +02:00
Alexandre Bodin
0e7712e934 Lock mongoose version to be 5.7.4 2019-10-23 14:49:07 +02:00
Alexandre Bodin
3ddd383c30 v3.0.0-beta.17.3 2019-10-22 11:05:52 +02:00
Alexandre Bodin
b6feabf689 v3.0.0-beta.17.2 2019-10-18 13:42:22 +02:00
Alexandre Bodin
02f98bc887 Fix groups creation/update not working when null group bofre in the loop 2019-10-18 11:20:51 +02:00
Alexandre Bodin
9f0713649b v3.0.0-beta.17.1 2019-10-16 11:42:54 +02:00
Alexandre Bodin
7c8eda443e v3.0.0-beta.17 2019-10-16 10:40:18 +02:00
Jelmer Visser
5ee6332167 Escape MongoDB password (#4231)
* Encode MongoDB password if using srv url

* Always encode MongoDB password
2019-10-14 11:48:42 +02:00
Alexandre BODIN
714b6c9045
Merge pull request #4152 from strapi/chore/admin-development
Allow admin customization
2019-10-04 15:07:40 +02:00
Alexandre Bodin
2d04d25097 v3.0.0-beta.16.8 2019-10-04 11:57:46 +02:00
soupette
66104d9e11 Fix conflicts 2019-10-01 17:56:52 +02:00
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