widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #17872
[Merge] lp:~widelands-dev/widelands-website/sitemap_https into lp:widelands-website
kaputtnik has proposed merging lp:~widelands-dev/widelands-website/sitemap_https into lp:widelands-website.
Commit message:
sitemap.xml: explicitly set protocol to https
Requested reviews:
Widelands Developers (widelands-dev)
Related bugs:
Bug #1836507 in Widelands Website: "sitemap.xml"
https://bugs.launchpad.net/widelands-website/+bug/1836507
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands-website/sitemap_https/+merge/370398
See commit message
--
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands-website/sitemap_https into lp:widelands-website.
=== modified file 'mainpage/static_sitemap.py'
--- mainpage/static_sitemap.py 2019-03-31 11:08:21 +0000
+++ mainpage/static_sitemap.py 2019-07-20 08:54:35 +0000
@@ -5,6 +5,7 @@
class StaticViewSitemap(Sitemap):
priority = 0.5
changefreq = 'yearly'
+ protocol = 'https'
def items(self):
return ['mainpage', 'changelog']
=== modified file 'news/sitemap.py'
--- news/sitemap.py 2016-12-13 18:28:51 +0000
+++ news/sitemap.py 2019-07-20 08:54:35 +0000
@@ -7,6 +7,7 @@
class NewsSitemap(Sitemap):
changefreq = 'never'
priority = 0.5
+ protocol = 'https'
def items(self):
start_date = datetime.today() - timedelta(days=365 * 2)
=== modified file 'pybb/sitemap.py'
--- pybb/sitemap.py 2016-11-04 08:07:18 +0000
+++ pybb/sitemap.py 2019-07-20 08:54:35 +0000
@@ -5,6 +5,7 @@
class ForumSitemap(Sitemap):
changefreq = 'monthly'
priority = 0.5
+ protocol = 'https'
def items(self):
return Forum.objects.all()
=== modified file 'wiki/sitemap.py'
--- wiki/sitemap.py 2016-11-04 08:07:18 +0000
+++ wiki/sitemap.py 2019-07-20 08:54:35 +0000
@@ -5,6 +5,7 @@
class WikiSitemap(Sitemap):
changefreq = 'yearly'
priority = 0.5
+ protocol = 'https'
def items(self):
return Article.objects.all()
=== modified file 'wlhelp/sitemap.py'
--- wlhelp/sitemap.py 2016-11-05 15:46:26 +0000
+++ wlhelp/sitemap.py 2019-07-20 08:54:35 +0000
@@ -5,6 +5,7 @@
class WlHelpTribeSitemap(Sitemap):
changefreq = 'yearly'
priority = 0.5
+ protocol = 'https'
def items(self):
return Tribe.objects.all()
@@ -16,6 +17,7 @@
class WlHelpBuildingSitemap(Sitemap):
changefreq = 'yearly'
priority = 0.5
+ protocol = 'https'
def items(self):
return Building.objects.all()
@@ -27,6 +29,7 @@
class WlHelpWareSitemap(Sitemap):
changefreq = 'yearly'
priority = 0.5
+ protocol = 'https'
def items(self):
return Ware.objects.all()
@@ -38,6 +41,7 @@
class WlHelpWorkerSitemap(Sitemap):
changefreq = 'yearly'
priority = 0.5
+ protocol = 'https'
def items(self):
return Worker.objects.all()
Follow ups