Pārlūkot izejas kodu

Update links to wagtail.io website to point to wagtail.org

This covers only links to the website, not other sites
Jake Howard 3 gadi atpakaļ
vecāks
revīzija
0a9b23979b

+ 1 - 0
CHANGELOG.txt

@@ -28,6 +28,7 @@ Changelog
  * When moving pages, default to the current parent section (Tidjani Dia)
  * `admin/expanding_formset.js` has been renamed to `admin/expanding-formset.js` (LB (Ben Johnston))
  * Change docs URL to docs.wagtail.org (Jake Howard)
+ * Update links to wagtail.io to point to new domain wagtail.org (Jake Howard)
  * Fix: Accessibility fixes for Windows high contrast mode; Dashboard icons colour and contrast (Sakshi Uppoor)
  * Fix: Rename additional 'spin' CSS animations to avoid clashes with other libraries (Kevin Gutiérrez)
  * Fix: `default_app_config` deprecations for Django >= 3.2 (Tibor Leupold)

+ 1 - 1
README.md

@@ -22,7 +22,7 @@ Wagtail is an open source content management system built on Django, with a stro
 * Multi-site and multi-language ready
 * Embraces and extends Django
 
-Find out more at [wagtail.io](https://wagtail.io/).
+Find out more at [wagtail.org](https://wagtail.org/).
 
 ### Getting started
 

+ 5 - 5
client/src/components/Sidebar/Sidebar.stories.tsx

@@ -21,11 +21,11 @@ const STRINGS: Strings = {
 
 function wagtailBrandingModule(): WagtailBrandingModuleDefinition {
   return new WagtailBrandingModuleDefinition('/admin/', {
-    mobileLogo: 'https://wagtail.io/static/wagtailadmin/images/wagtail-logo.svg',
-    desktopLogoBody: 'https://wagtail.io/static/wagtailadmin/images/logo-body.svg',
-    desktopLogoTail: 'https://wagtail.io/static/wagtailadmin/images/logo-tail.svg',
-    desktopLogoEyeOpen: 'https://wagtail.io/static/wagtailadmin/images/logo-eyeopen.svg',
-    desktopLogoEyeClosed: 'https://wagtail.io/static/wagtailadmin/images/logo-eyeclosed.svg'
+    mobileLogo: 'https://wagtail.org/static/wagtailadmin/images/wagtail-logo.svg',
+    desktopLogoBody: 'https://wagtail.org/static/wagtailadmin/images/logo-body.svg',
+    desktopLogoTail: 'https://wagtail.org/static/wagtailadmin/images/logo-tail.svg',
+    desktopLogoEyeOpen: 'https://wagtail.org/static/wagtailadmin/images/logo-eyeopen.svg',
+    desktopLogoEyeClosed: 'https://wagtail.org/static/wagtailadmin/images/logo-eyeclosed.svg'
   });
 }
 

+ 1 - 1
client/src/components/UpgradeNotification/index.js

@@ -11,7 +11,7 @@ const initUpgradeNotification = () => {
   *   Expected JSON payload:
   *   {
   *       "version" : "1.2.3",    // Version number. Can only contain numbers and decimal point.
-  *       "url" : "https://wagtail.io"  // Absolute URL to page/file containing release notes or actual package. It's up to you.
+  *       "url" : "https://wagtail.org"  // Absolute URL to page/file containing release notes or actual package. It's up to you.
   *   }
   */
   const releasesUrl = 'https://releases.wagtail.org/latest.txt';

+ 1 - 1
docs/advanced_topics/third_party_tutorials.rst

@@ -43,7 +43,7 @@ Third-party tutorials
 * `How to Deploy Wagtail to Jelastic PaaS <https://jelastic.com/blog/deploy-wagtail-python-cms/>`_ (11 October 2018)
 * `Basic Introduction to Setting Up Wagtail <https://medium.com/nonstopio/wagtail-an-open-source-cms-cec6b93706da>`_ (15 August 2018)
 * `E-Commerce for Django developers (with Wagtail shop tutorial) <https://snipcart.com/blog/django-ecommerce-tutorial-wagtail-cms>`_ (5 July 2018)
-* `Supporting StreamFields, Snippets and Images in a Wagtail GraphQL API <https://wagtail.io/blog/graphql-with-streamfield/>`_ (14 June 2018)
+* `Supporting StreamFields, Snippets and Images in a Wagtail GraphQL API <https://wagtail.org/blog/graphql-with-streamfield/>`_ (14 June 2018)
 * `Wagtail and GraphQL <https://jossingram.wordpress.com/2018/04/19/wagtail-and-graphql/>`_ (19 April 2018)
 * `Wagtail and Azure storage blob containers <https://jossingram.wordpress.com/2017/11/29/wagtail-and-azure-storage-blob-containers/>`_ (29 November 2017)
 * `Building TwilioQuest with Twilio Sync, Django [incl. Wagtail], and Vue.js <https://www.twilio.com/blog/2017/11/building-twilioquest-with-twilio-sync-django-and-vue-js.html>`_ (6 November 2017)

+ 1 - 1
docs/contributing/security.md

@@ -41,7 +41,7 @@ On the day of disclosure, we will take the following steps:
 1. Apply the relevant patch(es) to Wagtail\'s codebase.
    The commit messages for these patches will indicate that they are for security issues, but will not describe the issue in any detail; instead, they will warn of upcoming disclosure.
 2. Issue the relevant release(s), by placing new packages on [the Python Package Index](https://pypi.org/project/wagtail/), tagging the new release(s) in Wagtail\'s GitHub repository and updating Wagtail\'s [release notes](../releases/index).
-3. Post a public entry on [Wagtail\'s blog](https://wagtail.io/blog/), describing the issue and its resolution in detail, pointing to the relevant patches and new releases, and crediting the reporter of the issue (if the reporter wishes to be publicly identified).
+3. Post a public entry on [Wagtail\'s blog](https://wagtail.org/blog/), describing the issue and its resolution in detail, pointing to the relevant patches and new releases, and crediting the reporter of the issue (if the reporter wishes to be publicly identified).
 4. Post a notice to the [Wagtail support forum](https://groups.google.com/d/forum/wagtail) and Twitter feed ([\@WagtailCMS](https://twitter.com/wagtailcms)) that links to the blog post.
 
 If a reported issue is believed to be particularly time-sensitive -- due to a known exploit in the wild, for example -- the time between advance notification and public disclosure may be shortened considerably.

+ 1 - 1
docs/editor_manual/intro.rst

@@ -1,7 +1,7 @@
 Introduction
 ------------
 
-`Wagtail <https://wagtail.io>`_ is an open source content management system (CMS) developed by `Torchbox <https://torchbox.com>`_. It is built on the Django framework and designed to be super easy to use for both developers and editors.
+`Wagtail <https://wagtail.org>`_ is an open source content management system (CMS) developed by `Torchbox <https://torchbox.com>`_. It is built on the Django framework and designed to be super easy to use for both developers and editors.
 
 This documentation will explain how to:
 

+ 1 - 1
docs/extending/index.rst

@@ -1,7 +1,7 @@
 Extending Wagtail
 =================
 
-The Wagtail admin interface is a suite of Django apps, and so the familiar concepts from Django development - views, templates, URL routes and so on - can be used to add new functionality to Wagtail. Numerous `third-party packages <https://wagtail.io/packages/>`_ can be installed to extend Wagtail's capabilities.
+The Wagtail admin interface is a suite of Django apps, and so the familiar concepts from Django development - views, templates, URL routes and so on - can be used to add new functionality to Wagtail. Numerous `third-party packages <https://wagtail.org/packages/>`_ can be installed to extend Wagtail's capabilities.
 
 This section describes the various mechanisms that can be used to integrate your own code into Wagtail's admin interface.
 

+ 1 - 1
docs/index.rst

@@ -7,7 +7,7 @@ Wagtail is an open source CMS written in `Python <https://www.python.org/>`_ and
 
 Below are some useful links to help you get started with Wagtail.
 
-If you'd like to get a quick feel for Wagtail, try spinning up a `temporary developer environment <https://gitpod.io/#https://github.com/wagtail/wagtail-gitpod>`_ in your browser (running on Gitpod - here's `how it works <https://wagtail.io/blog/gitpod/>`_).
+If you'd like to get a quick feel for Wagtail, try spinning up a `temporary developer environment <https://gitpod.io/#https://github.com/wagtail/wagtail-gitpod>`_ in your browser (running on Gitpod - here's `how it works <https://wagtail.org/blog/gitpod/>`_).
 
 * **First steps**
 

+ 1 - 1
docs/reference/contrib/frontendcache.rst

@@ -124,7 +124,7 @@ In case you run multiple sites with Wagtail and each site has its CloudFront dis
         'cloudfront': {
             'BACKEND': 'wagtail.contrib.frontend_cache.backends.CloudfrontBackend',
             'DISTRIBUTION_ID': {
-                'www.wagtail.io': 'your-distribution-id',
+                'www.wagtail.org': 'your-distribution-id',
                 'www.madewithwagtail.org': 'your-distribution-id',
             },
         },

+ 1 - 1
docs/releases/2.13.rst

@@ -13,7 +13,7 @@ What's new
 StreamField performance and functionality updates
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-The StreamField editing interface has been rebuilt on a client-side rendering model, powered by the `telepath <https://wagtail.github.io/telepath/>`_ library. This provides better performance, increased customisability and UI enhancements including the ability to duplicate blocks. For further background, see the blog post `Telepath - the next evolution of StreamField <https://wagtail.io/blog/telepath/>`_.
+The StreamField editing interface has been rebuilt on a client-side rendering model, powered by the `telepath <https://wagtail.github.io/telepath/>`_ library. This provides better performance, increased customisability and UI enhancements including the ability to duplicate blocks. For further background, see the blog post `Telepath - the next evolution of StreamField <https://wagtail.org/blog/telepath/>`_.
 
 This feature was developed by Matt Westcott and Karl Hobley and sponsored by `YouGov <https://yougov.co.uk/>`_, inspired by earlier work on `react-streamfield <https://github.com/wagtail/wagtail-react-streamfield>`_ completed by Bertrand Bordage through the `Wagtail's First Hatch <https://www.kickstarter.com/projects/noripyt/wagtails-first-hatch>`_ crowdfunder.
 

+ 1 - 1
docs/releases/2.7.rst

@@ -18,7 +18,7 @@ Improved StreamField design
 
 .. image:: ../_static/images/releasenotes_2_7_streamfield_styles.png
 
-The design of the StreamField user interface has been updated to improve clarity and usability, including better handling of nested blocks. This work was completed by Bertrand Bordage as part of the `Wagtail's First Hatch <https://www.kickstarter.com/projects/noripyt/wagtails-first-hatch>`_ crowdfunding campaign. We would like to thank all `supporters of the campaign <https://wagtail.io/blog/wagtails-first-hatch-backers/>`_.
+The design of the StreamField user interface has been updated to improve clarity and usability, including better handling of nested blocks. This work was completed by Bertrand Bordage as part of the `Wagtail's First Hatch <https://www.kickstarter.com/projects/noripyt/wagtails-first-hatch>`_ crowdfunding campaign. We would like to thank all `supporters of the campaign <https://wagtail.org/blog/wagtails-first-hatch-backers/>`_.
 
 
 WebP image support

+ 1 - 1
docs/support.rst

@@ -21,7 +21,7 @@ For topics and discussions that do not fit Stack Overflow's question-and-answer
 Slack
 ~~~~~
 
-The Wagtail Slack workspace is open to all users and developers of Wagtail. To join, head to: `https://wagtail.io/slack/ <https://wagtail.io/slack/>`_
+The Wagtail Slack workspace is open to all users and developers of Wagtail. To join, head to: `https://wagtail.org/slack/ <https://wagtail.org/slack/>`_
 
 Please use the **#support** channel for support questions. Support is provided by members of the Wagtail community on a voluntary basis, and we cannot guarantee that questions will be answered quickly (or at all). If you want to see this resource succeed, please consider sticking around to help out! Also, please keep in mind that many of Wagtail's core and expert developers prefer to handle support queries on a non-realtime basis through Stack Overflow, and questions asked there may well get a better response.
 

+ 1 - 1
setup.py

@@ -87,7 +87,7 @@ setup(
     description='A Django content management system.',
     author='Wagtail core team + contributors',
     author_email='hello@wagtail.io',  # For support queries, please see https://docs.wagtail.org/en/stable/support.html
-    url='https://wagtail.io/',
+    url='https://wagtail.org/',
     packages=find_packages(),
     include_package_data=True,
     license='BSD',

+ 12 - 12
wagtail/admin/tests/test_contentstate.py

@@ -247,12 +247,12 @@ class TestHtmlToContentState(TestCase):
         converter = ContentstateConverter(features=['link'])
         result = json.loads(converter.from_database_format(
             '''
-            <p>an <a href="http://wagtail.io">external</a> link</p>
+            <p>an <a href="http://wagtail.org">external</a> link</p>
             '''
         ))
         self.assertContentStateEqual(result, {
             'entityMap': {
-                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.io'}}
+                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.org'}}
             },
             'blocks': [
                 {
@@ -265,11 +265,11 @@ class TestHtmlToContentState(TestCase):
     def test_link_in_bare_text(self):
         converter = ContentstateConverter(features=['link'])
         result = json.loads(converter.from_database_format(
-            '''an <a href="http://wagtail.io">external</a> link'''
+            '''an <a href="http://wagtail.org">external</a> link'''
         ))
         self.assertContentStateEqual(result, {
             'entityMap': {
-                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.io'}}
+                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.org'}}
             },
             'blocks': [
                 {
@@ -282,11 +282,11 @@ class TestHtmlToContentState(TestCase):
     def test_link_at_start_of_bare_text(self):
         converter = ContentstateConverter(features=['link'])
         result = json.loads(converter.from_database_format(
-            '''<a href="http://wagtail.io">an external link</a> and <a href="http://torchbox.com">another</a>'''
+            '''<a href="http://wagtail.org">an external link</a> and <a href="http://torchbox.com">another</a>'''
         ))
         self.assertContentStateEqual(result, {
             'entityMap': {
-                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.io'}},
+                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.org'}},
                 '1': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://torchbox.com'}},
             },
             'blocks': [
@@ -894,8 +894,8 @@ class TestHtmlToContentState(TestCase):
         converter = ContentstateConverter(features=['image', 'link'])
         result = json.loads(converter.from_database_format(
             '''
-            <p><a href="https://wagtail.io">before <embed embedtype="image" alt="an image" id="1" format="left" /> after</a></p>
-            <p><a href="https://wagtail.io"><embed embedtype="image" alt="an image" id="1" format="left" /></a></p>
+            <p><a href="https://wagtail.org">before <embed embedtype="image" alt="an image" id="1" format="left" /> after</a></p>
+            <p><a href="https://wagtail.org"><embed embedtype="image" alt="an image" id="1" format="left" /></a></p>
             '''
         ))
         self.assertContentStateEqual(result, {
@@ -908,12 +908,12 @@ class TestHtmlToContentState(TestCase):
                 {'key': '00000', 'inlineStyleRanges': [], 'entityRanges': [{'key': 2, 'offset': 0, 'length': 0}], 'depth': 0, 'text': '', 'type': 'unstyled'},
             ],
             'entityMap': {
-                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'https://wagtail.io'}},
+                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'https://wagtail.org'}},
                 '1': {
                     'data': {'format': 'left', 'alt': 'an image', 'id': '1', 'src': '/media/not-found'},
                     'mutability': 'IMMUTABLE', 'type': 'IMAGE'
                 },
-                '2': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'https://wagtail.io'}},
+                '2': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'https://wagtail.org'}},
                 '3': {
                     'data': {'format': 'left', 'alt': 'an image', 'id': '1', 'src': '/media/not-found'},
                     'mutability': 'IMMUTABLE', 'type': 'IMAGE'
@@ -927,7 +927,7 @@ class TestContentStateToHtml(TestCase):
         converter = ContentstateConverter(features=['link'])
         contentstate_json = json.dumps({
             'entityMap': {
-                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.io'}}
+                '0': {'mutability': 'MUTABLE', 'type': 'LINK', 'data': {'url': 'http://wagtail.org'}}
             },
             'blocks': [
                 {
@@ -938,7 +938,7 @@ class TestContentStateToHtml(TestCase):
         })
 
         result = converter.to_database_format(contentstate_json)
-        self.assertEqual(result, '<p data-block-key="00000">an <a href="http://wagtail.io">external</a> link</p>')
+        self.assertEqual(result, '<p data-block-key="00000">an <a href="http://wagtail.org">external</a> link</p>')
 
     def test_local_link(self):
         converter = ContentstateConverter(features=['link'])

+ 2 - 2
wagtail/admin/tests/test_dbwhitelister.py

@@ -55,12 +55,12 @@ class TestDbWhitelister(TestCase):
     def test_page_link_is_rewritten(self):
         input_html = (
             '<p>Look at the <a data-linktype="page" data-id="2" href="/">lovely homepage</a>'
-            ' of my <a href="http://wagtail.io/">Wagtail</a> site</p>'
+            ' of my <a href="http://wagtail.org/">Wagtail</a> site</p>'
         )
         output_html = self.whitelister.clean(input_html)
         expected = (
             '<p>Look at the <a linktype="page" id="2">lovely homepage</a>'
-            ' of my <a href="http://wagtail.io/">Wagtail</a> site</p>'
+            ' of my <a href="http://wagtail.org/">Wagtail</a> site</p>'
         )
         self.assertHtmlEqual(expected, output_html)
 

+ 1 - 1
wagtail/admin/tests/test_html_ruleset.py

@@ -17,7 +17,7 @@ class TestHTMLRuleset(TestCase):
         self.assertEqual(ruleset.match('p', {}), 'paragraph')
         self.assertEqual(ruleset.match('p', {'class': 'intro'}), 'paragraph')
         self.assertEqual(ruleset.match('a', {'class': 'button'}), None)
-        self.assertEqual(ruleset.match('a', {'class': 'button', 'href': 'http://wagtail.io'}), 'link')
+        self.assertEqual(ruleset.match('a', {'class': 'button', 'href': 'http://wagtail.org'}), 'link')
         self.assertEqual(ruleset.match('a', {'class': 'button', 'linktype': 'document'}), None)
         self.assertEqual(ruleset.match('a', {'class': 'button', 'linktype': 'page'}), 'page-link')
         self.assertEqual(ruleset.match('a', {'class': 'button', 'linktype': 'silly page'}), 'silly-page-link')

+ 5 - 5
wagtail/contrib/frontend_cache/tests.py

@@ -219,7 +219,7 @@ class TestBackendConfiguration(TestCase):
             self._test_http_with_side_effect(urlopen_side_effect=http_error)
 
         self.assertIn(
-            "Couldn't purge 'http://www.wagtail.io/home/events/christmas/' from HTTP cache. HTTPError: 500 Internal Server Error",
+            "Couldn't purge 'http://www.wagtail.org/home/events/christmas/' from HTTP cache. HTTPError: 500 Internal Server Error",
             log_output.output[0]
         )
 
@@ -229,7 +229,7 @@ class TestBackendConfiguration(TestCase):
         with self.assertLogs(level='ERROR') as log_output:
             self._test_http_with_side_effect(urlopen_side_effect=url_error)
         self.assertIn(
-            "Couldn't purge 'http://www.wagtail.io/home/events/christmas/' from HTTP cache. URLError: just for tests",
+            "Couldn't purge 'http://www.wagtail.org/home/events/christmas/' from HTTP cache. URLError: just for tests",
             log_output.output[0]
         )
 
@@ -248,7 +248,7 @@ class TestBackendConfiguration(TestCase):
         urlopen_mock.side_effect = urlopen_side_effect
 
         # when making a purge request
-        backends.get('varnish').purge('http://www.wagtail.io/home/events/christmas/')
+        backends.get('varnish').purge('http://www.wagtail.org/home/events/christmas/')
 
         # then no exception is raised
         # and mocked urlopen is called with a proper purge request
@@ -270,11 +270,11 @@ class TestBackendConfiguration(TestCase):
             'cloudfront': {
                 'BACKEND': 'wagtail.contrib.frontend_cache.backends.CloudfrontBackend',
                 'DISTRIBUTION_ID': {
-                    'www.wagtail.io': 'frontend',
+                    'www.wagtail.org': 'frontend',
                 }
             },
         })
-        backends.get('cloudfront').purge('http://www.wagtail.io/home/events/christmas/')
+        backends.get('cloudfront').purge('http://www.wagtail.org/home/events/christmas/')
         backends.get('cloudfront').purge('http://torchbox.com/blog/')
 
         _create_invalidation.assert_called_once_with('frontend', ['/home/events/christmas/'])

+ 9 - 9
wagtail/core/tests/test_blocks.py

@@ -1499,14 +1499,14 @@ class TestStructBlock(SimpleTestCase):
         block = LinkBlock()
         html = block.render(block.to_python({
             'title': "Wagtail site",
-            'link': 'http://www.wagtail.io',
+            'link': 'http://www.wagtail.org',
         }))
         expected_html = '\n'.join([
             '<dl>',
             '<dt>title</dt>',
             '<dd>Wagtail site</dd>',
             '<dt>link</dt>',
-            '<dd>http://www.wagtail.io</dd>',
+            '<dd>http://www.wagtail.org</dd>',
             '</dl>',
         ])
 
@@ -1553,14 +1553,14 @@ class TestStructBlock(SimpleTestCase):
         block = LinkBlock()
         html = block.render(block.to_python({
             'title': "Wagtail site",
-            'link': 'http://www.wagtail.io',
+            'link': 'http://www.wagtail.org',
             'image': 10,
         }))
 
         self.assertIn('<dt>title</dt>', html)
         self.assertIn('<dd>Wagtail site</dd>', html)
         self.assertIn('<dt>link</dt>', html)
-        self.assertIn('<dd>http://www.wagtail.io</dd>', html)
+        self.assertIn('<dd>http://www.wagtail.org</dd>', html)
 
         # Don't render the extra item
         self.assertNotIn('<dt>image</dt>', html)
@@ -1589,7 +1589,7 @@ class TestStructBlock(SimpleTestCase):
         block = LinkBlock()
         context = block.get_form_context(block.to_python({
             'title': "Wagtail site",
-            'link': 'http://www.wagtail.io',
+            'link': 'http://www.wagtail.org',
         }), prefix='mylink')
 
         self.assertTrue(isinstance(context['children'], collections.OrderedDict))
@@ -1597,7 +1597,7 @@ class TestStructBlock(SimpleTestCase):
         self.assertTrue(isinstance(context['children']['title'], blocks.BoundBlock))
         self.assertEqual(context['children']['title'].value, "Wagtail site")
         self.assertTrue(isinstance(context['children']['link'], blocks.BoundBlock))
-        self.assertEqual(context['children']['link'].value, 'http://www.wagtail.io')
+        self.assertEqual(context['children']['link'].value, 'http://www.wagtail.org')
         self.assertEqual(context['block_definition'], block)
         self.assertEqual(context['prefix'], 'mylink')
 
@@ -1731,7 +1731,7 @@ class TestStructBlock(SimpleTestCase):
         block = LinkBlock()
         content = block.get_searchable_content(block.to_python({
             'title': "Wagtail site",
-            'link': 'http://www.wagtail.io',
+            'link': 'http://www.wagtail.org',
         }))
 
         self.assertEqual(content, ["Wagtail site"])
@@ -2083,7 +2083,7 @@ class TestListBlock(WagtailTestUtils, SimpleTestCase):
         return block.render([
             {
                 'title': "Wagtail",
-                'link': 'http://www.wagtail.io',
+                'link': 'http://www.wagtail.org',
             },
             {
                 'title': "Django",
@@ -2218,7 +2218,7 @@ class TestListBlock(WagtailTestUtils, SimpleTestCase):
         content = block.get_searchable_content([
             {
                 'title': "Wagtail",
-                'link': 'http://www.wagtail.io',
+                'link': 'http://www.wagtail.org',
             },
             {
                 'title': "Django",

+ 11 - 11
wagtail/core/tests/test_rich_text.py

@@ -156,21 +156,21 @@ class TestLinkRewriterTagReplacing(TestCase):
 
         # but it should also be able to handle other supported
         # link types (email, external, anchor) even if no rules is provided
-        external_type_link = rewriter('<a href="https://wagtail.io/">')
-        self.assertEqual(external_type_link, '<a href="https://wagtail.io/">')
+        external_type_link = rewriter('<a href="https://wagtail.org/">')
+        self.assertEqual(external_type_link, '<a href="https://wagtail.org/">')
         email_type_link = rewriter('<a href="mailto:test@wagtail.io">')
         self.assertEqual(email_type_link, '<a href="mailto:test@wagtail.io">')
         anchor_type_link = rewriter('<a href="#test">')
         self.assertEqual(anchor_type_link, '<a href="#test">')
 
         # As well as link which don't have any linktypes
-        link_without_linktype = rewriter('<a data-link="https://wagtail.io">')
-        self.assertEqual(link_without_linktype, '<a data-link="https://wagtail.io">')
+        link_without_linktype = rewriter('<a data-link="https://wagtail.org">')
+        self.assertEqual(link_without_linktype, '<a data-link="https://wagtail.org">')
 
         # But should not handle if a custom linktype is mentioned but no
         # associate rules are registered.
-        link_with_custom_linktype = rewriter('<a linktype="custom" href="https://wagtail.io">')
-        self.assertNotEqual(link_with_custom_linktype, '<a href="https://wagtail.io">')
+        link_with_custom_linktype = rewriter('<a linktype="custom" href="https://wagtail.org">')
+        self.assertNotEqual(link_with_custom_linktype, '<a href="https://wagtail.org">')
         self.assertEqual(link_with_custom_linktype, '<a>')
 
     def test_supported_type_should_follow_given_rules(self):
@@ -189,10 +189,10 @@ class TestLinkRewriterTagReplacing(TestCase):
 
         # It should call appropriate rule supported linktypes (external or email)
         # based on the href value
-        external_type_link = rewriter('<a href="https://wagtail.io/">')
-        self.assertEqual(external_type_link, '<a rel="nofollow" href="https://wagtail.io/">')
-        external_type_link_http = rewriter('<a href="http://wagtail.io/">')
-        self.assertEqual(external_type_link_http, '<a rel="nofollow" href="http://wagtail.io/">')
+        external_type_link = rewriter('<a href="https://wagtail.org/">')
+        self.assertEqual(external_type_link, '<a rel="nofollow" href="https://wagtail.org/">')
+        external_type_link_http = rewriter('<a href="http://wagtail.org/">')
+        self.assertEqual(external_type_link_http, '<a rel="nofollow" href="http://wagtail.org/">')
         email_type_link = rewriter('<a href="mailto:test@wagtail.io">')
         self.assertEqual(email_type_link, '<a data-email="true" href="mailto:test@wagtail.io">')
         anchor_type_link = rewriter('<a href="#test">')
@@ -212,7 +212,7 @@ class TestRichTextField(TestCase):
 
     def test_get_searchable_content(self):
         christmas_page = EventPage.objects.get(url_path='/home/events/christmas/')
-        christmas_page.body = '<p><b>Merry Christmas from <a href="https://wagtail.io/">Wagtail!</a></b> &amp; co.</p>'
+        christmas_page.body = '<p><b>Merry Christmas from <a href="https://wagtail.org/">Wagtail!</a></b> &amp; co.</p>'
         christmas_page.save_revision(submitted_for_moderation=False)
 
         body_field = christmas_page._meta.get_field('body')

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
wagtail/project_template/home/templates/home/welcome_page.html


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels