Commit Graph

22257 Commits

Author SHA1 Message Date
Aaron Carlino
51b4a76bd8 Graphql doc fix 2020-11-01 13:10:10 +13:00
Maxime Rainville
773145d87b
Merge pull request #9735 from creative-commoners/pulls/4/dataobject-usage
NEW DataObject related objects service
2020-10-29 11:46:41 +13:00
Steve Boyd
6e77d5eada NEW DataObject related objects service 2020-10-29 09:29:26 +13:00
Steve Boyd
cf79be8e2c
Merge pull request #9744 from creative-commoners/pulls/4/improve-scalar-response-handling
Scalar fixes
2020-10-28 18:33:33 +13:00
Garion Herman
e89ae93ac9 FIX Harden hasMethod() against invalid values
This method should typehint the incoming value once union types are
available, but for now this ensures that method_exists() is not called
on scalar values, which is unsupported in PHP 8.
2020-10-28 09:34:33 +13:00
Garion Herman
91f831cd0b ENH Improve scalar response handling
This resolves an issue where method_exists() was being called on scalar
response values, which is not supported in PHP 8.
2020-10-26 13:20:47 +13:00
Bernard Hamlin
f00f64120d
NEW Allow setting sql_mode via config (#9721) 2020-10-22 15:01:30 +13:00
Maxime Rainville
8c0ff67c55 Merge branch '4.6' into 4 2020-10-22 10:07:19 +13:00
Steve Boyd
ed8bbd23ff
Merge pull request #9738 from open-sausages/pulls/4/fix-symfony-yml
BUG Escape % symbole for Symphony 4
2020-10-21 09:18:31 +13:00
Maxime Rainville
b24dc73497 BUG Escape % symbole for Symphony 4 2020-10-20 18:50:59 +13:00
Aaron Carlino
c1cda2b113
WIP: Add new graphql 4 docs (#9652)
* DOCS: Add new graphql 4 docs

* Reorganise docs

* Docs done

* Basic graphql index page

* TOC for getting started

* show folders on graphql index page

* Add middleware note

* Docs update

* Update docs to reflect flushless schema

* Docs updates

* Docs for getByLink

* Query caching docs

* Docs on nested operations

* update docs for new graphql dev admin

* Docs for configurable operations

* Replace readSiteTrees with readPages

* Schema defaults docs

* Docs for inherited plugins

* Docs for customising *

* Docs for field whitelisting

* Change whitelist word

* New docs on modelConfig

* Document dev/build extension

* Document default/global plugins

* Document new input type fields config

* Apply suggestions from code review

Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>

* Note about when procedural schema gets built

* Fix link

* Apply suggestions from code review

Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>

* DOCS Note about plugins in custom queries

* DOCS Note about filter and custom resolvers

* DOCS Note about canview paging

* DOCS Updated guidance on _extend

See https://github.com/silverstripe/silverstripe-graphql/issues/296

* Apply suggestions from code review

Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>

* DOCS Pre-release warning

Co-authored-by: Ingo Schommer <ingo@silverstripe.com>
Co-authored-by: Andre Kiste <bergice@users.noreply.github.com>
Co-authored-by: Ingo Schommer <me@chillu.com>
2020-10-20 10:56:17 +13:00
Garion Herman
4670cd3af9
Merge pull request #9726 from creative-commoners/pulls/4/fly-er-system
DEP Remove unused league/flysystem requirement
2020-10-19 14:15:38 +13:00
Garion Herman
45d0f1d384
Merge pull request #9737 from creative-commoners/pulls/4/php-8-support
MNT Expand Composer requirements to support PHP 8, Update Behat config to support Symfony 4
2020-10-16 22:20:18 +13:00
Andre Kiste
3620eccdee
Merge pull request #9728 from creative-commoners/pulls/4/docs-rfc-9687-commit-prefixes
DOC RFC-9687 Commit Prefixes conventions
2020-10-16 12:35:46 +13:00
Garion Herman
758e60c22f MNT Update Behat config to support Symfony 4 2020-10-16 12:03:07 +13:00
Garion Herman
7278c43267 MNT Expand Composer requirements to support PHP 8 2020-10-14 15:31:53 +13:00
Garion Herman
79a03b2b05 DOC Add upgrade note about Flysystem dependency shift 2020-10-14 15:30:45 +13:00
Serge Latyntsev
b71b605251
Merge pull request #9730 from creative-commoners/pulls/4/provisional-changelogs
DOC Add note about creating provisional changelogs following minor releases
2020-10-13 13:22:54 +13:00
Garion Herman
256bd53557 DEP Remove unused league/flysystem requirement
This has been shifted to silverstripe/assets instead.
2020-10-13 12:15:56 +13:00
wernerkrauss
941df19e88
ENH Improve YamlReader exception message (#9731)
Fixes #9690
2020-10-12 22:38:13 +13:00
Serge Latyntsev
01b5551a5b
Merge pull request #9733 from creative-commoners/pulls/4.6/fix-tinymce-image-configs
FIX TinyMCEConfig image size presets handle incorrect values
2020-10-12 18:06:27 +13:00
Serge Latyntcev
58ed426653 FIX TinyMCEConfig image size presets handle incorrect values 2020-10-12 17:31:59 +13:00
Serge Latyntsev
e7d52d3f91
Merge pull request #9732 from creative-commoners/pulls/4/fix-tinymce-image-configs
FIX TinyMCEConfig image size presets handle incorrect values
2020-10-12 17:28:17 +13:00
Serge Latyntcev
034bace213 FIX TinyMCEConfig image size presets handle incorrect values 2020-10-12 16:54:29 +13:00
Garion Herman
ce3e642b12
Merge pull request #9729 from creative-commoners/pulls/4/provisional-4.7.0-changelog
DOC Add provisional 4.7.0 changelog
2020-10-12 13:03:19 +13:00
Garion Herman
d8b725dc80 DOC Add provisional 4.7.0 changelog [ci skip] 2020-10-12 11:17:33 +13:00
Garion Herman
1837c19833 DOC Add note about creating provisional changelogs following minor releases 2020-10-09 16:46:30 +13:00
Serge Latyntcev
9a1959607f DOC RFC-9687 Commit Prefixes conventions 2020-10-09 11:09:44 +13:00
Sam Minnée
c5d676fa4e
FIX Avoid test failure on use of narrow-NBSP (#9725)
For whatever reason (different locale version) my local dev env uses
narrow-NBSPs (Unicode 8239) rather than regular NBSP in its localised
strings. This patch makes the tests robust against this difference.

Note that this occurred running the tests in Lando.

Co-authored-by: Robbie Averill <robbie@averill.co.nz>
2020-10-09 10:33:51 +13:00
Robbie Averill
bb7cf17e3c
Merge pull request #9722 from creative-commoners/pulls/4/fix-versioned-member-auth-tests
FIX Hardcode PasswordValidator config in VersionedMemberAuthenticatorTest
2020-10-05 21:39:58 -07:00
Garion Herman
198b25c900 FIX Hardcode PasswordValidator config in VersionedMemberAuthenticatorTest 2020-10-06 16:07:24 +13:00
Aaron Carlino
544b137328 Merge branch '4.6' into 4 2020-10-05 14:03:05 +13:00
Aaron Carlino
8053bc7a72 Merge branch '4.5' into 4.6 2020-10-05 13:49:06 +13:00
Guy Marriott
a6529dd202
Merge pull request #9719 from creative-commoners/pulls/4/doc-partial-caching-aggregates-gotcha
DOC Document partial template caching aggregates recommendation
2020-10-04 16:41:29 -07:00
Serge Latyntcev
c2d8d2790f DOC Document partial template caching aggregates recommendation 2020-10-05 11:29:19 +13:00
Sam Minnée
4ab36ac210
Merge pull request #9717 from robbieaverill/pulls/4.7/improve-stuff
Update spaces in syntax, single quotes, early returns where possible
2020-10-02 19:45:05 +13:00
Robbie Averill
7184703a57
Merge pull request #9516 from alessandromarotta/isLockectOut-call-LoginAttempt-getByEmail
isLockedOut() in Member.php call LoginAttempt::getByEmail but it passes to it the unique_identifier_field instead $this->Email
2020-10-01 17:43:30 -07:00
Robbie Averill
4d54a2110f Update spaces in syntax, single quotes, early returns where possible 2020-10-01 17:36:14 -07:00
Guy Marriott
478d487f0e
Merge pull request #9707 from robbieaverill/pulls/4.7/exceptions 2020-10-01 17:16:43 -07:00
Daniel Hensby
fe45655a2b
Merge pull request #9698 from sminnee/pulls/symfony4
Symfony 4 support
2020-09-30 23:22:51 +01:00
Sam Minnée
887b7d8af8
Merge pull request #9714 from creative-commoners/pulls/4/did-not-have-namespace
FIX Fix namespace parsing under PHP 8, tweak readability of parser
2020-09-30 17:15:25 +13:00
Garion Herman
8ad4c4e024 FIX Fix namespace parsing under PHP 8, tweak readability of parser
$hadNamespace was ambiguously named, so the original PHP 8 support
update marked it true when it was strictly meant to indicate that a
namespace separator token had been encountered, resulting in bungled
parsing of complex class specs like Class(["arg" => true]).
2020-09-30 16:16:30 +13:00
Aaron Carlino
2042d1c6b0
MINOR: Allow DevelopmentAdmin to have subclasses (#9702) 2020-09-26 21:21:16 +12:00
Dylan Grech
effe5c2e6f
#9706: Updated doc for case-sensitive filter (#9710)
* #9706: Updated doc for case-sensitive filter

* #9706: Updated doc for case-sensitive filter

Co-authored-by: Dylan Grech <dylangrech@innovativecodes.com>
2020-09-26 10:02:21 +12:00
Robbie Averill
ae1e17edec Update exception assertions in tests and remove deprecated annotations 2020-09-25 10:06:49 -07:00
Robbie Averill
27bd5d12e3 ENH Replace E_USER_ERROR errors with exceptions 2020-09-24 23:51:21 -07:00
Robbie Averill
9753d835fd
Merge pull request #9708 from RuthAdele/patch-3
Add namespacing to YAML example
2020-09-24 23:13:30 -07:00
RuthAdele
4e22277c69
Add namespacing to YAML example 2020-09-25 13:58:12 +09:30
Sam Minnee
8b3ef8f85a FIX: recipe-testing is only needed for behat.
The other dependencies that are required are already included in
require-dev.
2020-09-21 19:10:08 +12:00
Sam Minnee
9247bc8b79 NEW: Add Symfony 4 support alongside Symfony 3
- Remove duplicate key in YML file
 - Remove deprecated yaml dump indentation set (the constructor arg works in both ^3 and ^4)

Fixes #9274
2020-09-21 19:09:08 +12:00