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
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
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
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
HichamELBSI
b5947621fc
Merge branch 'master' into develop
2020-03-04 09:32:13 +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
Alexandre Bodin
db03d9d07d
Add UID validation routes for CTM livechecks
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-19 10:54:44 +01:00
Alexandre Bodin
780f2695df
Add some more rules
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:55:08 +01:00
Alexandre Bodin
59fc06e024
Add UID validator and make sure null is allowed when not required
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:55:08 +01:00
Alexandre Bodin
c7594f5743
Add some default validators for numbers and string
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:55:07 +01:00
Alexandre Bodin
77b1a2944b
Add mongoose uid type
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-13 16:46:37 +01:00
Alexandre Bodin
fc8d72baaa
Handle switching between single type and collection type. This rebuilds the api entierly
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 18:15:55 +01:00
Alexandre Bodin
04f6050ae1
Cleanup feedbacks
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 17:35:09 +01:00
Alexandre Bodin
49f0fdad8c
Refactor schema definition language utils
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:40 +01:00
Alexandre Bodin
3ce852af61
User :: in policies prefix and update documentation accordingly
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:39 +01:00
Alexandre Bodin
04476e32a6
Cleanup graphql
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:39 +01:00
Alexandre Bodin
0285c7bd96
Add metadatas to resolvers to know where they are created
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +01:00
Alexandre Bodin
0c6d39297f
Add graphql tests for single-types
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +01:00
Alexandre Bodin
023bda1f9e
Generate single query for single type and update core api service
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:34 +01:00
Alexandre Bodin
de9521ce6b
Merge branch 'develop' into features/single-types
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:09:50 +01:00
HichamELBSI
abbb045277
Edit single type options
...
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-02-06 14:13:48 +01:00
soupette
9c53fcaccc
Fix select relations
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-01-30 18:09:55 +01:00
Alexandre Bodin
7a9c481d59
Merge branch 'develop' into features/single-types
2020-01-22 12:05:46 +01:00
Alexandre Bodin
98570f0663
Support single types in entity service
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-01-21 11:46:39 +01:00
soupette
da4c9d5330
Merge branch 'master' of github.com:strapi/strapi into chore/ctb-front-end-tests
2020-01-15 14:50:43 +01:00
soupette
16a6975af1
Fix add compo to dz action
2020-01-15 12:35:26 +01:00
soupette
8a570964c6
Add tests for simple actions
2020-01-08 16:42:01 +01:00
soupette
aa9d4e2d7a
Add basics tests for reducer
2020-01-08 13:25:11 +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
465fbea87f
Fix icons edition
2019-12-10 14:26:12 +01:00
soupette
4136019d5f
Fix line background for dz
2019-12-09 22:39:50 +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
959d45febf
Add warning before delete
2019-12-09 17:47:13 +01:00
soupette
c81624bda1
Fix functional feedback
2019-12-06 16:40:50 +01:00
soupette
4cc805a037
Remove plugin key
2019-12-06 16:10:53 +01:00
soupette
9967a30932
Clean logs
2019-12-06 15:14:59 +01:00