Sean Harvey
26d70d6fca
BUG HtmlEditorField doesn't save HTML fragments in HTMLValue correctly
...
The issue was raised in #7628 , where an anchor tag was being changed from
<a name="anchor"></a> to <a name="anchor"/> by SS_HTMLValue, when
HtmlEditorField::saveInto() parses the HTML fragments.
This is because SS_HTMLValue uses DOMDocument::saveXML(), which is fine
for saving an XML document, but not suitable for HTML. This fix changes
that to use DOMDocument::saveHTML() instead.
Note that we can't use the parameter to saveHTML() for selecting a single
node only, as that's only supported in PHP 5.3.6+, SilverStripe 3.0 supports
PHP 5.3.2 as a minimum. The workaround for this shortcoming is to replace
unncessary output by DOMDocument with a regular expression.
2012-09-19 11:39:01 +12:00
Howard Grigg
7381cb46a3
Updated Template docs to include using backslash to escape
2012-09-18 22:35:46 +10:00
Will Rossiter
e509fb501d
Tidy up RSSFeed docs based on community feedback. (Thanks Matt Howlett)
2012-09-18 19:42:21 +12:00
Simon Welsh
4e3c684b62
Merge branch 'bugfix/apishortcodes' of https://github.com/elliot-sawyer/sapphire into 3.0
2012-09-18 16:36:11 +12:00
Sam Minnée
95dbad6195
Merge pull request #796 from stozze/3.0-bugfix
...
BUGFIX Fix to prevent unintended results from getComponentsQuery(...)
2012-09-17 18:26:44 -07:00
Ingo Schommer
51ea94a50c
Merge pull request #792 from halkyon/tiny_mce_upgrade_356
...
Upgrading TinyMCE dependency to 3.5.6, and updating language packs.
2012-09-17 16:30:53 -07:00
Ingo Schommer
c1064ccd0f
Merge pull request #783 from halkyon/iis_install_simplify
...
Simplify IIS installation instructions, refer to stable download
2012-09-17 16:06:58 -07:00
Sean Harvey
6ab04a6a55
Refer to setColumns in deprecation message instead of non-existent setCols
2012-09-18 09:39:08 +12:00
Ingo Schommer
8171b68292
Merge pull request #790 from patbolo/bugfix/7862
...
FIX 7862
2012-09-17 00:47:58 -07:00
Sam Minnée
651f45e0e4
Merge pull request #782 from tractorcow/3.0-index-generation-fixes
...
FIXED: Generation of table indexes
2012-09-16 23:43:17 -07:00
Elliot Sawyer
71758c782f
ISSUE 7833: Invoke ShortcodeParser on RestfulServer output
2012-09-17 17:53:51 +12:00
Sean Harvey
9c2be0f025
Merge branch '3.0'
2012-09-17 15:16:52 +12:00
Sean Harvey
40c3af37c2
Merge tag '3.0.2' into 3.0
2012-09-17 14:27:42 +12:00
Sean Harvey
ea35b08634
Added 3.0.2 changelog (and added missing 3.0.1 changelog to the list)
2012-09-17 13:25:31 +12:00
Sean Harvey
b6c1a64b7d
Fixed link to RC3 changelog
2012-09-17 12:31:24 +12:00
Sean Harvey
a6f5b99a5c
Formatted warnings correctly
2012-09-17 12:24:45 +12:00
Will Rossiter
2613739079
Merge pull request #799 from chocnut/3.0
...
Updated default controller and template link to documentation
2012-09-14 22:37:52 -07:00
Peter Indiola
581da54d54
Updated default controller and template link to documentation
2012-09-15 13:09:51 +08:00
Will Rossiter
70ef6bd64f
Merge pull request #798 from chocnut/patch-1
...
Update docs/en/topics/forms.md
2012-09-14 21:12:00 -07:00
Peter Indiola
7f3f560a60
Update docs/en/topics/forms.md
...
Minor update to line 79 of the Form Fields sample code. Missing comma for the next field. throws error when using the code.
2012-09-15 09:06:37 +08:00
Will Rossiter
86dc36ca21
Merge pull request #795 from theorytank/3.0
...
FIX: collateFamilyIDs() nested groups throws error
2012-09-14 14:20:26 -07:00
Will Rossiter
15f40af4eb
Merge pull request #794 from creamarketing/ListboxField_Inconsistency
...
FIX: ListBoxField and DropdownField should respect getSource()
2012-09-14 14:11:01 -07:00
stozze
499b7c9ff9
BUGFIX Fix to prevent unintended results from getComponentsQuery(...)
...
Wrapped $filter inside parentheses to prevent unintended results if $filter contains "OR".
2012-09-14 18:31:37 +03:00
Josh
399b2a23da
FIXED: collateFamilyIDs() nested groups throws error
...
http://open.silverstripe.org/ticket/7835
2012-09-14 12:12:37 -03:00
Tom
54d8abcdc7
Bug:ListBoxField and DropdownField does not respect getSource in all Places
...
In some places source is referenced directly and assumed to be array, while in some places the getSource() method is used instead.
By changing this you have more freedom when extending these classes
2012-09-14 16:08:34 +03:00
Sean Harvey
758b4fd173
Upgrading TinyMCE dependency to 3.5.6, and updating language packs.
2012-09-14 15:26:17 +12:00
Damian Mooyman
0e997d0285
FIXED: Cleaned up test case, made sure it initialised consistently and correctly
...
ADDED: Extra assertions to test case to ensure that different expressions of the same index definition were treated as non-changes.
2012-09-14 14:55:07 +12:00
Sean Harvey
7a8c35f4e3
Merge pull request #789 from anselmdk/patch-1
...
Removed some line breaks for code blocks to render properly in the doc m...
2012-09-12 16:18:30 -07:00
Ingo Schommer
0670a15923
Merge branch '3.0.2' into 3.0
2012-09-13 00:55:00 +02:00
Sean Harvey
1aed488762
Simplify IIS installation instructions, refer to stable download
...
The documentation was quite verbose, and most of this can be replaced
with instructions on using PHP Manager for IIS which sets up most of
the PHP configuration for us, with small tweaks done afterwards.
In addition, there were references to SVN version control locations
which are long since used, we now refer to stable download locations
on silverstripe.org instead, for SilverStripe as well as the mssql
module.
2012-09-13 10:08:38 +12:00
jean
d1a3c80a9d
FIX 7862 Strict equality check on previously selected item in the TreeDropdownField
2012-09-13 09:27:09 +12:00
Anselm Christophersen
1434190c36
Removed some line breaks for code blocks to render properly in the doc module
...
See <http://doc.silverstripe.org/framework/en/tutorials/5-dataobject-relationship-management > for what I mean
2012-09-12 19:53:06 +03:00
Ingo Schommer
2939632778
Merge pull request #784 from patbolo/bugfix/7856
...
FIX 7856
2012-09-12 02:58:21 -07:00
Ingo Schommer
db1bffb054
Added 3.0.2-rc2 changelog
2012-09-12 11:17:40 +02:00
Ingo Schommer
b0fc1cb16a
Merge branch '3.0.2' into 3.0
2012-09-12 11:05:50 +02:00
Ingo Schommer
434f03df79
Updated translations
2012-09-12 10:55:24 +02:00
Ingo Schommer
cb7bf792b2
Updated translations
2012-09-12 10:54:27 +02:00
Ingo Schommer
04bd8710f3
Merge pull request #788 from silverstripe-rebelalliance/open/5971-perffix
...
FIX Cache ClassName enum so we dont query DB every call
2012-09-12 01:52:57 -07:00
Ingo Schommer
99b1bc672b
Don't rely on hardcoded IDs in DataListTest (breaks postgres)
2012-09-12 10:51:40 +02:00
Ingo Schommer
8772eb3e18
Merge branch '3.0.2' into 3.0
2012-09-12 09:50:38 +02:00
Ingo Schommer
d5313aa6a4
BUG Fixed SSViewerTest execution in non-dev environments
2012-09-12 09:50:10 +02:00
Hamish Friedlander
df5a9e087d
FIX Cache ClassName enum so we dont query DB every call
2012-09-12 11:14:59 +12:00
Ingo Schommer
36d514d551
Updated translations
2012-09-11 14:37:15 +02:00
Ingo Schommer
b49fccd6eb
BUG TinyMCE UI shows placeholders in mi_NZ ( fixes #7797 )
2012-09-11 14:36:20 +02:00
Ingo Schommer
71bbcfc66f
Fixed PermissionRole field localization
2012-09-11 14:36:12 +02:00
Ingo Schommer
ea9041df54
Localization for "cancel" button in GridFieldDetailForm
2012-09-11 14:36:07 +02:00
Ingo Schommer
8a5a4ffd73
BUG TinyMCE UI shows placeholders in mi_NZ ( fixes #7797 )
2012-09-11 14:31:34 +02:00
Ingo Schommer
6544c8fc13
Merge remote-tracking branch 'origin/3.0'
2012-09-11 14:05:45 +02:00
Ingo Schommer
5eca675146
Fixed PermissionRole field localization
2012-09-11 13:53:09 +02:00
Ingo Schommer
f5ff607a0a
Localization for "cancel" button in GridFieldDetailForm
2012-09-11 13:47:12 +02:00