65 Commits

Author SHA1 Message Date
Jim Laurie
95607dc7ed Load bookshelf plugin model if not apis 2017-11-30 13:57:47 +01:00
Jim Laurie
baa2f92040 Mount plugin models for bookshelf 2017-11-28 15:00:49 +01:00
Jim Laurie
8cf8c24ee7 Load bookshelf plugins models 2017-11-15 17:27:07 +01:00
Jim Laurie
4bd0427ba6 Fix mongoose collection prefix plugin 2017-11-15 16:59:12 +01:00
Jim Laurie
49901024cd Delete useless variable 2017-11-02 13:57:52 +01:00
Jim Laurie
084cb3c49e Fix PR feedback 2017-11-01 15:16:28 +01:00
Jim Laurie
14b2676524 Fix relation create one to one object 2017-10-31 14:44:34 +01:00
Jim Laurie
c479480d34 Fix relation create one to one 2017-10-31 13:43:48 +01:00
Jim Laurie
a2214ed0d7 Handle relation bookshelf oneToOne 2017-10-27 19:06:22 +02:00
Jim Laurie
08970eee3e Handle manyToMany relations bookshelf by object 2017-10-27 18:22:58 +02:00
Jim Laurie
c47492ea21 Handle manyToMany relations bookshelf by id 2017-10-27 17:57:50 +02:00
Jim Laurie
35b6a50810 Handle relation oneToMany dominant bookshelf 2017-10-26 17:21:23 +02:00
Jim Laurie
7bd5f1021e Fix conflicts 2017-09-28 13:18:36 +02:00
Aurelsicoko
019690d6d6 Improve notification behaviour and solve issue with no relationships 2017-09-19 13:40:26 +02:00
Aurelsicoko
d8b14f6b67 Fix spread issue 2017-09-18 18:20:33 +02:00
Aurelsicoko
eef2d3d96e Handle relationships edition for Bookshelf 2017-09-14 18:47:10 +02:00
Aurelsicoko
4e089f7909 Solve issues to be able to use bookshelf correctly 2017-09-14 16:33:56 +02:00
Jim Laurie
4a18fe6b13 Add bookshelf filters 2017-09-13 12:18:54 +02:00
Jim Laurie
e9120866fe Fix conflicts 2017-08-10 15:38:08 +02:00
aurelsicoko
68b42e0831 Update dependencies and focus on performances 2017-08-05 20:25:57 +02:00
aurelsicoko
4576b85dde Resolve conflicts in bookshelf connector 2017-07-29 13:53:28 +02:00
aurelsicoko
202cf6f5a8 Resolve conflicts 2017-07-28 18:56:28 +02:00
aurelsicoko
8013990ee4 Remove tableName property in model and update defaults configurations 2017-07-28 16:31:23 +02:00
aurelsicoko
401d618a07 Take care of new configurations files 2017-07-26 18:53:48 +02:00
aurelsicoko
4f7efef381 Update core architecture 2017-07-24 19:58:03 +02:00
Aurélien GEORGET
fcba36d47c Merge pull request #217 from dj-hedgehog/alpha.4
Add beforeFetchCollection & afterFetchCollection lifecycle hooks
2017-07-17 11:08:17 +02:00
Pierre Burgy
f316b51e33 Remove useless default config in strapi-bookshelf 2017-07-17 10:54:27 +02:00
Ali
6270264258 Add beforeFetchCollection & afterFetchCollection lifecycle hooks 2017-07-14 15:38:00 +02:00
Pierre Burgy
43809dcb00 Add queries system and schema based fields 2017-06-17 17:01:50 +02:00
Pierre Burgy
23bc7e9f0c Add primary key logic 2017-05-04 19:05:41 +02:00
Aurélien Georget
f12884a3d6 Use globalId on many-to-many relationships to avoid conflicts with model's name 2017-04-12 15:43:18 +02:00
Aurélien Georget
21df50a44f Remove comments 2017-04-11 11:59:04 +02:00
Aurélien Georget
101ddb509f Reverse mapper on keys' name changed by the columnName property 2017-04-11 11:56:31 +02:00
Jim Laurie
42c688b153 Handle options in Strapi models 2017-04-07 15:48:09 +02:00
Aurélien Georget
dc3eb2d748 Merge branch 'alpha.4' of github.com:strapi/strapi into alpha.4 2017-04-03 10:03:11 +02:00
Jim Laurie
4645e7fd00 Map columnName to create relations 2017-03-24 12:03:14 +01:00
Aurélien Georget
68488ca48c Fix lifecycle callback for Bookshelf 2017-03-15 13:47:02 +01:00
Aurélien Georget
957cc17d0a Allow to change Bookshelf pivot prefix 2017-02-15 14:43:09 +01:00
Aurélien Georget
62174c2a24 Support pivots for Bookshelf 2017-02-15 13:53:23 +01:00
Aurélien Georget
0a2db78275 Process exit when Redis connection failed 2017-02-14 14:34:01 +01:00
Aurélien Georget
488343374b Fix crash where connections exist but there is no models 2017-02-01 14:48:30 +01:00
Aurélien Georget
ce6a969327 Add config to load bookshelf plugins or not 2017-01-30 15:15:22 +01:00
Aurélien Georget
6dd11ff007 Load bookshelf.js to allow custom instance 2017-01-30 15:04:21 +01:00
Aurélien Georget
e0f3321d01 Load pagination plugin in Bookshelf 2017-01-30 12:37:31 +01:00
Aurélien Georget
ebab378163 Add support for idAttribute and update dependency 2017-01-24 15:55:50 +01:00
Aurélien Georget
e462c1bc33 Allow multiple connection with strapi-bookshelf connector 2017-01-24 13:01:09 +01:00
Aurélien Georget
90ded9977f Allow custom columnName on one-to-many associations 2017-01-24 12:09:01 +01:00
Aurélien Georget
9aa2cedf85 Allow custom tableName on M2M associations and select PG schema 2017-01-23 16:28:20 +01:00
Pierre Burgy
821a0b5dbb Fix multi words relations 2017-01-14 12:09:49 +01:00
Aurélien Georget
5b74588653 Update generated API && support aliases for Bookshelf 2017-01-11 17:53:40 +01:00