25 Commits

Author SHA1 Message Date
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
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
083e18ec52 Add allowed types to ctb
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-12 16:44:36 +01:00
Alexandre Bodin
fe5edf52bb Update policy documentations and add migration guide
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-26 13:39:05 +01:00
soupette
9c53fcaccc Fix select relations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-01-30 18:09:55 +01:00
soupette
dee2c38678 Clean models 2019-12-18 14:51:29 +01:00
soupette
180b3e93b7 Add search to component select 2019-12-18 14:43:55 +01:00
soupette
83b39756c0 Fixes #4746 2019-12-18 12:10:02 +01:00
soupette
9adfe0c424 Remove useless compo and ct and update buffet version 2019-12-12 16:42:50 +01:00
soupette
421cee19af Fix design 2019-12-12 12:27:10 +01:00
soupette
e29bd761e4 Fix CTM dz min max validations 2019-12-11 16:52:35 +01:00
soupette
875173cd00 Fix baseline 2019-12-10 15:54:36 +01:00
soupette
034070cc4c Clean models 2019-12-09 19:10:27 +01:00
soupette
ce22ca993c Fix links to the ctm 2019-12-09 18:18:55 +01:00
soupette
28372566cd Fix attribute order 2019-12-05 18:41:04 +01:00
soupette
24a304e194 Handle add attribute for all data 2019-12-05 17:42:32 +01:00
soupette
e6ff857798 Handle edit for components 2019-12-05 16:27:55 +01:00
Virginie Ky
8174e9dae8 Input JSON UI with error 2019-11-21 15:06:38 +01:00
soupette
dd488ed302 Created recursive to clean data and upload files 2019-11-20 16:46:46 +01:00
Alexandre Bodin
1e28d8b9d9 Update component servie 2019-11-13 19:26:03 +01:00
Virginie Ky
16c4c9ebcd clean models 2019-08-28 17:20:53 +02:00
soupette
9bb2169dfc Test edi view utils 2019-08-23 14:14:23 +02:00
Alexandre Bodin
25937bc5f9 Update schemas for example getstarted 2019-08-22 14:12:27 +02:00