16 Commits

Author SHA1 Message Date
Gustav Hansen
a886c69b56 Merge branch 'main' into feature/review-workflow-multiple-merge-07-2023 2023-07-07 13:35:15 +02:00
Marc-Roig
65294d29a4
test: publish entity with required component 2023-06-27 10:23:40 +02:00
Gustav Hansen
4410fb8f97 Merge branch 'main' into feature/review-workflow-multiple-merge-main 2023-06-22 12:17:05 +02:00
Marc-Roig
0654f395cd test: use entity service to load relations 2023-06-22 08:12:20 +01:00
Marc-Roig
e2fa85f848 skip cloning relations tests 2023-06-22 08:12:20 +01:00
Marc-Roig
bf324d0557 test: skip relations test
see if it fixes flakey tests
2023-06-22 08:12:20 +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
Marc
21498fbda7 test: set and disconnect should not steal from one to X relations 2023-06-22 08:00:14 +01:00
Marc-Roig
2ac90b8e8e test: disconnect and clone relations 2023-06-22 07:59:49 +01:00
Marc-Roig
19f9273e7d test clone components 2023-06-22 07:59:49 +01:00
Marc-Roig
52bf461b06 test clone dynamic zones 2023-06-22 07:59:49 +01:00
Marc-Roig
d90a0c34bb test clone 2023-06-22 07:59:49 +01:00
Marc-Roig
8982eea28e test clone relations 2023-06-22 07:59:49 +01:00
Nathan Pichon
cd08c590a8
fix(review-workflow): the feature shouldn't be deactivated on content type creation (#17045)
* fix(reviewWorkflows): should not set review workflows as false on CT creation

* fix(reviewWorkflows): remove check on boolean to inject the stage attribute

* feat(reviewWorkflows): let people be able to deactivate rw stage attr

- without touching the old boolean for retro-compat
2023-06-21 18:09:16 +02:00
Nathan Pichon
b8ca9a01ce
feat(review workflow): Prevent too long table name for rw join table attributes (#16827)
* feat(review-workflow): prevent activating on content-type with a too long name

* chore(review-workflow): update warning message

* test(review-workflows): add a test for too long name content type

* test(review-workflows): fix describe condition

* chore(review-workflows): rename variable and constant

* chore(review-workflows): rename constants

* test(review-workflows): update test content type name length

* feat(review-workflows): validate that the content type have rw activated

* feat(review-workflows): simplify the validation step

* Update packages/core/admin/ee/server/services/review-workflows/review-workflows.js

Co-authored-by: Marc <marc12info@gmail.com>

* Update packages/core/admin/ee/server/services/review-workflows/review-workflows.js

Co-authored-by: Marc <marc12info@gmail.com>

* chore: remove unused import

* test(review-workflows): update unit tests

* test: disable review workflows

---------

Co-authored-by: Marc <marc12info@gmail.com>
2023-06-01 10:17:00 +02:00
Alexandre BODIN
feced1d72b
Move api tests to root of repo with same structure (#16242) 2023-04-05 10:32:20 +02:00