mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 07:27:46 +00:00
* feat(releases): add release column to CM list view (#19926) * 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 * feat: inject release column in LV * fix: minor changes * fix: remove commented code * fix: upgraded styled components to fix the error: defaultProps circularly references * feat(content-releases): add to be released in column in list view * fix: types and 0 releases entry * fix: invalidate entries in release after bulk release or on deleting a release action * tests: e2e tests added for release column * tests: e2e updated to create new release and then add bulk release * fix: minor changes, test fixed * fix: delete release action invalite tag added back * fix: e2e test * apply josh feedback| --------- Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com> Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io> * chore(deps): revert sharp to 0.32.6 (#20066) * fix: fix boot issue when removing i18n from an app * chore: get i18n service outside the for loop * chore: remove empty spaces * v4.23.0 --------- Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com> Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com> Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io> Co-authored-by: markkaylor <mark.kaylor@strapi.io> Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
@strapi/provider-upload-local
Resources
Links
Installation
# using yarn
yarn add @strapi/provider-upload-local
# using npm
npm install @strapi/provider-upload-local --save
Configurations
This provider has only one parameter: sizeLimit.
Provider Configuration
./config/plugins.js
module.exports = ({ env }) => ({
// ...
upload: {
config: {
provider: 'local',
providerOptions: {
sizeLimit: 100000,
},
},
},
// ...
});
The sizeLimit parameter must be a number. Be aware that the unit is in bytes, and the default is 1000000. When setting this value high, you should make sure to also configure the body parser middleware maxFileSize so the file can be sent and processed. Read more here
Security Middleware Configuration
Special configuration of the Strapi Security Middleware is not required on this provider since the default configuration allows loading images and media from "'self'".