HichamELBSI
b5947621fc
Merge branch 'master' into develop
2020-03-04 09:32:13 +01:00
Alexey Murz Korepov
cb71cc5940
Replaced false to !
...
Signed-off-by: Alexey Murz Korepov <murznn@gmail.com>
2020-03-02 15:42:50 +03:00
Alexey Murz Korepov
540a72af8e
replace JSON.stringify to lodash isEqual
...
Signed-off-by: Alexey Murz Korepov <murznn@gmail.com>
2020-03-02 11:09:52 +03:00
Alexey Murz Korepov
5f9cbe527e
Suppress rewrite config in db without changes
...
Now Strapi rewrite all 'plugin_content_manager_configuration_content_types' keys in "core_store" database table on each restart.
I add comparison of stored config with generated, and skip unnecessary write config to database, when there are no changes.
Signed-off-by: Alexey Murz Korepov <murznn@gmail.com>
2020-02-29 19:08:57 +03:00
Alexandre Bodin
d0c26fef67
Fix main field set to id on mongo
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-01-27 09:53:19 +01:00
Alexandre Bodin
6aab5568f8
Fix ctm hidden fields
2019-12-17 12:33:56 +01:00
Alexandre Bodin
dd072c40c3
Refactor column creation to use plain knex schema builder
2019-12-05 11:37:07 +01:00
Alexandre Bodin
95c7a515d7
Split parser and formatter in specific files
2019-12-04 17:49:13 +01:00
Alexandre Bodin
7f90bdb5b9
Remove primarykey from possible mainField with string type
2019-11-21 11:49:29 +01:00
Alexandre Bodin
79d1207c0c
Create dynamiczone in queries
2019-11-13 18:49:02 +01:00
Alexandre Bodin
b9122edf0d
Rename groups to components
2019-11-13 18:49:02 +01:00
Alexandre Bodin
4ee0160e6c
Remove general settings
2019-11-13 18:49:01 +01:00
Alexandre Bodin
b33a78c998
Allow media to be listable
2019-09-05 16:59:02 +02:00
Alexandre Bodin
9132ed970a
Set content type mainField to be a string if possible else id
2019-09-02 12:15:01 +02:00
Alexandre Bodin
def2e6b8e3
Remove media from sortable fields
2019-08-23 10:20:10 +02:00
Alexandre Bodin
048a071c79
Default mainField string
2019-08-19 16:13:24 +02:00
Alexandre Bodin
f8d3ca0274
Fix bug when new attributes are added to an empty layout
2019-08-14 09:23:44 +02:00
Alexandre Bodin
c54efe7bbb
Do not put empty row in edit layout if not necessary
2019-08-13 15:25:19 +02:00
Alexandre Bodin
c3a59c4c4b
Allow default mainField on relation
2019-08-06 14:04:16 +02:00
Alexandre Bodin
8c1f25a058
Update user model metadatas configurations
2019-08-06 13:49:25 +02:00
Alexandre Bodin
0c078d0d2b
Validate custom model configs during content manager boostrap
2019-08-06 13:49:25 +02:00
Alexandre Bodin
b58d7a138a
Support content types layouts and metadatas defaults with Model.config.js(on) files
2019-08-06 13:49:24 +02:00
Alexandre Bodin
dc869ea0b9
Set group default mainField not id unless no attributes
2019-07-30 16:58:26 +02:00
Alexandre Bodin
8e8433662b
rename wysiwyg type to richtext for future plans
2019-07-29 18:05:18 +02:00
Alexandre Bodin
59523d47e7
Rename content manager configuration key an model uid changes
2019-07-26 17:53:03 +02:00
Alexandre Bodin
06c2a9e79d
Update schemaValidation in Content manager
2019-07-25 08:02:10 +02:00
Alexandre Bodin
9876c339ce
Recompute layout sizes
2019-07-24 14:35:21 +02:00
Alexandre Bodin
70bf99a65b
Update content-manager schemas
2019-07-24 11:51:35 +02:00
Alexandre Bodin
d6255be74e
Clear unnecessary comment
2019-07-23 18:58:46 +02:00
Alexandre Bodin
263ebb4480
Add missing check
2019-07-23 14:26:55 +02:00
Alexandre Bodin
1fa399cfd2
Add attributes tests
2019-07-23 12:45:54 +02:00
Alexandre Bodin
5f36278ec1
Clean up content manager configuration code and init tests
2019-07-23 11:21:17 +02:00
Alexandre Bodin
128b26f1ee
Fix general settings global udpdates
2019-07-23 11:21:16 +02:00
Alexandre Bodin
85762551aa
Cleanup old code
2019-07-23 11:21:15 +02:00
Alexandre Bodin
e9ae95292e
Update all models on general settings changes
2019-07-23 11:21:15 +02:00
Alexandre Bodin
87d59bad05
Init content-manager new bootstrap schema cleanup algorithm
2019-07-23 11:21:14 +02:00
Alexandre Bodin
e6a6c3ee02
Save a model configuration in one key only
2019-07-23 11:21:13 +02:00