Commit Graph

22014 Commits

Author SHA1 Message Date
scttw
34f5004b26
Update 04_Rendering_Templates.md
The method of including a Layout template into a full template file isn't documented, and isn't intuitive especially if you have come from the SS3 way of doing it via $this->customise($data)->renderWith(['MyCustomTemplate', 'Page']);  Adding this as an example will help people add layout templates to Controller actions, and form responses where a custom layout needs to inherit it's parent template.
2020-07-08 16:15:32 +10:00
Daniel Hensby
162e4b7ff8
Merge pull request #9574 from patricknelson/patch-4
DOCS Update PHP support info
2020-07-03 12:16:32 +01:00
Patrick Nelson
92f4f1fa15
DOCS Update PHP support info
As of SS v4.5.0, PHP 7.1 is required. Updating that and also adding note that versions 4.0-4.4 still supported PHP 5.6.
2020-07-03 11:58:28 +01:00
rdigitalg
3bf89b2d13
FIX Try Catch for embeded media (#9424)
* Try Catch for embeded media
* added missing namespaces, translatable message INVALID_URL
* generate tag only once
* catch after closing bracket
* space after comma
* Update src/View/Shortcodes/EmbedShortcodeProvider.php
* Linting
Co-authored-by: ivan@digitalgarage.ro <ivan@digitalgarage.ro>
Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
Co-authored-by: Loz Calver <kinglozzer@gmail.com>
2020-07-03 13:04:54 +12:00
Loz Calver
ceeba9f1ae
Merge pull request #9194 from sminnee/manymany-add-joinobject
FIX: Set many-many-through joinRecord on newly added records.
2020-07-02 09:30:53 +01:00
Sam Minnee
01d3b4fd96 FIX: Set many-many-through joinRecord on newly added records.
When many-many-through relations are queried, a joinRecord is set on
each DataObject in the list to provide the extra fields defined on
the connector object. This didn’t previously happen when the record
was first add()ed to a list. This fixes that bug.
2020-07-02 15:18:12 +12:00
Robbie Averill
6446b50c4a
DOCS Add Cheddam to the core committers 2020-06-30 19:34:46 -07:00
Steve Boyd
a0d00f8951
Merge pull request #9339 from DorsetDigital/Patch-9338-sake-which
Add check for existence of 'which' command before proceeding with the…
2020-06-30 17:32:14 +12:00
Jackson Darlow
57d75c89d5
NEW Added onAfterBuild (#9545)
* Added onAfterBuild
* Remove arbitrary argument
2020-06-30 16:56:14 +12:00
Maxime Rainville
87c041b92d
DOC Add extra information on how to customise a file HTTP response
* DOC Add extra information on how to customise an file HTTP response
* Apply suggestions from code review
Co-authored-by: Robbie Averill <robbie@averill.co.nz>
2020-06-30 15:54:42 +12:00
Steve Boyd
16914bfdfc
Merge pull request #9531 from alessandromarotta/patch-1
DBField Documentation correction
2020-06-30 13:00:20 +12:00
Guy Marriott
993f1fd754
DOCS Add details about the recommended community support options
* DOCS Add details about the recommended community support options
* DOCS Update the order of the suggested community support channels
* Apply suggestions from code review
Co-authored-by: Maxime Rainville <maxime@silverstripe.com>
2020-06-30 11:28:45 +12:00
Guy Marriott
161e0a0b4f
Merge pull request #9565 from tom890180/check_items_exist 2020-06-29 12:09:10 -07:00
Robbie Averill
82f096496e
Merge pull request #9566 from purplespider/patch-3
Fixes getCMSFields TabSet example
2020-06-29 09:27:17 -07:00
James Cocker
b4a3cc700a
Fixes getCMSFields TabSet example
Current example results in: "[Emergency] Uncaught InvalidArgumentException: TabSet can only contain instances of other Tab or Tabsets"
2020-06-29 16:37:26 +01:00
Tom Yrjas
00ee8d8abf BUGFIX: Re-declare $items to be an ArrayList if it's null
getBackLink() modified to tolerate empty ArrayList
2020-06-29 16:07:24 +03:00
Tom Yrjas
824b5e0b67 BUGFIX: Ensure $items isn't null in GridFieldDetailForm_ItemRequest->Breadcrumbs() prior to performing operations on it. 2020-06-29 14:13:49 +03:00
Loz Calver
64688dbc10
Merge pull request #9563 from shoosah/patch-1
Update 02_HTTP_Cache_Headers.md
2020-06-29 09:46:28 +01:00
Loz Calver
787e1cd6f6
Merge pull request #9562 from mr-macedawg/patch-2
Doc Update Formatting and Casting SS_DateTime to DBDateTime
2020-06-29 09:40:28 +01:00
Sherry Shahbazi
04872742eb
Update 02_HTTP_Cache_Headers.md 2020-06-29 15:54:17 +12:00
mr-macedawg
d7885adf34
Update 09_Casting.md
Changed SS_DateTime to DBDatetime as SS_DateTime was changed to DBDateTime in version 4.0
2020-06-29 12:15:01 +10:00
Sam Minnée
714c4cba9c
Merge pull request #9546 from andrewandante/feature/disambiguate_first_methods_on_lists
deprecate First and Last in order to disambiguate for array lists
2020-06-23 14:46:29 +12:00
Andrew Aitken-Fincham
09dca5fa9e
Update deprecation notice to 5.0.0
Co-authored-by: Robbie Averill <robbie@averill.co.nz>
2020-06-18 21:40:20 +01:00
Andrew Aitken-Fincham
34f660a311
Update src/View/SSViewer_BasicIteratorSupport.php
Co-authored-by: Robbie Averill <robbie@averill.co.nz>
2020-06-18 21:39:32 +01:00
Guy Marriott
4df45f4fe0
Merge pull request #9550 from jakxnz/pulls/4/docs-regarding-cached-get-ones
Added documentation regarding some cached ORM scenarios
2020-06-17 09:04:07 -07:00
Jackson Darlow
6813c0f7e8 Added documentation regarding some cached ORM scenarios 2020-06-17 17:17:04 +12:00
Guy Marriott
9eadef19d3
Merge pull request #9544 from jakxnz/pulls/4.6/dataextension-doc-blocks 2020-06-15 23:32:59 -07:00
Guy Marriott
1a6e2da995
Merge pull request #9543 from jakxnz/pulls/4.6/undeclared-private-statics 2020-06-15 23:16:57 -07:00
Andrew Aitken-Fincham
7c95237e8d update template docs, move deprecation to 5.0, capitalise Is 2020-06-15 12:25:13 +01:00
Garion Herman
6161e8bf07 Merge branch '4.6' into 4 2020-06-15 15:04:09 +12:00
Garion Herman
1094077320 Added 4.6.0-rc1 changelog 2020-06-15 14:31:31 +12:00
Garion Herman
c4e2d0f45c Update translations 2020-06-15 12:35:00 +12:00
Jackson Darlow
dadac00c19
Added array declaration to GridFieldDetailForm_ItemRequest::$formActions
Co-authored-by: Robbie Averill <robbie@averill.co.nz>
2020-06-15 11:45:33 +12:00
Jackson Darlow
1edd8fd754
Added array declaration to DevelopmentAdmin::$registered_controllers
Co-authored-by: Robbie Averill <robbie@averill.co.nz>
2020-06-15 11:45:10 +12:00
Jackson Darlow
fcc7a9ce5b
Added array declaration to VersionProvider::$modules
Co-authored-by: Robbie Averill <robbie@averill.co.nz>
2020-06-15 11:44:43 +12:00
Robbie Averill
213e97f7b9
Merge pull request #9547 from jakxnz/pulls/4/mention-session-timeout-in-security-docs
Added mention of Session.timeout to secure_coding docs
2020-06-12 09:30:26 -07:00
Jackson Darlow
ae1a883b32 Added mention of Session.timeout to secure_coding docs 2020-06-12 14:43:37 +12:00
Jackson Darlow
dfe8d23ffc Added extra type-hints to DataExtension DocBlocks 2020-06-12 13:45:14 +12:00
Andrew Aitken-Fincham
2e0e04f701 fix deprecation notices 2020-06-12 01:38:24 +01:00
Steve Boyd
7d87ba72d5 Merge branch '4.6' into 4 2020-06-12 11:20:53 +12:00
Steve Boyd
4daccfab67 Merge branch '4.5' into 4.6 2020-06-12 11:20:13 +12:00
Andrew Aitken-Fincham
bac826bc06 deprecate First and Last in order to disambiguate for array lists 2020-06-11 23:45:42 +01:00
Jackson Darlow
2175de9560 Adjusted DataExtension DocBlocks to another degree of detail 2020-06-12 10:19:15 +12:00
Jackson Darlow
0d6572a2d6 Added DocBlocks to DataExtension methods 2020-06-11 17:04:45 +12:00
Jackson Darlow
84235c6518 Adjusted missing definitions to only include definitions referenced by framework 2020-06-11 14:28:47 +12:00
Jackson Darlow
dfc01457d6 #3236 Added missing config definitions (private statics) 2020-06-11 13:35:15 +12:00
Robbie Averill
1d6a6247a3
Merge pull request #9537 from open-sausages/pulls/4/set-up-47-dev
Merge up 4.6 branch + update travis to target x-dev branches
2020-06-04 09:10:33 -07:00
Maxime Rainville
256309bc56 Update travis config to target x-dev branches 2020-06-04 14:50:33 +12:00
Maxime Rainville
b0eb2fb38e Merge branch '4.6' into pulls/4/set-up-47-dev 2020-06-04 14:49:06 +12:00
Bryn Whyman
09aba3594d
Merge pull request #9533 from creative-commoners/fix-link
DOCS fix broken link in changelog
2020-06-03 10:21:53 +12:00