Commit Graph

7096 Commits

Author SHA1 Message Date
Ingo Schommer
3202d12933 MINOR Moved ModelAdmin styles into separate file 2012-01-03 18:11:21 +01:00
Ingo Schommer
8dd64bd2ef MINOR Using box-sizing to lay out form fields rather than relying on hacky 90% widths + pixel-based paddings, which makes it impossible to align anything outside of the field container the these elements. Using conditional CSS to disable field padding if box-sizing is not available. Generalized "stacked" form pattern in _form.scss, fixed CMS actions padding to align with fields. 2012-01-03 18:11:21 +01:00
Ingo Schommer
66a60476ac MINOR Close open TreeDropdownField panels if user clicks outside of the field (emulate behaviour of chosen.js and most native OS dropdowns) 2012-01-03 18:11:21 +01:00
Ingo Schommer
c0c073e03f MINOR Disable 'preview' button if not applicable 2012-01-03 18:11:18 +01:00
Ingo Schommer
a24675c6be MINOR Updated chosen.js to 0.9.5 2012-01-03 12:08:29 +01:00
Ingo Schommer
4a8acb9cc1 MINOR Fixed anchor selector initialisation for HtmlEditorField 2012-01-03 10:42:59 +01:00
Ingo Schommer
0cf6421afe MINOR Button styling for "insert" dialogs 2012-01-03 09:38:42 +01:00
Ingo Schommer
add3dfae0d merge concat 2012-01-03 09:36:39 +01:00
Ingo Schommer
7af52b140b MINOR Applying button behaviour to .cms namespace in order to include dialogs as well 2012-01-03 09:36:23 +01:00
Ingo Schommer
6d2b519484 MINOR Auto-expanding nodes in TreeDropdownField, unsetting default titles when search field is focused 2012-01-02 23:35:17 +01:00
Ingo Schommer
4baef3b892 BUGFIX Using objects rather than arrays for TreeDropdownField ajax search params, fixed selectors stuffed up in e385bbcb 2012-01-02 22:38:13 +01:00
Ingo Schommer
c0fddf262c MINOR Fixed regression on missing return value in CompositeField->FieldHolder() 2012-01-02 21:32:13 +01:00
Sean Harvey
3d8079c1b5 API CHANGE Removed GeoIP functionality from sapphire. This now belongs in a separate "silverstripe-geoip" GitHub repository: https://github.com/silverstripe-labs/silverstripe-geoip 2012-01-02 18:00:36 +01:00
Ingo Schommer
d678c12ac8 API CHANGE Removed FormAction->extraData() and $extraData constructor argument, use setAttribute() instead 2012-01-02 16:58:46 +01:00
Ingo Schommer
eb5716f471 MINOR Using instanceof rather than is_a in CheckboxSetField 2012-01-02 16:49:33 +01:00
Ingo Schommer
e31851b182 BUGFIX Correctly mark DatetimeField, MoneyField and PhoneNumberField composites as disabled or readonly 2012-01-02 16:49:33 +01:00
Ingo Schommer
4056b94f75 BUGFIX Improved ClassInfo::ancestry() performance through in-memory caching and removal of unnecessary is_object() check - get_class() will complain if its not passed an object already) 2012-01-02 16:49:33 +01:00
Ingo Schommer
72694d8349 ENHANCEMENT Custom form attributes through Form->setAttribute() 2012-01-02 16:49:33 +01:00
Ingo Schommer
0dab75c3a0 MINOR Making SecurityAdminTest more resilient against markup order changes 2012-01-02 16:48:36 +01:00
Ingo Schommer
1eaf45a118 MINOR Documentation for FormField->setTemplate() and FormField->setAttribute() 2012-01-02 16:48:36 +01:00
Ingo Schommer
b4d7e51da3 API CHANGE Deprecated ImageFormAction, use FormAction with setAttribute('src', 'myimage.png') 2012-01-02 16:48:14 +01:00
Ingo Schommer
d535847f27 MINOR Making $title optional in TreeMultiselectField to comply with parent implementation 2012-01-02 16:48:14 +01:00
Ingo Schommer
b5421d9598 ENHANCEMENT Allowing custom attributes in (most) FormField implementations, which allows for HTML5 data attributes 2012-01-02 16:48:14 +01:00
Ingo Schommer
c77f4e8421 MINOR Allowing usage of FormField->Type() on base implementation 2012-01-02 16:48:14 +01:00
Ingo Schommer
639caea949 MINOR Using FieldList instead of FieldSet on SelectionGroup to comply with parent implementation 2012-01-02 16:48:14 +01:00
Ingo Schommer
475f3764c3 BUGFIX Using separate template for readonly version of Textarea (mainly to avoid SSViewer bugs, but also for more granular customisation) 2012-01-02 16:48:14 +01:00
Ingo Schommer
a6148c33da MERGE Using FormField->template in most fields 2012-01-02 16:48:14 +01:00
Ingo Schommer
b36ad3b876 MINOR Testing nested if blocks in SSViewerTest 2012-01-02 16:48:13 +01:00
Sean Harvey
19e9b19a1a BUGFIX Ensure TextareaField template is encoding characters correctly 2012-01-02 16:48:13 +01:00
Sean Harvey
9e548f501e API CHANGE FormField::Field() and FormField::FieldHolder() now render into templates on each FormField instead of creating HTML from PHP 2012-01-02 16:48:13 +01:00
Ingo Schommer
b3c08dba12 API CHANGE Deprecated FieldSet-specific methods from Form, namely dateFieldByName(), unsetDataFieldByName(), unsetFieldFromTab(), resetField() 2012-01-02 16:47:59 +01:00
Ingo Schommer
7d46e7e751 MINOR Added CMS architecture documentation 2012-01-01 18:24:09 +01:00
wolfv
2ccda564ca ENHANCEMENT: #6579 Show page status in page tree (pull request #142 from wolfv/sapphire) 2011-12-29 10:35:44 +01:00
Wolf Vollprecht
2a429c9850 MINOR: Added Member Profile Popup Styling
MINOR: Better button styles
MINOR: Now compass for button sprites
2011-12-29 09:48:22 +01:00
Ingo Schommer
749d908e95 Merge pull request #147 from ajshort/pull-1
Minor Form Changes
2011-12-28 23:49:58 -08:00
ajshort
d692c22ee4 MINOR: Fixed FileField->Value() erroring when files value not set. 2011-12-26 19:08:08 +11:00
ajshort
3478e4f9e6 ENHANCEMENT: Made the form enctype configurable via a method Form->setEncType().
API CHANGE: Deprecated Form->FormEncType() in favour of Form->getEncType().
MINOR: Added enctypes as constants to the Form class.
2011-12-26 18:36:24 +11:00
ajshort
6aa90e6288 MINOR: Replaced is_a with instanceof to fix bugs with the changed is_a behaviour in PHP 5.3.7. 2011-12-26 18:31:32 +11:00
Ingo Schommer
565e2ab318 Merge pull request #143 from Innovatif/sapphire
---

