Michael van Schaik
3a277f3a5e
Update ClassInfo to return arrays where expected ( #5563 )
...
These methods are expected to return an array instead of null (if $class doesnt exist);
- getValidSubClasses
- dataClassesFor
- subclassesFor
- ancestry
Fixes : #5562
Also see: https://github.com/silverstripe/silverstripe-framework/issues/5171
2016-05-19 12:28:35 +01:00
Damian Mooyman
574bc6038b
Merge 3 into master
...
# Conflicts:
# CONTRIBUTING.md
# admin/css/screen.css
# admin/css/screen.css.map
# admin/javascript/LeftAndMain.EditForm.js
# admin/javascript/LeftAndMain.js
# admin/scss/_forms.scss
# dev/Debug.php
# docs/en/05_Contributing/01_Code.md
# forms/DropdownField.php
# model/DataObject.php
# model/Versioned.php
# model/fieldtypes/DBLocale.php
# tests/forms/gridfield/GridFieldExportButtonTest.yml
# tests/model/MoneyTest.php
# tests/model/MoneyTest.yml
# tests/model/SQLQueryTest.php
2016-05-18 18:36:10 +12:00
Damian Mooyman
66ef857cdf
Manual merge of #5412 into master
2016-05-18 17:42:13 +12:00
Damian Mooyman
303f695751
Merge 3.3 into 3
...
# Conflicts:
# admin/javascript/LeftAndMain.EditForm.js
2016-05-18 17:29:30 +12:00
Damian Mooyman
dad7981332
Merge 3.2 into 3.3
2016-05-18 17:27:28 +12:00
Damian Mooyman
8dfeeb0eb6
Merge 3.1 into 3.2
2016-05-18 17:25:42 +12:00
Hamish Friedlander
d350aa4153
Merge pull request #5555 from open-sausages/pulls/3.1/fix-display-errors
...
BUG Fix suppression of display_errors in ErrorControlChain
2016-05-18 16:04:57 +12:00
Hamish Friedlander
0dd1cc09d0
Merge pull request #5556 from open-sausages/pulls/3/errors-http-response
...
API Enable Debug.friendly_error_httpcode to correctly set HTTP status code for errors
2016-05-18 15:37:36 +12:00
Damian Mooyman
757cfae90c
API Enable Debug.friendly_error_httpcode to correctly set HTTP status code for errors
2016-05-18 14:27:45 +12:00
Damian Mooyman
62bd26d11a
BUG Fix suppression of display_errors in ErrorControlChain
2016-05-18 13:36:54 +12:00
Damian Mooyman
8ed25ae482
BUG Fix DataObject::isChanged() detecting non saveable changes ( #5545 )
2016-05-18 09:00:04 +10:00
Damian Mooyman
8947bb0245
BUG Fix filtersOnId ignoring WHERE "ID" IN ()
( #5546 )
2016-05-17 18:30:33 +12:00
Hamish Friedlander
c66a969c1d
Merge pull request #5543 from open-sausages/pulls/3/fix-formfield-layout
...
BUG Fix link dialog box layout in CMS
2016-05-17 15:26:34 +12:00
Damian Mooyman
829f59e443
BUG Fix link dialog box layout in CMS
2016-05-17 12:04:03 +12:00
Ingo Schommer
2312d82123
Merge pull request #5540 from tractorcow/pulls/3.3/fix-locale-singleton
...
BUG Fix singleton('DBLocale')
2016-05-17 10:46:04 +12:00
Daniel Hensby
11f73de330
Merge pull request #5539 from sminnee/sitetree-docblock-improvements
...
PHPDoc improvements for Hierarchy and Versioned
2016-05-16 21:30:25 +01:00
Daniel Hensby
9e5a0b82a2
Merge pull request #5538 from TimeZoneOne/fix-export-zero
...
Fix bug, export button cannot export value '0'
2016-05-16 15:12:41 +01:00
Daniel Hensby
b68f5acd46
Merge pull request #5541 from silverstripe/revert-5480-subsites-breaks-tests
...
Revert "Disable subsite filters when running unit tests"
2016-05-16 09:44:29 +01:00
Damian Mooyman
b6e73689a5
Revert "Disable subsite filters when running unit tests"
2016-05-16 17:07:09 +12:00
Shawn Lin
2a856300c0
Fix bug, export button cannot export value '0'
2016-05-16 16:49:10 +12:00
Damian Mooyman
79d0590628
BUG Fix singleton('DBLocale')
2016-05-16 16:16:28 +12:00
Hamish Friedlander
2aec495a7c
Merge pull request #5533 from open-sausages/pulls/3/require-existing-password
...
BUG Prevent session hijackers from resetting a user password
2016-05-16 14:23:53 +12:00
Igor
5b691d1835
Minor: update docs for PR branch guidelines #5345 ( #5365 )
2016-05-16 12:34:43 +12:00
Nik Rolls
9791426be6
PHPDoc improvements for Hierarchy and Versioned
...
- Added missing @param and @method documentation
- Fixed incorrect PHPDoc @params and @returns
- Fixed wrapping width on many docblocks
- Added and/or improved method documentation when missing or confusing
- Fixed typos as found
- Removed references to 'Page' in Versioned documentation
2016-05-16 12:08:25 +12:00
Damian Mooyman
4d1ddf0e62
BUG Prevent session hijackers from resetting a user password
...
BUG Member::checkPassword incorrect for default admin
2016-05-16 10:54:18 +12:00
Daniel Hensby
ca4341f480
Merge pull request #5460 from scott1702/btn-loading-icon
...
Fix loading icon bug on IE
2016-05-14 11:10:36 +01:00
Daniel Hensby
426995cfa6
Merge pull request #5412 from patricknelson/issue-5410-error-tab-focus
...
FIX for #5410 to help focus errors occuring on tabs within GridField controlled DataObjects (et al).
2016-05-14 11:08:50 +01:00
Scott Hutchinson
9ba362065e
Fix loading icon bug on IE
2016-05-14 14:09:50 +12:00
Patrick Nelson
693408330b
FIX for #5410 to help focus errors occurring on tabs within GridField controlled DataObjects (et al).
...
Tidy up Entwine logic for selecting tabs containing errors
2016-05-13 16:12:32 -07:00
Daniel Hensby
8ebdedf330
Merge pull request #5488 from robbieaverill/bugfix/4835-array-to-string
...
Fix for array to string conversion in DropdownField
2016-05-13 13:54:04 +01:00
Robbie Averill
7d7800e5e7
Fix for array to string conversion in DropdownField
...
* Resolves #4835
* Add unit test to cover array values
* Add value assertion
2016-05-13 10:11:42 +12:00
Daniel Hensby
0594542e7f
Merge branch '3'
2016-05-12 16:42:48 +01:00
Daniel Hensby
19a4a40d8b
Merge branch '3.3' into 3
2016-05-12 16:25:22 +01:00
Daniel Hensby
264d7e8ffe
Merge branch '3.2' into 3.3
2016-05-12 16:23:57 +01:00
Daniel Hensby
e8962b95d0
Merge branch '3.1' into 3.2
2016-05-12 16:05:54 +01:00
Loz Calver
be496c4e54
Merge pull request #5530 from dhensby/pulls/empty-from-clause
...
FIX Empty from clause when joining to same base table
2016-05-12 15:56:57 +01:00
Daniel Hensby
3738d888e0
FIX Empty FROM clause
2016-05-12 12:38:05 +01:00
Loz Calver
5b275376d3
Many many bug
2016-05-12 12:38:04 +01:00
Daniel Hensby
dd554d883f
Proving bug with Deep nested many_many relations
...
When adding a filter to a many_many with a shared inheritance, the FROM table is removed and added as a LEFT JOIN which causes a syntax error.
This means `$dataList->filter('ManyManyRel.ID', array(1,2))` doesn't work.
2016-05-12 12:38:02 +01:00
Daniel Hensby
5301e73c86
Merge pull request #5525 from tractorcow/pulls/3/enable-requirements-flush-disable
...
API Enable combined requirements to persist between flushes
2016-05-12 12:28:47 +01:00
Damian Mooyman
2d07f9b24c
Add current 4.0.0 changelog to alpha 1 release notes.
2016-05-12 16:07:35 +12:00
Damian Mooyman
b9a32386c9
Added 4.0.0-alpha1 changelog
2016-05-12 16:00:20 +12:00
Damian Mooyman
19daf8f974
Update translations
2016-05-12 15:37:09 +12:00
Damian Mooyman
b620ac21ba
Merge pull request #5526 from open-sausages/pulls/4.0/fix-loading-indication-in-campaign-admin
...
FIX Persistant Loading... indicator when no campaigns yet in admin
2016-05-12 13:56:15 +12:00
Hamish Friedlander
a61d0a2f0b
FIX Persistant Loading... indicator when no campaigns yet in admin
2016-05-12 13:32:38 +12:00
Damian Mooyman
7041c5945c
API Enable requirements to persist between flushes
2016-05-12 12:46:30 +12:00
Ingo Schommer
0838770798
Consistent React event method naming
...
Use "on<event>" for props, same as React's own event naming: https://facebook.github.io/react/docs/forms.html#interactive-props
Use "handle<event>" to delineate internal handlers
2016-05-11 18:08:23 +12:00
Damian Mooyman
8c3b416b78
Merge pull request #5512 from open-sausages/pulls/4.0/minor-styles-adjustments-4
...
Reorder Campaigns, vert centre only child breadcrumb
2016-05-11 18:04:07 +12:00
Paul Clarke
c1204bc614
build js/css
2016-05-11 16:33:11 +12:00
Paul Clarke
746c4f7548
Vertically centre title only in breadcrumb
...
Fixes #5508
2016-05-11 16:32:49 +12:00