Commit Graph

18558 Commits

Author SHA1 Message Date
Damian Mooyman
22b6835537 Move cache upgrade instructions into Upgrading Guide section 2017-04-13 16:23:05 +12:00
Chris Joe
8ad9207d85 Merge pull request #6772 from open-sausages/pulls/4.0/fix-datetime-calendar
Cleanup phpdocs on DatetimeField
2017-04-13 14:12:10 +12:00
Damian Mooyman
f38ae1d837 Cleanup phpdocs on DatetimeField 2017-04-13 14:00:30 +12:00
Simon Gow
5f82997690 Secure Coding - Security Headers, Force HTTPS and Cookies
- Amending best practices for secure coding to enforce HTTPS
- Add security headers to enforce HTTPS
- Ensure secure cookies are used.
- Added links for testing, changed documentation as part of peer review.
- Arrange headers to work with HTTP interface.
- fixed Cache-Control case
- Added reference to Secure Sessions.
- Replaced Cardinality with unique
- Fixed innacurate reference to decendant.
- Consistent spelling
- Databases over DBMSs
2017-04-13 13:59:02 +12:00
Sean Harvey
8999f70acc Fixing broken search in SecurityAdmin Groups field
Breadcrumbs is not a database field, so can't be searched.
2017-04-12 13:04:55 +12:00
Damian Mooyman
7bc447eea8 Merge pull request #6795 from robbieaverill/bugfix/phpunit-config-bug-with-constants
FIX Ensure that mysite test boostrap configuration is loaded after core and before the database connection
2017-04-12 12:57:22 +12:00
Ingo Schommer
ca3fa16408 Merge pull request #6790 from open-sausages/pulls/4.0/namespaced-localisations
API Enable namespaced-localisation keys in templates
2017-04-12 08:01:05 +12:00
Damian Mooyman
f2768c85b1 API Enable namespaced-localisation keys in templates
BUG Fix whitespaces in SSTemplateParser.peg
2017-04-11 18:07:53 +12:00
Ingo Schommer
d294709aec Merge pull request #6781 from open-sausages/pulls/4.0/leftandmain-cleanup
API Refactor CMS-specific code out of LeftAndMain
2017-04-11 17:24:19 +12:00
Robbie Averill
1ca51eb57a FIX Ensure that mysite test boostrap configuration is loaded after core and before the database connection 2017-04-11 14:32:53 +12:00
Daniel Hensby
1f0e1913cd
Merge branch '3.5' into 3 2017-04-08 20:25:27 +01:00
Robbie Averill
55eb7ebdcc FIX Do not insert requirements more than once in includeInHTML
This change consolidates the string replacements used to insert requirements into the page content to help ensure
that they are not compounding and overwriting eachother.

The added test case includes where a user may have a Javascript snippet that contains a closing head tag, and the
test ensures that it does not get injected with requirements as well as the actual head tag in the DOM.
2017-04-07 17:04:17 +12:00
Simon Gow
8d2a1ba8be Index documentation
- updating index documentation to give a better description of how to improve performance with silverstripe applications
2017-04-07 11:27:07 +12:00
Damian Mooyman
92a5e4a057
API Refactor CMS-specific code out of LeftAndMain 2017-04-06 13:26:32 +12:00
Damian Mooyman
2fd3b84b46 Merge pull request #6778 from kinglozzer/6668-modeladmin-regression
Fix regression from #6668 - ModelAdmin form widths
2017-04-06 09:37:24 +12:00
Loz Calver
a7920b1f98
Fix regression from #6668 - ModelAdmin form widths 2017-04-05 15:13:09 +01:00
Damian Mooyman
b8c3bf6fa5
Remove legacy admin localisations from framework 2017-04-05 16:20:09 +12:00
Damian Mooyman
5c50ab5884 Added 4.0.0-alpha6 changelog 2017-04-05 16:17:48 +12:00
Damian Mooyman
ed9b2edf7d Added 4.0.0-alpha6 changelog 2017-04-05 16:13:01 +12:00
Damian Mooyman
25c0efea26 Update translations 2017-04-05 16:08:16 +12:00
Damian Mooyman
8cbdfa4561
Fix invalid json file 2017-04-05 15:44:49 +12:00
Chris Joe
837229a156 Merge pull request #6774 from open-sausages/pulls/4.0/test-config
Update test configuration
2017-04-05 14:41:56 +12:00
Damian Mooyman
ad5b4d5e53 Merge pull request #6776 from muskie9/patch-9
DOCS update example to use Config::modify
2017-04-05 14:23:27 +12:00
Damian Mooyman
b1dc2cc9f9 Merge pull request #6771 from kinglozzer/php7-ss3
PHP 7 compatibility
2017-04-05 13:37:13 +12:00
Sam Minnee
061b71328b Update docs. 2017-04-05 11:06:10 +10:00
Loz Calver
ae0fe75fba Fix non-numeric warnings in GDBackend/ImagickBackend
intval() will convert non-numeric values to 0, and Image_Backend::resize() will subsequently raise the appropriate exception
2017-04-05 11:06:10 +10:00
Loz Calver
f101697f8e Fix File::ini2bytes() in PHP 7 2017-04-05 11:06:10 +10:00
Loz Calver
e22cd4db00 Fix: TabSet attempting to access undeclared property 2017-04-05 11:06:10 +10:00
Sam Minnee
f083a06f3f FIX: Fix ViewableData::__isset() for getXXX() getters.
PHP7 is stricter about this.

