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