Commit Graph

18996 Commits

Author SHA1 Message Date
Damian Mooyman
5df9cb05f3 Merge pull request #5551 from AntonyThorpe/patch-1
Updated 01_Data_Model_and_ORM.md for byID
2016-05-19 14:08:45 +12:00
Cristian Torres
2f84c3431b UPDATE: Throw exceptions on file missing
The class will throw exceptions whenever the css or js file is not found in any context and the site is in development mode
2016-05-18 16:47:38 -06:00
Loz Calver
12f6bdcd1b Merge pull request #5559 from dhensby/pulls/3/retina-icons-pick
FIX Remove old logout icon on retina screens
2016-05-18 16:55:29 +01:00
scott1702
f373632d98
Remove old logout icon on retina screens
Remove background rules for old preview icons
2016-05-18 16:28:05 +01:00
Michael James
3870c499d6 DOCS Adding comma to array declaration (#5558) 2016-05-18 15:07:45 +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
mrb
3a93172c53 Add some excludes to codeclimate.yml 2016-05-17 17:46:02 -04:00
Antony Thorpe
f12258427a Updated 01_Data_Model_and_ORM.md for byID
According to the framework's API documentation 'byID' is a method of DataList not 'byId'.  Both are used in the documentation.
2016-05-18 08:30:29 +12:00
Loz Calver
0965226a15 Deprecate now-duplicated logic in ViewableData::castingHelper() 2016-05-17 16:04:55 +01:00
Loz Calver
7a81372294 FIX: castingHelper failed to find many_many_extraFields data (fixes #4661) 2016-05-17 16:04:28 +01: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
John Milmine
c401d9daff new added hide_from_cms_tree and hide_from_hierarchy 2016-05-16 16:20:14 +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
Igor Nadj
c8eda9fd5c ENH: moving hardcoded nice date/time formats to config
Old PR: #4449
2016-05-15 21:25:57 +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