Commit Graph

29 Commits

Author SHA1 Message Date
Will Rossiter cbccf88a62
chore: lint 2023-10-29 13:53:26 +13:00
Will Rossiter 8a7c8aa9cc
feat: implement Sitemapable (#181) 2023-10-29 13:30:08 +13:00
Will Rossiter 81b8d870a4
fix: absolute link (188) 2023-07-19 21:41:47 +12:00
Mohamed Alsharaf 286115174d Add support for silverstripe 5 2023-02-13 14:06:48 +13:00
Will Rossiter 2860c390b0
If invokeWithExtensions returns an empty array, don't override 2019-04-30 15:45:39 +12:00
Robbie Averill 450283bd1b FIX Apply PSR-2 linting ruleset and phpcs configuration 2018-02-15 12:07:20 +13:00
Will Rossiter 742724dad4 Fix unit tests 2018-01-18 17:00:56 +13:00
Will Rossiter c8e142718d Update tests 2017-10-20 11:16:53 +13:00
Will Rossiter 71567fec58 Correct visibility 2017-09-15 07:36:11 +12:00
Will Rossiter 840f664cd9 Update namespace paths for versioned split 2017-05-11 06:56:53 +12:00
Mike Cochrane b8766edbee More Silverstripe 4 compatibility 2016-11-06 16:28:05 +13:00
Loz Calver 286c79160a SilverStripe 4 compatibility 2016-11-03 12:34:32 +00:00
Nik Rolls ecd3551ec0 Added support for namespaced data objects 2016-04-12 22:58:32 +12:00
helpfulrobot 7af5077d99 Converted to PSR-2 2015-12-18 07:09:19 +13: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
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
Damian Mooyman 5f06483b73 BUG Fix issue with children of unpublished pages appearing in sitemap as apparent root pages 2014-01-28 16:41:11 +13:00
Thomas Speak 9dcc00bafd FIX: missing owner call 2013-08-24 10:27:33 +12: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
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
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 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 df9b224937 FIX: skip unit tests and loading page objects if cms module is not installed. 2012-06-30 21:39:35 +12: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
Roland Lehmann 805c7e2ee4 added some documentation; added test files, tests do not work yet 2011-06-12 16:14:29 +02:00