BUGFIX Having <header tag in HTML causes requirements to double. See http://www.silverstripe.org/general-questions/show/17524
2011-12-23 16:36:01 +01:00
Ingo Schommer
7d245c3803 MINOR Reduced unnecessary autoloading 2011-12-23 10:31:35 +01:00
Ingo Schommer
255c110fb5 Merge pull request #144 from simonwelsh/sapphire
---

..._FILES so it handles nested keys properly.
2011-12-23 09:33:13 +01:00
Simon Welsh
dd546a9888 BUGFIX Merge request arrays recursively 2011-12-23 17:48:49 +13:00
Ingo Schommer
1f3b0d2684 MINOR Fixed link form prepopulation of selected text in CMS 2011-12-21 14:50:42 +01:00
Ingo Schommer
53506f37f2 MINOR Don't remove checkboxes from page tree after batch actions, as it causes an inconsistent UI ('multi-select' view is still enabled) (fixes #6758) 2011-12-21 10:48:53 +01:00
Ingo Schommer
0d26776e09 MINOR Deselecting tree items after swtiching back from multi-select (fixes #6810, thanks wolfv) 2011-12-21 10:19:42 +01:00
Anselm Christophersen
cdedbb8d37 MINOR ModelAdmin styling 2011-12-20 18:00:56 +01:00
Ingo Schommer
30377f277e MINOR Update CMS menu state on form submission (as well as history state change) 2011-12-20 17:46:44 +01:00
Ingo Schommer
225776389a MINOR Allow overwriting of 'X-Controller' and 'X-Title' HTTP headers in CMS 2011-12-20 17:46:44 +01:00
Ingo Schommer
c70e70b5c4 MINOR Removing compass asset_cache_buster functionality, as it wrongly changes the hashes even if files haven't changed, causing merging hassles - leave cache control to the webserver 2011-12-20 17:46:43 +01:00
Ingo Schommer
2211fc11ca MINOR Added reuseable .cms-panel-padded style 2011-12-20 17:46:43 +01:00