11209 Commits

Author SHA1 Message Date
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
Christian
dda5eeebad
Merge pull request #17215 from strapi/fix/delete-deits-merge 2023-07-07 12:46:22 +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
Christian Capeans
bd67677f54 Delete merge presence in data transfer strategies 2023-07-06 16:52:44 +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
Jean-Sébastien Herbaux
4a3b7f564e
Merge pull request #17175 from boazpoolman/feature/admin-type 2023-07-06 09:24:43 +02: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
Christian Capeans
98f34c162e Fix date parser 2023-07-05 15:01:37 +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
Christian
3117d9f99e
Merge pull request #16914 from strapi/dependabot/npm_and_yarn/stream-json-1.8.0 2023-07-05 13:18:16 +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
0a147c142d
Merge pull request #17189 from strapi/dependabot/npm_and_yarn/jest-cd7e10a537
chore(deps-dev): bump the jest group with 4 updates
2023-07-05 10:48:54 +02: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
02a3e1e592
chore(review-workflows): put default options 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