Commit Graph

22780 Commits

Author SHA1 Message Date
Bram de Leeuw
ecb233012d
Fix error when executing method SSViewer::templates() when $subTemplates is still null
Without the fix this causes the framework to throw a 500 error:
`ERROR [Warning]: array_merge(): Expected parameter 2 to be an array, null given`

I noticed the error while doing a search with the `GridFieldAddExistingAutocompleter`. The error probably gets supressed on live environments.
2021-08-05 12:10:06 +02:00
Steve Boyd
715208539e
Merge pull request #9923 from danielpina/patch-1
DOC Update 01_ModelAdmin.md
2021-08-05 16:32:09 +12:00
Steve Boyd
80f97552e9
Merge pull request #9992 from Michael-HEIW/Silverstripe-lessons
DOC Update SilverStripe to Silverstripe
2021-08-05 15:48:13 +12:00
Steve Boyd
d120367b5a
Merge pull request #9999 from GuySartorelli/patch-2
ENH Use text field's title for validation messages.
2021-08-05 15:47:03 +12:00
Steve Boyd
6b514ebd0c
Merge pull request #10040 from GuySartorelli/patch-5
ENH: Avoid "new" keyword to instantiate CompositeValidator
2021-08-05 13:39:43 +12:00
Aaron Carlino
0c998fc5ce DOCS: Add Michal Kleiner as core committer 2021-08-04 22:32:25 +12:00
Steve Boyd
dc3b907f5f
Merge pull request #10029 from creative-commoners/pulls/4/titletip
NEW Title tips for form fields
2021-08-03 14:04:55 +12:00
GuySartorelli
cacd762357
Avoid "new" keyword to instantiate CompositeValidator
The CompositeValidator is Injectable, so we should allow project code to replace it here via the Injector.
2021-08-02 12:46:53 +12:00
Steve Boyd
a90d46dbc4 NEW Title tips for form fields 2021-07-31 14:45:24 +12:00
Dylan Wagstaff
ec6b010085
Merge pull request #10003 from Michael-HEIW/Silverstripe-dev-guides-part-3
DOC Update SilverStripe to Silverstripe CMS
2021-07-31 14:33:59 +12:00
Michael Pritchard
fdbd899766 DOC Update SilverStripe to Silverstripe CMS
- Remaining Developer Guides and Upgrading
- SilverStripe in a namespace or api has not been change
- To keep PRs easier no formatting was changed

Update merge conflics with two files

Update Silverstripe Ltd, Silverstripe Cloud and Silverstripe CMS

Silverstripe CMS Ltd > Silverstripe Ltd
Silverstripe CMS Platform > Silverstripe Cloud
Silverstripe CMS Framework > Silverstripe CMS

Resolve merge conflict

Remove Framework from Silverstripe CMS Framework

- 3 files

