Commit Graph

9530 Commits

Author SHA1 Message Date
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
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
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
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
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
Ingo Schommer
83c608e5f7 Updated translations 2012-09-11 12:44:47 +02:00
Sam Minnée
7d615c24cc Merge pull request #786 from howardgrigg/patch-1
DOCS - Correcting links to Roadmap and Changelog
2012-09-11 01:04:23 -07:00
Howard Grigg
20fead5feb DOCS - Correcting links to Roadmap and Changelog 2012-09-11 18:00:46 +10:00
Will Rossiter
189259f65b Merge pull request #785 from halkyon/req_tweaks
IIS Requirement documentation tweaks
2012-09-10 20:50:38 -07:00
Sean Harvey
b48a27b47d Tweak IIS and SQL Server requirements in system requirements docs
In addition to supporting IIS 7+ with a note that IIS 6 *may* work,
mark the IIS 6.x install docs with a cautionary note that those instructions
are no longer maintained and may not work.
2012-09-11 15:45:54 +12:00
jean
100aa178b0 FIX 7856 If the submit button is disabled, to perform the ajax request 2012-09-11 15:00:36 +12:00
Sean Harvey
42140d3a3d Tweaking IIS and SQL Server requirements documentation 2012-09-11 15:00:36 +12:00
Sam Minnee
697d3dbd69 Removed SQLite from Travis build.
We don't currently use SQLite for any production deploys, and testing every build against it is overkill.
I'm removing this to be a bit nicer to the Travis servers; if we start relying more on SQLite's performance
in the future we can always revert this commit.
2012-09-11 12:26:59 +12:00
Sean Harvey
bb8a92cde7 Merge pull request #779 from mateusz/iis7-docs
Rewrite the permission docs for IIS7.
2012-09-09 19:04:15 -07:00
Mateusz Uzdowski
147bec5be4 Rewrite the permission docs for IIS7.
Include more specific information on how to set up permission on
folders, including a screenshot.
2012-09-10 14:01:17 +12:00
Ingo Schommer
99ae715f8a Merge pull request #776 from simonwelsh/maniplist
FIX Use the manipulated datalist for counting total items
2012-09-06 12:55:05 -07:00
Ingo Schommer
beb2933b95 Merge pull request #772 from ajoneil/treedropdownfield-js-events
FEATURE: Send javascript events on show and hide of treedropdown
2012-09-06 12:51:41 -07:00
Simon Welsh
d2b4e0df01 BUG Use the manipulated datalist for counting total items.
This allows other Manipulators to change the total size of the List before
pagination is applied.
2012-09-06 23:47:38 +12:00
Simon Welsh
4ead89a4d0 API Adds getManipulatedList() method to GridField to get the SS_List after applying Manipulators 2012-09-06 23:42:48 +12:00
Sean Harvey
19bdd4b4c5 Merge pull request #774 from icecaster/master
fixing strict notice by declaring static method Email::is_valid_address() as static
2012-09-05 19:04:20 -07:00
icecaster
dc4ccc7203 delcared Email::is_valid_address($email) as public static to avoid strict notice ("Non-static method Email::is_valid_address() should not be called statically, assuming $this from incompatible context") 2012-09-06 13:37:44 +12:00
Sean Harvey
19a7d31118 Merge pull request #773 from ajoneil/fixtures-fix
BUGFIX: Fix loading of fixtures not specified in $fixtures array
2012-09-04 20:05:09 -07:00
Sean Harvey
fd302743a0 Merge pull request #771 from ajoneil/gridfields-tab-fix
BUGFIX: Don't add ss-tabset class to GridFieldDetailForms without tabs, ...
2012-09-04 20:04:39 -07:00
Andrew O'Neil
3fd4f7e855 BUGFIX: Fix loading of fixtures not specified in $fixtures array 2012-09-05 14:26:43 +12:00
Andrew O'Neil
ce68c4a870 FEATURE: Send javascript events on show and hide of treedropdown 2012-09-05 14:18:36 +12:00
Andrew O'Neil
aa52dae464 BUGFIX: Don't add ss-tabset class to GridFieldDetailForms without tabs, as this causes the first <ul> within the form to have tabs applied 2012-09-05 14:16:28 +12:00
Sam Minnee
00b6bc86e2 Merge branch '3.0.2' into 3.0 2012-09-05 11:28:13 +12:00
Sam Minnee
f49439c1a4 Added 3.0.2-rc1 docs 2012-09-05 11:05:21 +12:00
Simon Welsh
a6f3e9f9eb Corrects replacement method name in deprecation notice. 2012-09-04 15:25:53 +12:00
Sam Minnée
0a43354b5d Merge pull request #769 from patbolo/doc_support
NEW 7838 Support for document as a category in File class
2012-09-03 17:25:02 -07:00
jean
70cc688fab NEW 7838 Support for document as a category in File class 2012-09-04 11:08:38 +12:00
Ingo Schommer
0585f5d6ce Merge pull request #766 from halkyon/cache_lifetime
Allow setting default cache lifetime
2012-09-03 14:35:05 -07:00
Sean Harvey
3ee7bdab26 Merge pull request #768 from phalkunz/batch-actions-disappear
BUG Fixes an issue where batch actions dropdown doesn't show up after ajax request back to the cms Pages section
2012-09-03 14:31:01 -07:00
Sean Harvey
97766ba2c6 Merge pull request #767 from tractorcow/3.0-checkbox-fixes
FIXED: Issue where messages attached to checkbox fields would not be displayed
2012-09-03 14:29:32 -07:00
Saophalkun Ponlu
a0462b90cf BUG Fixes an issue where batch actions dropdown doesn't show up after ajax request back to the cms Pages section 2012-09-03 18:47:25 +12:00