Commit Graph

39 Commits

Author SHA1 Message Date
Sukhwinder Singh 05e6963f04 BUG - Pass empty string instead of null when no image exists 2024-04-08 15:08:56 +12:00
jareddreyerss a13d3dd9de Removal of ping from google site maps
See https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping for context.

Accordingly removed all references to notification config and/or ping.
2024-03-26 14:20:14 +13:00
Will Rossiter 8a7c8aa9cc
feat: implement Sitemapable (#181) 2023-10-29 13:30:08 +13:00
Will Rossiter def6be347c
fix: cast variables (#192) 2023-10-28 07:59:55 +13:00
Mohamed Alsharaf f064330acd Ensure trailing slash removed from AbsoluteLink
This is to resolve duplicated trailing slash when add_trailing_slash
property is set to true in YML config.

Also, relates to #188
2023-08-29 15:57:24 +12:00
Will Rossiter 81b8d870a4
fix: absolute link (188) 2023-07-19 21:41:47 +12:00
Will Rossiter 9b0e0f1064
Merge pull request #179 from td204/2.2.0-fixAlterCanInclude
response was array, need to check boolean value
2023-07-19 21:16:34 +12:00
Will Rossiter 7370c85dae
Merge pull request #189 from tiller1010/hotfix/2.2.2/other-id-type-check 2023-07-14 16:32:29 +12:00
Tyler bf6156c103 fix: added type check for other id 2023-07-13 15:38:30 -04:00
Mohamed Alsharaf 286115174d Add support for silverstripe 5 2023-02-13 14:06:48 +13:00
Jan Metzger 0e965ecd46 Convert in GoogleSitemapController to int, avoid 500 errors on non-nomeric values 2022-07-28 12:28:58 +02:00
Will Rossiter cb56ac11d9
fix: gracefully handle missing images 2022-07-05 13:27:32 +12:00
sinan-evanshunt 8d321bd0a1
Update GoogleSitemapSiteTreeExtension.php 2021-12-15 11:16:30 -07:00
terry 35665402cb response was array, need to check boolean value 2021-08-20 23:07:09 +02:00
Will Rossiter 67e8d601d5
Update GoogleSitemapSiteTreeExtension.php 2020-11-20 09:46:56 +13:00
Will Rossiter 67c8ad044e
Handle cases such as 'Class.RelationName' 2020-11-20 09:01:40 +13:00
Will Rossiter b5f322646f
Merge pull request #170 from xini/fix-priority-calculations
fix hierarchy based priority calculations
2020-11-19 11:34:29 +13:00
Will Rossiter 312b78f88b
Index manyMany images (Fixes #172) 2020-11-19 11:33:25 +13:00
Florian Thoma f026001f8b fix number of ancestors (getAncestors by default doesn't return the current page) 2020-09-19 16:22:17 +10:00
Florian Thoma ced2213be4 fix hierarchy beased priority calculations 2020-09-19 16:16:26 +10:00
Pavol Tuka 56ef63f6c3
Use ClassName property instead of class
Property "class" does not exists. We should use ClassName.
2020-06-02 14:08:18 +02:00
Andreas Piening 2caacf8e86 FIX: enable stream context to pass through CWP egres proxy, fixes #156 2019-05-13 11:42:13 +12:00
Will Rossiter 2860c390b0
If invokeWithExtensions returns an empty array, don't override 2019-04-30 15:45:39 +12:00
Will Rossiter 710b8c3518
Support falsey values in alter (Fixes #152) 2019-03-14 22:31:55 +13:00
Will Rossiter 64ead69f4e Set Content-Type for stylesheets 2018-03-22 07:52:04 +13:00
Will Rossiter 572da5fa8a Update DBDatetime API use. (Fixes #146) 2018-03-21 07:25:14 +13:00
Will Rossiter adb3ed94fc Correct path to stylesheet, update stylesheets for images 2018-03-20 09:45:38 +13:00
Daniel Hensby c3fcd84542
Merge branch '1' 2018-03-07 12:07:40 +00:00
Daniel Hensby 98f65de824
Fix linting issues 2018-03-07 10:59:58 +00:00
Nivanka Fonseka c5388b6e5b
typo and updated the if conditions 2018-03-06 17:54:15 +00:00
Nivanka Fonseka 29be1bc504
added a way to include any images displayed on the pages to the google site maps and updated the XSL to show them on the screen. 2018-03-06 17:48:03 +00:00
Daniel Hensby 64a9465d7e
Merge pull request #137 from creative-commoners/pulls/2.0/ss4-updates
FIX Update namespace for ErrorPage
2018-02-15 10:11:57 +00:00
Robbie Averill 450283bd1b FIX Apply PSR-2 linting ruleset and phpcs configuration 2018-02-15 12:07:20 +13:00
Robbie Averill 1d8c6faa2e FIX Update namespace for ErrorPage 2018-02-15 11:11:36 +13:00
Will Rossiter 742724dad4 Fix unit tests 2018-01-18 17:00:56 +13:00
Will Rossiter 38c489c931
Remove object use (#133) 2018-01-16 08:01:25 +13:00
Will Rossiter 0daa163ec1
Add controller requirement (Fixes #128) 2017-11-29 21:38:33 +00:00
Will Rossiter c8e142718d Update tests 2017-10-20 11:16:53 +13:00
Will Rossiter 2699956b23 Vendorize and add namespaces 2017-10-20 09:05:18 +13:00