13407 Commits

Author SHA1 Message Date
Christian
8af582bab7
chore(admin): remove react-helmet (#19923)
* chore: remove react-helmet

* chore: lint fixes

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-27 10:02:40 +00:00
Alexandre BODIN
e78841e51a
Merge pull request #19931 from strapi/v5/facades
chore: cleanup public interface of strapi/strapi
2024-03-27 10:22:09 +01:00
Marc Roig
ae6b92318c
fix: sanitize file name when uploading image (#19913) 2024-03-27 09:47:35 +01:00
Simone
a4bd82ce45
fix(content-releases): fix flaky FE unit tests (#19927)
* fix(content-releases): fix flaky unit tests

* fix(content-releases): change Permission mock

* fix(content-releases): change CheckPermissions mock for all the CR unit tests
2024-03-27 08:21:40 +00:00
Alexandre Bodin
6a0886d6e0 chore: init facades & cleanup public interface of strapi/strapi 2024-03-26 21:18:33 +01:00
Marian Šimeček
83da60fad7 update sharp package 2024-03-26 18:27:15 +01:00
Madhuri Sandbhor
dd543b13a3
Feat(releases): Bulk Release (#19891)
* draft: bulk release injection zone added

* chore: implement cm-api to strapi-app & description component renderer

* feat: bulk delete action

* Revert "draft: bulk release injection zone added"

This reverts commit 2d9e8872e847327888d988009fa16f91b5f1c777.

* feat: bulk unpublish action added

* feat: default bulk publish action

* fix: variable renaming

* fix: on close of modal updated and refetched list on publish action completion

* fix: removed IZ publish and unpublish modals, e2e tests added for default bulk actions

* tests: e2e updated for publish button disabled state

* fix: bug fixed on publishing with already published entries

* fix: e2e tests

* fix: reverted IZ components

* feat: bulk release action added

* update: check right permissions to show add to release button

* update: bulk actions modal updated to accept content(modalbody+modalfooter), publish action and release actions updated accordingly

* fix: types

* test: bulk release e2e test added

* fix: e2e test

* fix: test case timeout added, notification component updated to not saved message

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-26 14:30:44 +01:00
Alexandre BODIN
c7385f2e9d
Merge pull request #19921 from strapi/dep/updateKoaCors
chore(deps): bump @koa/cors from 3.4.3 to 5.0.0
2024-03-26 13:47:25 +01:00
Marc Roig
343968041b
fix: relations lazy loading (#19932) 2024-03-26 13:44:21 +01:00
DMehaffy
63c0d83097
chore(deps): bump sanitize-html (and types) from 2.11.0 to 2.13.0 (#19922)
fixes https://www.npmjs.com/advisories/1096639
2024-03-26 07:55:55 +00:00
Derrick Mehaffy
9ffea33d6d chore(deps): bump @koa/cors from 3.4.3 to 5.0.0
fixes https://www.npmjs.com/advisories/1095223
2024-03-25 13:45:37 -07:00
Alexandre Bodin
8399dcd71b chore: refactor api registry 2024-03-25 21:38:17 +01:00
Alexandre Bodin
08b52e8741 chore: init zod usage 2024-03-25 21:01:38 +01:00
Ben Irvin
fd7c075839
enhancement(database)!: shorten db identifies and add internal migration 2024-03-25 18:02:30 +01:00
Alexandre Bodin
3f6a8109ea chore: introduce query-params service to remove strapi.global dep in utils 2024-03-25 14:03:32 +01:00
Simone
1e46ca9254
fix(admin): show purchase pages also with Cloud plans and change message (#19855) 2024-03-25 13:59:41 +01:00
Alexandre BODIN
5f5cb554de
Merge pull request #19906 from strapi/v5/traverse-get-model
chore: remove strapi global from traversal utils
2024-03-25 10:44:06 +01:00
Fernando Chávez
e037d5fc8a
Merge pull request #19865 from strapi/fix/releases-timezones
fix(content-releases): fix creation of utc time based when sending to back
2024-03-25 10:32:07 +01:00
Alexandre Bodin
fed8ac1cb7 chore: remove usage of strapi global in traverse 2024-03-25 08:52:10 +01:00
Alexandre Bodin
78d30d2e60 chore: reintegrate policy logic into core 2024-03-25 08:51:43 +01:00
Christian
10659c5ef9
Merge pull request #19870 from strapi/fix/dts-fk-constraint
Solve foreign key error on push transfers
2024-03-22 12:02:10 +01:00
Christian
aa9875d3f0
Merge branch 'develop' into fix/dts-fk-constraint 2024-03-22 11:18:05 +01:00
Alexandre Bodin
e68afb0e1e chore: inverse control of contentAPI sanitize & validate 2024-03-21 22:26:41 +01:00
Alexandre Bodin
eedd4c978a chore: migrate doc plugin to ts 2024-03-21 18:20:12 +01:00
markkaylor
c184e9d81f
fix(history): update type (#19878) 2024-03-21 17:02:13 +01:00
Jean-Sébastien Herbaux
c4ec62a341
Merge pull request #19880 from strapi/v5/types/fix-duplicate-strapi-app-identifier 2024-03-21 16:30:41 +01:00
Convly
b3aa3d3597 fix: remove duplicate StrapiApp identifier (export type) 2024-03-21 16:26:09 +01:00
Convly
2aabf12caa enhancement: set default param value for Schema.Attributes 2024-03-21 16:13:38 +01:00
Jean-Sébastien Herbaux
4d5f8c255d
Merge pull request #19860 from strapi/v5/types/fix-incorrect-imports 2024-03-21 16:01:26 +01:00
markkaylor
1c2f2708ff
feat(history): diff schemas to get unknown attributes (#19849) 2024-03-21 15:20:57 +01:00
Josh
40b339395f fix: content-manager test 2024-03-21 13:15:31 +00:00
Christian Capeans
0be352b4e0 fix: remove unnecessary imports 2024-03-21 13:44:35 +01:00
Christian Capeans
dfbcb2792b fix: resolve components uid 2024-03-21 13:39:07 +01:00
Josh
a233ba0144 fix: correctly export CM types from plugin 2024-03-21 12:03:52 +00:00
Fernando Chavez
47305a2c1e fix editing date 2024-03-21 12:38:23 +01:00
Ben Irvin
94ffb81baf
enhancement: log server start and shut down 2024-03-21 12:26:27 +01:00
Josh
5b18be6659 Merge branch 'v5/main' of github.com:strapi/strapi into v5/main 2024-03-21 10:45:52 +00:00
Josh
b278481fa8 Merge branch 'develop' into v5/main 2024-03-21 10:45:15 +00:00
Bassel Kanso
0cfbca2a60
Merge branch 'develop' into fix/dts-support-private-providers 2024-03-21 12:32:26 +02:00
Bassel Kanso
e2fea215bb fix: refactor signing url in DTS 2024-03-21 12:31:38 +02:00
Convly
a49b20ab8c fix: style 2024-03-21 11:07:26 +01:00
Convly
070367e552 Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/fix-incorrect-imports
# Conflicts:
#	packages/generators/generators/src/files/ts/plugin/server/bootstrap.ts
#	packages/generators/generators/src/files/ts/plugin/server/destroy.ts
#	packages/generators/generators/src/files/ts/plugin/server/register.ts
2024-03-21 11:06:38 +01:00
Fernando Chavez
0db935094e fix(content-releases): fix creation of utc time based when sending to back 2024-03-21 11:06:31 +01:00
Convly
4837089586 chore: export StrapiApp type and update usages in examples and templates
The StrapiApp is now explicitly exported as a type from StrapiApp.tsx. It is also utilized generators/app directories, refining the type of the app parameter in the bootstrap method from 'unknown' to 'StrapiApp'.
2024-03-21 11:05:17 +01:00
Bassel Kanso
5f827ef606 fix: add support for private upload providers 2024-03-21 11:48:30 +02:00
Convly
60a32fc438 chore: replace 'Strapi' type imports with 'Core.Strapi/LoadedStrapi' from '@strapi/types' 2024-03-21 09:49:48 +01:00
Alexandre Bodin
a9db1e42c6 chore: migrate upload plugin to typescript 2024-03-21 09:02:17 +01:00
Alexandre Bodin
7f269b7737 Merge branch 'v5/main' of github.com:strapi/strapi into v5/main 2024-03-20 22:20:03 +01:00
Alexandre Bodin
3ae4bfae7b chore: deps update 2024-03-20 22:19:20 +01:00
Ben Irvin
1dd95c24e2
fix: support array paths in config provider 2024-03-20 17:30:50 +01:00