121 Commits

Author SHA1 Message Date
Jim Laurie
c82ba4c089 Fix decimal on pg an mysql fix #1273 2018-06-04 18:22:21 +02:00
Jim Laurie
f284c5d3e0 Fix PR feedback 2018-06-01 15:49:08 +02:00
Jim Laurie
5d8a24a010 Fix add multi column for mysql fix #1241 2018-05-31 12:03:24 +02:00
Jim Laurie
24e0a038c8 Add missing requirement 2018-05-16 18:17:13 +02:00
Jim Laurie
4fe7b6176e Fix conflicts & lint 2018-05-16 12:07:02 +02:00
Jim LAURIE
f4905a9b2e
Merge branch 'master' into enhance/relations 2018-05-14 17:33:37 +02:00
cyril lopez
1f019c60c3
Merge branch 'master' into eslint 2018-05-14 11:50:32 +02:00
DMehaffy
e32cbabaf8
Modify float for Postgres support
Added check for Postgres, which will use `double precision` in Postgres, MySQL will use `double`
2018-05-09 12:11:25 -07:00
Aurelsicoko
7e7b0f1d2f Move relation management into a separate file for Bookshelf 2018-05-09 16:08:58 +02:00
DMehaffy
680c7377fc fix1148
Update MySQL float data type from `float` to `double` to properly store large float values.
2018-05-09 02:28:17 -07:00
DMehaffy
0a2272515a
Update Strapi-Bookshelf to create enumeration columns
Added a case for strapi bookshelf to create a varchar(255) column for enumeration values, inline to match how string columns are made.
2018-05-08 11:00:57 -07:00
Jim LAURIE
c09f5138a2
Merge branch 'master' into eslint 2018-05-07 16:03:35 +02:00
soupette
e9f68a3bc9 Lint in strapi-bookshelf 2018-05-04 17:29:44 +02:00
Aurelsicoko
ce3d52d73e Fix single upload with Bookshelf 2018-05-02 16:15:36 +02:00
Jim Laurie
b82cfc4676 Change email and password as string 2018-04-27 16:29:18 +02:00
Jim Laurie
ee75653cdd Handle required 2018-04-27 16:07:18 +02:00
Jim Laurie
d986cb4cc8 Fix relation table creation 2018-04-27 14:53:09 +02:00
Jim Laurie
8adc8ec200 Diff text / string 2018-04-27 14:17:50 +02:00
Jim Laurie
a6c0616dfc Handle update type 2018-04-27 13:47:09 +02:00
Jim Laurie
1ee8d9b30a Fix PR feedback - handle type float 2018-04-26 13:47:40 +02:00
Jim Laurie
7488434f42 Remove updated and created at from model attributes 2018-04-25 12:25:20 +02:00
Jim Laurie
8d2a46cd0c Fix conflict timestamp 2018-04-25 11:06:12 +02:00
Jim Laurie
ad32122a27 Create many to many table 2018-04-24 17:48:15 +02:00
Jim Laurie
efdcc4cde9 Fix morph table creation 2018-04-24 16:19:17 +02:00
Jim Laurie
d6c16f2373 Add comments and clean code 2018-04-24 15:34:26 +02:00
Jim Laurie
1ae9e65b42 Upload setup in bookshelf and create morph tables 2018-04-24 15:24:48 +02:00
Jim Laurie
79ddc27cb1 U&P setup in bookshelf and handle oneToMany relation 2018-04-24 14:29:28 +02:00
Jim Laurie
b34ac11e10 Create table and create missing columns from strapi-bookshelf 2018-04-23 18:58:48 +02:00
Aurelsicoko
892f9d1291 Update Mongoose template & support one-way in generated API 2018-04-23 16:57:59 +02:00
Aurelsicoko
73764d6ae0 Add containss in Bookshelf filters 2018-04-12 15:44:04 +02:00
Aurelsicoko
17c46b331d Make GraphQL polymorphic relationships working with Bookshelf 2018-04-11 12:53:07 +02:00
Aurelsicoko
057d62b9f9 Handle default values with Bookshelf 2018-04-06 17:49:08 +02:00
Jim Laurie
e8181a397f Review bookshelf filters
fix #863
2018-04-03 12:38:33 +02:00
Aurelsicoko
66b75801c7 Add contains query and be able to disabled specific query 2018-04-03 11:30:39 +02:00
Jim Laurie
489aefba06 Rename role registered to authenticated 2018-03-14 16:56:12 +01:00
Aurelsicoko
d406c456eb Fix bookshelf manage relation 2018-03-07 18:47:46 +01:00
Aurelsicoko
31d9fd0df9 Update bookshelf manage relations business logic 2018-03-07 18:15:45 +01:00
Aurelsicoko
234d913c1b Add/remove images file Content Manager for SQL databases 2018-03-01 17:39:31 +01:00
Aurelsicoko
85fb0f5919 Fix non-polymorphic relations in strapi-bookshelf 2018-02-28 18:10:30 +01:00
Aurelsicoko
e63a1f19fc Handle empty relationships on morph side 2018-02-26 11:12:49 +01:00
Aurelsicoko
946f0f17b3 Enhance polymorphic syntax 2018-02-22 15:34:33 +01:00
Aurelsicoko
26c10cddd0 Handle morphToOne and morphToMany verbose 2018-02-21 17:33:30 +01:00
Aurelsicoko
dd354caf60 Handle most polymorphic use cases with Bookshelf 2018-02-21 16:35:25 +01:00
Aurelsicoko
dc75b51d6f [WIP] Polymorphic associations with Bookshelf 2018-02-20 19:59:05 +01:00
Amit Yadav
7aa83dd897
Merge branch 'master' into hot_fix_-467 2018-01-31 19:25:08 +05:30
Amit Yadav
aabecd2fec
Removed async/await as it had to impact 2018-01-31 19:22:52 +05:30
Amit Yadav
bae0159208 Fixes strapi#467 2018-01-24 20:15:11 +05:30
Aurelsicoko
8f85d85349 Improve roles in database to work with Bookshelf 2018-01-23 18:54:17 +01:00
Amit Yadav
5d9a49256a
Fixes https://github.com/strapi/strapi/issues/467 2018-01-18 23:34:20 +05:30
FixError
c5bb2da0a4 fix bug
(const variable is assigned it cannot be assigned again and an attempt to do so will throw an error)
2018-01-12 00:58:34 +02:00