Manual cherry-pick of of c80417a949
2017-04-05 11:06:03 +10:00
Sam Minnee
22ad39e5ae FIX: Fix SSViewerTest in PHP7
PHP7 is a bit more picky about passing values by reference.
2017-04-05 11:05:29 +10:00
Sam Minnee
f224849cc6 FIX: Don’t use SplFixedArray in PHP 7.
PHP 7 seems to suffer a segfault when using SplFixedArray. Since LRU is
deprecated anyway, I’m not too fussed about getting to the bottom of
this issue, however, if it turns out that SplFixedArray is corrected in
PHP 7.0.0 stable or a future patch release, we could update this check.
2017-04-05 11:05:28 +10:00
Loz Calver
454646c4df Fix invalid closure param in ShortcodeParserTest 2017-04-05 11:05:28 +10:00
Loz Calver
05a737c5fc Allow RandomGenerator to use random_bytes() in PHP 7 2017-04-05 11:05:28 +10:00
Loz Calver
82f62c8184 Fix illegal string offset in spyc component 2017-04-05 11:05:28 +10:00
Sam Minnee
cca7e9697c FIX: Correct PHP4-style constructors in SimpleTest.
Note that the best solution to this will be to remove the use of
SimpleTest entirely. This is quick fix is intended to help us get PHP7
tests running without needing to cross that bridge.
2017-04-05 11:05:27 +10:00
Loz Calver
40bf945322 NEW: PHP 7 compatibility
This patch introduces PHP 7 compatability without breaking semver by adding DBInt
and DBFloat classes, with Int/Float classes that are only loaded into PHP 5 environments
2017-04-05 11:00:04 +10:00
Nic
091d355059 DOCS update example to use Config::modify 2017-04-04 19:18:23 -05:00
Damian Mooyman
24d1207eb9 Merge pull request #6769 from sminnee/mssql-community-support
NEW: Downgrade MSSQL from commercially supported to community supported
2017-04-05 10:23:26 +12:00
Damian Mooyman
6cfeb7f07e
Update test configuration
Note: Retains CMS build
2017-04-05 10:15:48 +12:00
Chris Joe
5570a5e1e0 Merge pull request #6768 from open-sausages/pulls/4.0/6115-in-campaigns-list
Translation for add to compaign form
2017-04-04 13:43:20 +12:00
Damian Mooyman
c314fbd691 Merge pull request #6727 from open-sausages/pulls/4.0/oembed-this
Add LabelField component definition / Update embed library
2017-04-04 12:50:09 +12:00
Saophalkun Ponlu
230e831e4b Translation for add to compaing form 2017-04-04 11:43:40 +12:00
Damian Mooyman
e61257c27b API Update embed/embed to 3.0
API Better shortcode generation for embed shortcodes
2017-04-04 10:20:08 +12:00
Damian Mooyman
9be22701fd API exists() no longer true for nullifyIfEmpty if empty string
Optimise DBString::exists() to skip shortcodes
2017-04-04 10:20:08 +12:00
Christopher Joe
2c5e482de0 Add LabelField component definition 2017-04-04 10:20:08 +12:00
Daniel Hensby
51f98c973f
Merge branch '3.5' into 3 2017-04-03 22:57:58 +01:00
Damian Mooyman
32578e07d6 Merge pull request #6766 from open-sausages/pulls/4.0/6626-remove-jquery-datepicker
HTML5 Date Fields
2017-04-04 09:13:04 +12:00
Ingo Schommer
e3fbd1dcac Fixed coding conventions 2017-04-03 20:54:25 +12:00
Ingo Schommer
5b2106ad8a Corrected i18n docs 2017-04-03 20:04:43 +12:00
Ingo Schommer
e9693467bf Fixed tests 2017-04-03 20:04:37 +12:00