Sam Minnee
|
ba93028b01
|
API CHANGE: Added Form::VisibleFields() and FieldList::VisibleFields(), which list everything except hidden fields, to assist with the creation of custom form layouts.
|
2012-03-09 15:41:42 +13:00 |
|
Sam Minnee
|
a071456837
|
Merge branch 'master' of github.com:silverstripe/sapphire
Conflicts:
tests/forms/gridfield/GridFieldDetailFormTest.php
tests/forms/gridfield/GridFieldPopupFormsTest.yml
|
2012-03-09 14:37:32 +13:00 |
|
Stig Lindqvist
|
09d6fa7bb3
|
API CHANGE Renamed GridFieldDefaultColumns to GridFieldDataColumns #6921
|
2012-03-09 14:07:40 +13:00 |
|
Stig Lindqvist
|
6d0b0d6788
|
API CHANGE Removing GridFieldDeleteAction and moved functionality into GridFieldRemoveButton #6921
|
2012-03-09 13:55:49 +13:00 |
|
Stig Lindqvist
|
8b82dae06c
|
API CHANGE: Renaming of gridfield components #6921
|
2012-03-09 12:54:02 +13:00 |
|
Sean Harvey
|
c59c717d78
|
API CHANGE Removed CustomRequiredFields, please use custom validation instead
BUGFIX Ensure validators still used in ModelAdmin forms
|
2012-03-09 12:45:18 +13:00 |
|
Sean Harvey
|
7eddf4298f
|
Merge remote-tracking branch 'upstream/master'
|
2012-03-09 12:21:46 +13:00 |
|
Sean Harvey
|
9f3344b355
|
API CHANGE Removed built-in behaviour.js client-side form validation.
This is no longer supported. Please use custom client-side validation instead. (see 3.0.0 changelog
for more information)
|
2012-03-09 12:19:57 +13:00 |
|
Ingo Schommer
|
66f22441e5
|
MINOR Checking for existence of $searchFields in GridFieldRelationAdd
|
2012-03-08 23:56:46 +01:00 |
|
Stig Lindqvist
|
8b2213d56c
|
MINOR Added per-record canView, canDelete, canCreate and canEdit checks on gridfield and gridfield components #6890
|
2012-03-09 10:58:01 +13:00 |
|
Sean Harvey
|
f86e53bad8
|
API CHANGE Removed Validator::showError(), Validator::getError() and
Validator::getCombinedError(). Use Validator::getErrors() instead
|
2012-03-09 10:31:00 +13:00 |
|
Sam Minnee
|
ed0e06c0f6
|
BUGFIX: Fix a couple of rebasing-related bugs in GridField.
|
2012-03-09 10:27:57 +13:00 |
|
Sam Minnee
|
7ea151789b
|
MINOR: Formatted code a little better, at Stig's request.
|
2012-03-09 10:04:25 +13:00 |
|
Sam Minnee
|
5800db0239
|
API CHANGE: Allow for the creation of custom GridField fragments. (#6911)
|
2012-03-09 10:03:53 +13:00 |
|
Sam Minnee
|
c80e86f430
|
BUGFIX: Fix GridField::Field()
|
2012-03-09 09:58:57 +13:00 |
|
Ingo Schommer
|
e4a6dd5850
|
Merge branch 'integration'
Conflicts:
forms/gridfield/GridField.php
|
2012-03-08 20:25:21 +01:00 |
|
Ingo Schommer
|
ae17e97d75
|
MINOR Made GridFieldPopupForms work outside of the CMS again (was assuming existence of Breadcrumbs)
|
2012-03-08 19:53:19 +01:00 |
|
Ingo Schommer
|
b321b9b995
|
MINOR Don't show GridField pagination when no records are found, and ensure the "no results" message is laid out correctly
|
2012-03-08 18:22:30 +01:00 |
|
Ingo Schommer
|
2ec40f888a
|
MINOR Stop using deprecated FormField->getTabIndex()
|
2012-03-08 18:22:27 +01:00 |
|
Ingo Schommer
|
ac20bfaf99
|
MINOR Renamed GridFieldAction_Edit to GridFieldEditAction, GridFieldAction_Delete to GridFieldDeleteAction, to make it clearer that there's no parent class/concept called "GridFieldAction". There's only the GridFieldActionProvider interface, as well as the GridField_FormAction (which is a related, but different kettle of fish).
|
2012-03-08 18:22:25 +01:00 |
|
Ingo Schommer
|
3e700d729f
|
MINOR Renaming GridField_Action to GridField_FormAction, to better distinguish it from GridFieldActionProvider and GridFieldAction_Edit. The two are conceptually related, but not through inheritance, as the original naming suggested.
|
2012-03-08 15:22:00 +01:00 |
|
Normann Lou
|
d35d7507ff
|
FEATURE SSF-25 : enable to remove component from a GridFieldConfig.
|
2012-03-08 20:29:18 +13:00 |
|
Normann Lou
|
fd828fc4cb
|
ENHANCEMENT SSF-53 : change the icon class for "Link Existing" button to 'chain--plus'
|
2012-03-08 14:55:53 +13:00 |
|
Andrew O'Neil
|
38db2c1744
|
BUGFIX: Fix state of gridfield pagination
|
2012-03-08 14:11:25 +13:00 |
|
Normann Lou
|
0ede949b74
|
MINOR SSF-53 : typo correction 'unlick' => 'unlink'
|
2012-03-08 12:28:35 +13:00 |
|
Normann Lou
|
7331a06cb1
|
ENHANCEMENT SSF-53 : add gridfield-button-unlink to unlink button that removes a member from a group
|
2012-03-08 11:05:57 +13:00 |
|
Julian Seidenberg
|
a59637c77c
|
MINOR: SSF-30 tweaking comment
|
2012-03-08 10:08:43 +13:00 |
|
Sam Minnee
|
1fd8d19e28
|
API CHANGE: FormAction::FieldHolder() now returns just the Field(), so that a FieldList::forTemplate() returns a sensible result for an action list.
|
2012-03-08 10:02:57 +13:00 |
|
Sam Minnee
|
e4dbf8065b
|
API CHANGE: Added FieldList::forTemplate(), so that by default a FieldList will be rendered in its template as a concatenation of FieldHolder values.
API CHANGE: Removed unnecessary HiddenFieldList class.
|
2012-03-08 10:00:54 +13:00 |
|
Ingo Schommer
|
391ffde4f3
|
API CHANGE Deprecated FormField->getTabIndex()/setTabIndex(), use getAttribute()/setAttribute() instead. Removed FormField->getTabIndexHTML()
|
2012-03-07 17:46:10 +01:00 |
|
Ingo Schommer
|
3b9c9399dc
|
MINOR Using base LeftAndMain_EditForm template in GridFieldPopupForms regardless of template overrides on the "root" cms controller
|
2012-03-07 17:17:44 +01:00 |
|
Ingo Schommer
|
feca8390d7
|
API CHANGE Deprecated HasManyComplexTableField and ManyManyComplexTableField, use GridField with GridFieldConfig_RelationEditor instead
|
2012-03-07 13:32:42 +01:00 |
|
Ingo Schommer
|
55a0fb18e4
|
API CHANGE Deprecated FormField->describe(), use setDescription() instead. Actually use the description in form fields other than FormAction.
|
2012-03-07 13:32:42 +01:00 |
|
Ingo Schommer
|
69a8659a3d
|
ENHANCEMENT Using 'autoresize' TinyMCE plugin in HTMLEditorField default config, in order to save space when no content is entered into the field
|
2012-03-07 13:32:42 +01:00 |
|
Normann Lou
|
1facb509a4
|
ENHANCEMENT SSF-53 : Change the Labels for "Save" and "Delete" button for an "adding new form" of GridField to "Create" and "Cancel", apply different logic for Cancel
|
2012-03-07 18:32:27 +13:00 |
|
Julian Seidenberg
|
febcff734c
|
BUGFIX: SSF-30 redirect action that sends an edit form back to the root of assets after making a change like changing the parentID of a file, or deleting it. Basically, any action that makes the existing URL reference obsolete.
|
2012-03-07 17:17:32 +13:00 |
|
Julian Seidenberg
|
676bcbe8c0
|
BUGFIX: SSF-30 adding check for null record in the GridFieldPopupForms request handler
|
2012-03-07 16:43:12 +13:00 |
|
Julian Seidenberg
|
5967a1c135
|
API-CHANGE: SSF-30 adding a method to control a parameter passed to Hierarchy->getChildrenAsUL() from TreeDropdownField. The parameter is useful for controlling whether the returned UL contains child nodes, or just folders.
|
2012-03-07 16:43:12 +13:00 |
|
Normann Lou
|
4794195b25
|
MINOR SSF-53 : change the export button's icon name as per design
|
2012-03-07 15:28:00 +13:00 |
|
Andrew O'Neil
|
a28485316f
|
BUGFIX: Fix pagination when there are no records
|
2012-03-07 14:48:08 +13:00 |
|
Andrew O'Neil
|
c81bb3b4d3
|
MINOR: Change -10/+10 buttons to First and Last
|
2012-03-07 14:48:08 +13:00 |
|
Ingo Schommer
|
829c7682e3
|
BUGFIX Support for multilevel nested GridFieldPopupForm (in CMS only), fixed breadcrumb linkage
|
2012-03-07 01:23:41 +01:00 |
|
Ingo Schommer
|
b43bdf3781
|
BUGFIX Allowing to save ListboxField and CheckboxSetField into custom relations (which don't return TRUE for has_many() or many_many())
|
2012-03-07 01:23:41 +01:00 |
|
Andrew O'Neil
|
58309cb2ec
|
MINOR: Tests for add and edit forms of GridField
|
2012-03-07 10:48:09 +13:00 |
|
Ingo Schommer
|
8efaf75375
|
MINOR jQuery UI icons for GridField buttons (with spriting), added new icon to GridFieldRelationDelete to dustinguish it visually from GridFieldAction_Delete
|
2012-03-06 21:38:34 +01:00 |
|
Ingo Schommer
|
1c344db339
|
MINOR More consistent overloading in GridField_Action, using standard getAttributes() method rather than custom template placeholders, removing setButtonIcon() and setButtonLabel() as those features already exist in the base implementation
|
2012-03-06 21:38:34 +01:00 |
|
Ingo Schommer
|
0b4228231c
|
MINOR Integrating GridFieldSearch.js in GridField.js (and using entwine for it)
|
2012-03-06 21:38:34 +01:00 |
|
Ingo Schommer
|
dc83ace928
|
BUGFIX Fixed CSV exporting on GridFieldExporter (was calling action via ajax, which doesn't allow HTTP download responses)
|
2012-03-06 15:50:07 +01:00 |
|
Ingo Schommer
|
dca1b0df1c
|
MINOR GridField docs
|
2012-03-06 12:39:13 +01:00 |
|
Julian Seidenberg
|
17016273d5
|
MINOR: SSF-106 documentation
|
2012-03-06 15:01:17 +13:00 |
|
Ingo Schommer
|
4253950b4c
|
MINOR Fixed handleRequest() usage in GridFieldPopupForms
|
2012-03-06 01:23:34 +01:00 |
|
Ingo Schommer
|
1201f6c8bb
|
BUGFIX Saving records in ListboxField->saveInto() and PermissionCheckboxSetField->saveInto() so we have a database ID to relate to (was previously customised in MemberTableField->saveComplexTableField(), which is now deprecated)
|
2012-03-06 01:23:34 +01:00 |
|
Julian Seidenberg
|
e0bd5d1070
|
ENHANCEMENT: SSF-106 adding a "no items found" message when returning an empty grid field
|
2012-03-06 12:36:59 +13:00 |
|
Julian Seidenberg
|
a715785a42
|
ENHANCEMENT: SSF-106 adding the ability to turn off and on the "add new" button on the GridFieldTitle
|
2012-03-06 11:19:46 +13:00 |
|
Hamish Friedlander
|
763e644145
|
BUGFIX: Dont need (and cant call) iteratorProperties calls as workaround any more
|
2012-03-06 10:18:26 +13:00 |
|
Hamish Friedlander
|
28bb83552a
|
API-CHANGE: moving iterator support from ViewableData to SSViewer. New set of unit tests for iterator support functions.
|
2012-03-06 09:31:55 +13:00 |
|
Ingo Schommer
|
e2c21cce8e
|
MINOR "New <record title>" breadcrumb for GridFieldPopupForm
|
2012-03-05 18:21:08 +01:00 |
|
Ingo Schommer
|
8da89c6f7c
|
MINOR Generic .cms-help-toggle implementation to replace MemberDatetimeOptionsetField.js (which also didn't work when loaded via Ajax, and needed a rewrite to jQuery.entwine anyway)
|
2012-03-05 17:41:50 +01:00 |
|
Ingo Schommer
|
40abab8aec
|
ENHANCEMENT GridFieldPopupForms->setValidator()
|
2012-03-05 17:41:50 +01:00 |
|
Ingo Schommer
|
8a4a6efe29
|
MINOR Moving CMS-specific customisations to GridFieldPopupForms into form getter, so it also applies when the form has validation errors
|
2012-03-05 17:41:50 +01:00 |
|
Ingo Schommer
|
5d565dcfa3
|
ENHANCEMENT Added ListboxField->setDisabledItems() and setDefaultItems() (similar to CheckboxSetField API)
|
2012-03-05 16:11:29 +01:00 |
|
Ingo Schommer
|
ea31e1798a
|
MINOR Don't duplicate pagination defaults from GridFieldPaginator in GridFieldConfig
|
2012-03-05 16:11:29 +01:00 |
|
Ingo Schommer
|
6798d40709
|
MINOR GridField documentation
|
2012-03-05 12:27:25 +01:00 |
|
Ingo Schommer
|
10a85f4bab
|
ENHANCEMENT Scaffolding GridFieldRelationAdd->searchFields if required, making constructor argument optional
|
2012-03-05 12:27:00 +01:00 |
|
Ingo Schommer
|
0762be9927
|
ENHANCEMENT Renamed GridFieldConfig_ManyManyEditor to GridFieldConfig_RelationEditor, to be more in line with underlying component naming, and more accurate (as it allows editing has_many relations as well). Removed $fieldToSearch argument from its constructor to keep config API consistent, should use getComponentByType() for configuration. Added GridFieldConfig_RecordEditor
|
2012-03-05 12:26:02 +01:00 |
|
Ingo Schommer
|
375ad464db
|
ENHANCEMENT GridFieldPaginatior->itemsPerPage accessors
|
2012-03-05 12:12:36 +01:00 |
|
Ingo Schommer
|
344899ab77
|
Revert "ENHANCEMENT Support numeric array values in CheckboxSetField (?Field[]=val1&Field[]=val2 instead of ?Field[val1]=1&Field[val2]=1)" - data handling with numeric/associative arrays too clumsy, fixed up ListboxField instead
This reverts commit 8fa266462f .
|
2012-03-05 10:55:44 +01:00 |
|
Ingo Schommer
|
6e3ceefbb8
|
ENHANCEMENT Relationship saving in ListboxField (preparing for chosen.js usage), escaping commas in payload when serialising multiple values into a single field
|
2012-03-05 10:55:09 +01:00 |
|
Normann Lou
|
7a97b52a2e
|
ENHANCEMENT SSF-53 : add customised icon class for relational 'Export to CSV' button.
|
2012-03-05 17:30:02 +13:00 |
|
Normann Lou
|
8a56f989ac
|
MINOR SSF-53 : give "Add New" button an 'add' icon class, give "Link Exisiting" button a 'linkexisting' class
|
2012-03-05 15:47:36 +13:00 |
|
Normann Lou
|
d26e68c41a
|
ENHANCEMENT SSF-53 : add customised icon class for relational 'Find' button and 'Link Existing' button
|
2012-03-05 15:47:35 +13:00 |
|
Normann Lou
|
3ef957b704
|
APICHANGE SSF-53 : add ability to set an customised class of icons for a GridField_Action button
|
2012-03-05 15:47:35 +13:00 |
|
Andrew O'Neil
|
929182f818
|
MINOR Adjust pagination to match design
|
2012-03-05 15:28:40 +13:00 |
|
Sam Minnee
|
adfdd068e2
|
Merge branch 'ereg-to-preg' of https://github.com/AngryPHPNerd/sapphire
Conflicts:
model/fieldtypes/Date.php
|
2012-03-05 13:54:20 +13:00 |
|
Normann Lou
|
79d52a2382
|
ENHANCEMENT SSF-53: put a unlink button in the "Actions" column rather than holding a separate column for easy styling
|
2012-03-05 12:45:05 +13:00 |
|
Sean Harvey
|
b3d977f0e7
|
Merge remote-tracking branch 'upstream/master' into file_shortcodes
|
2012-03-03 10:24:06 +13:00 |
|
Ingo Schommer
|
299bf8b9c6
|
Merge branch 'integration'
|
2012-03-02 20:53:06 +01:00 |
|
Ingo Schommer
|
8fa266462f
|
ENHANCEMENT Support numeric array values in CheckboxSetField (?Field[]=val1&Field[]=val2 instead of ?Field[val1]=1&Field[val2]=1)
|
2012-03-02 20:46:22 +01:00 |
|
Ingo Schommer
|
b95abeedc6
|
Revert "MINOR SSF-53 : add ability to add customised class to GridField table" (introduces duplicate '.ss-gridfield' class in different levels of the DOM hierarchy)
This reverts commit 7bdc3d13fc .
|
2012-03-02 12:28:45 +01:00 |
|
Ingo Schommer
|
783de154b2
|
MINOR Declaring JS requirements for AjaxUniqueTextField
|
2012-03-02 11:06:40 +01:00 |
|
Normann Lou
|
1175c693c5
|
ENHANCEMENT SSF-53 : add ability to use translated button label for 'Add New' and 'Link Existing'
|
2012-03-02 17:26:36 +13:00 |
|
Normann Lou
|
7bdc3d13fc
|
MINOR SSF-53 : add ability to add customised class to GridField table
|
2012-03-02 16:27:34 +13:00 |
|
Normann Lou
|
5548c66a49
|
ENHANCEMENT SSF-53 reordering the components that added to group GridField in CMS so that it appears same as the landing view of SecurityAdmin
|
2012-03-02 16:03:23 +13:00 |
|
Normann Lou
|
de75798559
|
BUGFIX SSF-53 Pass through the parameter $itemsPerPage instead of reassign the default value (15)
|
2012-03-02 15:59:39 +13:00 |
|
Andrew O'Neil
|
fce5487e59
|
MINOR: SFF-106 Gridfield changes to make styling easier
|
2012-03-02 11:06:24 +13:00 |
|
Ingo Schommer
|
aa2e610a20
|
MINOR Documentation
|
2012-03-01 21:36:01 +01:00 |
|
Ingo Schommer
|
04698ac295
|
ENHANCEMENT GridFieldRelationAdd->placeholderText (SSF-53)
|
2012-03-01 21:35:59 +01:00 |
|
Ingo Schommer
|
a2afe4e4ad
|
ENHANCEMENT Support multiple search fields in GridFieldRelationAdd, and allowing custom result formatting (SSF-53)
|
2012-03-01 21:35:45 +01:00 |
|
Ingo Schommer
|
9c95a9ae29
|
MINOR Removed GridFieldRelationAdd->useAutoSuggestion flag, as the field doesn't work without it (no current ID is being set via JS) (SSF-53)
|
2012-03-01 17:57:16 +01:00 |
|
Ingo Schommer
|
f8201c48a3
|
MINOR More generic CSS styles for .cms-file-info: Apply to form.small parent, fixed related UploadField spacing issues
|
2012-03-01 11:58:16 +01:00 |
|
Sean Harvey
|
f5c4bc0802
|
ENHANCEMENT Ensure that broken File links receive an "ss-broken" class, just like broken SiteTree links
|
2012-03-01 23:24:58 +13:00 |
|
Sean Harvey
|
898c8f5497
|
ENHANCEMENT [file_link id=n] shortcode support for file links in HtmlEditorField
|
2012-03-01 22:20:58 +13:00 |
|
Normann Lou
|
2dfb4142e0
|
BUGFIX SSF-53: fixed that raw html source appears for "Export to CSV" button(SSF-243)
|
2012-03-01 12:35:35 +13:00 |
|
Andrew O'Neil
|
a50fc5180a
|
MINOR: SSF-106 Dont hide filter buttons when search isnt selected
|
2012-03-01 10:59:29 +13:00 |
|
Ingo Schommer
|
586ca7374f
|
Merge pull request #202 from halkyon/date_changes
Date changes
|
2012-02-29 13:02:30 -08:00 |
|
Ingo Schommer
|
da879da940
|
MINOR Styling and structural fixes for File/Image->getCMSFields() and relates usage in UploadField/HTMLEditorField.
|
2012-02-29 21:06:43 +01:00 |
|
Ingo Schommer
|
b92676cc86
|
MINOR Fixed DatetimeField_Readonly config retrieval
|
2012-02-29 16:59:07 +01:00 |
|
Ingo Schommer
|
726b9cac46
|
MINOR Create valid HTML attributes in GridFieldDefaultColumns->getColumnAttributes()
|
2012-02-29 09:53:22 +01:00 |
|
Felipe Skroski
|
bc6ea2ec0e
|
MINOR: (SSF-106) started on styling the filter bar on the datagrid
|
2012-02-29 16:42:57 +13:00 |
|
Andrew O'Neil
|
2dffac7398
|
MINOR: SSF-106 Add classes for gridfield buttons
|
2012-02-29 14:59:11 +13:00 |
|