314 Commits

Author SHA1 Message Date
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
Josh
d3eb5a174e chore: remove step from schema validation for metadatas 2023-06-30 09:47:41 +01:00
Alexandre BODIN
0a852feaee
Merge pull request #17130 from strapi/releases/4.11.3 2023-06-29 06:43:58 +02:00
Marc-Roig
f9a4af2894
Merge branch 'main' into releases/4.11.3 2023-06-28 17:27:34 +02:00
Alexandre Bodin
4df9a1112f Fix relations mainField allowing hidden attributes 2023-06-28 17:09:43 +02:00
Marc
5ce34225c0
Merge pull request #17113 from strapi/fix/clone-with-non-prohibited-fields 2023-06-27 15:16:16 +02:00
Marc-Roig
692c3b1bad
fix: await clone method 2023-06-27 12:18:46 +02:00
Marc-Roig
e7e8146e2e
fix: populate relations on bulk publish 2023-06-27 10:00:30 +02:00
Marc-Roig
52f9a50dcc
fix: populate relations in entity manager publish 2023-06-27 09:56:12 +02:00
Alexandre Bodin
ff79914dac Remove unecessary code 2023-06-27 09:31:05 +02:00
Alexandre Bodin
5bbfb2ecc5 Add tests 2023-06-27 08:30:54 +02:00
Alexandre Bodin
9f44ed2342 Function was never called properly 2023-06-26 19:36:30 +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
674dc96b89 refactor: mark uid as a prohibited field & separate auto-clone route (#16957)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-06-22 08:12:20 +01:00
Josh
f72a62be05 fix: error message improvements (#16949) 2023-06-22 08:12:12 +01:00
Marc-Roig
ec434498d1 fix: excludeNotCreatableFields 2023-06-22 08:12:11 +01:00
Marc-Roig
3720a7fa8c feat: sanitize excludeNotCreatableFields 2023-06-22 08:11:59 +01:00
Marc-Roig
616c2283a5 fix: prohibited fields error message 2023-06-22 08:11:11 +01:00
Marc-Roig
e6b1b53db9 refactor: move clone utils to controller 2023-06-22 07:59:49 +01:00
Marc-Roig
06bb305691 feat: admin clone controller 2023-06-22 07:59:49 +01:00
Marc-Roig
75c0450400 feat: admin clone route 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
74023ce419
todo: revert create if custom condition does not allow it 2023-05-29 15:42:36 +02: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
Marc-Roig
810efff6da
fix: use is nil for countRelations 2023-05-26 17:37:33 +02:00
Marc-Roig
9a7bef24bf
chore: PR proposed changes 2023-05-26 17:26:55 +02:00
Marc
832b4aa46d
Update packages/core/content-manager/server/controllers/collection-types.js
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-05-26 16:11:33 +02:00