120 Commits

Author SHA1 Message Date
Alexandre Bodin
7d130cad3d Add core service docs 2019-05-24 16:31:20 +02:00
Alexandre Bodin
da7b9ad66d Add controller customization doc 2019-05-24 16:31:20 +02:00
Alexandre Bodin
50bccee156 Setup default controller / service 2019-04-16 08:50:47 +02:00
Jim LAURIE
d19cbbacf0
Merge branch 'master' into feature/deep-filtering-mongoose-bookshelf 2019-04-03 15:35:36 +02:00
Jim LAURIE
e2d2bd1cef
Merge branch 'master' into patch-1 2019-04-03 12:26:48 +02:00
Alexandre Bodin
9bc56a3535 Apply review changes 2019-03-29 16:53:25 +01:00
Alexandre Bodin
3098309369 Use mongoose.find on simple queries for a perf boost 2019-03-26 14:57:02 +01:00
Alexandre Bodin
6fcb38780d Init code cleanup and auto loading of morph realtions in populated path 2019-03-22 17:15:51 +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
Kamal Bennani
c93311557e Adapt Services to the new Bookshelf API 2019-03-21 09:05:42 +01:00
Abdón Rodríguez Davila
45bf78519c
Added comment to improve linting of generated service files 2019-03-20 00:02:05 +01:00
Jim LAURIE
9d60afc440
Merge branch 'master' into patch-1 2019-03-12 17:39:05 +01:00
Prateek Narula
c0688b6ace
Corresponding to change in strapi-hook-bookshelf
afterFetchAll and beforeFetchAll hook definition added
2019-03-12 17:26:51 +01:00
Abdessamad MOUHASSINE
3bd55e0e88
Fix #2949 2019-03-12 08:58:45 +01:00
Jim LAURIE
90d67ef4cf
Merge branch 'master' into fix-2731 2019-03-08 10:19:36 +01:00
Oleksandr Zhuravlov
f0f4b13b8f added mising await statement in bookshelf template 2019-02-20 16:47:41 +02:00
Lucas GILHARD
b33a745e4b
fix $pull error deleting entry
fix $pull error deleting entry with dominant model of many-to-many relation by bypassing associations entries update if dominant

fix strapi/strapi#2731
2019-02-12 09:00:39 +01:00
Sajjad Shirazy
a9606b6eae Supporintg IN and NOT IN as a filter type 2019-02-03 15:08:36 +03:30
Jim LAURIE
412fcbb298
Merge branch 'master' into sqlite-support 2019-01-24 15:00:19 +01:00
Aurélien Georget
2115124931 Remove Mongoose warning logs 2019-01-23 16:56:04 +01:00
Jim LAURIE
f90255bb75
Merge branch 'master' into issue/2327 2019-01-22 13:52:13 +01:00
Paolo Ragone
803ce0bea0
Merge branch 'master' into lint_improvement 2019-01-09 21:25:44 +13:00
Jim LAURIE
a23fe2c307 Remove relations route from bookshelf template 2019-01-06 15:17:59 +01:00
Paolo Ragone
e1079ce362 Added comment so linting doesn't go crazy on generated service files 2019-01-05 09:51:06 +13:00
Pierre Burgy
fddf391e84 Add SQLite support 2018-12-29 21:35:07 +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
Jim LAURIE
03c1e04d87 Revert filter PR 2018-12-04 17:05:03 +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
Jim LAURIE
954a6d321a
Fix indent 2018-11-21 16:47:01 +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
957368b8b2
Add a support of deep filter in bookshelf 2018-10-28 23:44:38 +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
Nick Verwymeren
d123b14ae5
Fixes issues when doing an 'IN' query
When doing an 'IN' query it looks like this will incorrectly loop over the values and put them into multiple where clauses. This additional check on the symbol should leave the array untouched and pass it on into the orm for processing.
2018-10-17 11:50:43 -05:00
Jim LAURIE
d586442fbd Fix deep delete relation for oneWay and when there is no relations 2018-10-08 12:25:44 +02:00
Jim LAURIE
870b31ce5c Fix typo update bookshelf service 2018-10-04 17:17:25 +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
60663d2105
Merge branch 'master' into add-test-api 2018-07-20 10:34:54 +02:00
Jim LAURIE
9840247d1c Test generated API endpoint 2018-07-19 14:46:03 +02:00