Commit Graph

13155 Commits

Author SHA1 Message Date
Will Rossiter
f433b5000f FIX: Resolve issue when selected value is zero. (#2530)
$this->value is stored as string internally. In
the special case that the option value is 0, the
type comparison fails to resolve 0 == '0',
see http://www.php.net/manual/en/types.comparisons.php.
2014-01-11 13:25:40 +13:00
Will Rossiter
dd801bdb0b Merge pull request #2242 from torleif/3.0
FIX postgres can filter on non text fields
2014-01-10 15:19:12 -08:00
Joe Harvey
611d571b65 BUG corrects MoneyField::setReadonly() method in order to return ReadonlyField instances of its child fields
Issue #2766 - This causes our cloned MoneyField to actually contain two ReadonlyFields for currency and amount.
2014-01-10 15:38:06 +00:00
Will Rossiter
b52a82185f Merge pull request #2764 from camfindlay/patch-2
Typo, duplicate silverstripe-documentation
2014-01-08 22:54:37 -08:00
camfindlay
39ed36dad6 Typo, duplicate silverstripe-documentation 2014-01-09 19:53:42 +13:00
Will Rossiter
6fae1e6392 Merge pull request #2763 from jedateach/validationresult-chaining
API: ValidationResult functions chain-able.
2014-01-08 19:47:33 -08:00
Jeremy Shipman
62694b0a8b NEW: Made ValidationResult functions chain-able.
Added unit tests for CombiningResults
2014-01-09 16:32:27 +13:00
Mateusz U
c84d9ee00c Merge pull request #2760 from madmatt/pulls/securityadmin-js
BUGFIX: Fix SecurityAdmin checkboxes not being properly unchecked
2014-01-08 16:13:57 -08:00
Will Rossiter
516277a6ad Merge pull request #2757 from jedateach/confirmedpasswordfield-fix
FIX: ConfirmedPasswordField setName failed to set names of child fields.
2014-01-08 12:33:02 -08:00
Matt Peel
aec29bf8c8 Properly fix SecurityAdmin Groups javascript checkbox toggling. 2014-01-09 08:47:41 +13:00
Simon Welsh
39d42e4ea3 Merge branch '3.1' 2014-01-09 08:22:47 +13:00
Sriram Venkatesh
efa309c977 Corrects Broken Link 2014-01-09 08:20:34 +13:00
Matt Peel
ee1cfa2393 BUGFIX: Fix SecurityAdmin checkboxes not being properly unchecked 2014-01-08 14:55:23 +13:00
Simon Welsh
ac1658b500 Merge pull request #2758 from edlinklater/patch-1
MINOR fix typo in link
2014-01-07 10:59:49 -08:00
Ed Linklater
264fbcbff6 MINOR fix typo in link 2014-01-08 03:14:20 +13:00
Jeremy Shipman
8d8f3abace FIX: ConfirmedPasswordField setName failed to set names of child fields.
FIX: ConfirmedPasswordField relied on POST variables. These should instead come from setValue().
Added all important tests for validating the field: valid if passwords match, invalid if passwords differ.
2014-01-07 17:17:55 +13:00
Matt Peel
0eaae90bdb Update theHtmlFieldShouldContain step to include negation.
This allows steps to be declared as either “should contain” or “should not
contain”.
2014-01-06 17:22:40 +13:00
madmatt
2b00036d9d Allow GridFields without titles to be found. 2014-01-06 10:20:44 +13:00
colymba
02bceca9b4 FIX UploadField validation error and styles
UploadField now return the validator's error message instead of 403. Plus nicer layout for error messages.
2014-01-04 22:30:35 +02:00
Will Rossiter
98c01a34f6 Merge pull request #2752 from nedmas/patch-1
FIX: Documentation for Silverstripe Test
2014-01-02 13:04:53 -08:00
Tom Densham
a04c79872f FIX: Documentation for Silverstripe Test
Change the access level of the `static $fixture_file` property in the example code.
2014-01-02 11:38:43 +00:00
Martijn
180bae826a formHtmlContent() uses missing FormEncType() call
it needs to call $this->getEncType() instead..
2014-01-02 10:44:00 +01:00
micmania1
5fff5afb47 API moved useTestTheme to base Sapphire test class so that it can be used elsewhere (eg CMS test) 2013-12-23 21:54:20 +00:00
Will Rossiter
1c6bea9bb5 Merge pull request #2745 from guttmann/patch-1
Fix error in code block for ModelAdmin documentation
2013-12-23 12:44:25 -08:00
James Goodman
9c9e5c0656 Fix error in code block for ModelAdmin example 2013-12-24 07:59:05 +13:00
Will Rossiter
88c59ef0a7 Fix icon being stretched in ModelAdmins 2013-12-23 20:21:05 +13:00
Will Rossiter
3f6db0ddae Fix section icon in cms header 2013-12-21 17:23:07 +13:00
Will Rossiter
3e2cf27b38 Add ability for a panel link to link externally. 2013-12-21 16:59:09 +13:00
Will Rossiter
770e23f8e1 Merge pull request #2270 from ARNHOE/3.1-updatedfieldgroup
BUG Updated fieldgroup class and example code
2013-12-20 19:14:21 -08:00
Will Rossiter
57e65075e9 Dialog icon size
The dialog close icon was one 1px higher then the dialog close hover icon causing a little bit of movement when hovering.
2013-12-21 16:11:06 +13:00
Will Rossiter
1f125730e4 Merge pull request #2281 from mandrew/fixed_collapsed
Fixing expanding/collapse CMS menu targeting wrong element
2013-12-20 18:51:55 -08:00
Will Rossiter
8b9f8cfd6f Merge pull request #2742 from ss23/patch-1
Make CacheTest sleep properly
2013-12-20 18:47:06 -08:00
Hendrik Schaper
c563caec05 GroupedList: Enable grouping by a function result. 2013-12-21 15:15:55 +13:00
Stephen Shkardoon
40163edba7 Make CacheTest sleep properly
This way it will always sleep for the right amount of time (or longer)
2013-12-21 15:05:51 +13:00
Will Rossiter
87b5451d2d Consistent API for SelectionGroup constructor. 2013-12-21 14:55:53 +13:00
Will Rossiter
588118ade5 Merge pull request #2738 from kinglozzer/doc-file
Update topics/file documentation (closes #1481)
2013-12-20 17:41:00 -08:00
Will Rossiter
3d2875a111 Merge pull request #2741 from simonwelsh/hhvm-test
Changes to error message detection to handle the differences in HHVM
2013-12-20 16:55:14 -08:00
Will Rossiter
5728fc3a9a Merge pull request #2484 from nedmas/fix-creditcardfield-to-use-attributeshtml
FIX: Change CreditCardField to use AttributesHTML
2013-12-20 16:50:15 -08:00
Will Rossiter
5354a547c6 Merge pull request #2733 from madmatt/pulls/behat-profile
Fix profile.feature behat test
2013-12-20 16:17:55 -08:00
Simon Welsh
8de403abd4 Changes to error message detection to handle the differences in HHVM 2013-12-21 13:17:47 +13:00
Will Rossiter
9ee4de76c4 Merge pull request #1048 from silverstripe-rebelalliance/3.1_7876
MINOR:added padding to ui-dialog-title so that it doesn't sit flush with...
2013-12-20 16:09:23 -08:00
Will Rossiter
b47e1e0b7f Merge pull request #2732 from Firesphere/patch-1
MINOR Documentation slightly improved for js inclusion
2013-12-20 15:40:49 -08:00
Will Rossiter
85b00105ce Merge pull request #2740 from micmania1/add-logout-url
NEW add logout url to Security
2013-12-20 15:39:12 -08:00
Stephen Shkardoon
1c7f56fcf4 Fix sake not checking all the locations for cli-script.php
Before this, sake wouldn't check the current directory it itself was in.
This wasn't a problem with anything but master.
2013-12-21 12:33:48 +13:00
micmania1
229bea399b added logout url to Security and deprecated Security::set_login_url in favour of config 2013-12-20 21:55:54 +00:00
Loz Calver
b8f9dd91d9 Update topics/file documentation (closes #1481) 2013-12-20 14:03:07 +00:00
Simon Erkelens
b64a89d103 Minor language and readability fixes. 2013-12-20 12:24:03 +01:00
Will Rossiter
e58a481edf Merge pull request #2734 from chillu/pulls/uploadfield-cols
NEW UploadField lists all files, shows path info
2013-12-20 01:21:50 -08:00
Will Rossiter
5f86a69fdf Merge pull request #2731 from chillu/pulls/2723-embed-images-alt
"alt" and "title" attrs for images from URLs (fixes #2723)
2013-12-20 00:19:35 -08:00
Ingo Schommer
60333f68ee NEW UploadField lists all files, shows path info
It doesn't make a lot of sense to limit the listing
to assets/Uploads/, which is the default set through FileField->folderName.
Showing all files regardless of folder makes them easier
to find, users can still opt-in to filtering by folder
through the TreeDropdownField.
2013-12-20 01:00:36 +01:00