1364 Commits

Author SHA1 Message Date
Marc
5fa0dd54a2
Merge pull request #16798 from strapi/feature/review-workflow-default-stage-colors 2023-06-01 11:11: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
Jamie Howard
2a593348e4 feature(ee): extend content types with assignee attribute 2023-05-31 16:36:04 +01:00
Jamie Howard
16764cb1d5 Merge remote-tracking branch 'origin/main' into webhooks/edit-view 2023-05-31 14:59:19 +01:00
Jamie Howard
9ecb8fe34c test: fix tests for addAllowedEvent 2023-05-31 14:28:32 +01:00
Gustav Hansen
946cf1c130
Merge pull request #16834 from strapi/feature/review-workflow-assignee-users
Enhancement: Allow admin users to be assigned to an entity in the CM edit view
2023-05-31 14:26:46 +02:00
Jamie Howard
d77e42b859 refactor(webhooks): populate allowed events from relevant modules 2023-05-30 16:13:10 +01:00
Simone Taeggi
2553c35346 remove useless snapshot 2023-05-30 14:43:35 +02:00
Gustav Hansen
37927ce7d6 Chore: Update Edit and Listview 2023-05-30 14:04:52 +02:00
Gustav Hansen
ffd959c90d Merge branch 'main' into feature/review-workflow-multiple 2023-05-30 13:42:04 +02:00
Josh
19106faaea chore: update snapshots and tests 2023-05-30 13:12:07 +02:00
Gustav Hansen
ff028570be Chore: Add tests for AssigneeSelect 2023-05-30 12:55:15 +02:00
Gustav Hansen
8774e76c1b Chore: Update StageSelect tests 2023-05-30 12:55:14 +02:00
Gustav Hansen
e3c0e70610 Chore: Update InformationBoxEE tests 2023-05-30 12:55:14 +02:00
Jamie Howard
c557e43243 chore(webhooks/EditView): use renderChildren function 2023-05-30 10:44:32 +01:00
Jamie Howard
b919da9c26 Merge remote-tracking branch 'origin/main' into feature/set-webhook-events 2023-05-30 10:16:36 +01:00
Jamie Howard
510a20c82c chore: update webhook event name 2023-05-30 09:42:03 +01:00
Simone Taeggi
536b2ccd4b test duplicated sso roles are cleaned 2023-05-29 11:22:35 +02:00
Simone Taeggi
f83a848525 Merge branch 'main' into fix/sso-lock-out-option 2023-05-29 10:41:05 +02:00
Simone Taeggi
7eefdb1053 Merge branch 'fix/sso-lock-out-option' of github.com:strapi/strapi into fix/sso-lock-out-option 2023-05-28 23:18:27 +02:00
Simone Taeggi
45b9631494 add useSettingsForm get test 2023-05-28 23:18:21 +02:00
DMehaffy
08ff46ddc4
Merge branch 'main' into chore/replace-node-14-with-20 2023-05-26 11:48:10 -07:00
Jamie Howard
5547c788eb fix: register review workflow webhook events earlier in bootstrap 2023-05-26 14:25:03 +01:00
Ben Irvin
2f1ac2777e remove comment 2023-05-26 12:51:03 +02:00
Gustav Hansen
94e4147c4d Chore: Update snapshot tests 2023-05-26 12:50:45 +02:00
Simone Taeggi
a06a9b8fe8 Merge branch 'main' into fix/sso-lock-out-option 2023-05-25 17:18:33 +02:00
Jamie Howard
947fac9653 test(ee): review workflows 2023-05-25 13:25:16 +01:00
Gustav Hansen
e1151303a2 Chore: Split up InformationBoxEE into smaller components 2023-05-25 14:01:43 +02:00
Gustav Hansen
111c5ad6f3 Feature: Allow admin users to be assigned to entities 2023-05-25 13:24:44 +02:00
Gustav Hansen
aa461fbbc9
Merge pull request #16816 from strapi/enhancement/use-admin-users
Enhancement: Create useAdminUsers data fetching hook
2023-05-25 12:25:34 +02:00
Gustav Hansen
f3a7c98360 Chore: Reuse useAdminUsers hook for audit logs 2023-05-25 11:49:05 +02:00
Ben Irvin
cb2531ef6b
Merge branch 'main' into chore/replace-node-14-with-20 2023-05-25 10:16:29 +02:00
Jamie Howard
1c66cdf679 feature(ee): register review workflow webhook events 2023-05-24 16:56:05 +01:00
Gustav Hansen
ce0db3b129 Chore: Update tests for InformationBoxEE 2023-05-24 17:13:43 +02:00
Gustav Hansen
1c13cfe114 Chore: Update InformationBoxEE useReviewWorkflows calls 2023-05-24 16:48:48 +02:00
Gustav Hansen
d17e7fb783 Chore: Update useReviewWorkflows calls for settings page 2023-05-24 16:48:48 +02:00
Gustav Hansen
db7704d833 Chore: Improve hook interface for useReviewWorkflows() 2023-05-24 16:48:48 +02:00
Ben Irvin
adacc4718e Merge branch 'main' into chore/upgrade-jest-to-29.5 2023-05-24 15:12:21 +02:00
Ben Irvin
85341a4bbe fix rest of tests 2023-05-24 15:11:29 +02:00
Ben Irvin
ec1ce8b55a rename ssoLockedRoles 2023-05-24 10:52:05 +02:00
Ben Irvin
7b7a7b97e0 clean up error handling again 2023-05-24 09:56:04 +02:00
Ben Irvin
9404cb352e fix error handling 2023-05-24 09:44:24 +02:00
Gustav Hansen
e1c83cfd68 Enhancement: Fetch workflow mapped to a content-type instead of all 2023-05-23 21:48:47 +02:00
Gustav Hansen
f98a9b698b Merge branch 'main' into feature/review-workflow-multiple 2023-05-23 20:56:59 +02:00
Ben Irvin
de6537791e fix comment 2023-05-23 15:09:53 +02:00
Ben Irvin
632c0787dc
Merge branch 'fix/sso-lock-out-option' into fix/ss-lock-out-backend 2023-05-23 12:41:28 +02:00
Ben Irvin
0c387365a6 add tests 2023-05-23 12:40:36 +02:00
Ben Irvin
20141bbae2 throw when user is missing 2023-05-23 11:36:17 +02:00
Ben Irvin
8251a9d4e4 get roles from query.load 2023-05-23 11:29:02 +02:00
Ben Irvin
72b5d2f4f0 move all code to ee 2023-05-23 11:20:18 +02:00