193 Commits

Author SHA1 Message Date
Simone
24fa848ba3
Add new Blocks rich text editor (alpha) (#18166)
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Madhuri Sandbhor <madhuri.sandbhor@strapi.io>
2023-09-26 17:21:44 +02:00
Simone
e3a5416487
[Bugfix] Bulk publish/unpublish for non-default locale entities (#17941)
* pass the locale to the publish and draft relations calls

* fix the problem for entities without internationalization and add unit tests
2023-09-12 10:40:51 +02:00
Fernando Chavez
7ad6ef6adf move custom field size logic outside and tests 2023-09-04 10:25:30 +02:00
Fernando Chavez
341914b9ea use custom field's custom sizes for isAllowedFieldSize function 2023-09-04 10:25:30 +02:00
Ben Irvin
e8efa10a4c revert traversals 2023-08-25 09:46:50 +02:00
Ben Irvin
aedf994e20
Merge branch 'main' into fix/sanitization-throw-instead-of-filter 2023-08-24 14:35:58 +02:00
Marc Roig
8ed02e8301
Merge branch 'feature/rw-stage-default-sort' into feat/default-sort-by-non-visible-attrs 2023-08-22 10:43:14 +02:00
Ben Irvin
dce86bec5c validate does not sanitize 2023-08-11 13:13:44 +02:00
Fernando Chavez
3b7d23f061 Add creator fields to filters and list view 2023-08-11 11:51:31 +02:00
Ben Irvin
995473d959 add utils.validate and replace sanitize usage 2023-08-10 15:24:35 +02:00
Marc-Roig
52ffc6ccb2
fix: settings test 2023-08-09 11:03:04 +02:00
Fernando Chávez
a42b53e3c8
Revert "Feat: Add creator fields as filters and to list view" 2023-07-27 11:06:17 +02:00
Fernando Chavez
7b67b767dd add creator fields to filters and list 2023-07-26 17:27:14 +02:00
Marc-Roig
ddcf56a338
feat: validate if default sort is valid 2023-07-26 16:21:25 +02:00
Marc-Roig
aa1247f557
feat: getSortableAttributes 2023-07-26 16:20:59 +02:00
Alexandre BODIN
3c814ec30c
Revert "Feat: Add creator fields as filter options" 2023-07-26 10:14:05 +02:00
Marc-Roig
dfe799a9ae chore: ignore metadata visible sync 2023-07-25 14:02:43 +02:00
Fernando Chavez
14bd4110b3 change allowed attributes logic and show creator fields on list view 2023-07-25 14:02:43 +02:00
Fernando Chavez
adf2aac0c4 revert changes 2023-07-25 14:02:43 +02:00
Fernando Chavez
a49062753a small improves| 2023-07-25 14:02:43 +02:00
Fernando Chavez
66a8e34198 fix other problems with author attributes 2023-07-25 14:02:43 +02:00
Gustav Hansen
a6d17cebb9 Merge branch 'main' into feature/review-workflow-multiple-merge-18-07-23 2023-07-18 13:05:31 +02:00
markkaylor
a82de46746
feature/bulk-publish-v2 (#17185)
Co-authored-by: Simone <simone.taeggi@strapi.io>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
2023-07-18 09:03:55 +02:00
Gustav Hansen
a886c69b56 Merge branch 'main' into feature/review-workflow-multiple-merge-07-2023 2023-07-07 13:35:15 +02:00
Alexandre Bodin
4df9a1112f Fix relations mainField allowing hidden attributes 2023-06-28 17:09:43 +02:00
Gustav Hansen
4410fb8f97 Merge branch 'main' into feature/review-workflow-multiple-merge-main 2023-06-22 12:17:05 +02:00
Gustav Hansen
7b83703576 Merge branch 'main' into feature/review-workflow-multiple-merge-main 2023-06-22 11:20:53 +02:00
Josh
9a537e811b chore: merge fixes
chore: fix lint
2023-06-22 09:18:57 +01:00
Marc-Roig
e6b1b53db9 refactor: move clone utils to controller 2023-06-22 07:59:49 +01:00
Marc-Roig
fa42b89891 feat: clone method 2023-06-22 07:59:49 +01:00
Marc-Roig
ccb4b2ab38 test has prohibited cloning fields 2023-06-22 07:59:49 +01:00
Marc-Roig
6d514aaffd implement hasProhibitedCloningFields 2023-06-22 07:59:49 +01:00
Mark Kaylor
b5d4687c57 Maintain consistent backend validation for publish and bulk publish 2023-06-19 18:25:29 +02:00
Marc-Roig
fceac49066
fix: count relations when webhook populate is disabled 2023-06-19 12:34:24 +02:00
Nathan Pichon
e4e2a310e2
fix(review-workflows): display review workflows informations in content-manager when needed (#16919)
* chore: update example schemas

* fix(content-manager): merge data instead of overwrite nested objects

* feat(content-manager): add options object in the configuration object

* feat(review-workflow): add the review workflows option in the configuration of content-manager

* fix(content-manager): use review workflows option value in edit-view

* test(workflows): update mocks

* test(info-box): update mocks

* chore: add comments for utils in content-manager

* test(content-manager): add tests on content-types service

* fix(review-workflows): merge configuration before updating it

* docs(review-workflows): add comments about why we merge configuration of CTs

* refactor(review-workflows): extract updateContentTypeConfig function

* test(workflows): update mock

* fix(review-workflows): remove infinite loop

* fix(review-workflows): use findConfiguration instead of getConfiguration

* test(review-workflows): change plural name of long content type

* test(review-workflows): skip long ct name test
2023-06-12 10:52:52 +02:00
Marc-Roig
7ad44c8699
Merge branch 'main' into fix/rbac-condition-and-relations 2023-06-09 10:32:42 +02:00
Marc-Roig
566a0f74ba
test: populate edge case 2023-06-08 10:09:48 +02:00
Josh
8357aab46e
chore: fix tests (#16937)
Co-authored-by: Marc-Roig <marc12info@gmail.com>
2023-06-07 11:43:09 +01:00
Convly
106cfafca4 Merge branch 'main' into releases/4.11.0 2023-06-07 11:31:42 +02:00
Jamie Howard
59d61424a9 chore: fix entity manager linter warnings 2023-06-01 15:21:47 +01:00
Jamie Howard
c53b7a7ae4 fix: simplify emitEvent logic 2023-06-01 15:20:13 +01:00
Mark Kaylor
ee5278b9fd Fix filters causing too many emitted events 2023-06-01 11:24:07 +02:00
Jamie Howard
d77e42b859 refactor(webhooks): populate allowed events from relevant modules 2023-05-30 16:13:10 +01:00
Marc-Roig
91d4759433
fix: unit test 2023-05-29 11:13:29 +02:00
Marc-Roig
1bdf9afa6b
fix: populate al top level attributes 2023-05-29 10:45:47 +02:00
Marc-Roig
304f32d56b
fix: populate attributes in delete 2023-05-29 09:34:45 +02:00
Marc-Roig
296aa4b53c
fix: replace all for node14 2023-05-29 09:12:07 +02:00
Marc-Roig
b571f2f511
feat: exclude morphTo relations 2023-05-29 08:43:00 +02:00
Marc-Roig
31afc24ee5
fix: unit tests 2023-05-26 17:57:23 +02:00
Marc-Roig
e73a41ecde
todo: handle dz and morph relations in getQueryPopulate 2023-05-26 17:47:59 +02:00