Steve Boyd
9a92488ad7
DEP Use PHPUnit 11
2024-09-18 13:53:44 +12:00
Steve Boyd
ec2bcfdf0d
DEP Upgrade to symfony 7
2024-09-04 09:40:59 +12:00
Guy Sartorelli
379bd67a13
DEP Limit PHP support for CMS 6 ( #11345 )
2024-08-22 12:17:16 +12:00
Steve Boyd
6d57fddae8
Merge branch '5' into 6
2024-08-20 11:11:44 +12:00
Steve Boyd
16a8132bec
DEP Use symfony for IPUtils
2024-08-20 09:25:22 +12:00
Guy Sartorelli
be0eab2bae
NEW Allow DataObject classes to define scaffolded relation formfields ( #11269 )
2024-06-07 17:06:01 +12:00
Steve Boyd
165a65a017
Merge branch '5' into 6
2024-03-04 11:22:28 +13:00
Guy Sartorelli
4f3282bf2a
Merge pull request #11157 from lekoala/patch-46
...
FIX use composer runtime api
2024-02-28 09:16:25 +13:00
Thomas Portelange
2921d68a57
Update composer.json
2024-02-27 10:40:28 +01:00
Thomas Portelange
071333f774
add composer/semver
2024-02-26 10:10:20 +01:00
Thomas Portelange
2600b26617
add composer-runtime-api
2024-02-26 09:20:22 +01:00
Steve Boyd
20f0f1a091
DEP Dependencies for CMS 6
2024-02-19 18:28:35 +13:00
Guy Sartorelli
a00bdd727f
MNT Run module-standardiser ( #11121 )
2024-02-13 14:33:23 +13:00
Guy Sartorelli
7f71695335
NEW Wire up symfony/validator ( #11123 )
2024-02-02 13:15:32 +13:00
Nick
e456de11b0
Fix clobbering of the upload size validation ( #10059 )
...
* Fix clobbering of the upload size validation
When the validation is set here like this, it overrides validation which has already been setup with a simple '*' rule for the size based on PHP.
If you've defined in the sites yml config something like
SilverStripe\Assets\Upload_Validator:
default_max_file_size:
'[image]': '2m'
'*' : '1m'
then it will not be respected.
If you review SilverStripe\Assets\Upload_Validator and check the getAllowedMaxFileSize method, you'll see the sizing will be populated (if it hasn't been done before).
You can see it fail by;
- Setup a new SilverStripe site.
- Set your PHP to allow max post / max upload size of 10mb.
- Add the above config to your sites yml file and flush.
- In the CMS you'll be able to upload a 5MB file, when you shouldn't.
* Test that FileField will use size validation if defined
Couple of tests which prove a fix so the FileField and others will use the default_max_file_size setting
* Fix variable name in last commit
This is what happens when you refactor in the github window.
Fix the variable names. This will get squashed once merged.
* Updates the pr - white space and non deprecated method for byte conversion
Remove extra white space to appease the CS. Use the non deprecated method for memstring2bytes
* White space fixes for the phpcs
White space fixes for the phpcs
* Ensure that "memstring2bytes" can handle if an empty or value with no number is passed in
* DEP Bump assets constraint to ensure that change is also pulled in
---------
Co-authored-by: Guy Sartorelli <guy.sartorelli@silverstripe.com>
2024-01-08 15:49:41 +13:00
Steve Boyd
61d764c8fc
MNT Run module-standardiser
2023-08-14 15:45:26 +12:00
Steve Boyd
aafdde1e13
MNT Fix broken merge-up
2023-05-24 14:27:33 +12:00
Steve Boyd
186800ae9e
Merge branch '4' into 5.0
2023-05-24 14:18:46 +12:00
Steve Boyd
e554516193
DEP Explicitly require psr/http-message ^1
2023-05-24 12:26:48 +12:00
Guy Sartorelli
f7a1551946
DEP Conflict with symfony/process if not PHP 8.1 compatible ( #10764 )
2023-05-01 14:45:23 +12:00
Steve Boyd
63c2460f72
Merge branch '4' into 5.0
2023-03-30 13:20:03 +13:00
Guy Sartorelli
600f188287
MNT Revert erroneous dependency changes ( #10739 )
2023-03-28 16:46:46 +13:00
Guy Sartorelli
77cbe20ba9
MNT Update development dependencies
2023-03-10 16:29:44 +13:00
Guy Sartorelli
75b7622a21
MNT Update release dependencies
2023-03-10 16:29:40 +13:00
Guy Sartorelli
a387c9b9e4
MNT Update development dependencies
2023-03-10 12:21:27 +13:00
Maxime Rainville
9868eca7eb
DEP Bump masterminds/html5 to 2.7.6 to fix deperaction warning ( #10714 )
2023-03-03 10:48:49 +13:00
Guy Sartorelli
99dc6df38a
API Replace thirdparty difflib with maintained lib
2023-02-08 14:59:33 +13:00
Guy Sartorelli
7c20ade548
DEP Replace thirdparty simpletest with symfony domcrawler
2023-02-02 13:31:45 +13:00
Maxime Rainville
a65d470e93
Merge pull request #10647 from creative-commoners/pulls/5/dom-crawler
...
ENH Use masterminds/html5 for HTMLValue
2023-01-18 11:38:07 +13:00
Steve Boyd
d7ddb00254
ENH Use masterminds/html5 for HTMLValue
2023-01-18 10:58:53 +13:00
Steve Boyd
05fc1df896
DEP Allow psr/container ^1.1 or ^2.0
2023-01-17 00:20:57 +13:00
Guy Sartorelli
3f3772dc66
DEP Remove unnecessary bramus/monolog-colored-line-formatter
2023-01-10 15:57:33 +13:00
Steve Boyd
156c6ca595
DEP Update minimum version of oscarotero/html-parser
2022-12-22 09:48:57 +13:00
Steve Boyd
c1a773310d
ENH PHP 8.2 support
2022-12-21 14:44:47 +13:00
Sabina Talipova
3601b7ab8b
DEP Upgrade installer dependencies ( #10534 )
2022-10-21 09:59:34 +13:00
Steve Boyd
2e85674ccc
NEW Migrate from swiftmailer/swiftmailer to symfony/mailer
2022-10-19 15:16:14 +13:00
Steve Boyd
a87a657367
API Update translation to use symfony 6
2022-09-08 11:52:34 +12:00
Steve Boyd
c9bc01473c
API Update caching to use symfony 6
2022-09-07 16:08:54 +12:00
Guy Sartorelli
e6fb9634b5
DEP Revert change to dependency that was made during a merge-up ( #10479 )
2022-09-01 14:48:18 +12:00
Guy Sartorelli
715415d5c8
Merge branch '4' into 5
2022-08-31 13:37:25 +12:00
Steve Boyd
d55683d02b
FIX Ensure PHP 8.1 compatible version of oscarotero/html-parser is installed
2022-08-18 10:49:07 +12:00
Guy Sartorelli
3284c06703
API Remove PHPUnit 5.7 compatability hacks
2022-08-12 10:52:56 +12:00
Steve Boyd
470753194c
DEP Update dependencies for CMS 5
2022-08-09 17:27:04 +12:00
Sergey Shevchenko
6975815513
config: add symfony/filesystem to base dependencies
2022-08-05 21:26:45 +12:00
Steve Boyd
eb62db6dba
DEP Update core dependencies for CMS 5
2022-08-04 17:41:32 +12:00
Guy Sartorelli
1253ab82af
Merge pull request #10415 from kinglozzer/10413-php81-enums
...
NEW: Add support for autoloading PHP 8.1 enums
2022-07-27 11:38:51 +12:00
Loz Calver
6e6db8a27a
DEP: Bump minimum version of nikic/php-parser for enum support
2022-07-26 11:08:55 +01:00
Steve Boyd
c80e10f892
FIX PDO transaction in PHP 8, add GitHub Actions CI ( #10360 )
2022-06-27 15:30:03 +12:00
Steve Boyd
59b2a3ff8b
DEP Add guzzle 7 requirement
2022-05-18 11:57:34 +12:00
Steve Boyd
c72efa0d3f
ENH Use guzzle for oembed
2022-05-11 16:37:59 +12:00