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
GuySartorelli
5699db306d
FIX: Remove limits in removeAll method.
...
Keeping a limit here results in a DatabaseException "This version of MariaDB doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'"
2021-07-12 17:14:46 +12: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
Guy Sartorelli
365998f445
ENH Add extension point for modifying readonly GridFields.
...
Developers may want to amend a gridfield (either by modifying its
components or amending the list) after it has been transformed to be
readonly.
One such modification may be replacing the GridFieldViewButton
with something else - because components are instantiated with the "new"
keyword this would be the only way to do that.
2021-06-29 11:23:58 +12:00
Guy Sartorelli
009a32fbec
ENH Allow GridField readonly components to be globally modified.
2021-06-29 11:21:41 +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
Will Rossiter
21c27154dd
BUG subTemplates should be an array
...
See `SSViewer::templates()`and `SSViewer::setTemplateFile()`
Methods assume this variable should be an array. If you call `setTemplateFile()` directly prior / instead of any `setTemplate` call then a PHP warning is generated `[Warning] array_merge(): Expected parameter 2 to be an array, null given`
2021-06-23 11:33:51 +12: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
Loz Calver
5bb5ef80ed
FIX: Form::defaultAction() didn't work if actions were in CompositeFields ( fixes #9975 )
2021-06-09 17:26:43 +01:00
Steve Boyd
06dbd5237b
[CVE-2020-26138] Validate custom multi-file uploads
2021-06-09 09:34:37 +12:00
Steve Boyd
3bb435c241
[CVE-2020-25817] Prevent loading of xml entities
2021-06-09 09:34:26 +12:00
Ingo Schommer
ecd58cbc69
DOCS Remove stray 3.x changelogs
...
It's too confusing to show *some* of them in https://docs.silverstripe.org/en/4/changelogs
2021-06-09 09:04:06 +12:00
Steve Boyd
82b62c6a5c
Merge branch '4.8' into 4
2021-06-08 13:47:33 +12:00
Steve Boyd
d5e4493851
Merge pull request #9972 from creative-commoners/pulls/4.8/changelog-tweaks
...
DOC Add recipe version
2021-06-08 13:47:04 +12:00
Steve Boyd
f1f9462961
DOC Add recipe version
2021-06-08 13:03:41 +12:00
Steve Boyd
54d832d963
Merge branch '4.8' into 4
2021-06-08 12:52:47 +12:00
Steve Boyd
d64c907de2
Merge pull request #9964 from creative-commoners/pulls/4.8/graphql-changelog-tweaks
...
DOC Tweak GraphQL changelog
2021-06-08 12:51:59 +12:00
Maxime Rainville
1fc1e71bbf
DOC Tweak 4.8.0 changelog GraphQL entry
2021-06-08 12:44:44 +12:00