Quellcode durchsuchen

Update JS libs, copyrights, and URLs with branch name (#599)

Vince Salvino vor 1 Jahr
Ursprung
Commit
07721e3d96

+ 3 - 3
coderedcms/static/coderedcms/css/crx-front.css

@@ -1,7 +1,7 @@
 /*!
 Wagtail CRX (https://www.coderedcorp.com/cms/)
-Copyright 2018-2022 CodeRed LLC
-License: https://github.com/coderedcorp/coderedcms/blob/dev/LICENSE
+Copyright 2018-2023 CodeRed LLC
+License: https://github.com/coderedcorp/coderedcms/blob/main/LICENSE
 */
 .crx-article .article-body {
   max-width: 800px;
@@ -326,4 +326,4 @@ License: https://github.com/coderedcorp/coderedcms/blob/dev/LICENSE
   height: auto;
 }
 
-/*# sourceMappingURL=crx-front.css.map */
+/*# sourceMappingURL=crx-front.css.map */

Datei-Diff unterdrückt, da er zu groß ist
+ 2 - 2
coderedcms/static/coderedcms/css/crx-front.min.css


+ 2 - 2
coderedcms/static/coderedcms/js/crx-editor.js

@@ -1,7 +1,7 @@
 /*
 Wagtail CRX (https://www.coderedcorp.com/cms/)
-Copyright 2018-2022 CodeRed LLC
-License: https://github.com/coderedcorp/coderedcms/blob/dev/LICENSE
+Copyright 2018-2023 CodeRed LLC
+License: https://github.com/coderedcorp/coderedcms/blob/main/LICENSE
 @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
 */
 

+ 4 - 5
coderedcms/static/coderedcms/js/crx-events.js

@@ -1,7 +1,7 @@
 /*
 Wagtail CRX (https://www.coderedcorp.com/cms/)
-Copyright 2018-2022 CodeRed LLC
-License: https://github.com/coderedcorp/coderedcms/blob/dev/LICENSE
+Copyright 2018-2023 CodeRed LLC
+License: https://github.com/coderedcorp/coderedcms/blob/main/LICENSE
 @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
 */
 
@@ -18,10 +18,9 @@ document.addEventListener("DOMContentLoaded", function () {
       headerToolbar: {
         left: "prev,next today",
         center: "title",
-        right: "dayGridMonth,timeGridWeek,timeGridDay,listMonth",
+        right: "dayGridMonth,dayGridWeek,timeGridDay,listMonth",
       },
-      themeSystem: "bootstrap",
-      bootstrapFontAwesome: false,
+      themeSystem: "bootstrap5",
       buttonText: {
         prev: "← prev",
         next: "next →",

+ 2 - 2
coderedcms/static/coderedcms/js/crx-front.js

@@ -1,7 +1,7 @@
 /*
 Wagtail CRX (https://www.coderedcorp.com/cms/)
-Copyright 2018-2022 CodeRed LLC
-License: https://github.com/coderedcorp/coderedcms/blob/dev/LICENSE
+Copyright 2018-2023 CodeRed LLC
+License: https://github.com/coderedcorp/coderedcms/blob/main/LICENSE
 @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
 */
 

+ 2 - 2
coderedcms/static/coderedcms/js/crx-maps.js

@@ -1,7 +1,7 @@
 /*
 Wagtail CRX (https://www.coderedcorp.com/cms/)
-Copyright 2018-2022 CodeRed LLC
-License: https://github.com/coderedcorp/coderedcms/blob/dev/LICENSE
+Copyright 2018-2023 CodeRed LLC
+License: https://github.com/coderedcorp/coderedcms/blob/main/LICENSE
 @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
 */
 

+ 2 - 2
coderedcms/static/coderedcms/scss/crx-front.scss

@@ -3,8 +3,8 @@
 ///
 /*!
 Wagtail CRX (https://www.coderedcorp.com/cms/)
-Copyright 2018-2022 CodeRed LLC
-License: https://github.com/coderedcorp/coderedcms/blob/dev/LICENSE
+Copyright 2018-2023 CodeRed LLC
+License: https://github.com/coderedcorp/coderedcms/blob/main/LICENSE
 */
 
 @import "crx-article";

+ 2 - 6
coderedcms/templates/coderedcms/pages/event_index_page.html

@@ -44,13 +44,9 @@
 </div>
 {% endblock %}
 
-{% block coderedcms_assets %}
-{{ block.super }}
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fullcalendar@5.11.2/main.min.css" integrity="sha256-5veQuRbWaECuYxwap/IOE/DAwNxgm4ikX7nrgsqYp88=" crossorigin="anonymous">
-{% endblock %}
-
 {% block coderedcms_scripts %}
 {{ block.super }}
-<script src="https://cdn.jsdelivr.net/npm/fullcalendar@5.11.2/main.min.js" integrity="sha256-sR+oJaZ3c0FHR6+kKaX1zeXReUGbzuNI8QTKpGHE0sg=" crossorigin="anonymous"></script>
+<script src="https://cdn.jsdelivr.net/npm/fullcalendar@6.1.9/index.global.min.js" integrity="sha256-alsi6DkexWIdeVDEct5s7cnqsWgOqsh2ihuIZbU6H3I=" crossorigin="anonymous"></script>
+<script src="https://cdn.jsdelivr.net/npm/@fullcalendar/bootstrap5@6.1.9/index.global.min.js" integrity="sha256-gUOOsuvXIJriWP5FGvNLUHPduBqgnIyGuAxWiWtHxMo=" crossorigin="anonymous"></script>
 <script src="{% static 'coderedcms/js/crx-events.js' %}?v={% coderedcms_version %}"></script>
 {% endblock %}

+ 1 - 1
coderedcms/templates/coderedcms/pages/stream_form_page.html

@@ -60,6 +60,6 @@
 {% endblock %}
 {% block coderedcms_scripts %}
 {{ block.super }}
-<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
+<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
 <script src="{% static 'coderedcms/js/crx-streamforms.js' %}?v={% coderedcms_version %}"></script>
 {% endblock %}

+ 2 - 4
coderedcms/templates/coderedcms/widgets/checkbox_classifiers.html

@@ -28,10 +28,8 @@
 {% load i18n %}
 <div class="crx-callout">
   <div class="crx-big-icon icon icon-snippet"></div>
-  <h3>
-    {% trans "Organize Pages with Classifiers" %}
-  </h3>
-  <p>
+  <h2>{% trans "Organize Pages with Classifiers" %}</h2>
+  <p class="help">
     {% trans "Use Classifiers to create custom categories and filters."%}
   </p>
   <div>

+ 2 - 2
docs/advanced/advanced01.rst

@@ -25,7 +25,7 @@ structure. This uses the standard Django template rendering engine. For example,
 formatting of the article page, copy ``coderedcms/templates/coderedcms/pages/article_page.html``
 to ``website/templates/coderedcms/pages/article_page.html`` and modify it.
 The `source code for built-in templates can be found on GitHub
-<https://github.com/coderedcorp/coderedcms/blob/dev/coderedcms/templates/coderedcms/>`_.
+<https://github.com/coderedcorp/coderedcms/blob/main/coderedcms/templates/coderedcms/>`_.
 
 
 Example 1: Navbar Customization
@@ -33,7 +33,7 @@ Example 1: Navbar Customization
 
 The built-in template for the navbar can be found in ``templates/coderedcms/snippets/navbar.html``. This
 file may not actually be in your installation folders for your site; however, you can see its contents
-by visiting the Wagtail CRX source code here: `navbar.html <https://github.com/coderedcorp/coderedcms/blob/dev/coderedcms/templates/coderedcms/snippets/navbar.html>`_.
+by visiting the Wagtail CRX source code here: `navbar.html <https://github.com/coderedcorp/coderedcms/blob/main/coderedcms/templates/coderedcms/snippets/navbar.html>`_.
 
 Let’s say that you want to have a 2-tiered navbar with the logo on the top tier and the menu items on the
 second tier. The default navbar does not have that as an option, so you will want to override this template.

+ 1 - 1
docs/conf.py

@@ -66,7 +66,7 @@ html_theme = "sphinx_wagtail_theme"
 
 html_theme_options = {
     "project_name": "Wagtail + CodeRed Extensions",
-    "github_url": "https://github.com/coderedcorp/coderedcms/blob/dev/docs/",
+    "github_url": "https://github.com/coderedcorp/coderedcms/blob/main/docs/",
     "footer_links": (
         "Wagtail Hosting by CodeRed|https://www.codered.cloud/,"
         "Wagtail CRX on GitHub|https://github.com/coderedcorp/coderedcms,"

+ 1 - 1
docs/contributing/index.rst

@@ -112,7 +112,7 @@ license header comment states copyright, ownership, license, and also provides c
 
     /*!
     Wagtail CRX (https://www.coderedcorp.com/cms/)
-    Copyright 2018-2021 CodeRed LLC
+    Copyright 2018-2023 CodeRed LLC
     License: https://github.com/coderedcorp/coderedcms/blob/main/LICENSE
     @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
     */

+ 1 - 1
docs/features/blocks/contentblocks/latestpages.rst

@@ -15,7 +15,7 @@ Fields and purposes:
 * **Number of Pages to Show** - Limits how many pages are displayed to the number that you selected.
 
 Each page is rendered using the page model's "miniview" template.
-The template can be overridden per model with the ``miniview_template`` attribute, the default of which is `coderedcms/pages/page.mini.html <https://github.com/coderedcorp/coderedcms/blob/dev/coderedcms/templates/coderedcms/pages/pages.mini.html>`_.
+The template can be overridden per model with the ``miniview_template`` attribute, the default of which is `coderedcms/pages/page.mini.html <https://github.com/coderedcorp/coderedcms/blob/main/coderedcms/templates/coderedcms/pages/pages.mini.html>`_.
 
 .. figure:: img/latestpages1.png
     :alt: The Latest Pages block and its settings.

+ 1 - 1
docs/features/blocks/contentblocks/pagepreview.rst

@@ -16,7 +16,7 @@ There is only one field.
     A Page Preview block and its settings.
 
 The selected page is rendered using the page model's "miniview" template.
-The template can be overridden per model with the ``miniview_template`` attribute, the default of which is `coderedcms/pages/page.mini.html <https://github.com/coderedcorp/coderedcms/blob/dev/coderedcms/templates/coderedcms/pages/pages.mini.html>`_.
+The template can be overridden per model with the ``miniview_template`` attribute, the default of which is `coderedcms/pages/page.mini.html <https://github.com/coderedcorp/coderedcms/blob/main/coderedcms/templates/coderedcms/pages/pages.mini.html>`_.
 
 .. versionadded:: 2.1
 

+ 1 - 1
docs/features/related_pages.rst

@@ -13,7 +13,7 @@ Related page formatting
 ------------------------
 
 Each related page is rendered using the page model's "miniview" template.
-The template can be overridden per model with the ``miniview_template`` attribute, the default of which is `coderedcms/pages/page.mini.html <https://github.com/coderedcorp/coderedcms/blob/dev/coderedcms/templates/coderedcms/pages/pages.mini.html>`_.
+The template can be overridden per model with the ``miniview_template`` attribute, the default of which is `coderedcms/pages/page.mini.html <https://github.com/coderedcorp/coderedcms/blob/main/coderedcms/templates/coderedcms/pages/pages.mini.html>`_.
 
 If related pages are enabled, a ``QuerySet`` of pages is added to the context as ``related_pages``. This ``QuerySet`` can also be retrieved by calling ``page.get_related_pages()``.
 

+ 2 - 2
docs/how_to/headers_and_footers.rst

@@ -27,7 +27,7 @@ override the ``navbar.html`` file included with Wagtail CRX.
 It is advisable to initially copy the contents of `Wagtail CRX navbar.html`_, but
 not necessary.
 
-.. _Wagtail CRX navbar.html: https://github.com/coderedcorp/coderedcms/blob/dev/coderedcms/templates/coderedcms/snippets/navbar.html
+.. _Wagtail CRX navbar.html: https://github.com/coderedcorp/coderedcms/blob/main/coderedcms/templates/coderedcms/snippets/navbar.html
 
 
 Footer
@@ -63,4 +63,4 @@ footer.html`_, but not necessary.
     select a different navbar/footer per site in a multisite installation OR render several navbars/footers in selected order
     on a single site.
 
-.. _Wagtail CRX footer.html: https://github.com/coderedcorp/coderedcms/blob/dev/coderedcms/templates/coderedcms/snippets/footer.html
+.. _Wagtail CRX footer.html: https://github.com/coderedcorp/coderedcms/blob/main/coderedcms/templates/coderedcms/snippets/footer.html

+ 1 - 1
docs/reference/django_settings.rst

@@ -46,7 +46,7 @@ admin related to rendering blocks, pages, and templates. By default, all
 CRX_FRONTEND_* settings are designed to work with Bootstrap 5 CSS framework, but
 these can be customized if using a different CSS framework or theme variant.
 
-`Available settings are defined here <https://github.com/coderedcorp/coderedcms/blob/dev/coderedcms/settings.py>`.
+`Available settings are defined here <https://github.com/coderedcorp/coderedcms/blob/main/coderedcms/settings.py>`.
 
 
 CRX_PROTECTED_MEDIA_ROOT

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.