14150 Commits

Author SHA1 Message Date
Bassel Kanso
4fcf1cc8d1 fix: ts issue 2024-06-06 16:10:23 +03:00
Bassel Kanso
394cd1906c feat: only allow nesting components that don't exceed the total limit of nesting 2024-06-06 15:31:31 +03:00
Simone
8b56147542
Replace lock icon with lightning icon in the Settings and Navbar links (#20413)
* feat(navlinks): replace lock icon with lightning icon

* Feat(navLinks): revert lockIcon property name

* feat(navlinks): fix badge icon style

* feat(navlinks): add an explicit timeout to pass e2e tests

* feat(navlinks): skip the e2e tests failing in the CI

* feat(navlinks): remove attempts to fix the e2e tests faiing
2024-06-05 17:28:39 +02:00
markkaylor
fae4cffeda
Merge pull request #20439 from strapi/releases/5.0.0-beta.9
v5.0.0-beta.9
2024-06-05 16:27:24 +02:00
Mark Kaylor
0a5a7b9147 v5.0.0-beta.9 2024-06-05 16:16:34 +02:00
markkaylor
670141ad3d
Merge pull request #20437 from strapi/releases/4.24.5
v4.24.5 - develop
2024-06-05 15:50:43 +02:00
Jean-Sébastien Herbaux
adb9db5660
Fix: Query Validation in Files' Admin API (#20389)
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2024-06-05 15:47:11 +02:00
Mark Kaylor
66cff7f86d v4.24.5 2024-06-05 15:31:43 +02:00
Bassel Kanso
a546a9072c feat: expand nested components to 6 levels of depth 2024-06-05 12:39:12 +03:00
Rémi de Juvigny
dd3311938a
fix: prevent duplicate history versions on publish (#20415)
* fix: prevent duplicate history versions on publish

* fix: build failing

* chore: fix e2e tests
2024-06-04 08:28:29 -04:00
Bassel Kanso
36ab26cd2e
Merge pull request #20385 from strapi/fix/transfer-dz
Fix transfer DZ and repeatable components
2024-06-04 15:23:59 +03:00
Jean-Sébastien Herbaux
714ea0a15a
fix: allow '.default' to be ignored during schema validation (#20421) 2024-06-04 14:05:51 +02:00
Josh
40f9762848
chore: make experimental-dev example app (#20327) 2024-06-04 12:56:50 +01:00
Bassel Kanso
c654df06a6
Merge branch 'v5/main' into fix/transfer-dz 2024-06-03 11:57:45 +03:00
Bassel Kanso
069bb8d99a fix: export filterValidRelationalAttributes 2024-06-03 11:48:08 +03:00
Rémi de Juvigny
f09eabe242
feat: customize localization label actions in history (#20407)
* fix: label actions on history relations

* feat: display custom label action

* chore: use cloneElement

* fix: globe icon showing on on non localized cts

* chore: add todo comment

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>

* fix: typo in translation

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-06-03 04:37:37 -04:00
Alexandre BODIN
1b03d7e2c0
Merge pull request #19590 from med8bra/fix/strapi-csp-merge
fix(security-middleware): fix config merging with defaults
2024-06-03 10:10:30 +02:00
Bassel Kanso
ec1b520bac chore: add tests for relation fitlers 2024-06-03 10:45:09 +03:00
Madhuri Sandbhor
20380c3536
fix: validation error fixed for simple errors (#20395) 2024-05-31 14:41:47 +02:00
Simone
9e68799d22
chore(deps): bump @strapi/design-system from 1.18.0 to 1.19.0 (#20408)
* chore(deps): bump @strapi/design-system from 1.18.0 to 1.19.0

* chore(deps): bump design-system typescript version
2024-05-31 14:04:23 +02:00
Jean-Sébastien Herbaux
04a0109973
Allow morph-like attributes to request a count (populate) (#20404) 2024-05-30 19:16:31 +02:00
Madhuri Sandbhor
08850ba05e
Fix: bulk publish modified entry status (#20399)
* fix: updated publication status for modified entry

* fix: handled modified entry to unpublish bulk action along with bulk publish
2024-05-30 14:40:49 +02:00
Convly
c579e0b62b fix: lint 2024-05-30 13:36:56 +02:00
Convly
33413bf56c fix: style 2024-05-30 13:34:00 +02:00
Convly
51ac889697 Merge branch 'v5/main' of github.com:strapi/strapi into v5/main 2024-05-30 13:12:39 +02:00
Convly
481550a0d4 Merge branch 'refs/heads/develop' into v5/main
# Conflicts:
#	.github/actions/check-pr-status/package.json
#	docs/docs/docs/01-core/admin/05-features/authentication.md
#	docs/docusaurus.config.js
#	docs/yarn.lock
#	examples/getstarted/package.json
#	examples/kitchensink-ts/package.json
#	examples/kitchensink/package.json
#	examples/plugins/workspace-plugin/package.json
#	lerna.json
#	package.json
#	packages/admin-test-utils/package.json
#	packages/cli/create-strapi-app/package.json
#	packages/cli/create-strapi-starter/package.json
#	packages/cli/create-strapi/package.json
#	packages/core/admin/admin/src/App.tsx
#	packages/core/admin/admin/src/components/AuthenticatedApp.tsx
#	packages/core/admin/admin/src/components/Context.tsx
#	packages/core/admin/admin/src/components/LeftMenu.tsx
#	packages/core/admin/admin/src/components/PrivateRoute.tsx
#	packages/core/admin/admin/src/content-manager/pages/ListSettingsView/index.jsx
#	packages/core/admin/admin/src/content-manager/pages/ListView/components/BulkActions/PublishAction.tsx
#	packages/core/admin/admin/src/content-manager/pages/ListView/components/TableCells/CellContent.tsx
#	packages/core/admin/admin/src/features/Configuration.tsx
#	packages/core/admin/admin/src/index.ts
#	packages/core/admin/admin/src/pages/ProfilePage.tsx
#	packages/core/admin/admin/src/pages/UseCasePage.tsx
#	packages/core/admin/ee/server/src/services/metrics.ts
#	packages/core/admin/package.json
#	packages/core/admin/server/src/bootstrap.ts
#	packages/core/content-manager/package.json
#	packages/core/content-releases/admin/src/components/CMReleasesContainer.tsx
#	packages/core/content-releases/admin/src/components/ReleaseListCell.tsx
#	packages/core/content-releases/admin/src/index.ts
#	packages/core/content-releases/admin/src/pages/ReleaseDetailsPage.tsx
#	packages/core/content-releases/admin/src/pages/tests/ReleaseDetailsPage.test.tsx
#	packages/core/content-releases/admin/src/services/release.ts
#	packages/core/content-releases/package.json
#	packages/core/content-releases/server/src/controllers/release.ts
#	packages/core/content-type-builder/package.json
#	packages/core/core/.gitignore
#	packages/core/data-transfer/package.json
#	packages/core/database/package.json
#	packages/core/database/src/query/helpers/populate/apply.ts
#	packages/core/email/package.json
#	packages/core/helper-plugin/package.json
#	packages/core/permissions/package.json
#	packages/core/strapi/package.json
#	packages/core/types/package.json
#	packages/core/upload/admin/src/components/AssetDialog/BrowseStep/tests/__snapshots__/index.test.jsx.snap
#	packages/core/upload/admin/src/pages/App/ConfigureTheView/components/tests/__snapshots__/Settings.test.jsx.snap
#	packages/core/upload/admin/src/pages/App/ConfigureTheView/tests/__snapshots__/ConfigureTheView.test.jsx.snap
#	packages/core/upload/package.json
#	packages/core/upload/server/services/provider.js
#	packages/core/upload/server/services/upload.js
#	packages/core/upload/server/src/services/image-manipulation.ts
#	packages/core/upload/server/tsconfig.eslint.json
#	packages/core/utils/package.json
#	packages/generators/app/package.json
#	packages/generators/app/src/utils/db-client-dependencies.ts
#	packages/generators/generators/package.json
#	packages/plugins/cloud/package.json
#	packages/plugins/color-picker/package.json
#	packages/plugins/documentation/package.json
#	packages/plugins/graphql/package.json
#	packages/plugins/i18n/admin/src/components/LocaleListCell.tsx
#	packages/plugins/i18n/admin/src/contentReleasesHooks/releaseDetailsView.ts
#	packages/plugins/i18n/admin/src/index.ts
#	packages/plugins/i18n/package.json
#	packages/plugins/sentry/package.json
#	packages/plugins/users-permissions/package.json
#	packages/providers/email-amazon-ses/package.json
#	packages/providers/email-mailgun/package.json
#	packages/providers/email-nodemailer/package.json
#	packages/providers/email-sendgrid/package.json
#	packages/providers/email-sendmail/package.json
#	packages/providers/upload-aws-s3/package.json
#	packages/providers/upload-cloudinary/package.json
#	packages/providers/upload-local/package.json
#	packages/utils/api-tests/package.json
#	packages/utils/eslint-config-custom/package.json
#	packages/utils/logger/package.json
#	packages/utils/tsconfig/package.json
#	packages/utils/typescript/package.json
#	packages/utils/upgrade/LICENSE
#	packages/utils/upgrade/bin/upgrade.js
#	packages/utils/upgrade/package.json
#	packages/utils/upgrade/packup.config.ts
#	scripts/front/package.json
#	tests/e2e/constants.ts
#	tests/e2e/tests/content-releases/releases-page.spec.ts
#	yarn.lock
2024-05-30 13:12:27 +02:00
Simone
1b8629849e
fix(content-manager): pass params to the discard endpoint (#20384) 2024-05-30 10:53:07 +02:00
markkaylor
6049796485
fix(content-manager): remove i18n search params when navigating (#20382) 2024-05-30 09:24:35 +02:00
Convly
bb2e16aa06 v4.24.4 2024-05-29 16:52:07 +02:00
Rémi de Juvigny
826f263c58
fix: add clone actions to history (#20387)
* fix: clone action not appearing in history

* chore: add api tests
2024-05-29 09:09:54 -04:00
Madhuri Sandbhor
adfa9612c9
Fix: bulk publish modal and related issues (#20386)
* fix: added bulk actions

* chore: migrate bulk publish & unpublish to v5

* chore: change findLocales type to accept arrays

* chore: fix lint error

* chore: migrate bulkDelete to v5 (#20161)

* chore: migrate bulkDelete to v5

* chore: change findLocales type to accept strings array

* fix: docs prettier styles

* chore: remove console.log

* enhancement: migrate countManyDraftRelations to v5

* feat: bulk delete with locale selection option

* fix: bulk unpublish working without locale support

* test: e2e tests updated

* fix: documents api change, deleteMany tags updated, test skipped

* chore: renaming

* test: reverting e2e tests for delete action changes

* feat: publish action changes

* fix: reverting publish action changes

* fix: hide add to release as its not ready to be migrated

* fix: error message updated

* fix: tests updated for useDocumentAction

* fix: updated request params

* fix: publish action added

* fix: publish action changes with documentId

* fix: reverting wrong commit message

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>

* fix: comments updated

* chore: renaming

* chore: add type to bulk action actions (#20256)

* chore: actionType renamed to just type

* fix: added missing import

* test: fixed

* fix(content-manager): edit entry button on bulk publish modal

* fix: validationError message type is not as expected

* fix: ts error

* only fetch entries when modal is opened

* fix(content-releases): use status to show the published instead of publishedAt

* fix: alignment fix, update selectedEntries to reflect count, reset selectedEntries on locale change

* fix: fixed type error

---------

Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-29 15:01:55 +02:00
Bassel Kanso
6ecc67b1e9 fix: check if it ends with _cmps 2024-05-29 15:04:32 +03:00
markkaylor
7b7a51fc89
fix(webhooks): ensure id sent to client is always a string (#20377) 2024-05-29 10:59:20 +02:00
Madhuri Sandbhor
4885913e54 Merge branch 'v5/main' into fix/scheduling-update-error-message 2024-05-29 10:00:33 +02:00
Bassel Kanso
5985207d3b fix: prevent transfering of component links 2024-05-28 16:03:03 +03:00
Madhuri Sandbhor
be0adb1bd8
enhancement: bulk publish migration to v5 (#20255)
* fix: added bulk actions

* chore: migrate bulk publish & unpublish to v5

* chore: change findLocales type to accept arrays

* chore: fix lint error

* chore: migrate bulkDelete to v5 (#20161)

* chore: migrate bulkDelete to v5

* chore: change findLocales type to accept strings array

* fix: docs prettier styles

* chore: remove console.log

* enhancement: migrate countManyDraftRelations to v5

* feat: bulk delete with locale selection option

* fix: bulk unpublish working without locale support

* test: e2e tests updated

* fix: documents api change, deleteMany tags updated, test skipped

* chore: renaming

* test: reverting e2e tests for delete action changes

* feat: publish action changes

* fix: reverting publish action changes

* fix: hide add to release as its not ready to be migrated

* fix: error message updated

* fix: tests updated for useDocumentAction

* fix: updated request params

* fix: publish action added

* fix: publish action changes with documentId

* fix: reverting wrong commit message

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>

* fix: comments updated

* chore: renaming

* chore: add type to bulk action actions (#20256)

* chore: actionType renamed to just type

* fix: added missing import

* test: fixed

* fix(content-manager): edit entry button on bulk publish modal

* fix: validationError message type is not as expected

* fix: ts error

* only fetch entries when modal is opened

* fix(content-releases): use status to show the published instead of publishedAt

---------

Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-28 14:23:09 +02:00
Bassel Kanso
e4b2a92811
Merge pull request #20172 from strapi/v5/remove-root-level-nested-params
Remove root level nested params
2024-05-28 10:56:21 +03:00
Ben Irvin
04c4983e3d
chore: replace plugin cli with external strapi/sdk-plugin package 2024-05-28 08:24:20 +02:00
Rémi de Juvigny
79490c1229
chore: adds and fixes e2e for content history (#20098)
* chore: add e2e test for unknown relation

* chore: add single type test

* chore: fix history e2e tests

* fix: releases matching two fields

* chore: await success notifications
2024-05-27 11:23:55 -04:00
Bassel Kanso
4fe3c1b4c4 fix: populate syntax in media test
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2024-05-27 16:40:15 +03:00
Jean-Sébastien Herbaux
c80d4d9b20
[TS] Update position attribute to be optional in relation reordering types (#20370) 2024-05-27 09:33:47 +02:00
markkaylor
f75e3c6d67
chore(audit-logs): migrate audit logs to v5 (#20251) 2024-05-27 09:30:23 +02:00
Marc Roig
eb316acc5c
fix: create locale column when migrating from v4 (#20261)
* fix: create locale column

* fix: typo

* fix: rewrite comment

* feat: create locale column migration
2024-05-24 15:09:53 +02:00
Convly
cffa227999 v5.0.0-beta.8 2024-05-22 17:53:58 +02:00
Convly
8d33a8c285 Merge tag 'v4.24.3' into develop
v4.24.3
2024-05-22 16:46:48 +02:00
Convly
aa35157a65 v4.24.3 2024-05-22 16:43:50 +02:00
Bassel Kanso
ff5a4cf03b fix: lint issue 2024-05-22 13:45:21 +03:00
Bassel Kanso
a31bbe7211 Merge branch 'v5/main' into v5/remove-root-level-nested-params 2024-05-22 13:13:56 +03:00
Bassel Kanso
8dea6a6594 fix: use fragment populate in countDraftRelations
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2024-05-22 13:10:58 +03:00
Ben Irvin
5277eaf60c
fix(ctb): validate pluralName and collectionName correctly (#20347) 2024-05-22 09:59:58 +02:00