407 Commits

Author SHA1 Message Date
Alexandre Bodin
9ddeaffed1 Use a wrapper to cleanup
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:07 +02:00
Alexandre Bodin
ebee707ec4 Add basic proto of lifecycles
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:06 +02:00
Alexandre Bodin
0fa1d561cc Readd default host in getstarted
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 16:22:22 +02:00
Alexandre Bodin
2e31afe6dd Upgrade doc to use env var and js config files
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:43 +02:00
Alexandre Bodin
6ca740bd29 Fix env casting should return undefined if var is not defined
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:42 +02:00
Alexandre Bodin
8fabd55568 Make generated config as minimalist as possible
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:38 +02:00
Alexandre Bodin
546ca97748 Change CLI config loading
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:38 +02:00
Alexandre Bodin
9e34029878 Overwritte plugin config with user config
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:37 +02:00
Alexandre Bodin
5595f6ca94 Add policy loader
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:36 +02:00
Alexandre Bodin
ed616333b2 Init new configuration management
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:35 +02:00
Alexandre Bodin
6a6d53b402 v3.0.0-beta.20.1 2020-04-28 10:00:23 +02:00
HichamELBSI
7a4a87fa68 Merge branch 'develop' of github.com:strapi/strapi into fix/single-types-issues
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-23 17:18:14 +02:00
Alexandre Bodin
9d8944ebfe v3.0.0-beta.20 2020-04-16 15:10:53 +02:00
HichamELBSI
2f7f9f5f25 Allow deselect files
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-16 12:43:55 +02:00
HichamELBSI
bbd4fcb7e3 Fix toggle all
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-16 10:29:25 +02:00
HichamELBSI
a672b66b7f Fix filters and allowed types
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-10 14:06:09 +02:00
Alexandre Bodin
cc9d23c3ac Merge branch 'develop' into features/media-lib
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-07 20:24:39 +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
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 2020-04-01 11:27:56 +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
Alexandre Bodin
087920fb47 Merge branch 'develop' into features/media-lib
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-31 11:58:31 +02: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
HichamELBSI
0b7872e0a8 Add Drop file into input media
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-03-30 16:40:46 +02:00
HichamELBSI
1276bf9767 Add input allowed types in filters
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-03-30 16:40:03 +02:00
Alexandre Bodin
5a259ddf41 Merge branch 'develop' into features/media-lib
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-30 16:00:24 +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
Alexandre Bodin
50df7365d6 Merge branch 'develop' into features/media-lib
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-30 12:04:04 +02:00
Alexandre Bodin
24bd311678 v3.0.0-beta.19.4 2020-03-30 09:57:05 +02:00
soupette
024ce975f1 Comment config
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-26 14:22:21 +01:00
soupette
3eb635380a Fix ctb allowed types
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-26 14:15:24 +01:00
soupette
7840578474 Fix ctb
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-26 13:50:45 +01:00
soupette
2314d4ee46 Fix download
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-26 12:39:12 +01:00
soupette
86f6ad6d45 Fix delete media
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-26 12:34:43 +01:00
HichamELBSI
998bfa9360 Merge branch 'features/media-lib-frontend' into media-lib/cm-modal 2020-03-24 09:56:55 +01:00
HichamELBSI
f19fb580ec Update after review
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-03-23 23:28:30 +01:00
Alexandre Bodin
3187c08087 Fix uploadTopEntity and delete file relations on fie delete
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-20 11:04:22 +01:00
soupette
083e18ec52 Add allowed types to ctb
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-12 16:44:36 +01:00
Pierre Noël
773a6525d4 little refacto of loading config + add doc
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-09 17:04:15 +01:00
Pierre Noël
74e63ea77c Move index.html to public middleware + add config var "defaultIndex"
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-09 15:48:42 +01:00
Pierre Noël
2d677be6b4 Add possibility to delete index.html + remove use of production.html
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-06 15:24:43 +01:00
soupette
bdc2758613 Merge branch 'develop' of github.com:strapi/strapi into features/media-lib 2020-03-06 11:44:20 +01:00
soupette
8a8929e97c v3.0.0-beta.19.3 2020-03-06 10:02:36 +01:00
Alexandre Bodin
e1a7074a4e Merge branch 'develop' into features/media-lib 2020-03-05 14:39:29 +01:00
Alexandre Bodin
b3e18e1de6 v3.0.0-beta.19.2 2020-03-05 14:32:42 +01:00
soupette
f1de079d77 Fix conflicts
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-05 10:22:49 +01:00
Alexandre Bodin
8e91e5abaf v3.0.0-beta.19.1 2020-03-04 18:42:31 +01:00
soupette
d6bc4e1941 Fix conflicts
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-04 14:52:29 +01:00
Alexandre Bodin
e222792181 v3.0.0-beta.19 2020-03-04 14:24:23 +01:00
HichamELBSI
b5947621fc Merge branch 'master' into develop 2020-03-04 09:32:13 +01:00