34903 Commits

Author SHA1 Message Date
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
Convly
bcfeeb5b11 fix: modify generator tests to reflect latest changes on Attribute.Relation 2024-01-25 17:40:04 +01:00
Convly
16ac13f00a enhancement: fix type generation for Attribute.Relation by removing uid 2024-01-25 17:30:21 +01:00
Convly
758843ffd1 enhancement: remove the TOrigin type parameter from Attribute.Relation 2024-01-25 17:29:07 +01:00
Convly
eabab34cca enhancement: improve type inference for subtypes in Attribute.Relation properties 2024-01-25 17:11:17 +01:00
Alexandre BODIN
534b47a170
Merge pull request #19324 from strapi/v5/lift-component-logic-outside-db
chore: lift compontent logic out of the db and start exposing models
2024-01-25 13:50:31 +01:00
Marc Roig
140438662e
Merge pull request #19326 from strapi/v5/skip-cli-flakey-test
fix: skip flakey test
2024-01-25 13:33:52 +01:00
Marc-Roig
18e2c95534
fix: skip flakey test 2024-01-25 13:21:15 +01:00
Alexandre Bodin
9d5602124c chore: life compontent logic out of the db and start exposing models 2024-01-25 13:13:01 +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
ea0fc2822a
feat(cm): set up history page (#19309)
* feat(cm): set up history page

* feat: add injected component

* fix: use React.useId

* fix: typo

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
2024-01-25 10:36:54 +01:00
Rémi de Juvigny
df4560117a
Merge branch 'v5/main' into v5/history 2024-01-24 17:40:04 +01:00
Convly
6a58621932 Merge branch 'releases/4.19.0' into develop 2024-01-24 16:10:08 +01:00
Convly
beec786491 v4.19.0 v4.19.0 2024-01-24 16:00:22 +01:00
Jean-Sébastien Herbaux
ec07377544
Merge pull request #19313 from strapi/fix/exclude-releases-dts
fix(dts): exclude content-releases
2024-01-24 15:33:00 +01:00
Mark Kaylor
83ccc02f01 fix(dts): exclude content-releases 2024-01-24 15:31:21 +01:00
Alexandre BODIN
434c4b303d
Merge pull request #19307 from strapi/v5/cleanup-utils
chore: cleanup core utils org
2024-01-24 15:04:55 +01:00
Jean-Sébastien Herbaux
e788a1076f
Merge pull request #19264 from strapi/chore/remove-s3-creds-transform 2024-01-24 10:53:51 +01:00
Bassel Kanso
88184914f3
Merge pull request #19227 from strapi/fix/relations-read-rbac
Sanitize relation read query
2024-01-24 11:03:55 +02:00
Alexandre Bodin
e5584f14bc chore: cleanup core utils org 2024-01-23 19:40:35 +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
Alexandre BODIN
bbc6a32aca
Merge pull request #19273 from strapi/v5/clean-config
chore: setup configuration in one place only
2024-01-23 17:09:58 +01:00
Alexandre BODIN
a6ff2b591f
Merge pull request #19303 from strapi/v5/content-type-refactors
chore: simplify content-type logic
2024-01-23 15:46:47 +01:00
Alexandre Bodin
af3efc973b chore: simplify content-type logic 2024-01-23 14:37:00 +01:00
Alexandre Bodin
41da5d47c9 chore: setup configuration in one place only 2024-01-23 14:36:43 +01:00
Alexandre Bodin
39482187a9 Merge branch 'v5/main' of github.com:strapi/strapi into v5/main 2024-01-23 14:36:29 +01:00
Alexandre Bodin
1ee1b79dcc chore: update snapshot 2024-01-23 14:36:22 +01:00
Josh
f379a8cd7a
chore: make vite the default bundler for the admin (#19283) 2024-01-23 11:21:20 +00:00
Alexandre Bodin
778e8fb175 chore: update api test snapshot 2024-01-23 11:32:03 +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
af2ee25513 Merge remote-tracking branch 'origin' into v5/history 2024-01-23 09:46:51 +01:00
Josh
b1ba9b78df fix(releases): remove D&P checker 2024-01-22 14:21:43 +00:00
Bassel Kanso
07488ddc7c
Merge pull request #19250 from strapi/chore/refactor-env-to-config
enhancement: refactor env-only values into configuration
2024-01-22 16:00:41 +02:00
Jean-Sébastien Herbaux
2cfb5b7816
Merge pull request #19236 from strapi/feat/default-allowed-fields-to-empty 2024-01-22 14:56:05 +01:00
Josh
79aef88064 Merge branch 'develop' into v5/main 2024-01-22 13:39:48 +00: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
Josh
f6f04719a4
chore(cm): refactor to use redux-toolkit-query (#19281)
* chore: move existing react-query calls to redux-toolkit-query

* test: fix unit tests
2024-01-22 09:32:03 +00:00
Bassel Kanso
ad408f192d
Merge branch 'develop' into fix/relations-read-rbac 2024-01-22 10:56:21 +02:00
Josh
432b3fa1c9
chore: remove experimental logs for plugin CLI commands (#19287) 2024-01-22 08:03:27 +00:00
Ben Irvin
27295f2164
enh: adjust Playwright timeouts and allow setting from environment 2024-01-19 18:12:35 +01:00
Fernando Chávez
fb8e9fec2e
fix(content-releases): Don't allow pending releases with the same name (#19272)
* fix(content-releases): Don't allow pending releases with the same name

* mark feedback
2024-01-19 17:25:55 +01:00
markkaylor
49afd59115
Merge pull request #19284 from strapi/fix/format-code
fix(content-releases): format register file
2024-01-19 16:11:54 +01:00
Jamie Howard
17de676eaa
fix(content-manager): navigation issues (#19220)
* fix(content-manager): navigation issues

* fix(content-manager): saving the list configuration page

* fix(content-manager): saving the list configuration page

* fix(content-manager): navigate back from list view config

* fix(content-manager): to prop format & navigate using loader prop

* chore(content-manager): clean up
2024-01-19 15:04:45 +00:00
Mark Kaylor
d417f050ea fix(content-releases): format register file 2024-01-19 15:58:58 +01:00
markkaylor
d172fb07e2
chore(content-releases): remove future flags (#19245) 2024-01-19 15:54:10 +01:00
Fernando Chávez
0d0b078513
fix(content-releases): Send the populate entry when publish (#19262)
* fix(content-releases): Send the populate entry when publish

* populating entries manually

* prettier aws-s3 readme

* apply marks feedback
2024-01-19 15:09:15 +01:00
Simone
c1061cabb3
fix(content-releases): hide the More button in the CM Edit View with no permission (#19269)
* fix(content-releases): hide the More button in the Edit View when you don t have permission

* fix lint error
2024-01-19 14:58:24 +01:00
Bassel Kanso
3596a43c3b
Merge branch 'develop' into fix/relations-read-rbac 2024-01-19 13:58:54 +02:00
Bassel Kanso
a4e9327ef3 fix: add permissionsQuery to one relations 2024-01-19 13:34:48 +02:00