* feat: use document service in content manager
* feat: locale and status filtering
* feat: refactor single type controllers to use documents
* feat: get locale param from in cm endpoints
* feat: get locale param from cm endpoints
* feat: prevent empty string locale filtering
* fix(content-manager): access to non default locale documents
* chore(content-manager): revert route construction
* test(content-manager): counting number of draft relations for non default locales
* chore(content-manager): remove default locale from entity manager countDraftRelations
---------
Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
* 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
* 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>