Commit Graph

7689 Commits

Author SHA1 Message Date
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
Ingo Schommer
7c4bc36a9b Merge pull request #216 from halkyon/master
Removed old behaviour.js client-side form validation
2012-03-08 15:51:58 -08: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
e5f02337cd MINOR Testing nested detail forms in GridField 2012-03-09 00:06:14 +01:00
Ingo Schommer
66f22441e5 MINOR Checking for existence of $searchFields in GridFieldRelationAdd 2012-03-08 23:56:46 +01:00
Sam Minnée
31ce29fa0b Merge pull request #215 from silverstripe-scienceninjas/pull/6890-gridfield-permission
MINOR Added per-record canView, canDelete, canCreate and canEdit checks ..
2012-03-08 14:38:51 -08: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
6119b8d1b4 Merge pull request #214 from ohararyan/master
TemplateGlobalProvider missing in installer
2012-03-08 13:50:47 -08:00
Ryan O'Hara
63d5927e50 BUGFIX: Added TemplateGlobalProvider include to installer, as required by i18n. 2012-03-09 10:45:24 +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
Ingo Schommer
f9323b398c BUGFIX Type-safe checks for Controller::join_links(), allowing arguments with a value of "0" 2012-03-08 22:20:37 +01:00
Ingo Schommer
46a3bbf7ba MINOR Merge error 2012-03-08 22:20:37 +01: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
08c3e7edf3 MINOR More flexible form detection in LeftAndMain.Tree.js 2012-03-08 18:22:30 +01:00
Ingo Schommer
b836bce521 MINOR Fixed double form submit (in some cases button click events aren't cancelled despite returning FALSE) 2012-03-08 18:22:30 +01:00
Ingo Schommer
c117ef58cf API CHANGE Removed LeftAndMain->RootForm(), concept no longer applies in 3.0 UI. Use EmptyForm() or EditForm() 2012-03-08 18:22:30 +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
174cf08c75 MINOR Removing special TinyMCE case in LeftAndMain->doAdd(), feature has been removed 2012-03-08 18:22:30 +01:00
Ingo Schommer
ee2b220780 MINOR Supporting X-ControllerURL in form submits 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
Ingo Schommer
9517763ec6 MINOR Fixed PHP notice in ModelAdmin 2012-03-08 15:18:11 +01:00
Normann Lou
5e92c69c0a BUGFIX SSF-25 : remove CreateForm, using the GridField 'Add New" action, instead 2012-03-08 20:29:19 +13:00
Normann Lou
2ea7c8d136 ENHANCEMENT SSF-25 : remove GridField filter component for search result in ModelAdmin 2012-03-08 20:29:19 +13:00
Normann Lou
d35d7507ff FEATURE SSF-25 : enable to remove component from a GridFieldConfig. 2012-03-08 20:29:18 +13:00
Normann Lou
d24c2ef1ed FEATURE SSF-25 : change to use GridField for showing searched results in stead of TableListField 2012-03-08 20:29:18 +13:00
Normann Lou
7d956de754 MINOR SSF-25 : correct inline document 2012-03-08 20:29:18 +13:00
jbridson
72101c254a MINOR:SSF-106 - fixed position of pagination on datagrid. 2012-03-08 17:21:26 +13:00
jbridson
2095743a68 MINOR:SSF-106 - edited the SCSS so that measurements use increments of $gf_gridy/x 2012-03-08 16:40:05 +13:00
jbridson
349794a44f MINOR:SSF-106 added class="text" to pagination input field for styling 2012-03-08 16:40:05 +13:00
jbridson
91d7f1c21c MINOR:SSF-53 - fixed height of table header when it has no sortable columns 2012-03-08 16:40:05 +13:00
jbridson
649d84a396 ENHANCEMENT:SSF-106 - styled the input for pagination and changed measurements to increments of $gf_grid_x and $gf_grid_y 2012-03-08 16:40:05 +13:00
jbridson
3870ba4d0a MINOR:SSF-53 - changed height of icon on back button in users detail view. 2012-03-08 16:40:05 +13:00
jbridson
bd85d038af ENHANCEMENT:SSF-53 - hid the find button from the link existing member field on users groups. 2012-03-08 16:40:04 +13:00
jbridson
292bd79b82 BUGFIX:SSF-53 - fixed filter and reset buttons in ie7 and ie8 plus fixed an array of other ie7/8 styling bugs 2012-03-08 16:40:04 +13:00
jbridson
c5a42797de ENHANCEMENT:SSF-53 - styled the label for the parent group input field on the users groups page. 2012-03-08 16:40:04 +13:00
jbridson
c3a2938a6d BUGFIX:SSF-53 - removed hover and active states from unlink button on users groups datagrid 2012-03-08 16:40:04 +13:00
Normann Lou
de69d0944b BUGFIX SSF-25 : $Form is not defined in the context, sine {$Form.Name} always give 'Form' string, we need just have 'Form' string there instead to use {$Form.Name} 2012-03-08 15:38:02 +13:00
Normann Lou
767336916b ENHANCEMENT SSF-25 : use a title if users/devs has set one instead using a hard-coded one 2012-03-08 15:17:52 +13:00