164 Commits

Author SHA1 Message Date
David Thomas
c1d8b5e6ba Add "useNewUrlParser" Mongo driver connection option
Fixes #1532
2018-07-08 12:52:16 -04:00
Jim LAURIE
383538e44b
Merge branch 'master' into review-logs 2018-07-03 17:35:08 +02:00
Abdón Rodríguez Davila
3b0770868c Check if URI 2018-07-01 19:20:53 +02:00
Abdón Rodríguez Davila
6fca22a339 Refactor URI options 2018-07-01 18:53:21 +02:00
Abdón Rodríguez Davila
f19e9e98c1 Override connectOptions with URI params 2018-07-01 18:47:33 +02:00
Abdón Rodríguez Davila
3efb086aa0 Revert "Don't use MongoDB connectOptions when using URI"
This reverts commit f261ee480294a4db9fc0b73fea602951458f4e55.
2018-07-01 18:11:11 +02:00
Abdón Rodríguez Davila
62125a08c4 Merge branch 'master' into patch-1 2018-07-01 18:09:59 +02:00
Jim LAURIE
157c249382 Merge branch 'master' of github.com:strapi/strapi into tests/split 2018-06-27 14:28:30 +02:00
Abdón Rodríguez Davila
f261ee4802 Don't use MongoDB connectOptions when using URI 2018-06-27 13:13:34 +02:00
Jim LAURIE
7bcebb3caa Review generate app logs 2018-06-22 15:25:15 +02:00
Pierre Burgy
f0a8b03e73 Fix ssl interpretation for mongo connection 2018-06-22 12:05:17 +02:00
Jim LAURIE
12706a8955 Fix Array type mongoose fix #1169 2018-06-17 13:24:13 +02:00
Aurelsicoko
945667dffe Fix oneToMany relationships 2018-06-15 10:48:17 +02:00
Aurelsicoko
94200636da Refetch related data before attach new entry on manyToMany relationship 2018-06-14 18:27:44 +02:00
soupette
8832a5baab Delete many and update relations
Co-authored-by aurelsicoko@gmail.com
2018-06-05 18:35:19 +02:00
soupette
44cff94989 Fix conflicts 2018-05-31 15:31:46 +02:00
Raul Riera
bf4fa666ec Improved the syntax 2018-05-18 21:04:24 -04:00
Raul Riera
e274ff01e9 Support for passing additional options 2018-05-18 20:49:11 -04:00
Jim Laurie
5175ee6336 Fix media relation update 2018-05-17 14:56:53 +02:00
Jim Laurie
4fe7b6176e Fix conflicts & lint 2018-05-16 12:07:02 +02:00
cyril lopez
1f019c60c3
Merge branch 'master' into eslint 2018-05-14 11:50:32 +02:00
Aurelsicoko
49c61d2ca5 Rework one-to-one business logic and use getValuePrimaryKey util with Mongoose 2018-05-10 12:19:33 +02:00
Aurelsicoko
c7f871745a Fix findOne user, many-to-many relationship loss and remove relation business logic from CM 2018-05-09 16:57:16 +02:00
Aurelsicoko
9d8cd3f620 Don't push model on useless collection tree 2018-05-09 14:58:47 +02:00
Aurelsicoko
b57449ebfa Fix one-to-one relation on Mongoose 2018-05-09 14:56:08 +02:00
Aurelsicoko
dfec0b630b Add updateRelations on models and update generated API to use this method 2018-05-09 12:52:32 +02:00
Aurelsicoko
fc44709069 Move relational management into a separate file 2018-05-08 18:44:47 +02:00
Aurelsicoko
de4ac8042d Disable minimize option by default on Mongoose 2018-05-07 17:44:02 +02:00
Jim LAURIE
c09f5138a2
Merge branch 'master' into eslint 2018-05-07 16:03:35 +02:00
soupette
6fe297e252 Lint strapi-mongoose 2018-05-04 18:09:55 +02:00
Jim LAURIE
806904c498
Delete log 2018-05-01 14:31:26 +02:00
Aurelsicoko
7a456da974 Move authentication and ssl in database options 2018-04-24 16:38:19 +02:00
Aurelsicoko
edf0f97678 Improve Decimal128 and Float support with MongoDB 2018-04-24 15:24:42 +02:00
Jim LAURIE
6040968b74
Merge branch 'master' into issues/924 2018-04-23 23:53:15 +02:00
Jim LAURIE
724b9e2f05
Merge branch 'master' into enhance/mongoose_events 2018-04-23 23:42:49 +02:00
Jim LAURIE
f580b470b6
Merge branch 'master' into enhance/mongoose_events 2018-04-23 23:38:04 +02:00
Aurelsicoko
892f9d1291 Update Mongoose template & support one-way in generated API 2018-04-23 16:57:59 +02:00
Aurelsicoko
4afc8a2390 Use latest release of Mongoose & add comment to explain post remove comment issue 2018-04-23 16:20:04 +02:00
Jim LAURIE
045a942e23
Merge branch 'master' into issues/924 2018-04-23 16:13:59 +02:00
Aurelsicoko
99f2b34549 Fix loose of file relation & select latest associated file 2018-04-23 12:59:53 +02:00
soupette
81383f3562 Fixes #959 2018-04-19 15:45:35 +02:00
Aurelsicoko
058c84d61e Fix float & decimal number on Mongoose 2018-04-13 18:02:37 +02:00
Aurelsicoko
0ac7c435f3 Merge branch 'master' of github.com:strapi/strapi into graphql 2018-04-12 16:37:23 +02:00
Jørgensen
f5a0bce148
Update index.js
Updated according to comments.
2018-04-12 15:23:03 +02:00
Jørgensen
b64ad9524f
Fixed issue for connection settings and ssl prop 2018-04-11 14:40:05 +02:00
Aurelsicoko
78234fab61 Support contains sensitive filter and fix Bookshelf queries 2018-04-10 18:54:01 +02:00
Aurelsicoko
cd43c2851b Build schema.graphql to query Users & Permissions models 2018-04-10 15:54:34 +02:00
Aurelsicoko
0f581fa5c3 Be able to retrieve polymorphic association using GraphQL (File Upload) 2018-04-05 15:20:24 +02:00
Aurelsicoko
66b75801c7 Add contains query and be able to disabled specific query 2018-04-03 11:30:39 +02:00
Jim LAURIE
3d2f611af2
Merge branch 'master' into array 2018-03-19 10:15:14 +01:00