Alexandre Bodin
bac1fb9210
Fix tests & make router config optional
2023-09-15 18:37:02 +02:00
Alexandre Bodin
efc1c40f22
Apply review comments
2023-09-15 11:09:37 +02:00
Alexandre Bodin
646a1f0b83
Fix tests
2023-09-06 12:53:59 +02:00
nathan-pichon
d0195ff181
feat(review-workflows): store license limits in services
2023-07-05 10:34:58 +02:00
Nathan Pichon
b4ac2f90d8
feat(review-workflows): remove deleted content-types in assigned workflows ( #17053 )
...
* feat(review-workflows): migrate old to new stage attribute name
* feat(reviewWorkflows): remove ct from workflows when deleted
* fix(operators): re-add $jsonSupersetOf to available operators
2023-06-23 17:18:32 +02:00
Gustav Hansen
7b83703576
Merge branch 'main' into feature/review-workflow-multiple-merge-main
2023-06-22 11:20:53 +02:00
Nathan Pichon
cd08c590a8
fix(review-workflow): the feature shouldn't be deactivated on content type creation ( #17045 )
...
* fix(reviewWorkflows): should not set review workflows as false on CT creation
* fix(reviewWorkflows): remove check on boolean to inject the stage attribute
* feat(reviewWorkflows): let people be able to deactivate rw stage attr
- without touching the old boolean for retro-compat
2023-06-21 18:09:16 +02:00
Marc
cc4f58ce38
Merge pull request #16552 from strapi/fix/remove-persisted-tables-from-store
2023-06-12 10:53:21 +02:00
Convly
417e130966
Review changes for roles fetching
2023-06-01 16:04:39 +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
Ben Irvin
2f1ac2777e
remove comment
2023-05-26 12:51:03 +02:00
Ben Irvin
ec1ce8b55a
rename ssoLockedRoles
2023-05-24 10:52:05 +02:00
Ben Irvin
de6537791e
fix comment
2023-05-23 15:09:53 +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
2d8e6d87fd
remove comment
2023-05-22 16:53:46 +02:00
Ben Irvin
8b10c20465
move most of the code to strapi/ee
2023-05-22 15:53:03 +02:00
Marc-Roig
1e3c8036ba
fix: do not activate rw worklfow if not enabled in CTB
2023-05-18 10:14:22 +02:00
Marc-Roig
66eb52aab8
chore: remove enableReviewWorkflows as it is not necessary anymore
2023-05-16 15:32:40 +02:00
Marc-Roig
5bf82c08b4
feat: enable RW if Content Type is visible
2023-05-15 10:26:02 +02:00
Marc-Roig
c20f16e930
fix: do not remove tables if array is empty
2023-04-28 11:57:28 +02:00
Marc-Roig
94d5e88a56
fix: remove persisted tables from the store not from db tables
2023-04-27 20:34:43 +02:00
Marc-Roig
fc9148278d
feat: expose persistTables
2023-04-19 14:22:50 +02:00
Marc-Roig
8da6342bde
chore: refactor getPersistedTables
2023-04-18 17:17:58 +02:00
Marc-Roig
8ba81e5c87
fix: remove comment
2023-04-18 17:15:00 +02:00
Marc-Roig
398491f0c3
fix: remove persisted table comment
2023-04-18 17:09:49 +02:00
Marc-Roig
71dce1dcf1
feat: store dependent tables on persisted table
2023-04-18 17:00:42 +02:00
nathan-pichon
4d284ae789
feat(ee): add persist table by suffix
2023-04-17 18:06:57 +02:00
Marc-Roig
077631d18b
chore: move get CT with RW activated to utils
2023-04-14 12:31:05 +02:00
Jamie Howard
05cee5cbd7
Merge remote-tracking branch 'origin/main' into feature/review-workflow
2023-04-11 14:15:43 +01:00
nathan-pichon
f9507877ec
feat(review-workflows): add update route on entity for stages
2023-03-27 11:58:06 +02:00
Jamie Howard
7b0c7b5830
Merge remote-tracking branch 'origin/feature/review-workflow' into review-workflow/default-stage-created-entities
2023-03-21 16:59:13 +00:00
Jamie Howard
80475d33f4
refactor(ee)
...
test(ee): add new entities to the default stage
2023-03-21 16:57:31 +00:00
Jamie Howard
64a0f9eb50
Merge remote-tracking branch 'origin/main' into feature/review-workflow
2023-03-20 11:42:58 +00:00
Jamie Howard
04723bf727
chore(ee): PR feedback
2023-03-20 11:01:17 +00:00
Jamie Howard
d90e1f818c
feature(ee): add entities to default stage on creation
2023-03-17 15:23:11 +00:00
Jamie Howard
2c7906cdd0
fix(ee): correct await
2023-03-17 14:32:45 +00:00
Jamie Howard
b17dd81556
chore: improve naming of persisted tables
2023-03-17 13:31:55 +00:00
Jamie Howard
7e4cea8a24
refactor(ee): use strapi core store to persist DB tables
...
refactor(database)
2023-03-15 17:24:25 +00:00
Jamie Howard
32d019ecbe
feature(ee): add db entries to persist ee feature tables
2023-03-09 16:50:51 +00:00
nathan-pichon
4f756d166d
refactor(review-workflow): use services in rw bootstrap
2023-02-02 10:16:59 +01:00
nathan-pichon
94808bc221
fix(review-workflow): rework stages methods naming
...
Fixes the integration tests
2023-01-31 12:26:58 +01:00
Marc-Roig
f607a61607
Merge branch 'feature/review-workflow' into feature/review-worflow/workflow-stage
2023-01-31 10:01:48 +01:00
nathan-pichon
95dbeb5d46
fix(review-workflows): rework controllers, routes and service
2023-01-27 11:54:12 +01:00
Marc-Roig
2ef020de1c
Merge branch 'feature/workflow-type' into feature/review-worflow/workflow-stage
2023-01-26 12:56:50 +01:00
nathan-pichon
64cfcdcb2a
fix(review-workflow): pick query and params from request
2023-01-26 12:26:26 +01:00
Marc-Roig
5378307f1d
test for review workflow stages
2023-01-26 12:17:36 +01:00
Marc-Roig
73dbd2cfd9
workflows find and findOne services
2023-01-24 13:58:28 +01:00