Commit Graph

22150 Commits

Author SHA1 Message Date
Sam Minnee
fb9e6e51a6 FIX: Switch to sminnee fork of phpunit 5.7
This provides 5.7.28 with fixes for PHP 8 support.
2020-09-15 17:40:42 +12:00
Sam Minnee
57bdef3b2e FIX: Fix test mistakenly labelling content as name arguments in data provider 2020-09-15 17:40:42 +12:00
Sam Minnee
b3dd27953b NEW: Allow league/csv ^9
Hopefully this has better PHP 8 support.
2020-09-15 17:40:42 +12:00
Sam Minnee
09fb33e657 FIX: Avoid passing non-class to get_parent_class()
Throws errors in PHP 8
2020-09-15 17:40:42 +12:00
Sam Minnee
5cb3d07f44 FIX: Avoid pass-literal-by-reference warning in PHP 8 2020-09-15 17:40:42 +12:00
Sam Minnee
622cf8b914 FIX: Drop parameter names in Injector instantiation to preserve behaviour in PHP 8
Fixes #9667
2020-09-07 17:24:00 +12:00
Sam Minnee
e0f3797489 FIX: Remove deprecated & non-functional default argument config
This throws deprecation errors on PHP 8.

Fixes #9666
2020-09-07 17:24:00 +12:00
Garion Herman
08010d5933 NEW Support namespace tokens in ClassInfo::parse_class_spec()
The T_NAME_QUALIFIED and T_NAME_FULLY_QUALIFIED tokens are introduced
in PHP 8, and encapsulate theentire FQCN, replacing the previous
structure of a group of T_STRINGs and T_NS_SEPARATORs.
2020-09-07 17:23:56 +12:00
Sam Minnee
af40eee3ad TEST Add nightly (aka PHP 8) to build matrix 2020-09-07 17:13:02 +12:00
Robbie Averill
1eb66e2258
Merge pull request #8915 from creative-commoners/pulls/4.4/helping-performance-exist
NEW DataQuery::exists now generates EXISTS SQL statements
2020-09-01 13:09:02 -07:00
Guy Marriott
ff04f97149
Add return type
Co-authored-by: Robbie Averill <robbie@averill.co.nz>
2020-09-01 08:43:36 -07:00
Guy Marriott
3575070b9d FIX Removing selected column detail only if having is empty (MySQL "feature") 2020-09-01 16:21:43 +12:00
Guy Marriott
f9fc4f6641 FIX Allow for BC for DB adapters that return an actual boolean when selecting boolean literals in SQL 2020-09-01 16:20:07 +12:00
Guy Marriott
ef0af7ae9c FIX Exists statements can't remove GROUP BY if there's a HAVING clause as it might rely on an aggregate 2020-09-01 16:20:07 +12:00
Guy Marriott
91591373d6 NEW Add exists as a method to the DataQuery API that will generate an SQL "exists" query
The exists query in SQL allows the query optimiser (engine specific) to execute these queries much faster - often only needing the presence of an index to return "yes it exists".
2020-09-01 16:20:07 +12:00
Garion Herman
6b78428fbb
Merge pull request #9651 from open-sausages/pulls/4/test-mysql-connection-collation
ENH Test coverage for MySQL connection collation
2020-08-30 22:44:28 +12:00
Serge Latyntcev
f57d5cc807 ENH Test coverage for MySQL connection collation 2020-08-30 13:21:38 +12:00
Steve Boyd
7474a76d1b
Merge pull request #9657 from creative-commoners/pulls/4/expose-recipe-core-version
NEW Add recipe-core to default VersionProvider module list
2020-08-28 10:36:58 +12:00
Jackson Darlow
699913406b
NEW Added a dev view to output the current config from dev/config (#9542)
* #3236 Added dev/config view

* Refactored use of echo to

* Added config/audit for matching missing property definitions in the current config

* Minor enhancements to dev/config implementation
2020-08-28 07:19:03 +12:00
Garion Herman
9aa2642d03
Merge pull request #9639 from creative-commoners/pulls/4/embed-performance
NEW Cache embed shortcodes
2020-08-27 12:15:24 +12:00
Garion Herman
680adbd10b NEW Add recipe-core to default VersionProvider module list
Recipe versions are a more useful indicator than the framework module
version, so if installed we want to show the recipe-core version. The
cms module expands upon this to include recipe-cms.
2020-08-26 14:49:11 +12:00
Mojmir Fendek
7c84171d5b
NEW: Improved task runner UI. (#9540)
Co-authored-by: Sacha Judd <sjudd@silverstripe.com>
2020-08-26 11:11:13 +12:00
Garion Herman
c143941e44
Merge pull request #9628 from creative-commoners/pulls/4/version-provider
NEW Additional logic for VersionProvider
2020-08-21 14:25:23 +12:00
Ingo Schommer
bffb7e2577 Revert "DOCS MFA authentication"
Underlying feature isn't merged yet,
see https://github.com/silverstripe/silverstripe-installer/issues/280

Revert "Update docs/en/02_Developer_Guides/09_Security/03_Authentication.md"

This reverts commit 72a02a3d0e.

Revert "Update docs/en/02_Developer_Guides/09_Security/03_Authentication.md"

This reverts commit c54f8e4864.

Revert "DOCS MFA authentication"

This reverts commit 5fe5833fb2.
2020-08-20 18:40:59 +12:00
Ingo Schommer
f8b4570cb1
DOCS MFA authentication (#9536)
See https://github.com/silverstripe/silverstripe-installer/issues/280
2020-08-20 18:33:36 +12:00
Ingo Schommer
72a02a3d0e
Update docs/en/02_Developer_Guides/09_Security/03_Authentication.md
Co-authored-by: Serge Latyntsev <dnsl48@gmail.com>
2020-08-20 18:32:57 +12:00
Ingo Schommer
c54f8e4864
Update docs/en/02_Developer_Guides/09_Security/03_Authentication.md
Co-authored-by: Serge Latyntsev <dnsl48@gmail.com>
2020-08-20 18:32:39 +12:00
Sam Minnée
b810b7d5c9
API: Allow for user-created objects to have values passed in the constructor (#8591) 2020-08-20 12:28:31 +12:00
Steve Boyd
eed2f59c37 Merge branch '4.6' into 4 2020-08-19 11:37:25 +12:00
Steve Boyd
317cc788c2
Merge pull request #9643 from creative-commoners/pulls/4.6/backport-fix-groupdropdowntest
Backport fix to GroupedDropdownFieldTest
2020-08-19 11:36:50 +12:00
Steve Boyd
00a60432f6 Backport fix to GroupedDropdownFieldTest 2020-08-19 11:21:46 +12:00
Garion Herman
3c67a0d8e4 Merge branch '4.6' into 4 2020-08-13 15:53:32 +12:00
Steve Boyd
842d9ca07a
Merge pull request #9640 from creative-commoners/pulls/4.6/fix-461-changelog-header
DOC Drop broken syntax from Overview header in 4.6.1 changelog
2020-08-13 15:52:23 +12:00
Garion Herman
fb5bec58a5 DOC Drop broken syntax from Overview header in 4.6.1 changelog 2020-08-13 15:48:18 +12:00
Garion Herman
fb5c464a27 Merge branch '4.6' into 4 2020-08-13 15:14:27 +12:00
Garion Herman
ec7cfb8414 Added 4.6.1 changelog 2020-08-13 10:09:50 +12:00
Steve Boyd
7304acb171 NEW Cache embed shortcodes 2020-08-12 12:14:05 +12:00
Steve Boyd
e19ef240f7 NEW VersionProvider now supports recipes as well as modules 2020-08-11 13:04:48 +12:00
Maxime Rainville
4b5d2c3cc2
BUG Fix GroupedDropdownFieldTest::testReadonlyValue (#9637) 2020-08-07 17:08:40 +12:00
Sam Minnée
8195bb480d
Merge pull request #9630 from silverstripe-terraformers/feature/with-time
NEW: WithMockTime callback.
2020-08-07 10:16:30 +12:00
Robbie Averill
0351037fa1
Merge pull request #9633 from open-sausages/pulls/4/https-on-default-controller-template
BUG only use HTTPS link on the default controller template
2020-08-06 09:01:36 -07:00
Robbie Averill
ac5adcf307
Merge pull request #9635 from open-sausages/pulls/4/fix-broken-build-in-Grouped-drown-down-field
BUG Fix GroupedDropdownFieldTest::testReadonlyValue
2020-08-06 08:54:02 -07:00
Maxime Rainville
e31565cb71 BUG Fix GroupedDropdownFieldTest::testReadonlyValue 2020-08-06 22:50:40 +12:00
Maxime Rainville
0ed40e9b0e BUG only use HTTPS link on the default controller template 2020-08-06 13:52:10 +12:00
Mojmir Fendek
c2ed6a4cd6 NEW: WithMockTime callback. 2020-08-06 11:18:39 +12:00
Robbie Averill
a166ba0ebd
Merge pull request #9632 from open-sausages/pulls/4/tweak-getter-setter-doc
DOC Correct the example for getters/setters
2020-08-05 15:26:57 -07:00
Maxime Rainville
9f94c739c1 DOC Correct the example for getters/setters 2020-08-06 10:15:14 +12:00
Steve Boyd
65c3295917 Merge branch '4.6' into 4 2020-08-05 10:52:49 +12:00
Loz Calver
e368c370ff
Merge pull request #9627 from creative-commoners/pulls/4.6/try-catch-config-db-paths
FIX Handle DatabaseAdapterRegistry cache exception
2020-08-03 09:19:02 +01:00
Steve Boyd
b59f75dd50 FIX Handle DatabaseAdapterRegistry cache exception
Co-authored-by: Loz Calver <lozcalver@bigfork.co.uk>
2020-08-03 10:57:27 +12:00