61 Commits

Author SHA1 Message Date
Alexandre Bodin
f031820696 fix EE imports 2023-09-05 00:18:13 +02:00
Jamie Howard
6215e4cbdd Merge remote-tracking branch 'origin/main' into feature/review-workflow-assignee-2 2023-08-08 16:50:59 +01:00
Ben Irvin
b5d94c2ff2 fix some spelling errors and standardiZe regional usages 2023-07-28 11:12:04 +02:00
Gustav Hansen
7e32d81023 Merge branch 'main' into feature/review-workflow-assignee-2-merge-07-25 2023-07-25 11:06:45 +02:00
Ben Irvin
e1e177976a allow defaultRole to be nullable 2023-07-20 11:36:23 +02:00
Marc Roig
c3e1892955
Merge pull request #17384 from strapi/fix/ct-rw-assign-concurrency 2023-07-20 11:12:50 +02:00
Marc-Roig
3d6bb325e1
test: concurrent content type updates 2023-07-20 08:06:32 +02:00
Marc-Roig
adc01fcb9f
fix: review workflow assignee tests 2023-07-19 17:16:34 +02:00
Gustav Hansen
28aca28856 Merge branch 'main' into feature/review-workflow-assignee-2-merge-23--7-19 2023-07-19 14:27:55 +02:00
Ben Irvin
0fff4223ad
Merge branch 'main' into fix/17172-ssolocked-roles-null 2023-07-19 10:59:22 +02:00
Ben Irvin
dda8543003 fix defaultRole and comment 2023-07-18 17:48:07 +02:00
Ben Irvin
88f99a54f7 Revert "fix defaultRole and comment"
This reverts commit f33ad9cc2966f3de465426c7be45d16aa874159b.
2023-07-18 17:40:11 +02:00
Ben Irvin
ae67e82f26 Revert "allow null defaultRole on backend"
This reverts commit 64c995d4ccf5681bac9b10e575ce808f6e17d120.
2023-07-18 17:37:13 +02:00
Ben Irvin
64c995d4cc allow null defaultRole on backend 2023-07-18 17:32:51 +02:00
Ben Irvin
f33ad9cc29 fix defaultRole and comment 2023-07-18 13:26:22 +02:00
Ben Irvin
52b740ebee add provider options tests 2023-07-18 13:22:20 +02:00
Marc-Roig
c944d6f50b
fix: workflow creating in integration test 2023-07-17 12:02:29 +02:00
Marc-Roig
cbe131711e
test: you can not create a workflow with duplicated stage names 2023-07-17 11:16:56 +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
nathan-pichon
e72ca4b13c
test(review-workflow): refresh data between tests 2023-06-23 14:26:49 +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
aadfe0fbcf
test: assignee 2023-06-07 10:47:27 +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
Marc-Roig
b12a3678a0
update contract for POST PUT workflows body 2023-05-22 11:09:08 +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-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
1846541cac
fix: rw api tests 2023-05-19 09:15:19 +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
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
Marc-Roig
0d96acae16
fix: can not create workflow without stages 2023-05-12 17:00:53 +02:00
Marc-Roig
3f35564165
test: create workflow 2023-05-12 15:33:03 +02:00
Marc-Roig
b544fe622f
test: change only color of a stage 2023-04-28 16:58:57 +02:00
Gustav Hansen
9de528d7d5 Merge branch 'main' into feature/review-workflow-1 2023-04-27 13:13:43 +02:00
Marc
6fc31d84bd
Merge pull request #16482 from strapi/feautre/rw-colors 2023-04-26 13:43:43 +02:00
Marc
24d036e0f2
Merge pull request #16497 from strapi/fix/rw-flaky-test 2023-04-26 10:02:09 +02:00
Marc
94e2624b61
Merge pull request #16479 from strapi/feat/back-limit-number-of-created-stages 2023-04-25 16:43:01 +02:00
Marc
e0ce4352c9
Update api-tests/core/admin/ee/review-workflows.test.api.js
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2023-04-25 16:21:13 +02:00
Marc-Roig
c55bc192b2 fix: flaky test 2023-04-25 10:22:35 +02:00