234 Commits

Author SHA1 Message Date
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
Marc
1ba70e1599
Merge branch 'feature/review-workflow-assigned-content-types-routes' into feature/review-workflow-delete-route 2023-05-19 12:05:49 +02:00
Marc-Roig
97b02d0856
chore: remove duplicated test 2023-05-19 11:49:06 +02:00
Marc-Roig
bc03369e29
fix: rw content type tests contains for postgres 2023-05-19 11:33:50 +02:00
Marc-Roig
1b00e1d8e2
remove logs 2023-05-19 11:22:17 +02:00
Marc-Roig
c266835d04
chore: more logs 2023-05-19 10:35:15 +02:00
Marc-Roig
2ad193e1a3
chore: logs to debug test 2023-05-19 09:35:35 +02:00
Marc-Roig
1846541cac
fix: rw api tests 2023-05-19 09:15:19 +02:00
Ben Irvin
767f3dbd60 test filtering 2023-05-18 17:17:03 +02:00
Marc-Roig
a781a8a368
fix: do not assign result to data folders 2023-05-18 09:39:28 +02:00
Marc-Roig
a1a2453c15
chore: rename tests 2023-05-17 17:51:02 +02:00
Marc-Roig
c4b966a03d
chore: rename test 2023-05-17 17:36:39 +02:00
Marc-Roig
15e71b69b0
test: delete of folder does not delete unintended folders 2023-05-17 17:32:00 +02:00
Gustav Hansen
cdfdd02d1a Merge branch 'main' into feature/review-workflow-multiple 2023-05-17 15:13:13 +02:00
Marc-Roig
bf1fa19953
chore: rename tests 2023-05-17 11:20:34 +02:00
Marc-Roig
38377a89b7
test: review workflows delete 2023-05-17 10:43:23 +02:00
Marc-Roig
aefb4288ec
fix: rw assigned content type filtering test 2023-05-16 14:26:28 +02:00
Marc-Roig
5bd4a99280
fix: review workflow tests 2023-05-16 13:54:27 +02:00
Marc-Roig
00ce488952
test: create entity with content type assigned to workflow 2023-05-16 13:46:04 +02:00
Marc-Roig
4a0b574a52
test: assigned content types 2023-05-16 13:03:21 +02:00
Marc-Roig
be1ae166a1
fix: admin permission snapshot 2023-05-15 10:45:46 +02:00
Marc-Roig
c20ac696c7
Merge branch 'feature/review-workflow-create-route' into feature/review-workflow-update-route 2023-05-15 10:35:33 +02:00
Marc-Roig
6e5bfd43de
fix: update admin permission test with new permissions 2023-05-15 10:35:07 +02:00
Marc-Roig
49d0dd214e
test: update workflow and fix replace stages 2023-05-12 17:39:03 +02:00
Marc-Roig
bfc379347b
fix: remove unnecessary expect 2023-05-12 17:35:44 +02:00