Commit Graph

59 Commits

Author SHA1 Message Date
Andreas Gerhards 58c96c7d93 Implemented official SilverStripe recommendation for version 3.7 regarding the Object/SS_Object 2018-07-16 16:51:00 +12:00
Will Rossiter e607ea9fc4 Add support for pinging bing (Fixes #22)
- Fix README install link
- Update documentation
2016-09-17 08:27:16 +12:00
UndefinedOffset cc0c20b3a8 Changed is_registered to check both the current case and lower case version of the class
Fixed test failure resulting from GoogleSitemapRoute
2016-06-29 14:49:06 -03:00
Mike Cochrane 4701bd985a Exclude all Redirector templates, not just RedirectorPage
Classes that extend RedirectorPage are still included in the sitemap if exclude_redirector_pages is enabled. This change excludes all subclasses as well.
2016-06-09 13:55:43 +12:00
Nik Rolls ecd3551ec0 Added support for namespaced data objects 2016-04-12 22:58:32 +12:00
Will Rossiter 356350ede5 Remove redirector pages (Fixes #43) 2016-03-04 16:40:30 +13:00
helpfulrobot 7af5077d99 Converted to PSR-2 2015-12-18 07:09:19 +13:00
Patrick Nelson a641ded926 FIX/NEW for #90 Extending alterDataList after both Versioned::get_by_stage() and also new DataList(). No list left behind! 2015-10-12 17:23:01 -04:00
Patrick Nelson e2a1dc5250 FIX/NEW for #90 Allow ability to alter DataList and deprecate static interface for better extensibility. 2015-10-12 17:08:07 -04:00
Daniel Hensby 0ffc6ac2be Allow URLs to be case insensitive 2015-07-27 00:46:49 +01:00
Kirk Mayo 3a3de779af Updated out of date info on notifying Google 2015-04-24 11:52:29 +12:00
Simon Welsh 91a543ea63 Null out the order by clause 2015-03-12 21:38:22 +11:00
Nick 92bcb27cac Fix issue where the last mod timestamp of the sitemap index file wasnt using the most recently last edited timestamp, but the last item in the stack. Update test to check this, and include test for changeset bbd5e29 2014-09-02 00:35:23 +12:00
Will Rossiter 198a850f8d Remove deprecated methods 2014-07-18 10:16:18 +12:00
Will Rossiter 12e46e5b2b Remove translatable filter. 2014-07-18 10:15:57 +12:00
Will Rossiter c6119d3de9 Upgrades for 3.1 compatibility 2013-03-26 22:30:38 +13:00
Will Rossiter 1c5e737d06 API register_routes() for registering custom paths.
This replaces the existing updateItems() + extension hook in favour of consistency with the register_dataobject() interface.

Note that this will likely be superseded by something to do with the Config API in the future.
2013-01-18 10:51:06 +13:00
Ingo Schommer 747059b6b7 Fixed enabled() usage (regression from last commit) 2013-01-17 17:20:50 +01:00
Will Rossiter 8bbc14ee23 API Implement sitemap.xml partitioning (Fixes #9)
Misc upgrade of module code so that site map.xml provides a index site map file based on the standards. Moved configuration vars to the Config API.

Considering how large a change this is, I've branched a 1.0 release off in github.
2013-01-15 22:29:59 +13:00
Ingo Schommer 90f3c82660 Merge branch 'master' into upstream-master (big-o team branch) 2013-01-07 13:59:39 +01:00
Fred Condo bc1f3b3a81 Specify port 80 for connecting to Google 2012-09-26 14:51:52 -04:00
Fred Condo 378258b0e3 FIX: Replace HTTP::sendRequest call
- HTTP::sendRequest() is gone from the HTTP class
- Substitute slightly simpler code in a protected self::send_ping() method
2012-09-18 10:01:02 -04:00
Will Rossiter 079b949bf2 FIX: resolve test errors 2012-09-06 22:20:44 +12:00
Andrew O'Neil 8d787c486e BUGFIX: Clear sitemap registration at the end of each test 2012-07-23 15:01:33 +12:00
Will Rossiter d67270fe7a FIX: remove typo 2012-07-09 16:38:30 +12:00
Will Rossiter 929e97accf API: Remove public access to frequency and priorities.
Cleaned up related functions and general spring clean of the module. Documented example of manually setting routes through an extension class.
2012-07-06 17:07:30 +12:00
Will Rossiter 5bc3e07be6 API: add updateItems hook 2012-06-30 21:42:50 +12:00
Will Rossiter df9b224937 FIX: skip unit tests and loading page objects if cms module is not installed. 2012-06-30 21:39:35 +12:00
Jörn Röder e98598ac79 check if SiteTree exists before getting pages. 2012-05-11 10:51:06 +02:00
Will Rossiter 872fd9b258 BUGFIX: update unit tests for googlesitemap module for 3.0. MINOR: version bump in README 2012-03-26 22:50:30 +13:00
Roland Lehmann e801e91636 ENHANCEMENT: Implemented a basic suite of unit tests. MINOR: fixed indentation in GoogleSiteMapDecorator. BUGFIX: fixed potential corrupt XML from invalid Priority fields. Fixed #4 2011-07-04 23:16:57 +12:00
Will Rossiter 65c59fc020 ENHANCEMENT: added ability to define a custom prority to dataobjects. 2011-06-13 11:16:07 +12:00
Roland Lehmann 805c7e2ee4 added some documentation; added test files, tests do not work yet 2011-06-12 16:14:29 +02:00
Roland Lehmann 74de83227a encapsulated calculation of a pages change frequency 2011-06-11 17:20:20 +02:00
Roland Lehmann a9019b9099 added some documentation 2011-06-11 16:38:31 +02:00
Roland Lehmann c841987427 The change frequency is now configurable via GoogleSitemap::register_dataobject() 2011-06-11 12:26:17 +02:00
Roland Lehmann 54929f3e50 merged pull manually 2011-06-11 11:49:35 +02:00
rlehmann 9c0d50e726 FEATURE: added ability to add google sitemap indexes for dataobjects. Added documentation and.
APICHANGE: moved GoogleSiteMapDecorator to GoogleSitemapSiteTreeDecorator to use the original for a hook for extending on googlesitemaps on dataobjects only.
2011-06-11 14:17:05 +12:00
Roland Lehmann 4ca8402508 googlesitemap.xml is now able to show any dataobject shown in a detail view in the frontend 2011-06-07 20:19:04 +02:00
Will Rossiter c62538a860 MINOR: updated documentation with content from wiki. Fixed syntax error in comments which threw apidocs off 2011-04-26 21:17:49 +12:00
Blaž f1129a7d2d Removed executable bit. 2011-03-10 12:26:12 +01:00
wrossiter 8886348de0 BUGFIX: fixed notice level error. MINOR: updated readme to markdown format. 2010-06-22 21:49:25 +00:00
sharvey 20842ce5fe BUGFIX Fixed undefined class HTTPRequest, replacing it with SS_HTTPRequest as the class was renamed 2010-05-04 05:37:07 +00:00
mstephens 8d99fa75f2 BUGFIX: show in search filter not quoted for postgresql 2010-03-23 04:04:32 +00:00
sharvey e0222dc8b7 BUGFIX Removed backticks from GoogleSitemap 2010-03-09 01:02:03 +00:00
mandrew a8d1e91ddf REVERT reverted back to origional SS_Datetime function 2010-02-02 22:28:11 +00:00
mandrew e9eecda415 BUGFIX updated google site map with correct SSDatetime function name 2010-02-02 22:09:18 +00:00
lhudson 7a4f572fbc BUGFIX: Remove ref to obsolete ContentNegotiator::disable. See sapphire r93682 2010-01-21 01:40:35 +00:00
ischommer b8ae8755d5 BUGFIX Fixed SSDatetime references in GoogleSitemap, making the module 2.4 only (#4710) 2009-11-14 01:17:29 +00:00
wrossiter d7eeffcb01 FEATURE: filter pages which are hidden away from google sitemaps. PATCH via #3709 2009-08-12 07:44:32 +00:00