Commit Graph

383 Commits

Author SHA1 Message Date
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
jbridson
597b12e823 ENHANCEMENT: SSF-53 - Styled the pagination and icons on export to CSV button on User datagrid. 2012-03-06 15:55:26 +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
Ingo Schommer
5d565dcfa3 ENHANCEMENT Added ListboxField->setDisabledItems() and setDefaultItems() (similar to CheckboxSetField API) 2012-03-05 16:11:29 +01: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
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
Ingo Schommer
46628721fe ENHANCEMENT Using chosen.js for group selection in Member->getCMSFields() 2012-03-02 20:46:22 +01:00
Ingo Schommer
6d899940a3 MINOR CSS class for GridFieldFilter_Row.ss 2012-03-02 13:42:46 +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
Ingo Schommer
d02a68089f MINOR Catching GridField filter submission to enable usage through enter key in addition to clicking on the filter button (SSF-53) 2012-03-01 17:57:06 +01:00
Ingo Schommer
25d0196b04 MINOR Merge errors 2012-02-28 18:09:30 +01:00
Ingo Schommer
bcc73de85e Merge branch '106-add-edit-records-rc'
Conflicts:
	admin/code/LeftAndMain.php
	admin/css/screen.css
	admin/scss/_style.scss
	admin/templates/Includes/LeftAndMain_EditForm.ss
	css/GridField.css
	filesystem/Folder.php
	forms/gridfield/GridField.php
	forms/gridfield/GridFieldDefaultColumns.php
	forms/gridfield/GridFieldPopupForms.php
