Commit Graph

22486 Commits

Author SHA1 Message Date
Damian Mooyman
2753516783
Fail over if calling deprecated method 2020-11-13 08:27:53 +13:00
Damian Mooyman
405a1f7cb6
ENHANCEMENT Better optimised class name migration with substantially fewer queries
Fixes #9752
2020-11-12 16:10:28 +13:00
Ingo Schommer
a3ae4922e4
Brand naming
Co-authored-by: Aaron Carlino <unclecheese@leftandmain.com>
2020-11-12 15:32:26 +13:00
Steve Boyd
f21515e0b1 Merge branch '4.7' into 4 2020-11-12 15:13:46 +13:00
Ingo Schommer
6306d2ede3 More specific "database missing" error message
It's misleading to imply that an .env doesn't exist when it's not what the actual check looks for.
It's also poor design to hardcode an unrelated error message in a "redirect to installer" function,
which only worked because this function was called from exactly one other place where this
error message was correct.
2020-11-12 13:51:24 +13:00
Ingo Schommer
b271d9dd89 FIX Don't swallow app init errors in test setup 2020-11-12 13:51:22 +13:00
Ingo Schommer
e02540c769
DOCS GraphQL v4 changelog note (#9762)
Context: https://github.com/silverstripe/silverstripe-graphql/issues/282
2020-11-12 12:48:05 +13:00
Robbie Averill
77bf211835
Merge pull request #9760 from andrewandante/patch-9
Link to the PHPCS standard used for framework
2020-11-09 14:54:07 -08:00
Andrew Aitken-Fincham
1e87528fa8
Update 14_PHP_Coding_Conventions.md 2020-11-10 11:35:13 +13:00
Andrew Aitken-Fincham
924d0ccb9e
Link to the PHPCS standard used for framework 2020-11-10 11:34:15 +13:00
Robbie Averill
743e641537
Merge pull request #9758 from purplespider/patch-4
01_Error_Handling: % wrapped in quotes
2020-11-06 09:29:39 -08:00
James Cocker
37a5c9af15
01_Error_Handling: % wrapped in quotes
Ensures % wrapped in quotes for Silverstripe 4.7 support
2020-11-06 16:08:53 +00:00
Steve Boyd
4d0dc9176b
DOC Document nullable DataObject in used on table extension guide (#9755) 2020-11-04 12:15:26 +13:00
Maxime Rainville
bf6a52b9c0
DOC Add some extra details to the changelog about toast notification and DataObject hydration (#9754) 2020-11-04 11:09:50 +13:00
Maxime Rainville
e5a55a98d7
Merge pull request #9747 from creative-commoners/pulls/4/usedontable-docs
DOC Document the file usage table
2020-11-04 10:59:05 +13:00
Garion Herman
a8aa072d26 DOC Tweak file usage changelog item, add to stable changelog 2020-11-04 10:32:56 +13:00
Steve Boyd
3cde64a7aa DOC Document the file usage table
Co-authored-by: Bryn Whyman <bryn.whyman@silverstripe.com>
2020-11-03 14:24:42 +13:00
Maxime Rainville
6c2713894a DOC Tweak 4.7.0-beta1 changelog 2020-11-02 16:41:15 +13:00
Maxime Rainville
044a6ea484 MNT Added 4.7.0-beta1 changelog 2020-11-02 15:59:16 +13:00
Maxime Rainville
a8d9bea442 ENH Update translations 2020-11-02 15:55:58 +13:00
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
Guy Marriott
bdeb0aab4f Merge pull request #9565 from tom890180/check_items_exist 2020-10-28 10:27:10 +02: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
Loz Calver
eedad00ebe NEW: Expose TreeDropdownField root node ID in schema
Forms part of a fix for silverstripe-admin#954
2020-10-22 15:14:15 +01:00
Christophe Coevoet
bc92b52c1c
Remove useless requirement
It does not make sense to require a psr-container-implementation when the package is itself providing an implementation, as it fulfills its own requirement.
2020-10-22 15:28:02 +02:00
Steve Boyd
0e064300d9 ENH Add disabled attribute to SelectionGroup 2020-10-22 21:15:50 +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
Ingo Schommer
fee31c2c6c DOCS Recommend moving .protected out of webroot
Note that it's currently unclear whether Silverstripe Cloud or CWP support this,
but it shouldn't block us from recommend this in the open source project.
It's documented in the "server requirements", which should make it pretty
clear that this requires you to have control over server configuration (or check with those that have).

See https://github.com/silverstripe/silverstripe-framework/issues/7710
2020-10-15 17:08:37 +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