4325 Commits

Author SHA1 Message Date
Johann Pinson
aeefa6156e feat(graphql): move to GraphQL Playground 2018-05-15 16:03:22 +02:00
Jim LAURIE
be148bd5c5
Merge pull request #1157 from strapi/enhance/relations
Move business logic to manage relations inside the hooks
2018-05-14 17:52:55 +02:00
Jim LAURIE
f4905a9b2e
Merge branch 'master' into enhance/relations 2018-05-14 17:33:37 +02:00
Jim LAURIE
f222de8177
Merge pull request #1188 from Duske/patch-3
Upgrade to latest alpha-12.x in migration guide
2018-05-14 17:30:34 +02:00
Dustin
65fe7a44e0
(doc) use latest version alpha.12.1.3 2018-05-14 17:19:43 +02:00
Dustin
8a439e22d1
(doc) use latest version of strapi alpha.12.x 2018-05-14 17:08:57 +02:00
Dustin
7eabef259e
Merge branch 'master' into patch-3 2018-05-14 17:07:41 +02:00
Jim LAURIE
fe733135fe
Merge pull request #1185 from Duske/patch-2
Add npm install as last step of migration guide
2018-05-14 16:57:18 +02:00
Jim LAURIE
04eaab71aa
Merge branch 'master' into patch-2 2018-05-14 16:45:03 +02:00
Jim LAURIE
489b873da4
Merge pull request #1187 from strapi/fix-870
Fixes the updatedAt or updated_at field bug when updating an entry from the admin panel
2018-05-14 15:24:38 +02:00
Jim LAURIE
371d2fbebb
Merge branch 'master' into fix-870 2018-05-14 15:06:42 +02:00
soupette
de22d0e130 Remove createdAt fields as well 2018-05-14 15:02:30 +02:00
Dustin
04a91145e2
(doc) upgrade to latest alpha-12.x 2018-05-14 14:57:56 +02:00
Jim LAURIE
66ef5410c3
Merge pull request #1184 from strapi/fix-generators
Fix and harmonize generators
2018-05-14 14:32:10 +02:00
soupette
17e9340276 Fixes #870 2018-05-14 14:17:51 +02:00
Jim Laurie
c2ceb04959 Remove eslint from strapi-helper-plugin waiting for eslint PR 2018-05-14 14:08:06 +02:00
Dustin
f661b9699a
(doc) add npm install as last step
For me, copying the files from the newly generated strapi environment was not sufficient. When I started the strapi after following the guide, 
I got the following error: 
```
/home/xxx/Dev/Projects/xxx/server/node_modules/mongodb/lib/mongo_client.js:804
          throw err;
          ^

TypeError: Cannot read property 'globalId' of undefined

```
I guess this was the case because strapi-mongoose was not upgraded.  I don't know if I'm blind or did not read the migration guide carefully enough, but for me a `npm install` at the end did the trick and upgraded it.
Maybe this is helpful for you
2018-05-14 13:39:04 +02:00
Jim Laurie
79881f3707 Remove componentDidCatch from Edit page content manager 2018-05-14 13:35:15 +02:00
Jim Laurie
86677cb373 Add strapi generate model in strapi deps 2018-05-14 12:29:52 +02:00
Jim Laurie
860cb8315b Add strapi generate controller in strapi deps fix #644 2018-05-14 12:28:49 +02:00
Jim Laurie
8cd33563ae Harmonize model templates 2018-05-14 12:05:09 +02:00
Aurelsicoko
eeb27c8eac Rework one-to-one business logic and use getValuePrimaryKey with Bookshelf 2018-05-11 11:47:27 +02:00
Jim LAURIE
88a3da8132
Merge pull request #1163 from tsabolov/master
Return HTTP 403 (not 401) if user is not allowed to perform an operation
2018-05-11 10:52:33 +02:00
Konstantin Tsabolov
9e897bcfda Return HTTP 403 if user is not allowed to perform an operation 2018-05-10 19:36:15 +02:00
Jim LAURIE
3056a7f18f
Merge pull request #1151 from derrickmehaffy/fix1148
Update Strapi-Bookshelf to properly store long float values
2018-05-10 19:00:05 +02:00
Aurelsicoko
49c61d2ca5 Rework one-to-one business logic and use getValuePrimaryKey util with Mongoose 2018-05-10 12:19:33 +02:00
Jim LAURIE
2af5159b4b
Merge branch 'master' into fix1148 2018-05-10 11:49:25 +02:00
Jim LAURIE
f46950ee4e
Merge pull request #1110 from ujal/fix-reload
Fix strapi.reload.isWatching === undefined
2018-05-10 09:37:49 +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
Jim LAURIE
37f6c93abd
Merge branch 'master' into fix-reload 2018-05-09 17:55:19 +02:00
Aurelsicoko
78517da354 Remove unnecessary zh-hs file 2018-05-09 17:48:50 +02:00
Aurelsicoko
44cbc4098a Avoid server error during delete when the entry doesn't exist 2018-05-09 17:41:19 +02:00
Jim LAURIE
43c6671373
Merge pull request #1146 from strapi/fix/duplicatePermissions
Avoid to delete duplicate permissions per role
2018-05-09 17:36:52 +02:00
Jim LAURIE
e48ae12b42
Merge branch 'master' into fix/duplicatePermissions 2018-05-09 17:25:52 +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
7e7b0f1d2f Move relation management into a separate file for Bookshelf 2018-05-09 16:08:58 +02:00
Aurelsicoko
02a2e087cc Remove warning where clause 2018-05-09 15:11:55 +02:00
Aurelsicoko
9d8cd3f620 Don't push model on useless collection tree 2018-05-09 14:58:47 +02:00
Aurelsicoko
b57449ebfa Fix one-to-one relation on Mongoose 2018-05-09 14:56:08 +02:00
Aurelsicoko
dfec0b630b Add updateRelations on models and update generated API to use this method 2018-05-09 12:52:32 +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
Jim LAURIE
5b07acb7a6
Merge pull request #1147 from derrickmehaffy/fix1144
Update Strapi-Bookshelf to create enumeration columns
2018-05-09 10:05:45 +02: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
Aurelsicoko
fc44709069 Move relational management into a separate file 2018-05-08 18:44:47 +02:00
Aurelsicoko
13209fd3a5 Fixes #1134 2018-05-08 17:54:23 +02:00
Jim LAURIE
0c3f8067ff
Merge pull request #1145 from nyl-auster/master
Fix typo in fr translations :  'ajouter un champ'
2018-05-08 17:24:30 +02:00
Jim LAURIE
75fa810822
Merge branch 'master' into master 2018-05-08 17:15:23 +02:00
Jim LAURIE
4af9f21ca6
Merge pull request #1141 from abdonrd/patch-1
Docs: environments test to staging
2018-05-08 17:14:52 +02:00
yann
0a759762ab fix typo on fr translation 'ajouter un champs' 2018-05-08 17:08:54 +02:00
Jim LAURIE
a9f9b6f428
Merge branch 'master' into patch-1 2018-05-08 12:10:40 +02:00