Commit Graph

21557 Commits

Author SHA1 Message Date
Matt Peel
7083f016c1
Update secure coding standards
As of SS4.0.0 and the introduction of TrustedProxyMiddleware, the default now if no trusted proxies are defined is that nothing is a trusted proxy, whereas in SS3 a missing declaration was treated as everything being allowed.
2019-09-10 12:55:24 +12:00
Guy Marriott
f788a8a927
FIX Member::getLastName() now correctly returns the Member surn… (#9226)
FIX Member::getLastName() now correctly returns the Member surname
2019-09-07 09:12:50 +12:00
Robbie Averill
e8c2f963fd FIX Member::getLastName() now correctly returns the Member surname 2019-09-06 12:12:27 -07:00
Robbie Averill
66ca1c925f
Merge pull request #9217 from silverstripe/doc-node10
Update recommended node version in contrib docs
2019-09-06 11:54:41 -07:00
Robbie Averill
23b40557e8
Reduce version for Node 10 to SilverStripe 4.4
[ci skip]

Co-Authored-By: Garion Herman <garion@silverstripe.com>
2019-09-06 11:54:14 -07:00
Robbie Averill
42dd02ef78
Merge pull request #9122 from aNickzz/4
Add onBeforeRenderHolder extension point for FormField
2019-09-06 11:53:10 -07:00
Hels666
22a6a5b1e3 NEW Add getLastName() method to Member.php (#9222)
* Add getLastName() method to Member.php

Add getLastName() method to Silverstripe\Security\Member.php to allow use of $LastName instead of $Surname in templates as it is a common mistake made

this is for issue #9219
as discussed in Slack on 04-Sep-2019

* Minor doc block clean-up

* Update src/Security/Member.php - typo fix

Co-Authored-By: Guy Marriott <guy@scopey.co.nz>
2019-09-06 20:31:22 +12:00
Guy Marriott
25de735a9f
Merge pull request #9224 from open-sausages/pulls/4/docs-uservoice-removal
DOCS Remove uservoice mentions
2019-09-06 16:26:26 +12:00
Ingo Schommer
e3f06c4468 DOCS Remove uservoice mentions
See https://forum.silverstripe.org/t/a-new-way-to-manage-feature-ideas/2264
2019-09-06 16:01:30 +12:00
Garion Herman
1b94131cad
Merge pull request #9212 from open-sausages/pulls/4/docs-requirements
DOCS Rewrite server requirements and install docs
2019-09-05 16:02:23 +12:00
Sam Minnée
614e99a899
Update recommended node version in contrib docs 2019-09-04 18:55:47 +12:00
Ingo Schommer
9d1d70ba8e
Apply suggestions from code review
Co-Authored-By: Garion Herman <garion@silverstripe.com>
2019-09-04 15:34:36 +12:00
Ingo Schommer
8d7069ef83
Update docs/en/00_Getting_Started/index.md
Co-Authored-By: Garion Herman <garion@silverstripe.com>
2019-09-04 15:33:41 +12:00
Ingo Schommer
79bd50ecce
Update docs/en/00_Getting_Started/index.md
Co-Authored-By: Garion Herman <garion@silverstripe.com>
2019-09-04 15:33:31 +12:00
Ingo Schommer
b34e0bde8a
Update docs/en/00_Getting_Started/00_Server_Requirements.md
Co-Authored-By: Garion Herman <garion@silverstripe.com>
2019-09-04 15:32:41 +12:00
Ingo Schommer
ab09e151a0
Update docs/en/00_Getting_Started/00_Server_Requirements.md
Co-Authored-By: Garion Herman <garion@silverstripe.com>
2019-09-04 15:31:24 +12:00
Maxime Rainville
dd40d53e6b Merge branch '4.4' into 4 2019-09-04 09:46:33 +12:00
Maxime Rainville
24015c7767 Merge branch '4.3' into 4.4 2019-09-04 09:42:09 +12:00
Robbie Averill
aec5051a24
Merge pull request #9206 from creative-commoners/pulls/4.3/strip-bom-on-csv-import
FIX Byte Order Marks (BOM) are now stripped when importing CSV files
2019-09-03 09:55:38 -07:00
Guy Marriott
41a2bcb996
Clarify Director::absoluteURL behaviour (#9213)
Clarify Director::absoluteURL behaviour
2019-09-03 22:25:38 +12:00
Damian Mooyman
6759af3767
Escape strings a bit safer for doc generation 2019-09-03 19:38:19 +12:00
Damian Mooyman
f649657182
Clarify Director::absoluteURL behaviour
Fixes #9111
2019-09-03 19:34:16 +12:00
Ingo Schommer
ccb4118e74 DOCS Public webroot requirement 2019-09-03 18:51:53 +12:00
Ingo Schommer
f93fcd66ef DOCS Moved install guides to forum
We don't keep them updated, and they're better placed in a wiki entry on our forum:
https://forum.silverstripe.org/c/tips
2019-09-03 18:39:56 +12:00
Ingo Schommer
1977ab5ee2 DOCS Remove IIS install docs
This is so outdated it borders on being useless.
I've moved it to the forum as a starting point for our dear Microsoft adventurers instead:
https://forum.silverstripe.org/t/microsoft-iis-webserver-and-sql-server-support/2245
2019-09-03 18:39:56 +12:00
Ingo Schommer
ca5b1cbf61 DOCS Rewrite server requirements
* Remove overly specific PHP RNG instructions (that's just built into PHP7 through random_bytes now, which will throw if no suitable RNG is available)
 * Remove PHP 5 RNG requirements, since we don't support that PHP release any mre
 * Remove verbose explanation of PHP 5.6 support
 * Remove conflicting instructions for PHP memory limits
 * Remove version numbers from supporetd databases other than MySQL, it's up to the community modules to define that
 * Remove Oracle support (code is nine years old!)
 * Make "community supported" status clearer on databases, people can draw their own conclusions as open source users on Github
 * Remove IIS version number, I think we should just stick to "needs web.config" and not give the impression that this is actively tested
 * Remove mention of OSes for web servers, that's kind of irrelevant in today's hosting world (containers, PaaS, etc)
 * Shorten install instructions in favour of a "quickstart" and point to lessons instead
 * Remove mention of archive download option, we really shouldn't promote this - composer is the de-facto standard
 * Add generic descriptions of the hosting environment considerations without going too much into specifics
 * Remove Apache version number, we don't test on different versions, and really mostly rely on mod_rewrite working properly. Laravel does the same (doesn't claim specific Apache version support)
2019-09-03 18:38:15 +12:00
Ingo Schommer
d77c6514b4 DOCS Remove Nginx/HHVM guide
HHVM isn't supported any more, PHP 7 is where it's at
2019-09-03 15:58:18 +12:00
Ingo Schommer
5fc4a05a48 DOCS Remove MySQL SSL instructions
Only a tiny fraction of this is specific to SilverStripe,
and that is already covered under the environment variables elsewhere
2019-09-03 15:57:57 +12:00
Robbie Averill
ef49dcf726
Merge pull request #9164 from sminnee/fix-9162
FIX: Write relations when saving in grid-field item edit form
2019-09-01 20:44:13 -07:00
Maxime Rainville
a2a202c016
Merge pull request #9200 from open-sausages/pulls/4.4.3/consistent-actions
FIX make the grid field actions consistent to what they look like on pages
2019-09-02 14:07:22 +12:00
Serge Latyntsev
296dc6a489 DOC Fix versioned snapshot image markdown (#9209) 2019-09-02 13:29:08 +12:00
bergice
2f8d847a10 FIX make the grid field actions consistent to what they look like on pages
Resolves https://github.com/silverstripe/silverstripe-admin/issues/904
2019-09-02 12:22:32 +12:00
Robbie Averill
02194908e2
Merge pull request #9205 from wilr/pulls/add-upgrade-notes-for-email
Add missing upgrade rules for Email class
2019-08-30 14:15:17 +12:00
Robbie Averill
0b991cc039
Merge pull request #9198 from elabuwa/pulls/4.3/bug-fix-html-entities-breadcrumbs-in-group
Bug : Add html_entity_decode to group parents
2019-08-30 09:51:52 +12:00
Dileep Ratnayake
fe4eb5dd2a
Update src/Security/Group.php
Co-Authored-By: Maxime Rainville <maxime@rainville.me>
2019-08-29 15:44:41 +12:00
Robbie Averill
77ba8391c4 FIX Byte Order Marks (BOM) are now stripped when importing CSV files 2019-08-29 14:54:57 +12:00
Will Rossiter
e07bcee182
Add missing upgrade rules for Email class 2019-08-29 09:10:03 +12:00
Maxime Rainville
4cfce30842
Merge pull request #9204 from open-sausages/pulls/4.3/remove-dumb-place-holder-text
BUG Remove placeholder text on new group form
2019-08-29 09:05:38 +12:00
Maxime Rainville
73f43c6f42 BUG Remove placeholder text on new group form 2019-08-28 17:14:19 +12:00
Dileep Ratnayake
9b7075ed5d
Update Group.php 2019-08-27 16:22:00 +12:00
Dileep Ratnayake
a976a1688b
Update Group.php
move to private method
2019-08-27 16:21:08 +12:00
Dileep Ratnayake
40e5c4ec59
Update Group.php
use of convert::raw2xml, rename $grp to $group
2019-08-27 16:19:40 +12:00
Robbie Averill
e078eea7dd
Merge pull request #9197 from wilr/pulls/gridfield-columnlookup
FIX Remove error when exporting a column that is not displayed in a GridField
2019-08-27 13:59:48 +12:00
Dileep Ratnayake
4f8240bd48
Update src/Security/Group.php
Co-Authored-By: Andre Kiste <bergice@users.noreply.github.com>
2019-08-27 12:19:03 +12:00
Will Rossiter
d2a07b1047
FIX Remove error when exporting a column that is not displayed in a GridField 2019-08-27 11:54:31 +12:00
Dileep Ratnayake
f7a602137a
add html_entity_decode to breadcrumbs 2019-08-27 11:49:17 +12:00
Robbie Averill
0f85fb108f
Merge pull request #9193 from open-sausages/pulls/4/docs-remove-lighthttpd
DOCS Remove Lighty docs
2019-08-26 15:02:26 +12:00
Ingo Schommer
1162b11b20 DOCS Remove Lighty docs
They don't account for protected files, or clear public webroot hosting.
I think this is more of a stackoverflow or forum.silverstripe.org article,
not something we should pretend to have official support for (or check for completeness and secure configuration)
2019-08-26 14:15:06 +12:00
Robbie Averill
895353c795
Merge pull request #9185 from oddnoc/nginx-protected-assets
DOCS: update nginx config to protect .protected
2019-08-21 08:57:52 +12:00
Fred Condo
5a534e3ba5 DOCS: update nginx config to protect .protected
This change replicates what the apache .htaccess for the .protected
assets folder does.
2019-08-20 13:13:59 -07:00