Commit Graph

7680 Commits

Author SHA1 Message Date
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
e8ad2c2173 MINOR Using ListboxField instead of CheckboxSetField in Member->getCMSFields() for group assignment 2012-03-05 10:55:32 +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
Ingo Schommer
eab8401c7d MINOR Applying chosen.js behaviour to all <select multiple>, rather than arbitrarily limiting to a CheckboxSetField. Also fixed a bug where those fields would get the '.has-chzn' class even if it wasn't applied due to a missing <select> element. 2012-03-05 09:21:24 +01:00
Ingo Schommer
a6a7b2e469 MINOR Fixed viewer/editor groups field widths to work with chosen.js UI component 2012-03-05 09:13:19 +01:00
Ingo Schommer
e8f9624b42 BUGFIX Moved window.beforeunload handler out of onmatch(), was applied multiple times and causing unsaved changes confirmation messages on forms which were no longer loaded 2012-03-05 09:13:19 +01:00
Ingo Schommer
c69e949bc9 MINOR Show all "can view" options in page settings in their own line, as it makes it easier to scan available options 2012-03-05 09:13:19 +01:00
Ingo Schommer
6c24589a92 Merge pull request #208 from sminnee/fix-startsession
BUGFIX: Fixed dev/tests/startsession form action
2012-03-05 00:07:06 -08: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
7dd7e60f5a MINOR SSF-53 : add / remove hover-alike class to "Filter" button for easy css styling while keydown on filter input field 2012-03-05 17:28:42 +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
f1579a2cdd MINOR: Corrected date in installer copyright (open.ss.org #6833) 2012-03-05 14:51:42 +13:00
Sam Minnee
a5e809be49 BUGFIX: Fixed dev/tests/startsession form action 2012-03-05 14:36:38 +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
Sam Minnee
dd130ddcb1 Merge branch 'file_shortcodes' of https://github.com/halkyon/sapphire 2012-03-05 13:49:46 +13:00
jbridson
d135c13c94 MINOR:SSF-53 - Changed the icon for the active state of the filter button on user gridfield 2012-03-05 13:35:49 +13:00
Sean Harvey
686f7b08e4 Merge remote-tracking branch 'upstream/master' into misc_fixes 2012-03-05 13:18:40 +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
b48d2a628a Merge pull request #206 from textagroup/master
Enhancement to display location of php.ini file when errors exist in install
2012-03-04 12:18:14 -08:00
Kirk Mayo
c211b7c435 Added some simple code to show the location of the loaded php.ini file when php configuration or file permision errors exist 2012-03-04 21:01:12 +13:00
Sean Harvey
8de7b745fc BUGFIX TinyMCE cache shouldn't be shared between projects. Add SCRIPT_NAME when generating a hash for the cache filename 2012-03-03 17:11:43 +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
b242bfb3da BUGFIX Include GET parameters of current URL in GridField on ajax reloads to retain view state 2012-03-02 20:46:22 +01:00
Ingo Schommer
02e728fa08 BUGFIX Fixed visibility of admin/myprofile for non-admins by moving it to a new CMSProfileController class and overloaded canView() 2012-03-02 20:46:22 +01:00
Ingo Schommer
46628721fe ENHANCEMENT Using chosen.js for group selection in Member->getCMSFields() 2012-03-02 20:46:22 +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
98e1fed746 ENHANCEMENT File::$app_categories to replace switch statement in File->appCategory(), and expose data to other use cases (such as filter drop downs in AssetAdmin) 2012-03-02 20:46:22 +01:00
Ingo Schommer
ef77b709c2 MINOR Fixed field label in Folder->getCMSFields() 2012-03-02 20:46:22 +01:00
Ingo Schommer
e5c4b0a36b ENHANCEMENT Hierarchy->Breadcrumbs() 2012-03-02 20:46:19 +01:00
Ingo Schommer
fda7a6aafe API CHANGE Remove custom File::instance_get(), use a custom DataQuery in case you want to exclude large File.Content fields from the query results 2012-03-02 15:22:11 +01:00
Ingo Schommer
fb3c18d6d2 API CHANGE Remove File->uploadMetadataFields(), use new UploadField instead 2012-03-02 15:21:32 +01:00
Ingo Schommer
4345eaa61b MINOR Sending 'ID' parameter from containing form alongside UploadField uploads, in order to set the correct context in in the controller (in the case of CMSFileAddController, that's the parent folder) 2012-03-02 15:21:12 +01:00
Ingo Schommer
9f5e26d12b ENHANCEMENT Generic search form uses loadPanel() rather than being tied to GridField (requires backend changes, see AssetAdmin), and uses jquery.form to do resets 2012-03-02 15:20:17 +01:00
Ingo Schommer
6d899940a3 MINOR CSS class for GridFieldFilter_Row.ss 2012-03-02 13:42:46 +01:00
Ingo Schommer
3659c63afe MINOR Updated jquery.form.js plugin, and re-added it to standard includes (its handy for clearing out forms, and consistently getting form field values) 2012-03-02 13:42:15 +01:00
Ingo Schommer
c7a301521d MINOR SearchFilter->setName()/setFullName() 2012-03-02 13:41:35 +01:00
Ingo Schommer
9a381d8393 MINOR Accept null values in SearchContext->getResults() 2012-03-02 13:41:25 +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
db1854b5fb MINOR Disable UploadField init on readonly or disabled fields 2012-03-02 11:06:40 +01:00
Ingo Schommer
783de154b2 MINOR Declaring JS requirements for AjaxUniqueTextField 2012-03-02 11:06:40 +01:00
Normann Lou
b58b281d8a BUGFIX SSF-53 : remove the disabled status of 'add button' in according with its sitting environment, ie. does it initialed by jQuery UI. If not, simply remove its 'disabled' attribute 2012-03-02 17:45:39 +13:00