Change SilverStripe CMS to Silverstripe CMS
2021-07-30 13:54:15 +01:00
Daniel Hensby
0d909321b5
Merge pull request #10034 from vladimir-mencl-eresearch/patch-1
Fix link typo in 01_Caching.md
2021-07-27 21:51:12 +01:00
Vlad Mencl
e436e13dfc
Fix link typo in 01_Caching.md 2021-07-27 21:37:58 +12:00
Daniel Hensby
507c70e2f5
Merge pull request #10023 from xini/fix-destroy-session-on-logout 2021-07-20 09:13:20 +01:00
Florian Thoma
3e2ca3027b destroy session on logout instead of restarting it 2021-07-20 12:05:16 +10:00
GuySartorelli
4cd6b1434a
ENH Reduce duplication of code in GridField view and edit buttons. (#9953)
* ENH Reduce duplication of code in GridField view and edit buttons.

* Fix syntax error

Co-authored-by: Daniel Hensby <dhensby@users.noreply.github.com>

Co-authored-by: Daniel Hensby <dhensby@users.noreply.github.com>
2021-07-18 16:54:22 +01:00
Daniel Hensby
cc8287c99e
Merge pull request #10024 from sunnysideup/patch-16
DOCS better docblock for TinyMCEConfig::removeButtons
2021-07-18 11:30:43 +01:00
Nicolaas
c8c7ee4a08
DOCS better docblock for TinyMCEConfig::removeButtons 2021-07-18 11:30:29 +01:00
Andre Kiste
ae61be3a49
Merge pull request #10011 from creative-commoners/pulls/4/htmleditor-readonly-lazy-load
MNT Update unit test to expect loading attribute
2021-07-09 11:00:26 +12:00
Steve Boyd
436678209e
Merge pull request #9995 from creative-commoners/pulls/4/lazy-load-docs
Add docs for lazy loading
2021-07-09 10:59:52 +12:00
Steve Boyd
03b43227a5
Update 02_Images.md 2021-07-09 10:03:44 +12:00
Ingo Schommer
b2a85e7a02
FIX BASE_PATH fallback assumed wrong file location (#9977)
The file was moved back in 2017 with 3873e4ba00 (diff-8ce3f007bef0668c2c08320160362229abce9614025dc2a5b729d1b2b56ed3f7),
but the logic wasn't updated. That wasn't apparent since the fallback usually doesn't need to be triggered.
Whenever constants.php is included through the standard composer autoload, the debug_backtrace() logic took priority.

This is an important piece for using CoreKernel directly to boot Silverstripe,
which I'm currently attempting through a composer plugin (so a different autoloading path).
https://github.com/silverstripe/silverstripe-graphql-composer-plugin
2021-07-08 11:11:39 +12:00
Steve Boyd
f6e8d6e591 Merge branch '4.8' into 4 2021-07-07 14:03:02 +12:00
Steve Boyd
2e5908cf21
Merge pull request #10009 from creative-commoners/pulls/4.8/treedropdown-pdo
FIX Cast DBInt value to int
2021-07-07 12:21:50 +12:00
Steve Boyd
22f809840a MNT Update unit test to expect loading attribute 2021-07-06 17:27:54 +12:00
Steve Boyd
87d076faa6 FIX Cast DBInt value to int 2021-07-06 16:43:54 +12:00
Andre Kiste
8225b2e890
Update 02_Images.md 2021-07-02 11:34:18 +12:00
Ingo Schommer
e8c14a9d5b
Merge pull request #10005 from creative-commoners/pulls/4.8/10k
FIX Parse Enums with dots in their values
2021-07-02 09:33:29 +12:00
Steve Boyd
abf72c3aa8
Merge pull request #9998 from creative-commoners/pulls/4.8/duplicate-embeds
FIX Cache duplicate embeds separately
2021-07-01 16:55:55 +12:00
Steve Boyd
8e803bbcfc FIX Parse Enums with dots in their values 2021-07-01 16:00:08 +12:00
Aaron Carlino
29320841c9 DOCS: improve graphql inheritance docs 2021-06-30 19:38:11 +12:00
Aaron Carlino
0537e769fc DOCS: Fix line break 2021-06-30 19:11:46 +12:00
Aaron Carlino
f3e1cd4599
DOCS: new union and interface inheritance pattern (#9912)
* DOCS: new union and interface inheritance pattern

* Update docs for interface queries

* Remove config references in updateSchema
2021-06-30 19:05:18 +12:00
GuySartorelli
e4e4b0924d
ENH Use text field's title for validation messages.
Where a field has a title, this is preferred over the field name in validation messages, as that is the "name" of the field as presented to the user.
2021-06-29 17:45:01 +12:00
Steve Boyd
0b979dc345 FIX Cache duplicate embeds separately 2021-06-29 12:17:07 +12:00
André Kiste
b6d12bc144 Add docs for lazy loading 2021-06-29 11:45:06 +12:00
Dylan Wagstaff
82e0d8f24b
Merge pull request #9988 from Michael-HEIW/Silverstripe-Getting-Started
DOC update SilverStripe to Silverstripe
2021-06-25 16:00:09 +12:00
GuySartorelli
d710990e13
ENH Provide onBeforeRenderHolder extension hook.
GridField has onBeforeRender in its Field method, but that hardly ever gets called.
This commit adds the onBeforeRenderHolder extension hook that is normally available via FormField::FieldHolder().
2021-06-25 13:21:49 +12:00
Michael Pritchard
b5a1024b13 DOC update SilverStripe to Silverstripe
- Only Lessons this PR
- Apply consistent formatting (120 chars etc)
2021-06-24 09:11:34 +01:00
Michael Pritchard
53ef257ff4 DOC update SilverStripe to Silverstripe
- Start with Getting Started
- Apply consistent formatting (120 chars etc)
2021-06-22 09:41:48 +01:00
Dylan Wagstaff
bcddf557e1
Merge pull request #9987 from RVXD/patch-1
Instructions Memcached change
2021-06-21 22:25:52 +12:00
Remy Vaartjes
62a74e97cc
Instructions Memcached change
Change memcached yml to After: '#versionedcache' since versionedcache is also using this. With after #corecache it won't have any effect.
2021-06-21 10:57:10 +02:00
Steve Boyd
325021c2f8 Merge branch '4.8' into 4 2021-06-21 14:59:01 +12:00
Steve Boyd
e812999632 Merge branch '4.7' into 4.8 2021-06-21 14:58:40 +12:00
Andre Kiste
6046fda7da
Merge pull request #9983 from creative-commoners/pulls/4.7/cannot-manager-authenticated
ENH Remove wording for authenticated devices being manageable
2021-06-18 16:46:13 +12:00
Andre Kiste
852268990c
Merge pull request #9981 from creative-commoners/pull/4.8/blank-password-validation
FIX Ensure changing a password to blank is validated
2021-06-18 13:09:15 +12:00
Steve Boyd
b625ba99b3 ENH Remove wording for authenticated devices being manageable 2021-06-18 09:50:13 +12:00
Steve Boyd
7ed7ad0254 FIX Ensure changing a password to blank is validated 2021-06-17 12:05:20 +12:00
Dylan Wagstaff
5ba38520d7
Merge pull request #9957 from Pen-y-Fan/patch-4
[doc] Add additional information required to run the test
2021-06-16 22:20:06 +12:00
Dylan Wagstaff
bac0933133
Merge pull request #9956 from Pen-y-Fan/patch-3
[doc] Update to Silverstripe 4 convention
2021-06-16 22:18:03 +12:00