6461 Commits

Author SHA1 Message Date
Gustav Hansen
2de14aff7e Merge branch 'main' into feature/review-workflow-multiple-merge-07-2023 2023-07-07 15:35:25 +02:00
Gustav Hansen
3c3a9dd275 Fix: Close msw server properly after running the testsuite 2023-07-07 15:01:06 +02:00
Gustav Hansen
1f26b9c000 Chore: Replace useReviewWorkflowLicenseLimits with getFeature() 2023-07-07 14:58:55 +02:00
Gustav Hansen
c8b78ac823 Fix: Fix FE tests after faulty merge 2023-07-07 14:57:59 +02:00
Marc-Roig
6565ed6678
fix: rw entity-service decorator tests 2023-07-07 14:23:32 +02:00
Gustav Hansen
a886c69b56 Merge branch 'main' into feature/review-workflow-multiple-merge-07-2023 2023-07-07 13:35:15 +02:00
Gustav Hansen
1cb0ec8f0d Chore: Add tests for getFeature 2023-07-07 12:59:14 +02:00
Gustav Hansen
f4720e22db Enhancement: Expose getFeature() method for useLicenseLimits hooks 2023-07-07 12:59:14 +02:00
Gustav Hansen
85f4c892e0 Fix: Fix useLicenseLimitNotification tests 2023-07-07 12:59:14 +02:00
Gustav Hansen
fc2e9a1fd2 Chore: Update tests 2023-07-07 12:59:14 +02:00
Gustav Hansen
e3324379db Chore: Refactor useLicenseLimits() hook 2023-07-07 12:59:14 +02:00
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
Josh
09f9ab09c8 fix: only run the query if sso is enabled
fix: test
2023-07-07 08:22:04 +01:00
markkaylor
5b675ccfa6
Merge pull request #17074 from strapi/chore/add-params-serializer 2023-07-06 18:44:51 +02:00
Mark Kaylor
5405cc46cd Remove createPluginsFilter file 2023-07-06 14:48:24 +02:00
Mark Kaylor
e6f649daf3 Remove useQuery from single-type form wrapper 2023-07-06 14:48:24 +02:00
Mark Kaylor
981622ff63 Remove unnecessary template literal 2023-07-06 14:48:24 +02:00
Mark Kaylor
132fc9e4a9 Josh Gustav feedback 2023-07-06 14:48:24 +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
e47c94e31b
Merge pull request #17047 from strapi/chore/rw-ee_else_ce
Chore: Refactor CM list-view review-workflow columns to use useEnterprise
2023-07-06 14:24:54 +02:00
Gustav Hansen
009f770e54 Chore: Remove cellFormatter callback and inline columns in list-view 2023-07-06 13:13:20 +02:00
smoothdvd
24283a030e
Merge branch 'main' into patch-4 2023-07-06 16:13:38 +08:00
Josh
d2d5476f07
Merge pull request #17155 from strapi/chore/remove-step-from-time 2023-07-05 16:54:17 +01:00
Convly
3149e374f4 Merge branch 'releases/4.11.4' 2023-07-05 16:51:48 +02:00
Convly
8d325a6953 v4.11.4 2023-07-05 16:46:16 +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
Gustav Hansen
b88b9e8af8 Enhancement: Extend useEnterprise hook by an enabled boolean flag 2023-07-05 13:32:08 +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
Josh
f76018d648
Merge pull request #17183 from strapi/chore/refactor-helper-plugin-tests 2023-07-05 09:58:48 +01:00
Gustav Hansen
36ec1a182a
Merge pull request #17191 from strapi/dependabot/npm_and_yarn/webpack-d131db577c
chore(deps): bump the webpack group with 1 update
2023-07-05 10:48:39 +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