summaryrefslogtreecommitdiff
path: root/tests/sitemaps_tests
AgeCommit message (Collapse)Author
2023-07-10Fixed #34688 -- Removed contrib.sitemaps.ping_google() and ping_google ↵Andrew Northall
management command. Thanks Joachim Jablon for the report. Google has deprecated the sitemap ping endpoint, and will be removing it in 6 months ~January 2024.
2023-01-17Refs #25916 -- Removed SitemapIndexItem.__str__() per deprecation timeline.Mariusz Felisiak
2023-01-17Refs #32375 -- Changed default sitemap protocol to https.Mariusz Felisiak
Per deprecation timeline.
2022-12-19Fixed #33662 -- Allowed Sitemap to customize languages for each item.Roxane
2022-11-07Fixed #34088 -- Fixed Sitemap.get_latest_lastmod() crash with empty items.Daniel Ivanov
Bug in 480191244d12fefbf95854b2b117c71ffe44749a. Thanks Michal Čihař for the report.
2022-07-11Fixed typo in tests/sitemaps_tests/test_http.py.Ikko Ashimine
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-10-21Fixed #25916 -- Added lastmod support to sitemap index view.David Smith
Co-authored-by: Matthew Downey <matthew.downey@webit.com.au>
2021-10-21Refs #25916 -- Isolated sitemap.test_utils testsDavid Smith
2021-10-14Refs #25916 -- Added tests for a callable lastmod on Sitemaps.David Smith
2021-09-14Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-05-21Fixed #32375 -- Started deprecation toward changing the default sitemap ↵Rohith PR
protocol to https. The default sitemap protocol, when it is built outside the context of a request, will be changed from 'http' to 'https' in Django 5.0.
2021-05-21Added tests for Sitemap.get_protocol().Rohith PR
2021-04-14Fixed #32648 -- Fixed VariableDoesNotExist rendering sitemaps template.Arthur Jovart
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-07-29Fixed #27395 -- Added sitemap 'alternates' generation.Florian Demmer
Updated the sitemap generator and default template to optionally include link elements with hreflang attribute to alternate language URLs.
2020-07-29Refs #27395 -- Added XML namespace declaration to sitemap template.Carlton Gibson
As per Google recommendations: https://support.google.com/webmasters/answer/189077?hl=en
2020-05-25Improved HTTPSitemapTests.test_localized_priority.Claude Paroz
Override setting instead of skipping. Use translation override context manager to avoid language leaking.
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
Dicts preserve order since Python 3.6.
2019-01-11Refs #23829 -- Made ping_google command/function use https for the sitemap URL.Sanyam Khurana
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-27Switched setUp() to setUpTestData() where possible in Django's tests.Simon Charette
2018-10-04Removed unnecessary skipUnless in HTTPSitemapTests.Jon Dufresne
contrib.sites is included in INSTALLED_APPS by SitemapTestsBase.
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-07-26Improved test coverage for django.contrib.sitemaps.Anton Samarchyan
2017-02-28Fixed #27842 -- Added protocol kwarg to GenericSitemap.__init__().Alexey Opalev
2017-02-25Added tests for contrib.sitemaps.GenericSitemap.chex
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-22Added tests for contrib.sitemaps.ping_google().Adam Chainz
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-06-08Fixed #26290 -- Warned that paginating an unordered QuerySet may result in ↵Emad Mokhtar
inconsistent results.
2016-03-09Added missing backslash in sitemaps_tests urls.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-28Refs #26015 -- Added regression test for an empty sitemap.Andrew Kuchev
2016-01-23Fixed #25989 -- Corrected sitemap's Last-Modified header to use the latest ↵Alexander Rudakov
lastmod of all sitemaps. Previously, the lastmod of the last sitemap was always used. All sitemaps are required to have a lastmod.
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-09-23Refs #22384 -- Removed the ability to reverse URLs by dotted path per ↵Tim Graham
deprecation timeline.
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-02-16Fixed #24345 -- Isolated sitemaps_tests from contenttypes_tests; refs #11505Marten Kenbeek
2015-02-11Moved contrib.sitemaps tests out of contrib.Tim Graham