208 Commits

Author SHA1 Message Date
Jamie Howard
6fcaea76a6 Merge remote-tracking branch 'origin/main' into fix/review-workflow/assignee-merge 2023-07-11 15:41:28 +01: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
nathan-pichon
05a46a71f2
fix(review-workflows): remove workflow validation in stage service 2023-07-05 10:35:02 +02:00
nathan-pichon
30ff81ecbc
chore(review-workflows): remove useless console.log 2023-07-05 10:35:02 +02:00
Marc-Roig
62be7cabe6
test: count meta 2023-07-04 17:26:33 +02:00
Alexandre BODIN
028f543e81
Merge branch 'main' into chore/replace-node-14-with-20 2023-07-01 06:56:07 +02:00
Ben Irvin
298bb0d573 ignore strapi.destroy error in test 2023-06-28 10:55:57 +02:00
Marc-Roig
65294d29a4
test: publish entity with required component 2023-06-27 10:23:40 +02:00
nathan-pichon
e72ca4b13c
test(review-workflow): refresh data between tests 2023-06-23 14:26:49 +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
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
Jamie Howard
040bd3fe42 Merge remote-tracking branch 'origin/main' into feature/review-workflow-assignee 2023-06-21 11:43:16 +01:00
Jamie Howard
f433f1becc Merge remote-tracking branch 'origin/main' into rw-assignee/remove-react-select 2023-06-12 15:45:09 +01: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
Jean-Sébastien Herbaux
7ec5466c22
Merge pull request from GHSA-9xg4-3qfm-9w8f
Improve sanitization in sanitizeQuery and convertQueryParams
2023-06-07 12:06:40 +02:00
Marc-Roig
aadfe0fbcf
test: assignee 2023-06-07 10:47:27 +02:00
Fernando Chavez
b3f1896aba move components' icons to a constants file and other improves 2023-06-06 09:13:32 +02:00
Fernando Chavez
8e57bfd1f7 update component card tests and update snapshots 2023-06-06 09:13:30 +02:00
Ben Irvin
54c4fa25b2 add more test cases 2023-06-05 11:53:55 +02:00
Ben Irvin
e736474f1a Merge branch 'main' of https://github.com/strapi/strapi into fix/clean-filters 2023-06-05 11:26:38 +02:00
Gustav Hansen
dc58d6c205 Merge branch 'main' into feature/review-workflow-multiple 2023-06-02 11:54:21 +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
nathan-pichon
c8995460ac
fix(content-types): remove getter for private attributes
+ Fixes a flaky test (transactions.test.api.js)
2023-05-31 11:45:26 +02:00
Jean-Sébastien Herbaux
c84063f34f
Merge branch 'main' into fix/clean-filters 2023-05-31 09:49:35 +02:00
Gustav Hansen
ffd959c90d Merge branch 'main' into feature/review-workflow-multiple 2023-05-30 13:42:04 +02:00
Marc-Roig
7bd2079fab
test: custom conditions 2023-05-29 15:36:40 +02:00
Marc
4c13de458e
Merge pull request #16518 from strapi/feature/private-s3-url-signing-content-api 2023-05-29 14:57:06 +02:00
Gustav Hansen
f98a9b698b Merge branch 'main' into feature/review-workflow-multiple 2023-05-23 20:56:59 +02:00
Marc
7c0ab2cc38
Merge branch 'main' into feature/improve-audit-logs-transaction-handling 2023-05-22 15:36:02 +02:00
Marc-Roig
bc9880ebc3
test: transaction onCommit and onRollback 2023-05-22 15:20:24 +02:00
Marc-Roig
b12a3678a0
update contract for POST PUT workflows body 2023-05-22 11:09:08 +02:00
Ben Irvin
794654ef7b Merge remote-tracking branch 'originStrapi/main' into fix/clean-filters 2023-05-22 10:23:35 +02:00
Marc-Roig
84c37537c7
fix: udate admin permissions snapshot 2023-05-19 15:54:03 +02:00
Marc
e7620ed796
Merge branch 'feature/review-workflow-multiple' into feature/review-workflow-delete-route 2023-05-19 15:13:20 +02:00
Marc
be225afbb3
Merge pull request #16722 from strapi/feature/review-workflow-assigned-content-types-routes 2023-05-19 15:13:02 +02:00
Marc-Roig
6d04d3277c
fix: tests with unique workflow name 2023-05-19 14:08:12 +02:00
Marc-Roig
31d8c04614
rw: test log to debug 2023-05-19 12:40:00 +02:00