Commit Graph

7285 Commits

Author SHA1 Message Date
Ingo Schommer
bb5385db3e Merge pull request #175 from silverstripe-scienceninjas/pull/autosuggestion-class-fix
BUGFIX It's not possible to use more than one autosuggestion field from GridFieldRelationAdd per view
2012-01-30 14:29:58 -08:00
Ingo Schommer
3a712631d5 Merge pull request #176 from silverstripe-scienceninjas/pull/i18n-fixes-for-gridfield
MINOR i18n on GridFieldRelationAdd, GridFieldFilter and GridFieldItemEditVIew template
2012-01-30 14:29:30 -08:00
Sam Minnée
04c56a73fa Merge pull request #177 from chillu/docs-public-convention
MINOR Updated coding conventions to require the 'public' keyword for cla...
2012-01-30 14:18:55 -08:00
Ingo Schommer
04a10a4265 MINOR Updated coding conventions to require the 'public' keyword for class methods and variables 2012-01-30 23:13:42 +01:00
Ingo Schommer
0b0d42c24e MINOR Formatting 2012-01-30 18:28:15 +01:00
Ingo Schommer
008ecf750a MINOR Fixed GridFieldExporter accessors (undefined $gridField in changed scope) 2012-01-30 17:29:35 +01:00
Ingo Schommer
5faca9ca2f MINOR Accessors, documentation and i18n for GridFieldExporter 2012-01-30 16:48:15 +01:00
Ingo Schommer
a135b7c01d MINOR Removed GridField->getDefaultConfig() in favour of new GridFieldConfig_Base class (and adjusted its components to remove the "edit" component, and add the "filter" component by default, to match the original getDefaultDefaultConfig()) 2012-01-30 15:51:07 +01:00
Ingo Schommer
5fe86be311 ENHANCEMENT Added GridFieldConfig->getComponentsByType() and getComponentByType() 2012-01-30 15:47:26 +01:00
Sam Minnee
2d898cab63 API CHANGE: Added GridFieldExporter, a GridField component that adds export functionality, and added it to the security admin. 2012-01-30 19:49:10 +13:00
Sam Minnee
24850954c1 BUGFIX: Fixed bug in sprintf syntax with GroupImportForm iframe 2012-01-30 19:25:27 +13:00
Sam Minnée
a4f1fbaac5 Merge pull request #172 from silverstripe-scienceninjas/story/ssf-104
API CHANGE Security admin supports adding, removing and searching for members by relations via gridfield
2012-01-29 22:12:05 -08:00
Russell Michell
0090009703 BUGFIX: Added default args to GridFieldPopupForms for AssetAdmin which was casing errors
BUGFIX: Added GridFieldFilter() to new GridFieldConfig whuch adds filters and fixes the display
MINOR: Added gridfield specific margins to form div to push GridField display down-page (due to GF's sort-fields which will be refactored from new designs)
2012-01-30 09:26:39 +13:00
Stig Lindqvist
3f682531e6 Merge pull request #171 from silverstripe-scienceninjas/pull/fix-default-sorting-bugs-subtract
BUGFIX Subtract should not add order by on subselect
2012-01-26 21:29:08 -08:00
Stig Lindqvist
056e564217 BUGFIX Subtract should not add order by on subselect 2012-01-27 18:27:24 +13:00
Sam Minnée
eef6450613 Merge pull request #170 from silverstripe-scienceninjas/pull/add-subtract-to-datalists
API CHANGE DataList::subtract and DataQuery::subtract for subtracting a list from another list
2012-01-25 21:02:14 -08:00
Stig Lindqvist
7f09b6931b API CHANGE DataList::subtract and DataQuery::subtract for subtracting a list from another list
Minor Stripped out ManyManyList tests from DataListTest into it's own test case
2012-01-26 17:59:43 +13:00
Stig Lindqvist
6f2e8893a5 MINOR Groups in SecurityAdmin was not using Autosuggestion field for adding members to group. 2012-01-24 19:16:23 +01:00
Stig Lindqvist
9b3af77637 BUGFIX It is not possible to use more than one autosuggestion field from GridFieldRelationAdd per view 2012-01-24 19:15:24 +01:00
Stig Lindqvist
28906d4b32 MINOR i18n on GridFieldRelationAdd, GridFieldFilter and GridFieldItemEditVIew template 2012-01-24 19:13:12 +01:00
Stig Lindqvist
dc85fa09b9 MINOR SecurityAdmin::getEditForm should have same signature as LeftAndMain::getEditForm 2012-01-24 02:46:12 +01:00
Stig Lindqvist
439ed75ff9 MINOR Removed unused property on GridFieldFilter 2012-01-24 02:46:12 +01:00
Stig Lindqvist
07029138bf MINOR Updated docblocks for GridFieldPaginator 2012-01-24 02:46:12 +01:00
Stig Lindqvist
ed889529b4 API CHANGE Added two predefined GridFieldConfigs and removal of unsused accessors
- GridFieldConfig_ManyManyEditor for default relationship list managment
- GridFieldConfig_Base for basic list managment
2012-01-24 02:46:12 +01:00
Stig Lindqvist
c396c2d2ae API CHANGE Security admin supports adding, removing and searching for members by relations via gridfield
This contains some experimental API's when using GridFieldPopupForms on GridFieldPopupForms.

- GridFieldRelationAdd
- GridFieldRelationDelete
2012-01-24 02:46:07 +01:00
Sam Minnée
3a5d37ec75 Merge pull request #169 from jthomerson/fix_prepopulate_function_name
Use corrected function name from silverstripe-cms project
2012-01-23 12:56:13 -08:00
Jeremy Thomerson
09bb6d404c Use corrected function name from silverstripe-cms project
The CMS project had a function named "SiteTree::prepopuplate_permission_cache" which
should be "SiteTree::prepopulate_permission_cache".  Since another commit corrected
the function name in that project, this project needs to use the new name.
2012-01-23 14:29:55 -05:00
Ingo Schommer
8ba585be27 MINOR Fixing button whitespace gaps and "interrupted" buttonsets 2012-01-23 10:23:49 +01:00
Wolf Vollprecht
0444d4ea16 ENHANCEMENT Buttonsets for CMS (fixes #6631), using new jQuery UI button() to style buttons in CMS, moved JavaScript to LeftAndMain.js as the button styles only apply with an .Actions container now 2012-01-23 09:35:07 +01:00
Ingo Schommer
d456e86cbd MINOR Name attribute for preview iframe (mainly to facilitate testing) 2012-01-22 18:28:33 +01:00
Ingo Schommer
e18698d541 MINOR Wrapping tree title in its own element (mainly to facilitate selectors during testing) 2012-01-22 18:27:57 +01:00
Ingo Schommer
cb74dbccfc MINOR Removed overzealous value validation in ListboxField, should silently ignore unknown values (lacking better referential integrity measures in the underlying model layer) 2012-01-19 12:13:18 +01:00
Dominik Beerbohm
82ef236879 Reset ... 2012-01-17 00:57:39 +01:00
Dominik Beerbohm
09c1f8f576 Bad parameter forwarding from SS_ListDecorator (sort,filter,exclude) to i.e. DataList. 2012-01-17 00:34:54 +01:00
Dominik Beerbohm
3a9ea42488 Update view/SSViewer.php 2012-01-16 18:04:26 +01:00
Ingo Schommer
a6cc7d8392 MINOR Enforce SiteTree::$allowed_children in tree drag'n'drop for VirtualPage originals 2012-01-14 13:07:13 +01:00
Ingo Schommer
9451993d74 API CHANGE Moved DataObject->writeWithoutVersion() to Versioned extension
BUGFIX Don't create new version on related VirtualPage records in SiteTree->onAfterWrite() when the write was triggered through writeWithoutVersion(). Use a new $_nextWriteWithoutVersion flag replacing the -1 Version number for this purpose (AIR-97)
2012-01-14 13:07:12 +01:00
Ingo Schommer
3eda9dbf12 Merge pull request #162 from dompie/master
Enhance installation on webhosters
2012-01-12 06:41:39 -08:00
dompie
3c09e9dfc4 ENH: Some webhosters require username/password credentials to test for
existing DB server
2012-01-11 16:05:19 +01:00
Sam Minnée
ccbcb386e7 Merge pull request #161 from silverstripe-scienceninjas/pull/3.0.0-alpha2-change-log
MINOR Updated changelog
2012-01-09 21:37:09 -08:00
Stig Lindqvist
6436870a57 MINOR Updated changelog 2012-01-10 18:35:03 +13:00
Sam Minnee
d296a9411d Merge remote-tracking branch 'refs/remotes/scienceninjas/story/sort-by-relation-on-datalist' 2012-01-10 17:33:04 +13:00
Sam Minnee
b311fbf038 MINOR: Always flush the manifest when using sapphire/test/bootstrap.php 2012-01-10 17:28:11 +13:00
Sam Minnee
65299afd27 MINOR: Removed database coupling from GridFieldTest. 2012-01-10 17:00:02 +13:00
Sam Minnee
c0d891cc0b BUGFIX: Fixed GridField::getModelClass() not to access protected property. 2012-01-10 16:59:28 +13:00
Sam Minnee
3c1d62acfd API CHANGE: Added ArrayList::dataClass(), which will return the class of the first item in the list. 2012-01-10 16:58:49 +13:00
Sam Minnee
6a08a82c9c MINOR: Removed notice-level errors from form field construction. 2012-01-10 16:58:27 +13:00
Sam Minnee
7c6050b407 Merge remote-tracking branch 'refs/remotes/chillu/formfield-constructors'
Conflicts:
	forms/CountryDropdownField.php
2012-01-10 16:41:02 +13:00
Sam Minnee
489191b44f BUGFIX: Fixed notice-level errors in GridField, exposed by test failures. 2012-01-10 16:39:12 +13:00
Sam Minnee
06605ffadc ENHANCEMENT: Provide a default Controller::Link() method, meaning that Controller objects can be constructed to help with testing forms. 2012-01-10 16:39:12 +13:00