2012-02-27 23:58:10 +01:00
Ingo Schommer
3c29a9268c MINOR AssetUploadField styling 2012-02-23 18:39:42 +01:00
Andrew O'Neil
7a755da101 FEATURE Trigger event when new or edit link is clicked 2012-02-23 14:54:03 +13:00
Felipe Skroski
9efcb9b8fe BUGFIX: fixed "add new" button outside of the datagrid's title bar in firefox(ssf-106) 2012-02-22 17:16:20 +13:00
Felipe Skroski
1ebd83df1a ENHANCEMENT: styled the header of the datagrid (SSF-106) 2012-02-22 16:29:37 +13:00
Andrew O'Neil
b389138f50 MINOR Move gridfield actions HTML to templates 2012-02-22 16:19:45 +13:00
Andrew O'Neil
0acaf39664 FEATURE "Add" for gridfield 2012-02-20 14:50:53 +13:00
Ingo Schommer
abfa16fa70 ENHANCEMENT Using native jQuery UI buttons and icon styling for a less coupled implementation (e.g. assuming that a "constructive" button always has a specific icon, or one at all). All CMS UI buttons switched to use <button> markup, which allows for inline icons and correctly aligned multi-line button labels. 2012-02-17 15:58:32 +01:00
Ingo Schommer
454b89f2bb BUGFIX Fixed FormAction.ss template when used with <button> tag 2012-02-17 13:35:54 +01:00
Ingo Schommer
f2717f0788 ENHANCEMENT GridField-based file listing 2012-02-17 13:33:39 +01:00
Stig Lindqvist
5968205edd BUGFIX SSViewer method call for GridFieldItemEditView.ss is not closed 2012-02-15 09:23:03 +13:00
Ingo Schommer
5220a46fd0 ENHANCEMENT Inserting image via new dialog with ajax field retrieval and GridField file selection. Rewritten to jQuery.entwine and using the new HTML editor abstraction layer. 2012-02-14 13:53:35 +01:00
Andrew O'Neil
38bce79fc6 FEATURE Add title component 2012-02-09 16:02:47 +13:00
Ingo Schommer
5a3242cab7 MINOR Allowing custom attributes on GridField, adding more CSS classes to support behaviour 2012-02-08 01:04:56 +01:00
Felipe Skroski
586ae4ab6e MINOR GridField column header and sorting styles 2012-02-03 15:27:18 +01:00
Ingo Schommer
c0d187071a ENHANCEMENT New UploadField class to replace FileIframeField, ImageField and SimpleImageField 2012-02-03 01:00:08 +01:00
Ingo Schommer
6ecf7ffe84 API CHANGE Deprecated Text->EscapeXML(), use DBField->XML() instead 2012-01-31 16:11:55 +01:00
Stig Lindqvist
28906d4b32 MINOR i18n on GridFieldRelationAdd, GridFieldFilter and GridFieldItemEditVIew template 2012-01-24 19:13: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
Ingo Schommer
a06300f0b4 ENHANCEMENT GridFieldItemEditView (and specific view and behaviour for usage in CMS) 2012-01-09 21:17:56 +01:00
Stig Lindqvist
3c516b7b97 API CHANGE: Refactored GridField modifiers into GridField_ColumnProvider, GridField_HTMLProvider, GridField_ActionProvider, and GridField_DataModifier interfaces, all added as components in the config.
API CHANGE: Simplified state handling so that it's just a key store. Affectors are replaced with GridField_ActionProviders. API CHANGE: Removed GridField state manipulation actions instead opting for GridField_ActionProvider actions.
API CHANGE: Removed support for modifiers that add "body" rows, instead having core support for generating the body rows hardcoded into the GridField.
API CHANGE: Allow modification of columns across the whole GridField with the GridField_ColumnProvider interface.
API CHANGE: Renamed GridField_AlterAction to GridField_Action, and added actionName/args parameters, since it can be used for all actions (including batch actions and row actions)
API CHANGE: Removed GridFieldRow class.
2012-01-09 13:30:34 +13:00
Ingo Schommer
72694d8349 ENHANCEMENT Custom form attributes through Form->setAttribute() 2012-01-02 16:49:33 +01:00
Ingo Schommer
b5421d9598 ENHANCEMENT Allowing custom attributes in (most) FormField implementations, which allows for HTML5 data attributes 2012-01-02 16:48:14 +01:00
Ingo Schommer
475f3764c3 BUGFIX Using separate template for readonly version of Textarea (mainly to avoid SSViewer bugs, but also for more granular customisation) 2012-01-02 16:48:14 +01:00
Sean Harvey
19e9b19a1a BUGFIX Ensure TextareaField template is encoding characters correctly 2012-01-02 16:48:13 +01:00
Sean Harvey
9e548f501e API CHANGE FormField::Field() and FormField::FieldHolder() now render into templates on each FormField instead of creating HTML from PHP 2012-01-02 16:48:13 +01:00
Stig Lindqvist
83e90aaafe ENHANCEMENT Release of DataGridPagination
This class extends the DataGridPresenter with the behaviour and looks of a paginated Datagrid.
2011-10-28 17:34:15 +13:00
Stig Lindqvist
b229c17e1d ENHANCEMENT Renamed DataGrid to GridField 2011-10-28 16:35:39 +13:00
Stig Lindqvist
488734e53e ENHANCEMENT Added correct styling of sorting and odd even on grid table 2011-09-30 10:59:52 +13:00
Jean-Fabien
197913842c ENHANCEMENT First cut at data grid with the data presenter 2011-09-28 17:49:14 +13:00
Will Rossiter
9bd4e752ba FEATURE: initial cut of the template and styles for DataGrid 2011-09-28 16:50:02 +13:00
martijn
d82a47b12f BUGFIX # 5966: Allow printing on TableField
http://open.silverstripe.org/ticket/5966
2011-09-18 22:09:50 +02:00
Ingo Schommer
ce8e72cf0e MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
Ingo Schommer
b1f27b40ce MINOR Updated image references in sapphire/ folder to local files, rather than requiring cms/ folder (copied a bunch of images files over for this) 2011-03-29 21:34:26 +13:00
Ingo Schommer
764c5a842b MINOR Moved Widget, WidgetArea and related files from 'sapphire' to 'cms' module 2011-03-29 18:07:57 +13:00
Ingo Schommer
4adcdba226 MINOR Moved SilverStripeNavigator from 'sapphire' to 'cms' 2011-03-29 18:07:56 +13:00
Paul Meyrick
dc36725869 MINOR Using BlankPage template in SecurityTest, BasicAuthTest to remove ContentController dependency
MINOR Checking for SiteTree class existence in Security, Translatable
MINOR Checking for ContentController existence in FulltextSearchable
MINOR Removed unnecessary ContentController tests from ObjectTest
MINOR Replaced CMS specific examples in PermissionCheckboxSetFieldTest, DataObjectTest
MINOR Changed SecurityTest to make assertions against Security/login rather than relying on redirection from admin/cms
2011-03-29 18:07:55 +13:00
Ingo Schommer
5bf5b744d8 MINOR Moved ContentController, ModelAsController, NestedController, RootURLController (and related tests) to "cms" module 2011-03-29 18:07:55 +13:00
Sam Minnee
1e0c4ae8d1 Merge branch '2.4'
Conflicts:
	cache/Cache.php
	cli/CliController.php
	core/Convert.php
	core/Core.php
	core/ManifestBuilder.php
	core/Object.php
	core/SSViewer.php
	core/control/ContentController.php
	core/control/ContentNegotiator.php
	core/control/FormResponse.php
	core/control/RequestHandler.php
	core/control/SilverStripeNavigatorItem.php
	core/i18n.php
	core/i18nTextCollector.php
	core/model/DataObjectSet.php
	core/model/Hierarchy.php
	core/model/Image.php
	core/model/MySQLDatabase.php
	core/model/SiteConfig.php
	core/model/SiteTree.php
	core/model/Translatable.php
	core/model/VirtualPage.php
	dev/Debug.php
	dev/SapphireTest.php
	dev/TestRunner.php
	dev/YamlFixture.php
	dev/install/MySQLDatabaseConfigurationHelper.php
	docs/en/installation/from-source.md
	docs/en/topics/themes.md
	docs/en/tutorials/4-site-search.md
	email/Mailer.php
	filesystem/File.php
	filesystem/Folder.php
	forms/ComplexTableField.php
	forms/CurrencyField.php
	forms/DateField.php
	forms/FieldSet.php
	forms/FileField.php
	forms/FileIFrameField.php
	forms/HtmlEditorConfig.php
	forms/HtmlEditorField.php
	forms/SelectionGroup.php
	forms/SimpleImageField.php
	forms/TabSet.php
	forms/TableField.php
	forms/TableListField.php
	forms/TreeDropdownField.php
	forms/TreeMultiselectField.php
	integration/Geoip.php
	javascript/SelectionGroup.js
	javascript/TreeSelectorField.js
	javascript/UpdateURL.js
	javascript/core/jquery.ondemand.js
	javascript/tiny_mce_improvements.js
	javascript/tree/tree.js
	lang/en_US.php
	search/ContentControllerSearchExtension.php
	security/Group.php
	security/Member.php
	security/PermissionCheckboxSetField.php
	security/PermissionRole.php
	security/Security.php
	static-main.php
	templates/RelationComplexTableField.ss
	templates/TableListField.ss
	tests/ConvertTest.php
	tests/DataObjectSetTest.php
	tests/DataObjectTest.php
	tests/DataObjectTest.yml
	tests/RequestHandlingTest.php
	tests/SSViewerTest.php
	tests/SiteTreePermissionsTest.php
	tests/SiteTreeTest.php
	tests/TransactionTest.php
	tests/api/RestfulServiceTest.php
	tests/control/DirectorTest.php
	tests/control/ModelAsControllerTest.php
	tests/fieldtypes/WidgetAreaEditorTest.php
	tests/forms/CurrencyFieldTest.php
	tests/forms/FormTest.php
	tests/model/DatabaseTest.php
	tests/model/ImageTest.php
	tests/search/ContentControllerSearchExtensionTest.php
	tests/security/MemberAuthenticatorTest.php
	thirdparty/.gitignore
	thirdparty/behaviour/behaviour.js
	thirdparty/firebug-lite/firebug.js
	thirdparty/firebug-lite/firebugx.js
	thirdparty/jquery-form/jquery.form.js
	thirdparty/jquery-livequery/jquery.livequery.js
	thirdparty/jquery-livequery/test/jquery.js
	thirdparty/jquery-livequery/test/test.html
	thirdparty/jquery-livequery/test/test2.html
	thirdparty/jquery-metadata/META.json
	thirdparty/jquery-metadata/README
	thirdparty/jquery-metadata/jquery.metadata.js
	thirdparty/jquery-metadata/test/index.html
	thirdparty/jquery-metadata/test/jquery.js
	thirdparty/jquery-metadata/test/test.js
	thirdparty/jquery-metadata/test/testrunner.js
	thirdparty/jquery-metadata/test/testsuite.css
	thirdparty/jquery-ui-themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-icons_222222_256x240.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-icons_2e83ff_256x240.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-icons_454545_256x240.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-icons_888888_256x240.png
	thirdparty/jquery-ui-themes/smoothness/images/ui-icons_cd0a0a_256x240.png
	thirdparty/jquery-ui/i18n/jquery-ui-i18n.js
	thirdparty/jquery-ui/i18n/ui.datepicker-ar.js
	thirdparty/jquery-ui/i18n/ui.datepicker-bg.js
	thirdparty/jquery-ui/i18n/ui.datepicker-ca.js
	thirdparty/jquery-ui/i18n/ui.datepicker-cs.js
	thirdparty/jquery-ui/i18n/ui.datepicker-da.js
	thirdparty/jquery-ui/i18n/ui.datepicker-de.js
	thirdparty/jquery-ui/i18n/ui.datepicker-el.js
	thirdparty/jquery-ui/i18n/ui.datepicker-eo.js
	thirdparty/jquery-ui/i18n/ui.datepicker-es.js
	thirdparty/jquery-ui/i18n/ui.datepicker-fa.js
	thirdparty/jquery-ui/i18n/ui.datepicker-fi.js
	thirdparty/jquery-ui/i18n/ui.datepicker-fr.js
	thirdparty/jquery-ui/i18n/ui.datepicker-he.js
	thirdparty/jquery-ui/i18n/ui.datepicker-hr.js
	thirdparty/jquery-ui/i18n/ui.datepicker-hu.js
	thirdparty/jquery-ui/i18n/ui.datepicker-hy.js
	thirdparty/jquery-ui/i18n/ui.datepicker-id.js
	thirdparty/jquery-ui/i18n/ui.datepicker-is.js
	thirdparty/jquery-ui/i18n/ui.datepicker-it.js
	thirdparty/jquery-ui/i18n/ui.datepicker-ja.js
	thirdparty/jquery-ui/i18n/ui.datepicker-ko.js
	thirdparty/jquery-ui/i18n/ui.datepicker-lt.js
	thirdparty/jquery-ui/i18n/ui.datepicker-lv.js
	thirdparty/jquery-ui/i18n/ui.datepicker-ms.js
	thirdparty/jquery-ui/i18n/ui.datepicker-nl.js
	thirdparty/jquery-ui/i18n/ui.datepicker-no.js
	thirdparty/jquery-ui/i18n/ui.datepicker-pl.js
	thirdparty/jquery-ui/i18n/ui.datepicker-pt-BR.js
	thirdparty/jquery-ui/i18n/ui.datepicker-ro.js
	thirdparty/jquery-ui/i18n/ui.datepicker-ru.js
	thirdparty/jquery-ui/i18n/ui.datepicker-sk.js
	thirdparty/jquery-ui/i18n/ui.datepicker-sl.js
	thirdparty/jquery-ui/i18n/ui.datepicker-sq.js
	thirdparty/jquery-ui/i18n/ui.datepicker-sr-SR.js
	thirdparty/jquery-ui/i18n/ui.datepicker-sr.js
	thirdparty/jquery-ui/i18n/ui.datepicker-sv.js
	thirdparty/jquery-ui/i18n/ui.datepicker-th.js
	thirdparty/jquery-ui/i18n/ui.datepicker-tr.js
	thirdparty/jquery-ui/i18n/ui.datepicker-uk.js
	thirdparty/jquery-ui/i18n/ui.datepicker-zh-CN.js
	thirdparty/jquery-ui/i18n/ui.datepicker-zh-TW.js
	thirdparty/jquery/jquery.js
	thirdparty/jsmin/.piston.yml
	thirdparty/jsmin/jsmin.php
	thirdparty/prototype/prototype.js
	thirdparty/scriptaculous/dragdrop.js
	thirdparty/simplepie/.piston.yml
	thirdparty/spyc/.piston.yml
	thirdparty/spyc/README
	thirdparty/spyc/php4/spyc.php4
	thirdparty/spyc/php4/test.php4
	thirdparty/spyc/spyc.php
	thirdparty/spyc/spyc.yaml
	thirdparty/tinymce-advcode/dialog.html
	thirdparty/tinymce-advcode/editor_plugin_src.js
	thirdparty/tinymce-advcode/js/dialog.js
	thirdparty/tinymce/langs/en.js
	thirdparty/tinymce/plugins/advhr/langs/en_dlg.js
	thirdparty/tinymce/plugins/advhr/rule.htm
	thirdparty/tinymce/plugins/advimage/image.htm
	thirdparty/tinymce/plugins/advimage/langs/en_dlg.js
	thirdparty/tinymce/plugins/advlink/langs/en_dlg.js
	thirdparty/tinymce/plugins/advlink/link.htm
	thirdparty/tinymce/plugins/emotions/emotions.htm
	thirdparty/tinymce/plugins/emotions/langs/en_dlg.js
	thirdparty/tinymce/plugins/example/dialog.htm
	thirdparty/tinymce/plugins/fullpage/fullpage.htm
	thirdparty/tinymce/plugins/fullpage/langs/en_dlg.js
	thirdparty/tinymce/plugins/fullscreen/fullscreen.htm
	thirdparty/tinymce/plugins/inlinepopups/template.htm
	thirdparty/tinymce/plugins/media/langs/en_dlg.js
	thirdparty/tinymce/plugins/media/media.htm
	thirdparty/tinymce/plugins/paste/js/pasteword.js
	thirdparty/tinymce/plugins/paste/langs/en_dlg.js
	thirdparty/tinymce/plugins/paste/pastetext.htm
	thirdparty/tinymce/plugins/paste/pasteword.htm
	thirdparty/tinymce/plugins/searchreplace/langs/en_dlg.js
	thirdparty/tinymce/plugins/searchreplace/searchreplace.htm
	thirdparty/tinymce/plugins/spellchecker/editor_plugin.js
	thirdparty/tinymce/plugins/spellchecker/editor_plugin_src.js
	thirdparty/tinymce/plugins/style/langs/en_dlg.js
	thirdparty/tinymce/plugins/style/props.htm
	thirdparty/tinymce/plugins/table/cell.htm
	thirdparty/tinymce/plugins/table/langs/en_dlg.js
	thirdparty/tinymce/plugins/table/merge_cells.htm
	thirdparty/tinymce/plugins/table/row.htm
	thirdparty/tinymce/plugins/table/table.htm
	thirdparty/tinymce/plugins/template/langs/en_dlg.js
	thirdparty/tinymce/plugins/template/template.htm
	thirdparty/tinymce/plugins/xhtmlxtras/abbr.htm
	thirdparty/tinymce/plugins/xhtmlxtras/acronym.htm
	thirdparty/tinymce/plugins/xhtmlxtras/attributes.htm
	thirdparty/tinymce/plugins/xhtmlxtras/cite.htm
	thirdparty/tinymce/plugins/xhtmlxtras/del.htm
	thirdparty/tinymce/plugins/xhtmlxtras/ins.htm
	thirdparty/tinymce/plugins/xhtmlxtras/langs/en_dlg.js
	thirdparty/tinymce/themes/advanced/about.htm
	thirdparty/tinymce/themes/advanced/anchor.htm
	thirdparty/tinymce/themes/advanced/charmap.htm
	thirdparty/tinymce/themes/advanced/color_picker.htm
	thirdparty/tinymce/themes/advanced/image.htm
	thirdparty/tinymce/themes/advanced/langs/en.js
	thirdparty/tinymce/themes/advanced/langs/en_dlg.js
	thirdparty/tinymce/themes/advanced/link.htm
	thirdparty/tinymce/themes/advanced/source_editor.htm
	thirdparty/tinymce/themes/simple/langs/en.js
	thirdparty/tinymce/tiny_mce.js
	thirdparty/tinymce/tiny_mce_src.js
	widgets/Widget.php
