25 Commits

Author SHA1 Message Date
Marc-Roig
7fbf6bf36c
test: content manager relations permissions 2023-08-21 12:23:27 +02:00
Marc Roig
df79981a07
Merge pull request #17262 from strapi/fix/relation-reordering-inv 2023-07-24 15:12:00 +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
72cc277165 Merge branch 'main' into feature/review-workflow-multiple-merge-17-07-23 2023-07-17 13:38:35 +02:00
Marc-Roig
a887260621
fix: split relations test file, as tests were doing too many requests 2023-07-14 11:21:28 +02:00
Alexandre Bodin
68528a363e Fix bulkDelete not found should return a count of 0 2023-07-12 17:15:12 +02:00
Marc-Roig
2d63671daa
fix: relations test relation disconnect breaking other relations 2023-07-12 09:43:27 +02:00
Marc-Roig
ee2cd841c9
tests: updating entity relations does not break other relations 2023-07-11 15:37:54 +02:00
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