489 Commits

Author SHA1 Message Date
Rémi de Juvigny
c838be0c09
Merge branch 'v5/main' into v5/history 2024-01-26 12:18:05 +01:00
Josh
1ec998ff84 Merge branch 'develop' into v5/main 2024-01-26 08:31:31 +00:00
Rémi de Juvigny
e750c6a8cd
Merge branch 'v5/main' into v5/history 2024-01-25 18:51:38 +01:00
Marc Roig
ff8ed1fc36
feat: Draft & Publish V5 (#18941)
* 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>
2024-01-25 18:43:08 +01:00
Rémi de Juvigny
be6cc4abab
feat(history): add history-version content type (#19316)
* feat: add history version content type

* chore: disable i18n and review workflows

* fix: i18n

* chore: use Schema.CollectionType
2024-01-25 11:04:49 +01:00
Rémi de Juvigny
18b28ce2ee
chore: set up content history files (#19298)
* setup history server files

* add admin files

* chore: remove dedicated lifecycle files
2024-01-23 18:15:34 +01: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
Alexandre Bodin
1ffeb510a8 chore(pack-up): fail on any typing issue 2024-01-17 16:27:59 +01: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
f324494fe9 Merge branch 'develop' into v5/main 2024-01-10 15:58:45 +00:00
Josh
09b9d36b22 Merge branch 'main' into develop 2024-01-10 14:37:01 +00:00
Josh
4cd75b2523 Merge branch 'develop' into v5/main 2024-01-04 08:32:19 +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
Josh
626dc81cda Merge branch 'develop' into v5/main 2023-12-08 16:31:21 +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
Alexandre Bodin
e0de993d4a Merge branch 'develop' into v5/main 2023-11-30 16:42:36 +01:00
Alexandre Bodin
9628e9d90f chore: remove ee direct imports 2023-11-24 09:33:00 +01:00
Jamie Howard
52321fa7ad
(content-manager): types for field sizes service (#18888) 2023-11-23 12:45:10 +00:00
Alexandre Bodin
27aa897cbb Merge branch 'develop' into v5/main 2023-11-23 11:52:10 +01: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
Josh
579dcdb39b Merge branch 'main' into v5/main 2023-10-25 16:46:47 +01:00
Ben Irvin
38da416210
Merge branch 'main' into patch-1 2023-10-25 12:05:11 +02:00
Alexandre BODIN
5ae0dc40cd feat!(content-manager): remove the ability to disable draft&publish (#18488)
* feat!: remove draft and publish triggering

* chore: update snapshots and tests

* test: adapt tests
2023-10-24 17:18:59 +01:00
Alexandre Bodin
0b5590b0eb chore(core/strapi): extend container in strapi class 2023-10-24 17:18:59 +01: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