63 Commits

Author SHA1 Message Date
Aurélien Georget
2115124931 Remove Mongoose warning logs 2019-01-23 16:56:04 +01:00
Aurélien Georget
53b195c917 Avoid useless population 2018-12-06 19:12:31 +01:00
Aurélien Georget
e1ce257d2f Revert codebase and apply limit, skip, start and sort parameters 2018-12-06 18:11:53 +01:00
Aurélien Georget
b0aaae9f12 Resolve conflicts 2018-11-27 18:48:37 +01:00
Aurelsicoko
21d21dfc8f Handle single fetch & allow override of default auto-population 2018-11-22 18:32:33 +01:00
Jim LAURIE
afbdc9b2bb
Fix indent 2018-11-21 16:48:23 +01:00
Jim LAURIE
412efec32a
Fix space 2018-11-21 16:47:28 +01:00
Kamal Bennani
886e39d196
I'm a newby 2018-11-19 21:48:54 +01:00
Kamal Bennani
53849ff12c
Fix sort 2018-11-19 00:12:09 +01:00
Kamal Bennani
0ed9b7643a
Merge where and relation payload 2018-10-28 23:42:22 +01:00
Kamal Bennani
5bdb5c25e0
use stage functions from the relation file 2018-10-28 23:42:22 +01:00
Kamal Bennani
15a41614fa
Don't populate relations in Graphql context 2018-10-28 23:42:22 +01:00
Kamal Bennani
bbfb2418a5
Move functions that deals with stages to the mongoose relation file 2018-10-28 23:42:21 +01:00
Kamal Bennani
3c37c33d58
Rewrite the logic of deep population & matching 2018-10-28 23:42:20 +01:00
Kamal Bennani
83da9fa38a
[Bugfix] take the correct localField when having a manyToOne RS 2018-10-28 23:42:19 +01:00
Kamal Bennani
ff0a87df7a
Update Bookshelf/Mongoose service template to support relation attribute filtering 2018-10-28 23:42:18 +01:00
Jim LAURIE
d586442fbd Fix deep delete relation for oneWay and when there is no relations 2018-10-08 12:25:44 +02: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
Jim LAURIE
9840247d1c Test generated API endpoint 2018-07-19 14:46:03 +02:00
Jim LAURIE
d09b0b1550 API search bookshelf 2018-07-05 11:28:55 +02:00
Jim LAURIE
d44262e94b API search mongoose 2018-07-05 10:22:43 +02:00
Okaris
89c97e6cae Added count to api template 2018-05-29 16:07:17 +03:00
Aurelsicoko
44cbc4098a Avoid server error during delete when the entry doesn't exist 2018-05-09 17:41:19 +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
892f9d1291 Update Mongoose template & support one-way in generated API 2018-04-23 16:57:59 +02:00
Aurelsicoko
b6ef82be83 Update generated controller to make them compatible with GraphQL 2018-04-10 12:26:44 +02:00
Johann Pinson
9d6d2c0b9f Update model.template for mongoose 2018-03-16 16:01:27 +01:00
Jim Laurie
be7e95b48c Add createdAt updatedAt for mongoose 2018-03-05 17:26:55 +01:00
Jim Laurie
3c82641aa0 Fix fetch error mongoose
Verify if _id params has mongoose ObjectId format
2018-02-08 14:58:05 +01:00
Jim Laurie
252082f84e Fix filter findOne params 2017-12-20 13:45:53 +01:00
Jim Laurie
519239c35c Fix find one generated api mongoose 2017-12-11 12:18:14 +01:00
Aurelsicoko
8f8fa6b158 Update doc and generated template 2017-11-29 15:46:28 +01:00
Jim Laurie
8b8115bac1 Merge branch 'alpha.7' of https://github.com/strapi/strapi into alpha.7 2017-11-03 12:13:20 +01:00
Jim Laurie
084cb3c49e Fix PR feedback 2017-11-01 15:16:28 +01:00
Jim Laurie
f6b97addfd Fix generate model bookshelf collectionName 2017-10-31 14:58:28 +01:00
Jim Laurie
51cf35afd6 Fix remove data relation delete mongoose 2017-10-31 11:25:13 +01:00
Jim Laurie
ceff284fb6 Fix update one to one mongoose relation 2017-10-30 17:59:53 +01:00
Jim Laurie
35b6a50810 Handle relation oneToMany dominant bookshelf 2017-10-26 17:21:23 +02:00
Jim Laurie
3d9a509789 Handle relation by id mongoose 2017-10-25 16:24:35 +02:00
Jim Laurie
2c06c48400 Lyfe cycle fix #287 2017-10-23 11:01:58 +02:00
Aurélien GEORGET
a4ce1232d3 Merge pull request #271 from strapi/improvements/filters
API filters
2017-10-12 10:40:28 +02:00
Pierre Burgy
c50b400f8e Remove params reference 2017-10-11 17:30:08 +02:00
Aurelsicoko
93ae7db340 Remove useless controllers' actions and add necessary routes on API generation 2017-10-11 12:41:10 +02:00
Pierre Burgy
05b2301c0b Minor syntax improvements 2017-10-10 15:14:20 +02:00
Pierre Burgy
8a724637a3 Fix conflicts 2017-10-10 12:49:34 +02:00
Aurélien GEORGET
14699c09cc Merge pull request #262 from strapi/improvement/plugin
Improvement/plugin
2017-10-02 10:30:51 +02:00
Ian Walter
2c40c2a9c3 Fixing typo in model template 2017-10-01 01:12:48 -04:00
Aurelsicoko
e48ee2935d Fix CLI on API generation 2017-09-30 18:23:21 +02:00
Jim Laurie
7bd5f1021e Fix conflicts 2017-09-28 13:18:36 +02:00
Jim Laurie
6fd7fcf512 Replace model by entity 2017-09-13 10:30:37 +02:00