Commit Graph

23835 Commits

Author SHA1 Message Date
Thomas Portelange
3e5d99dedc
Prevent backslash in class name
since the default code is using get_called_class, you can end up with \ in the class name which is an escape character for css selectors
this update convert for example

even valCMS_ACCESS_SilverStripe\VersionedAdmin\ArchiveAdmin
to
even valCMS_ACCESS_SilverStripe-VersionedAdmin-ArchiveAdmin

ArchiveAdmin class should probably implement     private static $required_permission_codes = 'CMS_ACCESS_ArchiveAdmin '; also
2023-01-30 10:26:22 +01:00
Guy Sartorelli
0f4014650c
NEW Add easy way to dismiss all toasts in behat (#10661) 2023-01-30 10:30:54 +13:00
Sabina Talipova
0fee1aa584
Merge pull request #10652 from creative-commoners/pulls/5/limit-0
ENH Zero limit no results
2023-01-27 10:51:55 +13:00
Maxime Rainville
fc6c45df57 MNT Add test to SQLSelect for Zero limit 2023-01-27 10:00:56 +13:00
Maxime Rainville
5090f49ecc MNT Add more test coverage to DataList::limit() 2023-01-27 10:00:56 +13:00
Maxime Rainville
d1e0e1e305 ENH Make limit method return no results when zero is provided 2023-01-27 10:00:41 +13:00
Guy Sartorelli
4e92d25b86
Merge pull request #10639 from creative-commoners/pulls/5/no-return-type-will-change
API Removed #[\ReturnTypeWillChange] annotations
2023-01-27 09:49:38 +13:00
Maxime Rainville
944722f34f API Removed #[\ReturnTypeWillChange] annotations 2023-01-26 18:10:05 +13:00
Guy Sartorelli
8d6fa44a54
Merge pull request #10658 from creative-commoners/pulls/5/array-email
API Allow array style email addresses
2023-01-26 15:55:52 +13:00
Steve Boyd
ec4a8b88e5 API Allow array style email addresses 2023-01-26 14:40:13 +13:00
Maxime Rainville
5e2293109a
Merge pull request #10653 from creative-commoners/pulls/5/remove-legacy-upgrader
MNT Remove legacy upgrader config
2023-01-23 10:35:36 +13:00
Steve Boyd
77301408d8 MNT Remove legacy upgrader config 2023-01-20 17:05:41 +13:00
Guy Sartorelli
b784e243de
Merge pull request #10538 from xini/feature-5-trailing-slash-config-and-redirect
SS5: add trailing slash config and redirect
2023-01-20 15:24:45 +13:00
Florian Thoma
fbcf7dc3e7
API Normalise trailing slashes for all paths
NOTE: There will be additional related PRs required for at least
silverstripe/cms and silverstripe/admin.

Co-authored-by: Guy Sartorelli <guy.sartorelli@silverstripe.com>
2023-01-20 10:31:14 +13:00
Guy Sartorelli
a8c374becb
Merge pull request #10651 from creative-commoners/pulls/5/merge-up-from-4
Merge up from 4 to 5
2023-01-19 09:46:09 +13:00
Maxime Rainville
b6b0bcea9f Merge branch '4' into 5 2023-01-18 22:16: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
Maxime Rainville
c430011f19
Merge pull request #10648 from creative-commoners/pulls/4/deprecate-html5
API Deprecate HTML4Value
2023-01-17 22:20:07 +13:00
Michal Kleiner
77df71f2f2
Merge pull request #10650 from creative-commoners/pulls/5/remove-translatable
ENH Remove unused Translatable code
2023-01-17 20:30:58 +13:00
Steve Boyd
1a59bf50d1 ENH Remove unused Translatable code 2023-01-17 14:42:40 +13:00
Sabina Talipova
8ad2e5d9fb
Merge pull request #10649 from creative-commoners/pulls/5/psr-container-1
DEP Allow psr/container ^1.1 or ^2.0
2023-01-17 08:44:23 +13:00
Steve Boyd
05fc1df896 DEP Allow psr/container ^1.1 or ^2.0 2023-01-17 00:20:57 +13:00
Steve Boyd
b973c88648 API Deprecate HTML4Value 2023-01-16 15:28:23 +13:00
Mojmir Fendek
2c105cffc9
ENH: saveInto() new extension points. (#10636)
* ENH: saveInto() new extension points.
2023-01-13 09:43:22 +13:00
Sabina Talipova
6d4542561b
BUG Check is_callable parent methods before invoke (#10637) 2023-01-12 09:37:48 +13:00
Maxime Rainville
2868edd8d9
Merge pull request #10635 from creative-commoners/pulls/5/fix-behat
MNT Fix using treedropdownfield in behat
2023-01-11 11:34:27 +13:00
Michal Kleiner
0b34d8f4a2
Merge pull request #10638 from creative-commoners/pulls/5/no-colored-line-formatter
DEP Remove unnecessary bramus/monolog-colored-line-formatter
2023-01-10 17:16:35 +13:00
Guy Sartorelli
3f3772dc66
DEP Remove unnecessary bramus/monolog-colored-line-formatter 2023-01-10 15:57:33 +13:00
Guy Sartorelli
5f9d1b1b31
MNT Fix using treedropdownfield in behat 2023-01-10 15:32:28 +13:00
Guy Sartorelli
62f71a321d
Merge pull request #10631 from xini/patch-5
fix: optional return value for paginator state
2023-01-09 10:47:17 +13:00
Florian Thoma
bb8e3b8386
fix: optional return value for paginator state
`$state->getData()->getData('GridFieldPaginator')' (line 598) returns null by default.
2023-01-02 15:32:16 +11:00
Guy Sartorelli
0d3953ba3b
Merge pull request #10628 from creative-commoners/pulls/5/html-parser
DEP Update minimum version of oscarotero/html-parser
2022-12-22 10:07:17 +13:00
Steve Boyd
156c6ca595 DEP Update minimum version of oscarotero/html-parser 2022-12-22 09:48:57 +13:00
Guy Sartorelli
5bf6835b3e
Merge pull request #10614 from creative-commoners/pulls/5/php82
ENH PHP 8.2 support
2022-12-21 15:39:32 +13:00
Steve Boyd
c1a773310d ENH PHP 8.2 support 2022-12-21 14:44:47 +13:00
Guy Sartorelli
3564f98c9c
Merge pull request #10616 from s-kerdel/10615-Respect-SS_BASE_URL-for-CLI-RequestBuilder
FIX Respect SS_BASE_URL scheme in CLI environment
2022-12-20 11:38:12 +13:00
Shiva Kerdel
4a1eb0c158
ISSUE-10615: Respect SS_BASE_URL scheme in CLI environment.
Additionally set _SERVER variables for HTTPS and SSL to respect SS_BASE_URL scheme when executing builds and tasks through CLI.
This should solve base tags not being provided with the correct HTTP scheme. This is important to resolve mixed content issues and insecure requests.
2022-12-20 11:13:02 +13:00
Guy Sartorelli
0d662ba95f
Merge branch '4.12' into 4 2022-12-19 01:38:09 +00:00
Guy Sartorelli
ce53318d26
Merge branch '4.12-release' into 4.12 2022-12-19 01:38:05 +00:00
Guy Sartorelli
6327482bc7
Merge pull request #10619 from creative-commoners/pulls/5/monolog-deprecation
MNT Import Deprecation class
2022-12-14 16:24:59 +13:00
Steve Boyd
b4bd0ea073 MNT Import Deprecation class 2022-12-14 16:10:01 +13:00
Guy Sartorelli
b14de847a5
API Make the public directory mandatory (#10617) 2022-12-14 16:08:47 +13:00
Guy Sartorelli
fa75a36267
Merge branch '4' into 5 2022-12-14 15:34:44 +13:00
Guy Sartorelli
aefa37f6ae
Merge pull request #10610 from creative-commoners/pulls/5/absolute-link
FIX Cast absoluteUrl() argument to string
2022-12-14 15:14:25 +13:00
Steve Boyd
700288d5ca FIX Cast absoluteUrl() argument to string 2022-12-14 11:24:42 +13:00
Daniel Hensby
bf440e42e7
Merge pull request #10607 from creative-commoners/pulls/5/broken-builds
MNT Linting
2022-12-08 10:19:33 +02:00
Steve Boyd
55f8fce12b MNT Linting 2022-12-08 17:12:32 +13:00
Sabina Talipova
53c0147f11
API Remove deprecated code (#10594) 2022-12-08 10:44:47 +13:00
Guy Sartorelli
809bc51661
Merge pull request #10600 from creative-commoners/pulls/5/sortraw
API Create orderBy() method to handle raw SQL
2022-12-07 14:25:04 +13:00