35 Commits

Author SHA1 Message Date
Pierre Noël
4790e28284 refactor with module approach 2021-08-06 18:09:49 +02:00
Alexandre Bodin
2d59716f5d Cleanup CTB 2021-06-30 22:52:12 +02:00
Alexandre Bodin
a992a73b2e Update model relation definition 2021-06-24 09:09:30 +02:00
soupette
5a6d9a89b8 Created utility to get draft relations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:34 +02:00
soupette
e46b56e460 Clean models
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-10 10:38:52 +02:00
soupette
ddb37266ae Add permissions to edit
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:28 +02:00
soupette
577471142d Add permissions for update
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:28 +02:00
HichamELBSI
342e0a9a86 Fix PR review 2
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:11:22 +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
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
ee9af6c0d3 Fix select description 2019-12-11 17:37:31 +01:00
soupette
e29bd761e4 Fix CTM dz min max validations 2019-12-11 16:52:35 +01:00
soupette
465fbea87f Fix icons edition 2019-12-10 14:26:12 +01:00
soupette
034070cc4c Clean models 2019-12-09 19:10:27 +01:00
soupette
28372566cd Fix attribute order 2019-12-05 18:41:04 +01:00
soupette
e6ff857798 Handle edit for components 2019-12-05 16:27:55 +01:00
soupette
2e33038d9d Init modal header UX 2019-11-29 09:14:31 +01:00
soupette
9377256cd0 Fix conflicts 2019-11-29 06:54:17 +01:00
Virginie Ky
c47985cf9b Merge branch 'features/dynamic-zones' into front/dynamic-zones-ctm-ui 2019-11-28 15:57:06 +01:00
Alexandre Bodin
50e35f1026 Support updates 2019-11-26 11:24:00 +01:00
soupette
570a520d10 Add logic to select an icon for a component 2019-11-26 11:01:27 +01:00
Alexandre Bodin
e60e648a78 Use schema builder in component categories service 2019-11-25 15:16:06 +01:00
Alexandre Bodin
1605997045 edit Compo delete compo 2019-11-20 18:27:36 +01:00
soupette
d3ee05a811 Add error check for repeatable blur and dz add 2019-11-20 16:46:47 +01:00
soupette
dd488ed302 Created recursive to clean data and upload files 2019-11-20 16:46:46 +01:00
soupette
1ff302a857 Handle default form 2019-11-20 16:46:45 +01:00
soupette
b33d3789f7 Add dnd logic to repeatable component 2019-11-20 16:46:43 +01:00
soupette
fc6bbbfadc Created Repeatable component with nested component support 2019-11-20 16:46:41 +01:00
soupette
d347612dcf Handle relations 2019-11-20 16:46:39 +01:00
soupette
beb6884c4b Change group to components 2019-11-20 16:45:52 +01:00
soupette
44e5c93acf Display group fields 2019-11-20 16:45:49 +01:00
Alexandre Bodin
f2b3fec654 Fix compo category rename 2019-11-13 19:26:04 +01:00
Alexandre Bodin
7d0c798d90 Add component category edit to allow renaming 2019-11-13 18:49:06 +01:00
Alexandre Bodin
cfc5cf07ad Add component category folder and support category in component create 2019-11-13 18:49:05 +01:00