Gustav Hansen
0a008881ef
Merge branch 'main' into feature/review-workflow
2023-03-16 15:49:45 +01:00
Jamie Howard
6a08636ee6
chore(ee): PR feedback
2023-03-13 15:10:25 +00: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
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
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
Alexandre Bodin
e0e2084422
Move RBAC into CE
2023-03-06 21:46:45 +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
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
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
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
eaf85737aa
change getSanitizedUser fn on audit logs to use username and email
2023-02-27 10:31:34 +01:00
Alexandre Bodin
879398552f
Add missing RBAC check in the FE & fix lodash fp/no fp errors
2023-02-26 19:12:28 +01:00
Alexandre Bodin
2d48bf2ba0
Lodash usage consistency
2023-02-26 18:12:18 +01:00
Alexandre Bodin
834fdaba12
Handle undefined disabledUsers
2023-02-24 20:54:24 +01:00
Alexandre Bodin
f552aa9aa2
Apply feedbacks
2023-02-24 18:55:55 +01:00
nathan-pichon
fc08bb8260
test(review-workflows): add unit tests
2023-02-23 10:40:46 +01:00
ivanThePleasant
88b1987691
WIP Moving enforcement checks from controller level to service level (not checked or tested)
2023-02-22 14:42:27 +02:00
nathan-pichon
34a02d42b2
fix(review-workflows): update middleware function
2023-02-21 11:06:55 +01:00
nathan-pichon
da8f95172e
refactor(review-workflows): refactor middleware
2023-02-21 10:10:35 +01:00
nathan-pichon
4d47b3d3e9
refactor(review-workflows): refactor middleware
2023-02-20 19:09:40 +01:00
nathan-pichon
39fdfd3d40
feat(review-workflows): add options in content type builder
2023-02-20 18:58:09 +01:00
ivanThePleasant
e933069d42
WIP additional requested changes to server
2023-02-19 19:34:08 +02:00
nathan-pichon
35f783d0dc
Merge branch 'main' into feature/review-workflow
...
# Conflicts:
# packages/core/admin/ee/admin/permissions/customPermissions.js
2023-02-15 16:32:07 +01:00
ivanThePleasant
c4620fd18a
Merge branch 'chore/ee-seats' of https://github.com/strapi/strapi into chore/ee-seats
2023-02-15 12:01:06 +01:00
ivanThePleasant
d2ade473fd
WIP requested server changes
2023-02-15 11:17:47 +01:00
ivanThePleasant
a874d4ee2b
Update packages/core/admin/ee/server/seat-enforcement.js
...
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-02-15 12:15:05 +02:00
ivanThePleasant
87e16d578a
Update packages/core/admin/ee/server/seat-enforcement.js
...
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-02-15 12:14:41 +02:00
ivanThePleasant
955b594d33
Update packages/core/admin/ee/server/seat-enforcement.js
...
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-02-15 12:08:36 +02:00
ivanThePleasant
1c9edc61e8
Update packages/core/admin/ee/server/seat-enforcement.js
...
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-02-14 14:37:56 +02:00