128 Commits

Author SHA1 Message Date
David Thomas
c1d8b5e6ba Add "useNewUrlParser" Mongo driver connection option
Fixes #1532
2018-07-08 12:52:16 -04: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
f261ee4802 Don't use MongoDB connectOptions when using URI 2018-06-27 13:13:34 +02:00
Pierre Burgy
f0a8b03e73 Fix ssl interpretation for mongo connection 2018-06-22 12:05:17 +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
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
9d8cd3f620 Don't push model on useless collection tree 2018-05-09 14:58:47 +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
soupette
6fe297e252 Lint strapi-mongoose 2018-05-04 18:09:55 +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
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
19fdb4d279
Merge branch 'master' into role-registered 2018-03-14 17:13:57 +01:00
Jim Laurie
489aefba06 Rename role registered to authenticated 2018-03-14 16:56:12 +01:00
Abdón Rodríguez Davila
3d1613df2d Add authenticationDatabase setting 2018-03-08 15:51:03 +01:00
Abdón Rodríguez Davila
b02db9ea1b Merge branch 'master' into mongodb 2018-03-08 15:32:14 +01:00
Aurelsicoko
31d9fd0df9 Update bookshelf manage relations business logic 2018-03-07 18:15:45 +01:00
cyril lopez
bb65ff70da Fix upload update
Co-authored-by: Aurelsicoko <aurelsicoko@gmail.com>
2018-03-07 17:48:40 +01:00
Jim Laurie
be7e95b48c Add createdAt updatedAt for mongoose 2018-03-05 17:26:55 +01:00
Minh Tri Nguyen
a18ba8805e Add authSource & ssl options to MongoDB connector fix 2018-03-04 23:02:29 +08:00
Aurelsicoko
e63a1f19fc Handle empty relationships on morph side 2018-02-26 11:12:49 +01:00
Aurelsicoko
1e8272b80f Handle new syntax for polymorphic in strapi-mongoose 2018-02-22 16:08:11 +01:00
Aurelsicoko
946f0f17b3 Enhance polymorphic syntax 2018-02-22 15:34:33 +01:00
Aurelsicoko
dc75b51d6f [WIP] Polymorphic associations with Bookshelf 2018-02-20 19:59:05 +01:00
Aurelsicoko
134fa960cd Limit populate object where model is equal 2018-02-12 19:04:36 +01:00
Aurelsicoko
46ff89e404 Make polymorphic associations possible 2018-02-12 18:54:34 +01:00
Aurelsicoko
824567de0d [WIP] Polymorphic assocations 2018-02-09 10:43:09 +01:00
Pierre Burgy
fe87be7793 Add database uri configuration #602 2018-02-07 00:19:05 +01:00