77 Commits

Author SHA1 Message Date
Alexandre Bodin
09dcea27f1 refactor mongoose queries to match api 2019-07-16 21:24:09 +02:00
Alexandre Bodin
56c59c5ae1 Implement deleteMany in query.delete 2019-07-16 20:11:34 +02:00
Alexandre Bodin
87857b94be Implement strapi.queries for all models 2019-04-16 09:05:46 +02:00
Alexandre Bodin
3098309369 Use mongoose.find on simple queries for a perf boost 2019-03-26 14:57:02 +01:00
Alexandre Bodin
d2db6b633f Mongo + graphql v1 2019-03-21 09:07:36 +01:00
Kamal Bennani
e8c92fc3d7 Adapt Services to the new Mongoose API 2019-03-21 09:06:06 +01:00
DMehaffy
339c756e05
Merge branch 'master' into enhancement/bigint 2019-01-30 23:04:39 -07:00
Aurélien Georget
2115124931 Remove Mongoose warning logs 2019-01-23 16:56:04 +01:00
DMehaffy
d656077399 add a few more bigint 2019-01-21 05:11:48 -07:00
Aurélien Georget
9e0faf9b5c Fix deleteUser mutation for Mongoose and Bookshelf 2018-11-27 14:54:34 +01:00
Jim LAURIE
7c583b7268
Update code style 2018-10-27 18:13:54 +02:00
Javier Castro
ed924b057a Fix #2211: Content-Manager: save not handling beforeSave hook throw error 2018-10-26 13:49:14 -03:00
Alberto Maturano
154fc28a57 Normalize to standar file permissions
As a result of taking a look on PR #1967 I realized there is 819
executable files in this repository. It is obvious this is an error.
2018-09-24 12:33:09 -05:00
Aurelsicoko
be87950148 Add new icon and update CSS to follow the original design 2018-06-11 17:52:40 +02:00
soupette
d716888296 Search with mongoose 2018-06-07 18:50:43 +02:00
soupette
a90f60ddd0 Improve TableDelete and fix search request 2018-06-07 15:08:11 +02:00
Aurelsicoko
d8e2a1647c Add query system to handle search 2018-06-07 14:35:09 +02:00
soupette
8832a5baab Delete many and update relations
Co-authored-by aurelsicoko@gmail.com
2018-06-05 18:35:19 +02:00
soupette
185350f07c Fix count routes for mongoose 2018-05-22 17:11:35 +02:00
Jim Laurie
4fe7b6176e Fix conflicts & lint 2018-05-16 12:07:02 +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
fc44709069 Move relational management into a separate file 2018-05-08 18:44:47 +02:00
Jim LAURIE
c09f5138a2
Merge branch 'master' into eslint 2018-05-07 16:03:35 +02:00
Aurelsicoko
c67e2ef6d4 Avoid to loose relationship when editing from the many side 2018-05-03 12:08:35 +02:00
Jim Laurie
3ea2c8a775 Fix entry create relations 2018-05-02 15:39:12 +02:00
soupette
8a4412d6d6 Add eslint to ctm backend folders 2018-04-30 16:32:48 +02:00
Aurelsicoko
265fb1bdd9 Fix beforeCreate lifecycle 2018-04-25 12:23:53 +02:00
Aurelsicoko
99f2b34549 Fix loose of file relation & select latest associated file 2018-04-23 12:59:53 +02:00
Aurelsicoko
87b07c8eeb Resolve conflicts 2018-04-13 18:04:03 +02:00
Jim LAURIE
950122dbdb
Merge branch 'master' into poly-cm 2018-04-12 17:58:51 +02:00
Aurelsicoko
73764d6ae0 Add containss in Bookshelf filters 2018-04-12 15:44:04 +02:00
Adrien Lepoutre
2496611fca Code cleaning 2018-04-11 10:09:53 -04:00
Aurelsicoko
cd43c2851b Build schema.graphql to query Users & Permissions models 2018-04-10 15:54:34 +02:00
Jim Laurie
bdd1583543 Handle polymorphic in admin
Only for collection: * poly side
2018-04-10 14:46:36 +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
Adrien Lepoutre
0b0ea75402 ISSUE 825 - Losing OneToOne relation in the content manager - Fixes #825 2018-04-02 17:50:03 -04:00
Aurelsicoko
e917c61b02 Optimize GraphQL query with Bookshelf 2018-04-02 19:24:36 +02:00
Aurelsicoko
74ad7ffa0c Handle relationship in GraphQL query 2018-03-31 18:55:08 +02:00
Aurelsicoko
684a70c665 Fix dominant true when updating relationship 2018-03-15 12:56:21 +01:00
Aurelsicoko
df4f02c303 Lower ref parameter to retrieve globalId 2018-03-07 14:59:41 +01:00
Aurelsicoko
7dfc184a2e Don't loose oneToManyMorph relationship on update 2018-03-05 15:04:10 +01:00
Aurelsicoko
933254f1d1 Replace null by empty array on single file field 2018-03-02 17:00:00 +01:00
Aurelsicoko
2bdf226490 Add/remove one file in Content Manager for Bookshelf 2018-03-02 16:31:32 +01:00
Aurelsicoko
1490e06003 Remove useless association login in create method for Mongoose 2018-03-02 12:32:35 +01:00
Aurelsicoko
2d5f607052 Add/remove single file from Content Manager 2018-03-02 12:01:18 +01:00
Aurelsicoko
234d913c1b Add/remove images file Content Manager for SQL databases 2018-03-01 17:39:31 +01:00
Aurelsicoko
cde39a8609 Add/remove file from Content-Manager & move logic into the Upload plugin 2018-02-28 15:49:28 +01:00
Aurelsicoko
19b1574f00 Start to handle polymorphic association update in Content Manager (mongoose only) 2018-02-28 12:33:32 +01:00
Aurelsicoko
cfef18ea6b Remove relationship where a file is removed 2018-02-27 18:57:28 +01:00