Skip to content

Commit 6ae1158

Browse files
committed
Doc updates and release notes for 4.1
1 parent cd1c522 commit 6ae1158

5 files changed

Lines changed: 84 additions & 12 deletions

File tree

docs/features/page_types/event_pages.rst

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Content Tab
3131
Implementation
3232
--------------
3333

34-
The event functionality is built-in to Wagtail CRX but it is not enabled by default.
34+
The event functionality is built-in to Wagtail CRX which includes the ability to show events on a calendar, generate ical entries, and automatically rotate events based on next upcoming occurrences.
3535

3636
There are two abstract pages available when dealing with events. The first ``CoderedEventPage`` holds
3737
the information regarding an event. Dates, location, etc. all will fall under this page. The
@@ -80,17 +80,16 @@ create the new pages in your project.
8080

8181
Now when going to the wagtail admin, you can create an Event Landing Page, and child Event Pages.
8282

83-
.. versionadded:: 0.22
83+
.. note::
84+
85+
Events require timezone support to be enabled in Django. Be sure to set ``USE_TZ = True`` and ``TIME_ZONE`` in your settings.
86+
87+
All dates and times inputted via the Wagtail Admin, and rendered on the calendar and throughout the site, will be converted to ``TIME_ZONE`` from your Django settings.
8488

85-
All dates and times inputted via the Wagtail Admin, and rendered on the
86-
calendar and throughout the site, will be converted to ``TIME_ZONE`` from
87-
your Django settings. It is highly recommended to set ``TIME_ZONE`` and
88-
``USE_TZ = True`` in your Django settings for the Event pages to function
89-
correctly.
89+
For example, if ``TIME_ZONE`` is set to ``America/New_York``, then entering an event for 2021-12-31 09:00 in the Wagtail admin will be saved as 9am New York time. It will also be displayed on the website as 9am New York time.
9090

91-
For example, if ``TIME_ZONE`` is set to ``America/New_York``, then entering
92-
an event for 2021-12-31 09:00 in the Wagtail admin will be saved as 9am New
93-
York time. It will also be displayed on the website as 9am New York time.
91+
If you then changed ``TIME_ZONE`` to ``America/Chicago``, the event time will automatically be displayed as 8am Chicago time.
92+
93+
.. versionadded:: 0.22
9494

95-
If you then changed ``TIME_ZONE`` to ``America/Chicago``, the event time
96-
will automatically be displayed as 8am Chicago time.
95+
Events were added in 0.22

docs/hosting/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Deploying & Hosting Wagtail CRX
2+
===============================
3+
4+
Wagtail CRX can be deployed and hosted just like any other Wagtail or Django website. Read the `Wagtail hosting guide <https://docs.wagtail.org/en/stable/deployment/index.html>`_.
5+
6+
CodeRed also provides `CodeRed Cloud, optimized for deploying and hosting wagtail sites <https://www.codered.cloud/docs/wagtail/quickstart/>`_, which includes both free and professional grade plans.

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,5 @@ Contents
7676
how_to/index
7777
reference/index
7878
contributing/index
79+
Deploying & hosting <hosting/index>
7980
releases/index

docs/releases/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Supported Versions:
1515
+--------------+---------+----------+---------------------------+
1616
| CRX version | Wagtail | Python | Support Status |
1717
+==============+=========+==========+===========================+
18+
| CRX 4.1 | 6.3 | 3.9-3.13 | Supported |
19+
+--------------+---------+----------+---------------------------+
1820
| CRX 4.x | 6.x | 3.8-3.12 | Supported |
1921
+--------------+---------+----------+---------------------------+
2022
| CRX 3.x | 5.x | 3.8-3.12 | Supported |
@@ -29,6 +31,7 @@ Supported Versions:
2931
.. toctree::
3032
:maxdepth: 1
3133

34+
v4.1.0
3235
v4.0.1
3336
v4.0.0
3437
v3.0.4

docs/releases/v4.1.0.rst

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
v4.1.0 release notes
2+
====================
3+
4+
5+
New features
6+
------------
7+
8+
* Support Wagtail 6.3 exclusively.
9+
10+
* Support Python 3.9 to 3.13.
11+
12+
* Improve visual consistency of miniview and search templates, including uniform height when rendered in rows, i.e. Related Pages.
13+
14+
* New miniview template for Article and Event pages, which show more contextual details about each page type.
15+
16+
* All miniview templates now include variables ``h`` to set the heading level, and ``miniview_css_class`` to add CSS to the top level card.
17+
18+
* New search template for Event pages which shows more contextual details.
19+
20+
21+
Bug fixes
22+
---------
23+
24+
* Fix modal and download buttons by restoring ``button_title`` field on ``ButtonMixin`` (which was previously refactored in v4.0).
25+
26+
* Fix accessibility warnings about inconsistent heading levels of Related Pages.
27+
28+
* Fix visual overflow of Carousel block.
29+
30+
* Fix default field type on Form page fields.
31+
32+
33+
Maintenance
34+
-----------
35+
36+
* Update to the latest fullcalendar, icalendar, and django-bootstrap5 versions.
37+
38+
39+
Upgrade considerations
40+
----------------------
41+
42+
After upgrading, be sure to generate and apply new migrations as so:
43+
44+
.. code-block::
45+
46+
python manage.py makemigrations
47+
python manage.py migrate
48+
49+
Template changes
50+
~~~~~~~~~~~~~~~~
51+
52+
The default Article Index and Event Index page templates now use the respective miniview template to list child pages. This results in a slight visual difference.
53+
54+
Block changes
55+
~~~~~~~~~~~~~
56+
57+
* ``button_title`` has been re-added to ``ButtonMixin``.
58+
59+
60+
Thank you!
61+
----------
62+
63+
Thanks to everyone who contributed to `4.1 on GitHub <https://github.com/coderedcorp/coderedcms/milestone/56?closed=1>`_.

0 commit comments

Comments
 (0)