11906 Commits

Author SHA1 Message Date
Derrick Mehaffy
503fa9ebab
Almost finished with Azure guide
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
6e70f0d3b5
Start work on Azure VM guide
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
6a0dc1bcfd
Finish Nginx guide
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
e4306087c3
Clean up DigitalOcean guide
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
5227831bf1
clean up AWS guide
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
ad3f85f85d
fix a few bugs in AWS, init proxy guide
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
c7e15d37ed
Fix heroku icon
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
e0f34ed4ff
Add little logos
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
1e5893c899
Adding a link between installation and deployment
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
c35addecaa
Main migration into split docs, not reviewed sub docs yet
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Derrick Mehaffy
274e7e13be
init deployment changes
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-04-09 04:30:14 -07:00
Alexandre BODIN
9690fddab4
Merge pull request #5752 from strapi/documentation
Documentation update
2020-04-09 11:53:31 +02:00
Jim LAURIE
9b3e7b2d9c
Merge pull request #5674 from strapi/docs-concepts-review
Review concepts documentation
2020-04-09 11:47:34 +02:00
Jim LAURIE
342cef19f4
Merge branch 'documentation' into docs-concepts-review 2020-04-09 11:43:01 +02:00
Jim LAURIE
7216f21760 docs: apply pr feedback 2020-04-09 11:41:55 +02:00
Alexandre BODIN
574a61de2f
Update sqlite table migration query to escape column names (#5746)
Fix #4983

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-08 17:25:31 +02:00
Jean-Sébastien Herbaux
a583d1b859
Fix/#3184/fix server crashs on database change (#5703)
* Don't set connection field on create/edit operation on content-types & components

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Make sure that every component has a valid connection attribute

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection check on components load

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove default connections from core & webhook stores but make sure it's defined in the application lifecycle

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix component's associations that can be undefined instead of empty in populateBareAssociations

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove "default" connection from plugins' models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection attribute from generated models (cli)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Mutate each component instead of reassign

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Build core_store and webhook model based on the current config

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Add connection to templates conditionally (based on args)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Set default value for description to undefined instead of empty string

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove unnecessary complexity

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Update getStarted models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix attributes parsing for generate:model

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Removed tpl option from generate:model/api

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove tpl option from cli

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-04-07 16:31:44 +02:00
Vasyl Rishko
0efdd382bd
Fix default values on create entity. (#5675)
* fix: default values on create entity.

Signed-off-by: VasylRishko <rishko92@gmail.com>

* tests: test default date and json values.

Signed-off-by: VasylRishko <rishko92@gmail.com>
2020-04-07 12:56:53 +02:00
Yassir Barchi
3a42a49162
Add RegExp as text type attribute validation option (#5648)
* feat: add Regexp for attribute value validation

strapi-plugin-content-type-builder

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* feat: add Regexp for attribute value validation

strapi-plugin-content-manager

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* fix error on submit

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* add regex pattern validation

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* add api validation

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* fix lint issues

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* remove redundant code

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* fix en.json build issue

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* add the reset input logic to the regex field

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>
2020-04-07 10:41:46 +02:00
Jim LAURIE
c0ec9a54ec
Merge pull request #5088 from gambhiro/deploy-to-app-engine
Guide to deploy to google app engine
2020-04-03 13:50:31 +02:00
Jim LAURIE
810d333ef0
Merge branch 'master' into deploy-to-app-engine 2020-04-03 13:50:06 +02:00
Alexandre BODIN
f54cdfdd21
Merge pull request #5698 from diogotcorreia/patch-1
Update Node LTS version on BUG_REPORT.md to v12
2020-04-03 08:43:15 +02:00
Diogo Correia
356fe6bf2b
Update Node LTS version on BUG_REPORT.md to v12 2020-04-03 00:16:36 +01:00
Alexandre Bodin
e3b34580b5 extract params from ctx before caling services
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-02 19:51:24 +02:00
Jim LAURIE
0a522b3795
Merge pull request #5635 from chinhdo/fix/5555-quickStartGuide
Fix issue #5555 - outdated references to "content-type" in Quick Start Guide/Tutorial
2020-04-01 16:33:40 +02:00
Jim LAURIE
343a1bab38
Merge branch 'master' into fix/5555-quickStartGuide 2020-04-01 16:33:29 +02:00
Jim LAURIE
6344fc622c
Merge pull request #5615 from strapi/docs/faq_update
Add development flow to FAQ
2020-04-01 16:21:59 +02:00
Jim LAURIE
97c2664ed9
Merge branch 'master' into docs/faq_update 2020-04-01 16:21:18 +02:00
António Santos
37a1338d81 Added 0.0.0.0 to Deployment Configuration Doc
There was a problem in Heroku when using the default "localhost". We must change it to "0.0.0.0". We can help others by adding this to the documentation so they don't have to invest much time to find the solution like me.

Signed-off-by: António Santos <toi.santos@gmail.com>
2020-04-01 14:52:55 +02:00
Jim LAURIE
390f72d512 docs: review concepts 2020-04-01 11:48:38 +02:00
Alexandre Bodin
ff15757685 Merge tag 'v3.0.0-beta.19.5'
v3.0.0-beta.19.5
2020-04-01 11:31:04 +02:00
Alexandre Bodin
8d56e0c12f v3.0.0-beta.19.5 v3.0.0-beta.19.5 2020-04-01 11:27:56 +02:00
Alexandre Bodin
f306feedd2 in dev mode use localhost has default hostname
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-01 11:14:39 +02:00
Alexandre Bodin
59332ae672 Fix host using lcoalhost not working on a lot of envs
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-01 11:14:39 +02:00
Chinh Do
da793ff552
Merge branch 'master' into fix/5555-quickStartGuide 2020-03-31 22:52:53 -04:00
Long Nguyen
77e243f841 Refactor code convert GraphQL params to ORM conditions
Signed-off-by: Long Nguyen <olragon@gmail.com>
2020-03-31 16:01:39 +02:00
Long Nguyen
634592fb5b fix: GraphQL Aggregation Bookshelf where condition aren't applied to groupBy
Signed-off-by: Long Nguyen <olragon@gmail.com>
2020-03-31 16:01:39 +02:00
Chinh Do
a9ae7e24c2
Merge branch 'master' into fix/5555-quickStartGuide 2020-03-30 19:37:38 -04:00
Alexandre Bodin
f7a8d06f54 Add docker-compose.dev file to easily work with different databases in dev mode
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

Remove old files not used anymore

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

Added info about conflict with local db instances and how to change port configurations

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

Fix typos

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-30 19:05:31 +02:00
Convly
67187c38f2 Rename _type to type and type to nonRequiredType
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-03-30 16:45:00 +02:00
Convly
1103d96500 Rename noRequired to nonRequired
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-03-30 16:45:00 +02:00
Convly
98b5b4a029 GraphQL Aggregation: Remove required marker when checking for number types (int/float)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-03-30 16:45:00 +02:00
Alexandre BODIN
4ebcd12f7c
Merge pull request #5627 from strapi/fix/#3409/relationTablesCantHaveLongNames
improve joinTable customization + test collectionName duplicates
2020-03-30 16:41:51 +02:00
Pierre Noël
1535735eb6 Merge branch 'master' into fix/#3409/relationTablesCantHaveLongNames
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-30 15:42:08 +02:00
Alexandre BODIN
7b50291353
Merge pull request #5444 from strapi/fix/#4881/cantDisableOrOverrideRootPage
Add possibility to delete index.html + remove use of production.html
2020-03-30 15:02:01 +02:00
Pierre Noël
9d7e78d528 remove useless use of stopWithError
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-30 15:02:01 +02:00
Alexandre BODIN
687673cd19
Merge pull request #5629 from strapi/chore/strapi-metrics
Make strapi analytics simpler
2020-03-30 14:51:27 +02:00
Alexandre Bodin
d60578c875 Update is truthy fn
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-30 14:51:03 +02:00
Alexandre Bodin
24000818f4 Add tests on middleware
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-30 14:51:03 +02:00
Alexandre Bodin
0888c3788b Add tests and avoid blocking in middleware
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-30 14:51:03 +02:00