1364 Commits

Author SHA1 Message Date
Gustav Hansen
527a323e69
Merge pull request #17223 from strapi/feature/review-workflow-multiple-ceu-limits
Chore: Update license limits in create, edit and list-views
2023-07-07 12:58:00 +02:00
Gustav Hansen
bb35f8d45d Chore: Display limits modal when creating a new workflow at limit 2023-07-07 12:26:56 +02:00
Gustav Hansen
cecf3026c9 Chore: Update useReviewWorkflows tests 2023-07-07 12:25:46 +02:00
Gustav Hansen
e88ad92945 Chore: Update license limit checks in CM edit view 2023-07-07 11:30:24 +02:00
Gustav Hansen
9aef0d0f08 Chore: Update license limits in create, edit and list-views 2023-07-07 11:20:11 +02:00
Marc-Roig
d61628abeb
fix: return workflow count instead of data lenght 2023-07-07 10:51:13 +02:00
Marc-Roig
ea5f6252d7
feat: use meta instead of pagination 2023-07-07 10:06:15 +02:00
Marc-Roig
1dcac25f6e
feat: paginate workflow find 2023-07-07 10:01:49 +02:00
markkaylor
5b675ccfa6
Merge pull request #17074 from strapi/chore/add-params-serializer 2023-07-06 18:44:51 +02:00
Mark Kaylor
1899ac4d42 Add params serializer 2023-07-06 14:48:21 +02:00
Gustav Hansen
3a6fa070b3 Chore: Apply default color to ReviewWorkflowsColumn 2023-07-06 14:29:00 +02:00
Gustav Hansen
009f770e54 Chore: Remove cellFormatter callback and inline columns in list-view 2023-07-06 13:13:20 +02:00
Gustav Hansen
e0c7d79524 Fix: Add back review workflows column in new CM list view 2023-07-05 14:13:06 +02:00
Gustav Hansen
19d827b0a9 Chore: Refactor CM list-view review-workflow columns to use useEnterprise 2023-07-05 13:32:23 +02:00
nathan-pichon
70abecc6df
fix(review-workflow): reorder operation in replace stages function 2023-07-05 11:49:18 +02:00
nathan-pichon
9da569e046
fix(review-workflow): fix persist condition 2023-07-05 11:30:46 +02:00
nathan-pichon
05a46a71f2
fix(review-workflows): remove workflow validation in stage service 2023-07-05 10:35:02 +02:00
nathan-pichon
0072262a91
fix(review-workflows): stage deletion cannot rely on created one
⚠️ this might affect how stages are ordered after a deletion
2023-07-05 10:35:02 +02:00
nathan-pichon
2fa11a8784
fix(review-workflows): on replace, delete before creating new stages
If we try to create stages before deletion, it will try to validate the number of stages that are currently in the workflow + the ones created, and can result in a validation error as the number of stages can be higher than expected (but will be lowered by deletion afterward).
2023-07-05 10:35:02 +02:00
nathan-pichon
b2fe168e4d
feat(review-workflows): use fp for validation pipe
Avoid errors on stage creation that doesn't have any workflow id to relates to.
2023-07-05 10:35:02 +02:00
nathan-pichon
9c70fac0ac
fix(review-workflows): workflow creation
Workflows should be created before as stages needs to have a workflow ID to be created and validated
2023-07-05 10:35:02 +02:00
nathan-pichon
7bc57af01d
fix(review-workflows): remove migrate validation
As content-type file is only used by workflow service, it doesn't need any new layer of validation
2023-07-05 10:35:02 +02:00
nathan-pichon
13218e99d7
test(review-workflows-content-type): fix test by using clearAllMocks instead of resetAllmocks 2023-07-05 10:35:02 +02:00
nathan-pichon
a29f0cb1c1
test(review-workflows): adding validation service tests 2023-07-05 10:35:02 +02:00
nathan-pichon
7a2e7cf65e
test(review-workflows): adding validation service mock to tests 2023-07-05 10:35:02 +02:00
nathan-pichon
9ca8234808
feat(review-workflows): adding validation on licence restrictions 2023-07-05 10:35:02 +02:00
nathan-pichon
c2fc2f7e54
docs(review-workflows): added jsdoc to validation functions 2023-07-05 10:35:02 +02:00
nathan-pichon
ea32c40507
feat(review-workflows): added validation to workflows create and update 2023-07-05 10:35:02 +02:00
nathan-pichon
d0195ff181
feat(review-workflows): store license limits in services 2023-07-05 10:34:58 +02:00
Marc-Roig
f29af1fc78
fix: parse string stage ids 2023-07-05 09:40:52 +02:00
Marc-Roig
f48e9cab75
chore: findById jsodcs 2023-07-04 17:47:52 +02:00
Marc-Roig
83aefda65a
feat: return workflow count 2023-07-04 16:39:11 +02:00
Jamie Howard
2d4db7a482
Merge pull request #17128 from strapi/fix/rw-webhooks 2023-07-03 15:24:10 +01:00
nathan-pichon
984b5cb8cd
feat(admin): add features informations inside the license limit route 2023-06-30 17:14:15 +02:00
Josh
4e45c46dc4
Merge pull request #17101 from strapi/feature/review-workflow-multiple-workflow-limits 2023-06-29 14:43:56 +01:00
Josh
3346e5e767 test: fix InformationBoxEE suite 2023-06-29 13:26:07 +01:00
Josh
885aa13160 refactor: useRBAC hook to stop infinite loop
chore: add test setup to helper-plugin

test: add useRBAC suite

refactor: useRBAC hook to stop infinite loop

chore: shuffle around and add jsdocs
2023-06-29 11:56:36 +01:00
Jamie Howard
7ff725ed6c chore: cleanup 2023-06-27 16:14:44 +01:00
Ben Irvin
4a9f265e69 revert test changes 2023-06-27 14:26:11 +02:00
Ben Irvin
7f5b10ee76
Merge branch 'main' into chore/replace-node-14-with-20 2023-06-27 13:45:23 +02:00
Jamie Howard
5985781a9a fix(ee): retrieve stage name and ID from updated entity 2023-06-27 11:35:28 +01:00
Jamie Howard
2ca802bcbd fix(ee): review workflow entity service decorator tests 2023-06-27 11:09:47 +01:00
Jamie Howard
5898f6cce8 fix(ee): send stage names in webhook payload 2023-06-26 16:47:57 +01:00
Jamie Howard
954044bf11 fix(ee): correct payload structure for review workflows stage change webhook event 2023-06-26 16:32:04 +01:00
Ben Irvin
c8e128d11c Merge branch 'main' into chore/upgrade-jest-to-29.5 2023-06-26 16:31:04 +02:00
Ben Irvin
23e86fd063 fix some tests 2023-06-26 16:26:39 +02:00
Gustav Hansen
5d73a914bc Chore: Wrap all useLicenseLimits calls in a custom hook 2023-06-26 14:43:08 +02:00
Gustav Hansen
b4e158c3d1 Enhancement: Render workflow/ stage limits in CM edit view 2023-06-26 13:56:23 +02:00
Gustav Hansen
02391694e3 Enhancement: Display stage limits on create and edit pages 2023-06-26 13:56:23 +02:00
Gustav Hansen
f469fbc6c3 Enhancement: Display workflow limits on list, edit and create pages 2023-06-26 12:58:57 +02:00