2011-02-14 18:47:53 +13:00
ajshort
9e49d04e15 MINOR: Only show the CTF utility bar if there are utilities available. 2011-02-13 15:54:05 +11:00
ajshort
590dbb5f3f ENHANCEMENT: Made it possible to attach utility links to a ComplexTableField beyond just exporting (e.g. printing). 2011-02-13 15:54:05 +11:00
Ingo Schommer
ba2aabd702 ENHANCEMENT Allowing batch checkbox selection of TableListField rows with TableListField->Markable and TableListField->addSelectOptions()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@105266 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:19:27 +13:00
Will Rossiter
7fc538d4b1 BUGFIX: fixed undefined error in CTFs. BUGFIX: added action class to actions to allow the popup hook to open links
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101807 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:19:09 +13:00
Ingo Schommer
a42a21553c MINOR Allow custom TitleText on TableListField_Item.ss (e.g. to show a description of the 'delete' button) (from r98828)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99644 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:39 +13:00
Ingo Schommer
bb58914bb0 FEATURE: Add close link (from r97751)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99088 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:36 +13:00
Ingo Schommer
a049f6e96d BUGFIX: Show a hand icon and better title for the 'share link' piece of the navigator toolbar. (from r97439)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99085 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:36 +13:00
Ingo Schommer
2805cfabdb FEATURE: Add Link to silverstripe navigator (from r97407)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99080 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:36 +13:00
Sam Minnee
ff666ff25d BUGFIX: Make login form work without any theme loaded.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98432 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:28 +13:00
Sam Minnee
392c5effb7 MINOR set Print flag correctly on TLF
MINOR custom print template for SSReport TLF's that exposes the report title, and filters set (from r97138)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98154 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:24 +13:00
Sam Minnee
1434fae6cf BUGFIX: Correct direction of sort arrows in TableListField (from r96051)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98131 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:22 +13:00
Sam Minnee
b03af42994 ENHANCEMENT: Improved TableListField header styling. (from r96028)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98104 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:21 +13:00
Sam Minnee
2b717a1ea5 BUGFIX: Added better handling of rendering SiteTree objects, to prevent test errors. (from r89963)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@96729 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:03 +13:00
Andrew O'Neil
2c262c4d4b BUGFIX: Fix javascript error on IE8 by forcing IE7 compat mode.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@93514 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:17:38 +13:00
Carlos Barberis
19bc05a9d8 BUGFIX: changed condition to display uploaded File
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@91549 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:17:36 +13:00
Will Rossiter
21f84c9513 APICHANGE: changed BaseHref to AbsoluteBaseURL for consistency. FEATURE: added BaseURL for getting non absolute value. PATCH via muzdowski (#6158)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114815 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-11 02:01:13 +00:00
Ingo Schommer
16a80b3808 MINOR: Remove empty legend on search form. It should be description or no tag at all
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114141 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-24 06:23:53 +00:00
Ingo Schommer
bcbe9c254d ENHANCEMENT Allowing batch checkbox selection of TableListField rows with TableListField->Markable and TableListField->addSelectOptions() (from r105266)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112473 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:27:59 +00:00
Sam Minnee
6f3866936d BUGFIX: fixed undefined error in CTFs. BUGFIX: added action class to actions to allow the popup hook to open links (from r101807)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112039 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 01:10:05 +00:00
Ingo Schommer
676fc61421 FEATURE: Add close link (from r97751) (from r99088)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102843 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 04:07:12 +00:00
Ingo Schommer
860ef3ae9e BUGFIX: Show a hand icon and better title for the 'share link' piece of the navigator toolbar. (from r97439) (from r99085)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102841 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 04:06:11 +00:00
Ingo Schommer
fc6ffa5e94 FEATURE: Add Link to silverstripe navigator (from r97407) (from r99080)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102839 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 04:03:40 +00:00
Ingo Schommer
9c0c2cad7a BUGFIX: Make login form work without any theme loaded. (from r98432)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102656 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:24:20 +00:00
Ingo Schommer
b3e30ac819 MINOR set Print flag correctly on TLF
MINOR custom print template for SSReport TLF's that exposes the report title, and filters set (from r97138) (from r98154)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102621 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 02:26:52 +00:00
Ingo Schommer
0a7cca3c56 BUGFIX: Correct direction of sort arrows in TableListField (from r96051) (from r98131)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102603 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 02:15:10 +00:00
Ingo Schommer
21299ba686 ENHANCEMENT Allow user theme selection through SiteConfig, falling back to SSViewer::set_theme() as a default if there are none selected
MINOR Unit tests for SSViewer::current_theme() and SiteConfig::getAvailableThemes() (from r98110)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102597 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 02:13:12 +00:00
Ingo Schommer
d56bc3e4dc BUGFIX: Added better handling of rendering SiteTree objects, to prevent test errors. (from r89963) (from r96729)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102351 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 01:53:16 +00:00
Ingo Schommer
021c5af01c MINOR Allow custom TitleText on TableListField_Item.ss (e.g. to show a description of the 'delete' button)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@98828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-11 21:55:46 +00:00
Sean Harvey
ca39b65bfc BUGFIX: Fix javascript error on IE8 by forcing IE7 compat mode. (from r93514)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93752 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:27:01 +00:00
Ingo Schommer
22bf4f8c33 MINOR Respecting FormField->extraClass() settings in TableListField.ss, ComplexTableField.ss and RelationComplexTableField.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92551 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:30 +00:00
Ingo Schommer
b930fbfe20 BUGFIX Setting cookie name in TabSet.js to avoid writing new cookies with arbitrary identifiers on every page load
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92529 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:13 +00:00
Ingo Schommer
b3f0a9a034 ENHANCEMENT Using jQuery UI tabs in TabSet form field. Using custom javascript to ensure sizing of tabs within layout-managed containers.
API CHANGE Changed CSS-class in TabSet template from "tabstrip" to "ss-tabset".

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92477 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:22:33 +00:00
Ingo Schommer
96431c3aa2 BUGFIX: changed condition to display uploaded File (from r91549)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92454 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 01:42:11 +00:00
Andrew O'Neil
70dd48eecb BUGFIX: Reenable setting size on HasManyComplexTableField popups (#3921, rjmackay)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@90020 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-22 23:50:58 +00:00
Andrew O'Neil
96736eea50 APICHANGE: Add extra classes to WidgetHolder (#3855, patch from jshipman)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89988 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-22 21:21:12 +00:00
Ingo Schommer
2cc0d016f4 API CHANGE Removed unnecessary WidgetFormProxy class and Widget->FormObjectLink(), broken functionality since the RequestHandler restructuring in 2.3. Use Widget_Controller instead.
FEATURE Added Widget_Controller class to enable nested forms within Wiget class.
ENHANCEMENT Changed WidgetArea.ss to iterate over $WidgetControllers instead of $Widgets, to allow forms rendered within to retain their controller context (through Widget_Controller and $failover mechanisms).
ENHANCEMENT Added handleWidgets() to ContentController to support new Widget_Controller class

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85789 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-07 03:28:23 +00:00
Ingo Schommer
3b3e5e1ec1 MINOR Hide <legend> tag in Form.ss if no $Legend value is set (#4520, thanks nicolaas)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85280 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-26 20:56:55 +00:00
Ingo Schommer
6f4ee0f878 MINOR Adding $Name css class to every <td> in TableListField_Item.ss to make them referenceable by column in the same way that <th> already works
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85174 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-25 08:24:14 +00:00
Sean Harvey
1b1809f1a2 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@80873 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-02 07:18:18 +00:00
Sam Minnee
7ae9a9e352 BUGFIX #2391: Removed pagination header when there are no records.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@80228 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-27 12:29:47 +00:00
Sam Minnee
9069d5ae46 MINOR #3399: Removed last references to DefaultFieldHolder.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@80220 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-27 07:00:01 +00:00
Sam Minnee
0fffbb47d3 BUGFIX #4250 bgribaudo: Properly denote the ManyManyComplexTableField marking checkboxes so they are correctly saved.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@79566 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-18 08:22:29 +00:00
Ingo Schommer
fb16563961 BUGFIX Added utf-8 charset meta tag to ComplexTableField_popup.ss (same as LeftAndMain.ss)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77824 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-26 03:43:19 +00:00
Sean Harvey
200c41b8b7 API CHANGE Removed @deprecated 2.3 HiddenFieldHolder.ss file to go along with the removal of the class in r77397
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77398 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-20 07:42:30 +00:00
Sean Harvey
f7a974ccd4 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77245 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-19 10:32:06 +00:00
Sam Minnee
8d4e1dd6e0 ENHANCEMENT ajshort: Major refactoring of FileIFrameField and ImageField to use the new URL handler. Access control to the field is now controlled by the form, and ImageField now uses a codebase much more aligned with FileIFrameField.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77012 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-17 22:06:59 +00:00
Sean Harvey
56fbe55a47 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@75580 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-28 23:55:53 +00:00
Sean Harvey
76b5adc979 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@75579 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-28 23:52:15 +00:00
Ingo Schommer
4499d1a8d0 ENHANCEMENT Allowing item-specific permissions in TableListField and subclasses (through TableListField_Item->Can() and DataObject->can*() methods). Adding "disabled" icons to template.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@73028 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-13 10:07:27 +00:00
Ingo Schommer
982c2142de BUGFIX Using TableListField_Item.ss in ComplexTableField.ss to avoid template duplication and inconsistent feature sets
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@73027 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-13 10:06:41 +00:00
Andrew O'Neil
635e2c3df6 Merged from 2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@72453 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-04 03:44:11 +00:00
Sean Harvey
0a0ce99f5c BUGFIX Switched the arrows for desc/asc to the correct way as per SortDirection = desc check in TableListField.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@71309 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 21:27:56 +00:00
Sean Harvey
cd541ecd3d BUGFIX Added default english strings for TableListField.ss i18n entities
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@71303 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 20:42:39 +00:00
Andrew O'Neil
60f75c5ca4 Merged changes from 2.3 branch
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@71172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-01 23:49:53 +00:00
Ingo Schommer
d26f08b481 MINOR merged branches/2.3 into trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@67465 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-12-04 22:38:32 +00:00
Ingo Schommer
84db28eb10 FEATURE Collect i18n Entities from dynamic PHP code - useful to translate statics. Added DataObject->provideI18nEntities() and i18nTextCollector->collectFromEntityProviders(). See #1625
FEATURE Making DataObject attributes translatable through i18n class, e.g. $db and all relation statics. Use DataObject->fieldLabels() to access translated attributes.
ENHANCEMENT Ignoring entity-names with $ signs (most likely dynamic properties) in i18nTextCollector->collectFromCode()


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64881 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-29 21:07:17 +00:00
Hayden Smith
c004cc9b2f BUGFIX: Fixed incorrectly reverted methods related to sizing of the popup.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64604 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-21 21:42:27 +00:00
Ingo Schommer
9025c57e4b MINOR Moved CollectionController_Results template into genericviews module
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64498 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-17 22:05:20 +00:00
Ingo Schommer
874aaf1d27 ENHANCEMENT Refactored i18nTextCollector and added unit tests
FEATURE Support for i18n entity namespaces in templates

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64492 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-17 15:21:33 +00:00
Ingo Schommer
4134f92dad BUGFIX Moved RecordController and CollectionController to external module (see r63905)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64002 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 14:41:22 +00:00
Hayden Smith
aa9a337c5c Added missing TableListField_printable.ss template.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63883 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 19:23:02 +00:00
Hayden Smith
634ed7b70c Merged from branches/nzct-trunk. Use 'svn log -c <changeset> -g' for full commit message. Merge includes stability fixes and minor refactor of TableListField and ComplexTableField.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63806 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 02:00:12 +00:00
Ingo Schommer
711de868c9 BUGFIX Enabled Link() methods for RecordController and CollectionController, and adjusted url handling to ModelAdmin counterparts to avoid linkage handling problems
BUGFIX Requiring a parentController for RecordController
ENHANCEMENT Custom getViewer() methods to use Page main templates if CollectionController is nested in a ContentController

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63681 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-06 19:29:04 +00:00
Ingo Schommer
d543305882 FEATURE Frontend CRUD scaffolding with RecordController and CollectionController (not fully functional yet, needs correct Link() methods)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63659 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-06 00:48:25 +00:00
Ingo Schommer
35a30db204 ENHANCEMENT Better i18n for TableField and ComplexTableField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63633 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 22:47:34 +00:00
Sean Harvey
ba509c5336 ENHANCEMENT Moved UserDefinedForm and related code, templates, CSS and javascript out of cms and sapphire classes into userforms/trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63249 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 03:18:23 +00:00
Sam Minnee
2a1d4376e2 BUGFIX #2390: Not indexed pages are removed from sitemap.xml
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62910 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 03:16:23 +00:00
Sam Minnee
e76c68eff4 FEATURE: TableListField's TRs can now have class=loading added to them to show a loading icon. (Used by ModelAdmin)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62333 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-13 04:42:59 +00:00
Sam Minnee
d072e280e4 Merged branches/roa into trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62321 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 04:49:15 +00:00
Sean Harvey
0c7d39e792 API CHANGE Moved ProgressBar and support files to newsletter/trunk module, as this is the module where it's used
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62309 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 03:22:20 +00:00
Sam Minnee
72c9bdda5a Fixed HasManyComplexTableField and ManyManyComplexTableField in trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60829 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-15 02:43:51 +00:00
Saophalkun Ponlu
7063547b58 API CHANGE: Allow DataObject searchablefields to be decorated with updateSearchableFields
API CHANGE: Allow Group CMS fields to be decorated with updateCMSFields
API CHANGE: TableListField utility links no longer have target=_blank

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60665 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-13 23:57:53 +00:00
Sam Minnee
0bd9bc4ff8 Merged changes from 2.2.2-assets - everything except the asset refactoring
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60468 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-12 02:51:33 +00:00
Hayden Smith
1220f6d86d Merged [47039]: Introduces custom actions to TableListField and ComplexTableField. By default, the show, edit and delete actions are included.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60433 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 23:24:54 +00:00
Ingo Schommer
2d8434a43f (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60327 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 02:57:59 +00:00
Ingo Schommer
124a6e3934 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60268 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-10 23:53:56 +00:00
Ingo Schommer
95d4634e2e (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-10 23:17:51 +00:00
Ingo Schommer
46bbde18e7 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60261 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-10 23:03:35 +00:00
Ingo Schommer
016cff2093 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60209 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 04:38:44 +00:00
Ingo Schommer
6bd5da7e6e (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60206 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 03:29:30 +00:00
Hayden Smith
5d065f0af8 Merged [46959]: Summary values calculated on server are shown in the summary row when displaying a ComplexTableField.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60123 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-08 01:39:34 +00:00
Ingo Schommer
8c05c9985a r52079 (merged from branches/roa)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@59890 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-06 02:16:16 +00:00
Hayden Smith
b331b93dbc Merged [46959]: ComplexTableField.ss now includes server-generated values in summary row cells.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@59876 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-06 00:20:09 +00:00
Ingo Schommer
6cac3fbc34 ENHANCEMENT Added CSS class "field" to templates of TableListField and subclasses
ENHANCEMENT Added <div class=""middleColumn"> around TableListField templates and all subclasses

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@59286 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-07-28 07:44:33 +00:00
Ingo Schommer
ef983aa718 BUGFIX Fixed i18n namespacing issue in TableListField_Item.ss - was using _t('Form.DELETE'), but templates don't allow to re-use variables outside their own namespace
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@59283 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-07-28 07:40:47 +00:00
Andrew O'Neil
b3eafc24a2 Merged revisions 56164 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2

........
  r56164 | sharvey | 2008-06-13 10:19:41 +1200 (Fri, 13 Jun 2008) | 1 line
  
  BUGFIX ChangePasswordEmail.ss variable spacing, and missing labels for i18n _t() calls. See tickets #2571 and #2480
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56911 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-25 04:01:17 +00:00
Andrew O'Neil
581e3e5456 Merged revisions 55798 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2

........
  r55798 | aoneil | 2008-06-06 14:41:15 +1200 (Fri, 06 Jun 2008) | 2 lines
  
  BUGFIX Fix CSV export links
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56910 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-25 04:00:27 +00:00
Sean Harvey
db411726d7 BUGFIX SearchForm.ss now has a <fieldset> element, this makes the template validate
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56146 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-12 09:32:32 +00:00
Sam Minnee
8cf1fe1efc Merged revisions 52211 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity

........
  r52211 | sminnee | 2008-04-06 19:21:38 +1200 (Sun, 06 Apr 2008) | 1 line
  
  Added TestViewer, which generates documentation from unit test source code
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53467 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-26 06:32:16 +00:00
Romain Louis
e91a07d752 Lower case display problem fixing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52996 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-18 05:02:56 +00:00
Ingo Schommer
ebf0255189 Merged revisions 46229 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.1-nzct

................
  r46229 | ischommer | 2007-12-03 21:33:00 +1300 (Mon, 03 Dec 2007) | 9 lines
  
  Merged revisions 33209 via svnmerge from 
  svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.0-nzct-postaudit
  
  ........
    r33209 | hsmith | 2007-04-03 17:01:42 +1200 (Tue, 03 Apr 2007) | 1 line
    
    Added message element to template.
  ........
................


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-15 09:33:50 +00:00
Sam Minnee
a0be727cc3 Merged revisions 50488 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2

........
  r50488 | sminnee | 2008-03-03 21:59:09 +1300 (Mon, 03 Mar 2008) | 1 line
  
  #2280 - Fixed XML parsing errors in CTF
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50870 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:31:38 +00:00
Sam Minnee
a0fb07d8ba Added /SapphireInfo URL with some basic version information
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-02 23:21:58 +00:00
Matt Peel
7d13ba7fb8 Reverted geoffm's accidental commit to /open
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 02:10:37 +00:00
Geoff Munn
bf3c09bec6 First post
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 01:06:39 +00:00
Sam Minnee
a7c4af9d2e Merged revisions 43335 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.1.0-rc3oriwave2

........
  r43335 | hsmith | 2007-10-12 10:25:16 +1300 (Fri, 12 Oct 2007) | 1 line
  
  Added missing ChangePasswordEmail.ss
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49776 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:26:50 +00:00
Ingo Schommer
21180f52bd compressed ImageField layout to fit in CTF-popup (removed "click here to remove" label)
removed iframe-borders for IE

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48848 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-30 20:12:19 +00:00
Sam Minnee
fea4042c3c rbarreiros: #1918 Translate newsletter and other strings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 03:28:13 +00:00
Andrew O'Neil
4b9ed4ec6f Fix title and description in RSS feeds
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47681 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-07 19:17:21 +00:00
Andrew O'Neil
5f468b4902 Fixed translation error (merged from branches/2.2.0@45907, r45134)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@46093 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-02 21:24:23 +00:00
Normann Lou
fbd1170890 use extraClass instead of ExtraClass in template, thought ExtraClass might also work (haven't check if the variables in ss are case sensitive)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45614 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-26 00:57:03 +00:00
Andrew O'Neil
b5098645fc Renamed Sitemap controller to GoogleSitemap, to prevent it from clobbering developers' own classes called Sitemap (merged from branches/2.2.0, r44870)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44913 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:40:20 +00:00
Andrew O'Neil
5a648fd31d #1784 - Remove external links from sitemap (fixed a namespace warning) (merged from branches/2.2.0, r44848)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44903 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-15 22:34:03 +00:00
Romain Louis
0df632000e Pagination bar in popup style changes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44603 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-11 23:19:57 +00:00
Andrew O'Neil
758d6806c1 #1579 - Forgot password email doesn't show translated control properly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44321 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-06 02:01:28 +00:00
Andrew O'Neil
68e9570c8d Rename pagination() to Pagination()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44242 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 01:38:25 +00:00
Andrew O'Neil
3b0e6ba71f #120 - ComplexTableField popup
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44161 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 02:53:53 +00:00
Ingo Schommer
393caf4287 FEATURE made sapphire i18n-capable
FEATURE a little bit of german translation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43842 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-25 02:47:45 +00:00
Ingo Schommer
35fb0cd0c5 #92 MoreLessField: Switch to ToggleField and remove
FEATURE Refactored MoreLessField->ToggleField
FEATURE Refactored TogglePanel->ToggleCompositeField
FEATURE Degrading gracefully (javascript), using behaviour+classes+prototype, partially i18ned, improved markup

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43660 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-21 23:05:46 +00:00
Ingo Schommer
3bb267bd83 ENHANCEMENT: changed <p class="Actions"> to <div class="Actions">
ENHANCEMENT: Better linebreaks, markup formatting

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43560 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-18 01:07:35 +00:00
Ingo Schommer
3cd1a621b5 preparing CTF for usage outside of CMS
BUGFIX: provide fallback for ajax-errors if not in CMS context
BUGFIX: re-added middle-alignment to greybox if not in CMS context
BUGFIX: added basic requirements to be independent of cms-inclusion
FEATURE: better transformation of save-button (replaced indicator with "saving..." label)
ENHANCEMENT: moved String-lib to prototype_improvements.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43491 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-17 02:29:42 +00:00
Andrew O'Neil
4d9e93460d mujma: BUGFIX: Switched divs to tables, added namespaces, solved ticket http://support.silverstripe.com/gsoc/ticket/110 (merged from gsoc branch, r42792)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42985 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-02 23:03:46 +00:00
Ingo Schommer
f059587ac2 elofgren: Remove tabset div from TabSetFieldHolder?.ss in order to reduce wasted space on tabs. See: http://support.silverstripe.com/gsoc/ticket/59
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42096 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 15:36:02 +00:00
Ingo Schommer
3c7bcfe813 mlanthaler: Bugfix: Since title was not escaped right, the RSS feed is invalid if there is an tag like <whatever> in the title of an entry.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42030 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 01:59:05 +00:00
Ingo Schommer
f54e9db8b9 mlanthaler: Newly implemented "I've lost my password" feature that works also with encrypted passwords (ticket #48).
There are some (cosmetically) things that should be fixed, but everything work as it should. 
Will fix those things after my vacation. 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41976 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-16 00:32:48 +00:00
Ingo Schommer
6d5eb70625 elofgren: BUGFIX: Add missing 'GenericEmail?.ss' template which is used in RecipientImportField::notifyChanges() as part of fix for bug 'Errors when Importing Recipients to Newsletter Mailing List' Reported here: http://www.silverstripe.com/bugs/flat/1470
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41957 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:42:23 +00:00
Ingo Schommer
7256d2dfdc elofgren: USABILITY: Add + and - toggle icons to TogglePanel? and use 'cursor: pointer;' to make it obvious that it is clickable. Move toggle images to sapphire/images/
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41935 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 21:03:01 +00:00
Ingo Schommer
568489ede7 elofgren: USABILITY: Increase height of ImageField? iframe to make room for padding around fieldset. Also increase width of 'Replace Image' block to make the image drop-down fit. This change goes with r37020
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41792 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:20:43 +00:00
Ingo Schommer
a377a67e54 mlanthaler: Switched to an authenticator and a form class to be able to add other authentication methods. (merged from branches/gsoc)
mlanthaler: The missing authenticator base class...  (merged from branches/gsocmlanthaler: Switched to an authenticator and a form class to be able to add other authentication methods.  (merged from branches/gsoc)
mlanthaler: The missing authenticator base class...  (merged from branches/gsoc))


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41729 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 03:12:21 +00:00
Ingo Schommer
4cb5bd719a wscott: Added some additional fixes & such to sapphire
TooglePanel? can be created initially closed 
PasswordField? honors a max size passed to it 
SiteTree? / Pages can now have custom meta tags 
Sitemap can deal with pinging google on updates, plus a couple other minor changes 


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41690 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 00:47:00 +00:00
Ingo Schommer
5857c4cab6 wscott: Added base code for a working Google Sitemaps support.
Changes in Files: 
* Sitemap.php - controller for the sitemap, new 
* Sitemap.ss - template for the sitemap, new 

* main.php - added director rule 
* SiteTree?.php - added 'priority' database field, cms code to override priority 

TODO: ping google when the sitemap is updated, 

namely when pages are added / removed, or when a priority is overridden 


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41689 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 00:27:15 +00:00
Romain Louis
63974e49f6 Renaming Template Relation complex table
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41179 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-03 05:59:30 +00:00
Romain Louis
57387d21b7 Relation Table Template Adding Without Sorting Option
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41173 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-03 05:30:32 +00:00
Romain Louis
b4eb11402b ExtradData call delete
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-03 05:28:46 +00:00
Romain Louis
a4e5dcc3bc ExtraData function call adding
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41166 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-03 05:09:20 +00:00
Normann Lou
3bc0eaafbb implement validation to tablefield,
fixed bug on validation of datefield, emailfield, numericefield.
make CMS validation enabled.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40755 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-23 05:47:54 +00:00
Andrew O'Neil
b31d08041b Removed duplicate last button in tables
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39734 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-08 04:31:42 +00:00
Andrew O'Neil
a62c0bc093 Escape XML in RSS titles
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39670 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-07 03:42:09 +00:00
Andrew O'Neil
c64fc7cb1a Wrap a widget in a div
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39631 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-06 22:19:02 +00:00
Andrew O'Neil
bf8357f2ef Added anchors to page comments in rss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39610 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-06 01:03:19 +00:00
Andrew O'Neil
f545953c18 Moved widgets into core
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39562 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-02 22:07:11 +00:00
Hayden Smith
4a5d9b03f8 Moved Sapphire module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:28 +00:00