Simone
e3a5416487
[Bugfix] Bulk publish/unpublish for non-default locale entities ( #17941 )
...
* pass the locale to the publish and draft relations calls
* fix the problem for entities without internationalization and add unit tests
2023-09-12 10:40:51 +02:00
Marc Roig
42f2df01d5
Merge pull request #17702 from strapi/fix/empty-role-names
2023-08-29 09:18:39 +02:00
Marc Roig
8ed02e8301
Merge branch 'feature/rw-stage-default-sort' into feat/default-sort-by-non-visible-attrs
2023-08-22 10:43:14 +02:00
Marc-Roig
fe5755ded1
fix: return role name if user has permissions to read admin users
2023-08-21 09:50:01 +02:00
Marc-Roig
df16fd7f35
fix: display role names
2023-08-18 16:40:26 +02:00
Alexandre BODIN
5981e7e7c3
Merge pull request from GHSA-m284-85mf-cgrc
...
Apply RBAC permissions to read field
2023-07-27 17:18:29 +02:00
Marc-Roig
ddcf56a338
feat: validate if default sort is valid
2023-07-26 16:21:25 +02:00
Alexandre Bodin
195dcb483a
Apply RBAC permissions to read filed
2023-07-25 18:33:55 +02:00
Marc-Roig
4a7a82fb1b
chore: comment
2023-07-25 17:23:30 +02:00
Marc-Roig
22829b3a20
feat: sort by relational fields
2023-07-25 17:17:08 +02:00
Marc-Roig
54d12894a7
feat: allow default sorting by creator fields
2023-07-25 11:20:59 +02:00
Marc-Roig
123f4d0a47
chore: shorten variable creation
2023-07-25 11:20:58 +02:00
Marc-Roig
ba8069c1db
feat: allow setting non visible fields as defaultSort
2023-07-25 11:20:58 +02:00
Gustav Hansen
a6d17cebb9
Merge branch 'main' into feature/review-workflow-multiple-merge-18-07-23
2023-07-18 13:05:31 +02:00
markkaylor
a82de46746
feature/bulk-publish-v2 ( #17185 )
...
Co-authored-by: Simone <simone.taeggi@strapi.io>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
2023-07-18 09:03:55 +02:00
Gustav Hansen
a886c69b56
Merge branch 'main' into feature/review-workflow-multiple-merge-07-2023
2023-07-07 13:35:15 +02:00
Josh
d3eb5a174e
chore: remove step from schema validation for metadatas
2023-06-30 09:47:41 +01:00
Alexandre BODIN
0a852feaee
Merge pull request #17130 from strapi/releases/4.11.3
2023-06-29 06:43:58 +02:00
Marc-Roig
f9a4af2894
Merge branch 'main' into releases/4.11.3
2023-06-28 17:27:34 +02:00
Alexandre Bodin
4df9a1112f
Fix relations mainField allowing hidden attributes
2023-06-28 17:09:43 +02:00
Marc
5ce34225c0
Merge pull request #17113 from strapi/fix/clone-with-non-prohibited-fields
2023-06-27 15:16:16 +02:00
Marc-Roig
692c3b1bad
fix: await clone method
2023-06-27 12:18:46 +02:00
Marc-Roig
e7e8146e2e
fix: populate relations on bulk publish
2023-06-27 10:00:30 +02:00
Marc-Roig
52f9a50dcc
fix: populate relations in entity manager publish
2023-06-27 09:56:12 +02:00
Alexandre Bodin
ff79914dac
Remove unecessary code
2023-06-27 09:31:05 +02:00
Gustav Hansen
4410fb8f97
Merge branch 'main' into feature/review-workflow-multiple-merge-main
2023-06-22 12:17:05 +02:00
Gustav Hansen
7b83703576
Merge branch 'main' into feature/review-workflow-multiple-merge-main
2023-06-22 11:20:53 +02:00
Josh
9a537e811b
chore: merge fixes
...
chore: fix lint
2023-06-22 09:18:57 +01:00
Marc
674dc96b89
refactor: mark uid as a prohibited field & separate auto-clone route ( #16957 )
...
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-06-22 08:12:20 +01:00
Josh
f72a62be05
fix: error message improvements ( #16949 )
2023-06-22 08:12:12 +01:00
Marc-Roig
ec434498d1
fix: excludeNotCreatableFields
2023-06-22 08:12:11 +01:00
Marc-Roig
3720a7fa8c
feat: sanitize excludeNotCreatableFields
2023-06-22 08:11:59 +01:00
Marc-Roig
616c2283a5
fix: prohibited fields error message
2023-06-22 08:11:11 +01:00
Marc-Roig
e6b1b53db9
refactor: move clone utils to controller
2023-06-22 07:59:49 +01:00
Marc-Roig
06bb305691
feat: admin clone controller
2023-06-22 07:59:49 +01:00
Nathan Pichon
e4e2a310e2
fix(review-workflows): display review workflows informations in content-manager when needed ( #16919 )
...
* chore: update example schemas
* fix(content-manager): merge data instead of overwrite nested objects
* feat(content-manager): add options object in the configuration object
* feat(review-workflow): add the review workflows option in the configuration of content-manager
* fix(content-manager): use review workflows option value in edit-view
* test(workflows): update mocks
* test(info-box): update mocks
* chore: add comments for utils in content-manager
* test(content-manager): add tests on content-types service
* fix(review-workflows): merge configuration before updating it
* docs(review-workflows): add comments about why we merge configuration of CTs
* refactor(review-workflows): extract updateContentTypeConfig function
* test(workflows): update mock
* fix(review-workflows): remove infinite loop
* fix(review-workflows): use findConfiguration instead of getConfiguration
* test(review-workflows): change plural name of long content type
* test(review-workflows): skip long ct name test
2023-06-12 10:52:52 +02:00
Marc-Roig
7ad44c8699
Merge branch 'main' into fix/rbac-condition-and-relations
2023-06-09 10:32:42 +02:00
Convly
106cfafca4
Merge branch 'main' into releases/4.11.0
2023-06-07 11:31:42 +02:00
Jamie Howard
59d61424a9
chore: fix entity manager linter warnings
2023-06-01 15:21:47 +01:00
Marc-Roig
74023ce419
todo: revert create if custom condition does not allow it
2023-05-29 15:42:36 +02:00
Marc-Roig
31afc24ee5
fix: unit tests
2023-05-26 17:57:23 +02:00
Marc-Roig
9a7bef24bf
chore: PR proposed changes
2023-05-26 17:26:55 +02:00
Marc
832b4aa46d
Update packages/core/content-manager/server/controllers/collection-types.js
...
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-05-26 16:11:33 +02:00
Marc-Roig
00b166d439
fix: single types unit test
2023-05-26 14:45:22 +02:00
Marc-Roig
ee5d821fa7
chore: cleanup comments
2023-05-26 13:05:08 +02:00
Marc-Roig
f41e29c40b
feat: populate in relations and single types
2023-05-26 12:34:18 +02:00
Marc-Roig
a9efdd0771
feature: populate from query
2023-05-26 12:34:00 +02:00
Marc-Roig
7c0a562948
feat: use populate builder
2023-05-25 17:00:52 +02:00
Marc-Roig
cdb17d5c16
chore: rename populate query
2023-05-24 18:20:06 +02:00
Marc-Roig
4a97be49b5
chore: cleanup get query populate
2023-05-24 18:04:50 +02:00