36 Commits

Author SHA1 Message Date
Marc-Roig
252b616804
fix: ignore yup test validation if stage array is empty 2023-07-18 12:26:05 +02:00
Marc-Roig
490a8c239e
chore: yup validation text refactor 2023-07-17 19:00:06 +02:00
Marc-Roig
4a949d4ddd
chore: yup validation variable rename 2023-07-17 18:57:32 +02:00
Marc-Roig
4bdf6ddf2b
feat: yup validate stage names are unique 2023-07-17 18:49:17 +02:00
Gustav Hansen
7b83703576 Merge branch 'main' into feature/review-workflow-multiple-merge-main 2023-06-22 11:20:53 +02:00
Marc-Roig
7a80dfa0d5
chore: fix styling 2023-06-09 10:54:12 +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
Simone Taeggi
f8acf8385b change the property authenticationDisabled to ssoLockedRoles 2023-05-23 09:19:07 +02:00
Simone Taeggi
3fdb517b0b fix backend part of the sso form submission 2023-05-19 11:00:05 +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
dc4d44e2a5
chore: warn about validation using strapi global 2023-05-16 18:10:50 +02:00
Marc-Roig
7993b225e1
chore: rename assignedContentTypes to contentTypes 2023-05-15 18:11:49 +02:00
Marc-Roig
d41390e3a2
tests: validate uid is a visible CT 2023-05-15 17:43:33 +02:00
Marc-Roig
b255a56181
Merge branch 'feature/review-workflow-update-route' into feature/review-workflow-assigned-content-types-routes 2023-05-15 11:39:32 +02:00
Marc-Roig
6d49dea524
Merge branch 'feature/review-workflow-create-route' into feature/review-workflow-update-route 2023-05-15 11:38:31 +02:00
Marc-Roig
cf5aea6958
fix: no stages validation error message 2023-05-15 11:36:46 +02:00
Marc-Roig
1b1cb9f899
feat: validate workflow assignedCT update 2023-05-15 10:27:51 +02:00
Marc-Roig
8fceb4cc4d
feat: validation to update workflow 2023-05-12 17:37:02 +02:00
Marc-Roig
235252e194
feat: update yup validation, can not create a workflow without stages 2023-05-12 17:03:27 +02:00
Marc-Roig
3b523f1e01
fix: remove default from schema 2023-05-12 16:25:15 +02:00
Marc-Roig
e8dd199183
feature: create rw validation schema 2023-05-12 15:30:06 +02:00
Marc
6fc31d84bd
Merge pull request #16482 from strapi/feautre/rw-colors 2023-04-26 13:43:43 +02:00
Marc-Roig
69cc9c5e8e fix: stage color should not be nullabke 2023-04-24 13:34:33 +02:00
Marc-Roig
4cf5ab1a0c feat: add stage color validation 2023-04-24 13:28:18 +02:00
Marc-Roig
466035face feat: limit number of stages to 200 2023-04-24 11:20:49 +02:00
nathan-pichon
1cf3da856c
feat(review-workflows): add update route on entity for stages 2023-03-24 18:34:10 +01:00
Gustav Hansen
0a008881ef Merge branch 'main' into feature/review-workflow 2023-03-16 15:49:45 +01:00
Alexandre Bodin
e0e2084422 Move RBAC into CE 2023-03-06 21:46:45 +01:00
nathan-pichon
8f622ae7e0
feat(review-workflow): add update route for stages on workflows 2023-02-07 09:55:32 +01:00
Fernando Chavez
13dfc1e1a5 improves on audit logs submission form 2022-12-22 20:08:14 +01:00
Fernando Chavez
fbaa4101ac Add pagination and order in the audit logs endpoint & tests 2022-12-22 16:32:12 +01:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Pierre Noël
cb098ec280 clean yup validations 2021-11-04 11:42:45 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Pierre Noël
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00
Alexandre Bodin
d44a6f68ee Migrate admin to programmatic loading 2021-08-02 17:54:49 +02:00