Commit Graph

28 Commits

Author SHA1 Message Date
Luke Hudson
1c36f2d9a6 REVERT: r97017 (Try to tidy HTML...) as causes inconsistent HTML
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@97384 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:11 +13:00
Luke Hudson
6bfd9cc24c FEATURE: Try to tidy HTML using external libraries if available
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@97017 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:09 +13:00
Sean Harvey
aebbda34d1 BUGFIX Fixed undefined function error ip2country() in Geoip::ipcountry_check()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@94416 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:17:57 +13:00
Andrew Short
77dc826278 BUGFIX: Suppressed errors in SS_HTMLValue->setContent() so it can handle malformed HTML.
MINOR: Added tests for saving and managing invalid HTML with SS_HTMLValue.

From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88773 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-13 01:44:41 +00:00
Geoff Munn
64612f2070 BUG FIX: error messages suppressed as a temporary fix
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88752 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-13 00:35:58 +00:00
Andrew Short
9b4d9993a4 FEATURE: Added SS_HTMLValue to provide a simple wrapper around DOMDocument to allow the manipulation of HTML snippets.
FEATURE: Re-instated broken link highlighting by manually checking all shortcodes in HtmlEditorField->Field(), and adding a class to broken ones.

From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88510 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:07:27 +00:00
Will Rossiter
ebce107d07 MINOR: added check for exec() and fixed the path for the wordlist file. Ticket #4428
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85701 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-03 23:36:45 +00:00
Normann Lou
6727f928c7 APICHANGE: revert r79850, r79851 and r79852 due to the changeset is not necessary, a blank value could be added when constructing a DropdownField.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@79877 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-23 22:12:26 +00:00
Normann Lou
8b2a88e61e APICHANGE: give Geoip::getCountryDropDown a $withBlank parameter (bool: default as false).
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@79850 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-23 07:42:33 +00:00
Sean Harvey
a5e82ddff1 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@75590 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-29 01:20:24 +00:00
Ingo Schommer
085346f0e0 MINOR Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@69704 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-05 06:19:48 +00:00
Ingo Schommer
f931cbede9 MINOR Manually merged deletion of GoogleSitemap class from 2.3, the move into googlesitemaps module wasnt detected by svn merge. See r66175
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@66519 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-24 22:18:04 +00:00
Ingo Schommer
aa7b5f4ee3 MINOR merged from branches/2.3 (googlesitemaps modularization)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@66517 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-24 22:04:32 +00:00
Ingo Schommer
9b1db223ce API CHANGE Removed deprecated Datetime class, use SSDatetime instead (was conflicting with PHP 5.2 integrated classes)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64394 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 08:59:40 +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
Ingo Schommer
5524225ead FEATURE Added GoogleSitemap::enable()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62472 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 20:38:20 +00:00
Will Rossiter
900baba303 BUGFIX: #1458 - GEOIP now does not return any error if it cannot look up the ip address (as it uses a shell command this is not enabled on many WAMP systems)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60920 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-18 03:13:40 +00:00
Sam Minnee
26f3dc26da Fix error in Geoip when REMOTE_ADDR isn't set
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60606 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-13 03:43:37 +00:00
Ingo Schommer
c9b09e6c96 MINOR Moved sapphire/misc* to sapphire/thirdparty and sapphire/integration
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60406 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 05:58:34 +00:00
Andrew O'Neil
693c2a3c51 MINOR: #2523 - Removing ErrorPages from sitemap.xml (christian)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56951 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-25 06:08:27 +00:00
Ingo Schommer
ab246e4d55 MINOR Moved GoogleSitemap.php to /integration
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56226 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 14:13:32 +00:00
Ingo Schommer
60860cc1b9 MINOR Unified @package PHPdoc (added where missing, removed duplicates)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56212 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 13:33:53 +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
b1d2e3906b API Documentation updates
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47766 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 04:18:36 +00:00
Sam Minnee
d27937f448 Updated API documentation package tags
Fixed some whitespace

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47725 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 06:37:50 +00:00
Jeremy Shipman
949f10221e Created default tag methods
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45662 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-26 04:20:19 +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