Skip to content

Conversation

@didoda
Copy link
Member

@didoda didoda commented Mar 19, 2025

This provides a way to force the "upload max size" from the configuration Upload.uploadMaxSize. If no configuration is set, BEM calculates the value considering the min value between post_max_size and upload_max_filesize.

Examples:

'Upload' => [
    'uploadMaxSize' => -1, // no limit
    //'uploadMaxSize' => 10 * 1024 * 1024, // 10Mb
],

@didoda didoda added feature New feature or request release:patch labels Mar 19, 2025
@didoda didoda added this to the 5.x milestone Mar 19, 2025
@codecov
Copy link

codecov bot commented Mar 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (366016e) to head (bfbcd25).
Report is 28 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##              master     #1250   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity      1352      1363   +11     
===========================================
  Files             97        97           
  Lines           5315      5378   +63     
===========================================
+ Hits            5315      5378   +63     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@didoda didoda changed the title Upload max size from configuration Configuration Upload.uploadMaxSize Mar 19, 2025
@didoda didoda merged commit 6e6b8a7 into bedita:master Mar 21, 2025
9 checks passed
@didoda didoda deleted the feat/upload-max-size-from-configuration branch March 21, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request release:patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant