ajshort
ae170ad991
API CHANGE: Removed the unused XML class - use PHP's inbuilt XML support instead.
2011-04-26 11:01:38 +10:00
Ingo Schommer
9b29616710
API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure
2011-03-31 09:56:21 +13:00
Will Rossiter
2ed7c9c1b0
BUGFIX: fixed accessing private variable from Geoip. ENHANCEMENT: added Geoip::get_default_country_code(). Fixes #6315
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115364 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-01-09 05:55:17 +00:00
Will Rossiter
573acaed89
FEATURE: added Geoip::set_default_country_code() to set fall back country (thanks ronan). ENHANCEMENT: added set_enabled() and is_enabled() to Geoip to allow disabling of Geoip lookups. ( Fixes #4452 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115157 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-17 01:30:48 +00:00
Sam Minnee
24f2c51fa2
BUGFIX: removed taiwans province of china (from r113193)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114521 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-05 08:17:34 +00:00
Sam Minnee
65713da5d7
MINOR Comment about HTMLValue::setContent() stripping out of carriage returns (from r111950)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112947 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 05:07:45 +00:00
Sam Minnee
f0dc6c65ca
BUGFIX Ensure that \r carriage return characters get stripped out before setting content in HTMLValue::setContent(). DOMDocument will transform these into 
 entities, which is apparently XML spec, but not necessary for us as we're using HTML (from r111949)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112946 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 05:07:27 +00:00
Sam Minnee
f51f5bc958
BUGFIX Ensure that windows-style newlines ("\r\n") don't get converted to their XML entity representation through DOMDocument in SS_HTMLValue->setContent() (from r111878)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112935 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 05:03:29 +00:00
Ingo Schommer
82b5b1723c
MINOR Documentation migrated from doc.ss.org (from r104158)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112338 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-14 23:58:28 +00:00
Ingo Schommer
23e7a9a22d
MINOR Geoip class no longer extends Object, as it's not necessary (from r100409)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105562 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 03:50:56 +00:00
Ingo Schommer
f34bdada7b
MINOR Use 'b' mode for fopen() where possible for better portability (from r98321)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102641 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:19:41 +00:00
Ingo Schommer
57d5f4e6eb
REVERT: r97017 (Try to tidy HTML...) as causes inconsistent HTML (from r97384)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102446 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 05:02:51 +00:00
Ingo Schommer
5e4210755b
FEATURE: Try to tidy HTML using external libraries if available (from r97017)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102419 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 03:31:19 +00:00
Sean Harvey
ec20c7a425
BUGFIX Fixed undefined function error ip2country() in Geoip::ipcountry_check() (from r94416)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95606 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:40:34 +00: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