1364 Commits

Author SHA1 Message Date
Jamie Howard
13c9b65544
Merge pull request #16021 from strapi/review-workflow/migration-on-disable 2023-03-14 09:23:26 +00:00
Jamie Howard
6a08636ee6 chore(ee): PR feedback 2023-03-13 15:10:25 +00:00
Gustav Hansen
30e33d09c3 CM Information: Add label, improve spacings 2023-03-13 13:48:03 +01:00
Gustav Hansen
b57e36eee5
Merge pull request #15649 from strapi/feature/review-workflow-ctb
CTB: Add checkbox to toggle review workflows for a content-type
2023-03-13 10:17:17 +01:00
Rémi de Juvigny
7c197ba0d1 Merge remote-tracking branch 'origin/main' into feature/audit-logs-config 2023-03-09 18:44:30 +01:00
Jamie Howard
32d019ecbe feature(ee): add db entries to persist ee feature tables 2023-03-09 16:50:51 +00:00
Rémi de Juvigny
a53767f9b3 Add license updates tests 2023-03-09 14:39:43 +01:00
Jamie Howard
7a85596c78 Merge remote-tracking branch 'origin/feature/review-workflow' into review-workflow/migration-on-disable 2023-03-09 10:25:50 +00:00
Alexandre Bodin
6f225b6979 Merge branch 'main' of github.com:strapi/strapi into chore/rbac-ce 2023-03-09 02:45:03 +01:00
Alexandre Bodin
29dadec292 Feedbacks 2023-03-09 02:43:16 +01:00
Jamie Howard
ccf36d4436 test(review-workflows): API test for RW down migration 2023-03-08 16:38:02 +00:00
Jamie Howard
1a77c49380 test(review-workflows): API test for RW up migration 2023-03-08 16:28:53 +00:00
Jamie Howard
f1136fedd4 chore: wording 2023-03-08 16:17:00 +00:00
Jamie Howard
6ac56deb8d test(review-workflows): API test for RW up migration 2023-03-08 16:12:53 +00:00
Jamie Howard
28032f884e fix(review-workflows): refactor to support all db types 2023-03-08 14:41:19 +00:00
Jamie Howard
5ade199d36 fix: specify order columns using knex.raw 2023-03-08 12:28:08 +00:00
Jamie Howard
8a80c2a68e chore: code cleanup 2023-03-08 11:20:23 +00:00
Jamie Howard
9dacb1676f chore: use db.getConnection
chore: use identifier syntax
2023-03-08 11:08:50 +00:00
Jamie Howard
eb1533fe59 test(review-workflows): migration to remove DB entries 2023-03-08 10:50:12 +00:00
Simone Taeggi
eae7fc9b1d chore: update DS to 1.6.5 and fix a unit test 2023-03-08 10:36:08 +01:00
Jamie Howard
816c004505 feature(review-workflows): migration to remove DB entries when RW is disabled on a content type 2023-03-07 16:36:07 +00:00
Jamie Howard
4bd99fce72 chore: code cleanup 2023-03-07 14:36:17 +00:00
Jamie Howard
6548fd77ca refactor(review-workflows): use knex for raw sql query 2023-03-07 11:56:09 +00:00
Alexandre Bodin
e3a4b431ba clean comment 2023-03-07 08:41:07 +01:00
Mark Kaylor
6e96e68a87 Fix tbody cannot appear as child of div error 2023-03-07 08:42:24 +05:30
Alexandre Bodin
6a003d738c Move frontend 2023-03-06 22:15:57 +01:00
Alexandre Bodin
e0e2084422 Move RBAC into CE 2023-03-06 21:46:45 +01:00
Fernando Chavez
0578e6e19b reduce scope of audit logs test to only test audit logs feature 2023-03-06 17:47:33 +01:00
Jamie Howard
5e51497538 Merge remote-tracking branch 'origin/feature/review-workflow' into feature/review-workflow-ctb 2023-03-06 15:06:15 +00:00
Rémi de Juvigny
08e1d1a54a Use internal service state 2023-03-06 12:24:30 +01:00
nathan-pichon
040531838c
fix(review-workflows): update condition on migration to include content-type column 2023-03-03 16:49:49 +01:00
nathan-pichon
08100d5aa5
fix(review-workflows): check if review workflow is a boolean 2023-03-03 16:32:20 +01:00
nathan-pichon
6bbd7c2671
fix(review-workflows): stage attribute should not be visible 2023-03-03 16:31:42 +01:00
nathan-pichon
ecc36bc030
test(review-workflows): update mock to test method PUT 2023-03-03 12:09:39 +01:00
nathan-pichon
a70f8f5e41
test(review-workflows): add test for review workflows activation 2023-03-03 12:05:05 +01:00
nathan-pichon
1431249c84
test(review-workflows): update mocks 2023-03-03 11:30:42 +01:00
Nathan Pichon
a7778b81f0
Merge branch 'feature/review-workflow' into feature/review-workflow-stage-in-entities 2023-03-03 09:43:53 +01:00
nathan-pichon
ad0da5cd06
chore(review-workflows): add comments 2023-03-02 18:09:36 +01:00
nathan-pichon
983ed97e38
fix(review-workflows): use raw query to update joinTable
Much more efficient to directly insert rows inside the joinTable.
For 126k entities, the time decrease from 5min to 123ms to migrate all entities.
2023-03-02 17:53:50 +01:00
Josh
d209390fbe chore: update DS to 1.6.4 2023-03-02 13:17:01 +00:00
Josh
09ff54bc6e chore: convert Stack components to Flex
chore: update snapshots

chore: convert rest of files to use Flex

chore: fix duplicate import

chore: update snapshots

chore: add eslint rule for stack

refactor: catch other Stack component uses

chore: remove horizontal prop
2023-03-02 10:02:40 +00:00
Alexandre Bodin
e56b0061c7 Make checks stricter 2023-03-02 09:19:25 +01:00
Alexandre Bodin
24901be60b Fix license seat undefined block user creation 2023-03-01 20:13:22 +01:00
nathan-pichon
da43693018
feat(review-workflows): add migration when activating rw on content-type (wip)
There is performance problems in this code. We will need to fine tune the query to update relations on stages join table instead of rely on `updateRelations()` method
2023-03-01 17:53:37 +01:00
nathan-pichon
a0d89b6884
feat(review-workflows): add migration when activating rw on content-type (wip) 2023-03-01 12:00:47 +01:00
Gustav Hansen
e17cc285f9
Merge pull request #15927 from strapi/feature/review-workflow-cm-stage-display
CM: Display current workflow stage in the edit-view
2023-02-28 22:06:36 +01:00
Fernando Chávez
e66228b24c
Merge pull request #15926 from strapi/fix/display-name-on-audit-logs
[Audit Logs] Use username or email on audit logs page
2023-02-27 16:27:36 +01:00
Fernando Chavez
793df833bb fix test failing 2023-02-27 15:08:14 +01:00
Gustav Hansen
718e4ce423 CM: Display current stage in the edit-view 2023-02-27 13:26:40 +01:00
Fernando Chavez
9bb9a58a6a show displayname on audit logs modal 2023-02-27 10:45:53 +01:00