374 Commits

Author SHA1 Message Date
Bassel Kanso
425f7870d6
fix(cm): restore proper pagination object on relations response (#19445) 2024-02-07 14:31:51 +00:00
Bassel Kanso
ec04445427
Merge branch 'develop' into fix/relations-read-rbac 2024-01-23 11:29:39 +02:00
Bassel Kanso
8247576d2a fix: preserve correct pagination 2024-01-23 11:28:19 +02:00
Rémi de Juvigny
1168c576ca
feat(content-manager): better handle entry duplication (#19256)
* list problematic fields on autoclone failure

* use 3d array for prohibited fields

* tweak type

* pass the plugin params

* remove unused var

* feedback

* use ordered list for breadcrumbs

* less strict wording

* allow uni directional one-to-many relations
2024-01-22 14:17:53 +01:00
Bassel Kanso
a4e9327ef3 fix: add permissionsQuery to one relations 2024-01-19 13:34:48 +02:00
Bassel Kanso
0d380ed3ae fix: make pagination work properly 2024-01-19 10:25:50 +02:00
Bassel Kanso
efeb53f7ab fix: sanitize recieved query 2024-01-17 16:21:14 +02:00
Bassel Kanso
e686e96112 fix: sanitize relation read query 2024-01-16 09:51:34 +02:00
Josh
09b9d36b22 Merge branch 'main' into develop 2024-01-10 14:37:01 +00:00
Josh
30ae2308e8 fix: build process errors from merger 2024-01-03 09:13:19 +00:00
Jamie Howard
9fa86dd22b
(content-manager): types for permission checker service (#19068)
* feat(content-manager): WIP types for permission checker

* fix: PR feedback
2024-01-02 09:38:40 +00:00
Jamie Howard
0d8a6e7cd6
(content-manager): types for data mapper service (#18887) 2023-12-12 15:47:23 +00:00
Jamie Howard
a8709d897e
[content-manager] types for metrics service (#19014) 2023-12-11 10:56:40 +00:00
Jamie Howard
748e479a5d
[content-manager] types for uid service (#18910) 2023-12-11 10:49:15 +00:00
Jamie Howard
6f2783dadd
[content-manager] types for permissions service (#19015) 2023-12-11 10:48:25 +00:00
Jamie Howard
40ef34cbcd
(content-manager): types for component service (#18869) 2023-12-07 11:58:14 +00:00
Josh
f1dd5cc8ee
chore(content-manager): convert the editview to typescript (#18948) 2023-12-04 16:00:50 +00:00
Jamie Howard
52321fa7ad
(content-manager): types for field sizes service (#18888) 2023-11-23 12:45:10 +00:00
Marc Roig
c970d7027e
Merge pull request #18860 from strapi/ts/content-manager-entity-manager
feat: type content manger entity manager service
2023-11-22 15:22:15 +01:00
Jamie Howard
fc0ebf30f1
[content-manager] types for policies (#18846) 2023-11-22 09:45:34 +00:00
Jamie Howard
f12eec5845 fix(content-manager): ts test error 2023-11-21 16:04:58 +00:00
Jamie Howard
e56518ca06
[Content Manager]- types for routing middleware (#18823) 2023-11-21 15:43:26 +00:00
Marc-Roig
153a3d8aec
feat: type entity manager service 2023-11-21 12:13:25 +01:00
Josh
a549feb253
chore: pretty codebase (#18835) 2023-11-17 14:48:05 +00:00
Jamie Howard
08920be519
Convert CM to TS (#18669)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-15 11:08:04 +00:00
Ben Irvin
38da416210
Merge branch 'main' into patch-1 2023-10-25 12:05:11 +02:00
markkaylor
9b2cfe1ae1
Fix blocks config (list, sort, filter, main field) (#18207) 2023-10-04 11:28:13 +02:00
Patrict J
b39586bf8d
fix(content-manager): relations input search not found (#18110)
* Update Relations searchFor to send new optional params

* Update relations.js to accept new optional search operation

* Update relations.js, reduce and default

* Update useRelation.js, change to actual operand

* Update useRelation.js, change _m to _filter

* Update relations.js, change _m to _filter

* Add operator check

* remove template literals

* update test on useRelation
2023-09-28 09:20:00 +01:00
Simone
24fa848ba3
Add new Blocks rich text editor (alpha) (#18166)
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Madhuri Sandbhor <madhuri.sandbhor@strapi.io>
2023-09-26 17:21:44 +02:00
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
PatrickJira
e1159e1407 add permission query 2023-09-05 00:16:09 +07:00
Fernando Chavez
7ad6ef6adf move custom field size logic outside and tests 2023-09-04 10:25:30 +02:00
Fernando Chavez
341914b9ea use custom field's custom sizes for isAllowedFieldSize function 2023-09-04 10:25:30 +02:00
Marc Roig
42f2df01d5
Merge pull request #17702 from strapi/fix/empty-role-names 2023-08-29 09:18:39 +02:00
Ben Irvin
e8efa10a4c revert traversals 2023-08-25 09:46:50 +02:00
Ben Irvin
aedf994e20
Merge branch 'main' into fix/sanitization-throw-instead-of-filter 2023-08-24 14:35:58 +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
Ben Irvin
dce86bec5c validate does not sanitize 2023-08-11 13:13:44 +02:00
Fernando Chavez
3b7d23f061 Add creator fields to filters and list view 2023-08-11 11:51:31 +02:00
Ben Irvin
995473d959 add utils.validate and replace sanitize usage 2023-08-10 15:24:35 +02:00
Marc-Roig
52ffc6ccb2
fix: settings test 2023-08-09 11:03:04 +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
Fernando Chávez
a42b53e3c8
Revert "Feat: Add creator fields as filters and to list view" 2023-07-27 11:06:17 +02:00
Fernando Chavez
7b67b767dd add creator fields to filters and list 2023-07-26 17:27:14 +02:00
Marc-Roig
ddcf56a338
feat: validate if default sort is valid 2023-07-26 16:21:25 +02:00
Marc-Roig
aa1247f557
feat: getSortableAttributes 2023-07-26 16:20:59 +02:00
Alexandre BODIN
3c814ec30c
Revert "Feat: Add creator fields as filter options" 2023-07-26 10:14:05 +02:00
Alexandre Bodin
195dcb483a Apply RBAC permissions to read filed 2023-07-25 18:33:55 +02:00