Sam Minnee
1f7263e55e
ENHANCEMENT: Updated default many-many grid field to show "add existing" and "add new" side by side.
2012-03-09 17:54:39 +13:00
Sam Minnee
818c341c57
API CHANGE: Created GridFieldAddNewButton, replacing the one that was previously hardcoded in GridFieldToolbarHeader
2012-03-09 17:52:26 +13:00
Sam Minnee
12618e2027
API CHANGE: Added targetFragment argument to GridFieldAddExistingAutocompleter, so that its location can be changed. Updated CSS and HTML to allow for this.
2012-03-09 17:52:26 +13:00
Sam Minnee
d795a55bdb
API CHANGE: Removed 'add new' button from GridFieldToolbarHeader, instead opting to include two HTML fragments: toolbar-header-left and toolbar-header-right.
2012-03-09 17:52:26 +13:00
Sam Minnee
92a3535455
API CHANGE: Added targetFragment argument to GridFieldExportButton to control button placement. Moved search fields to 2nd argument.
2012-03-09 17:52:26 +13:00
Sam Minnee
adbcf61c56
MINOR: Minor fixes after new SS_List interfaces cleanup
2012-03-09 17:50:32 +13:00
Stig Lindqvist
6d380cd546
BUGFIX GridFieldPaginator did not work correctly after SS_Limitable was introduced
2012-03-09 17:07:42 +13:00
Stig Lindqvist
b6803f6141
MINOR Check that component getActions returns an array before using it
2012-03-09 17:07:42 +13:00
Sam Minnee
426f16764c
ENHANCEMENT: GridFieldComponents will now use SS_Filterable, SS_Sortable, and SS_Limitable to determine which features are applicable to the List provided, and either throw an error, or silently disable the feature.
...
API CHANGE: Added throwExceptionOnBadDataType() to GridFilterFilter, GridFieldPaginator, and GridFieldSortableHeader.
2012-03-09 17:07:41 +13:00
Sam Minnee
a55e06f6b5
API CHANGE: Introduce SS_Limitable class for adding to SS_Lists that have limit capability.
...
API CHANGE: Deprecated SS_List::getRange() in favour of SS_Limitable::limit().
API CHANGE: Introduce SS_Limitable::limit($limit, $offset = 0) as the only modern way of specifying limits; deprecate all others.
2012-03-09 17:07:40 +13:00
Sam Minnee
3d54668896
MINOR: Added explicit 'public' keyword on functions.
2012-03-09 15:42:31 +13:00
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
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