Commit Graph

270 Commits

Author SHA1 Message Date
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
Ingo Schommer
d5f673272e Update composer.json 2013-01-03 22:22:33 +01:00
Will Rossiter
6cc800a0db Merge pull request #28 from hdrlab/patch-1
A fix so that non-indexed pages remain non-indexed
2012-12-18 23:26:06 -08:00
hdrlab
620e09bd7c A fix so that non-indexed pages remain non-indexed
Pages that were set to be "non-indexed" were being reset to their 
default priorities the next time that the page was saved. This fix
makes sure that this doesn't happen.
2012-12-19 20:23:20 +13:00
Will Rossiter
3785409b3d Add composer.json 2012-12-08 11:55:46 +13:00
Will Rossiter
f41fd87624 FIX: fix change freq not showing up in form. (Fixes: #27) 2012-11-07 19:47:55 +13:00
Will Rossiter
706c06e8a0 Fix typo in doc. (Fixes #24) 2012-10-15 20:08:44 +13:00
Will Rossiter
a20e84ca9b Merge pull request #21 from oddnoc/fsockopen-port-correction
Specify port 80 for connecting to Google
2012-09-27 19:40:06 -07:00
Fred Condo
bc1f3b3a81 Specify port 80 for connecting to Google 2012-09-26 14:51:52 -04:00
Will Rossiter
c9b4c3f88e Merge pull request #19 from oddnoc/http-sendrequest-fix
FIX: Replace HTTP::sendRequest call
2012-09-18 23:09:34 -07: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
Hendrik Schaper
41ce3396fa NEW: xsl stylesheet 2012-09-06 21:59:25 +12:00
Will Rossiter
6ce0524d4c Add yaml language files 2012-09-06 21:57:43 +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
Will Rossiter
c5c92abad2 MINOR: moved director route to new config API 2012-06-10 21:02:29 +12:00
Will Rossiter
a72dd1a094 Merge pull request #16 from joernroeder/master
ENHANCEMENT: Remove SiteTree dependencies.
2012-05-11 15:22:20 -07:00
Jörn Röder
8a41b6fdf2 check if SiteTree exists before adding extension 2012-05-11 10:53:46 +02:00
Jörn Röder
e98598ac79 check if SiteTree exists before getting pages. 2012-05-11 10:51:06 +02:00
Will Rossiter
39828c215d Merge pull request #15 from UndefinedOffset/master
Compatability fix with SS 3.0 Beta 2
2012-04-20 21:01:26 -07:00
UndefinedOffset
e5e2ab57f2 BUGFIX: Fixed "Strict Standards" error with SilverStripe beta 2 caused by extraStatics() declaration not matching DataExtension 2012-04-20 11:13:12 -03:00
Will Rossiter
a813a471f9 MINOR: updated contact email 2012-03-26 22:57:39 +13: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
Will Rossiter
295aba26e6 Merge pull request #5 from UndefinedOffset/ss-3.0
API CHANGE: compatibility with SilverStripe 3.0. For SilverStripe 2.4 releases please use the 0.2 branch.
2012-03-26 02:39:40 -07:00
Ed
05d7bb8f82 Better compatibility with SilverStripe 3.0 2012-03-25 13:07:44 -03: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
Will Rossiter
ef019199c4 Merged pull request #1 from Innovatif/master.
Removed unnecessary executable bit on files...
2011-04-26 02:10:06 -07:00
Blaž
f1129a7d2d Removed executable bit. 2011-03-10 12:26:12 +01:00
wrossiter
cb812b5c98 MINOR: removed old README file 2010-06-22 21:53:40 +00: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
sharvey
33686e4d98 BUGFIX #5035 Fixed broken link to priorities help in Google Sitemap tab for each page in CMS, link now also opens in a new tab/window 2010-02-25 04:06:10 +00:00