silverstripe-userforms/code
Dylan Wagstaff 0ce94b75f5 FIX correctly calculate MaxFileSizeMB
The inputted value is intended to represent megabytes, but is only
multiplied by 1024 - meaning it'd represent kilobytes. This is then used
to compare with the PHP setting number, which is bytes in the range of
megabytes. Kilobytes are always under megabytes, meaning size
comparisons elsewhere in the code are always true.
We should ensure the calculation for validation is correct.
2020-11-01 11:31:23 +13:00
..
Control Merge branch '5.6' into 5.7 2020-09-22 10:29:09 +12:00
Extension BUG Fix confirm upload form modal on Elemental block 2020-06-11 15:17:13 +12:00
Form Minor linting adjustment. 2020-01-14 12:28:04 +13:00
FormField FIX Show custom validation message for checkbox and radio groups 2020-07-21 17:30:55 +12:00
Model FIX correctly calculate MaxFileSizeMB 2020-11-01 11:31:23 +13:00
Modifier API Implement upgrader cleanup, array declaration changes, class injection, rename some models 2017-08-22 16:40:15 +12:00
Task Merge branch '5.4' into 5.5 2020-05-26 15:11:46 +12:00
UserForm.php BUG Remove old boostrap 3 CSS class 2020-09-16 11:38:33 +12:00