silverstripe-userforms/code
Dylan Wagstaff 0ff72734dd NEW Maximum email attachment size can be configured
Previously hard coded size of 1MB meant any file larger was excluded
from recipient emails - often confusing for CMS admins configuring an
advanced use case for a userform, expecting to recieve files to begin a
business process external to the website.

The configuration has been made to support PHP 'shorthand byte values'
https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
in the configuration option. This give flexibility around oddly
specific limits, but can also be used to set as 0, disabling attachments

Tests are updated to set up a known state before testing, as to be able
to accurately assert the results. One should test the class they intend,
not an Injector service of some unknown element.
2022-10-24 20:12:58 +13:00
..
Control NEW Maximum email attachment size can be configured 2022-10-24 20:12:58 +13:00
Extension ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
Extensions Fix directory for UsedOnTableExtension namespace, to be psr-4 compliant. New dir rather than namespace to prevent backwards-incompat. 2021-04-02 16:04:17 +11:00
Form ENH Save modified form data when adding new field 2022-05-23 14:01:31 +12:00
FormField ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
Model FIX submission performance issues with large data 2022-10-23 23:53:46 +13:00
Modifier ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
Task ENH PHP 8.1 compatibility 2022-04-13 13:52:56 +12:00
UserForm.php FIX submission performance issues with large data 2022-10-23 23:53:46 +13:00