Skip to content

Commit

Permalink
0.15.0 release (#206)
Browse files Browse the repository at this point in the history
* 0.15.0 release notes

* Regenerating migration and fixing endless migration issue by adding {% verbatim %} tag
  • Loading branch information
vsalvino authored and Cory Sutyak committed Jun 4, 2019
1 parent 034a312 commit 6cc0e4b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 33 deletions.
48 changes: 23 additions & 25 deletions coderedcms/project_template/website/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Generated by Django 2.1.5 on 2019-04-12 19:05
{% verbatim %}
# Generated by Django 2.2.2 on 2019-06-04 18:08

import coderedcms.blocks.base_blocks
import coderedcms.blocks.html_blocks
Expand All @@ -20,9 +21,9 @@ class Migration(migrations.Migration):
initial = True

dependencies = [
('wagtailcore', '0041_group_collection_permissions_verbose_name_plural'),
('coderedcms', '0014_classifiers'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('coderedcms', '0015_coderedsessionformsubmission_coderedsubmissionrevision'),
('wagtailcore', '0041_group_collection_permissions_verbose_name_plural'),
]

operations = [
Expand Down Expand Up @@ -57,23 +58,6 @@ class Migration(migrations.Migration):
},
bases=('coderedcms.coderedpage',),
),
migrations.CreateModel(
name='FormConfirmEmail',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('to_address', models.CharField(blank=True, help_text='Separate multiple email addresses with commas.', max_length=255, verbose_name='To Addresses')),
('from_address', models.CharField(blank=True, help_text='For example: "[email protected]" or "Sender Name <[email protected]>" (without quotes).', max_length=255, verbose_name='From Address')),
('reply_address', models.CharField(blank=True, help_text='Separate multiple email addresses with commas.', max_length=255, verbose_name='Reply-To Address')),
('cc_address', models.CharField(blank=True, help_text='Separate multiple email addresses with commas.', max_length=255, verbose_name='CC')),
('bcc_address', models.CharField(blank=True, help_text='Separate multiple email addresses with commas.', max_length=255, verbose_name='BCC')),
('subject', models.CharField(blank=True, max_length=255, verbose_name='Subject')),
('body', models.TextField(blank=True, verbose_name='Body')),
],
options={
'verbose_name': 'CodeRed Email',
'abstract': False,
},
),
migrations.CreateModel(
name='FormPage',
fields=[
Expand Down Expand Up @@ -115,6 +99,24 @@ class Migration(migrations.Migration):
'ordering': ['sort_order'],
},
),
migrations.CreateModel(
name='FormConfirmEmail',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('to_address', models.CharField(blank=True, help_text='Separate multiple email addresses with commas.', max_length=255, verbose_name='To Addresses')),
('from_address', models.CharField(blank=True, help_text='For example: "[email protected]" or "Sender Name <[email protected]>" (without quotes).', max_length=255, verbose_name='From Address')),
('reply_address', models.CharField(blank=True, help_text='Separate multiple email addresses with commas.', max_length=255, verbose_name='Reply-To Address')),
('cc_address', models.CharField(blank=True, help_text='Separate multiple email addresses with commas.', max_length=255, verbose_name='CC')),
('bcc_address', models.CharField(blank=True, help_text='Separate multiple email addresses with commas.', max_length=255, verbose_name='BCC')),
('subject', models.CharField(blank=True, max_length=255, verbose_name='Subject')),
('body', models.TextField(blank=True, verbose_name='Body')),
('page', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='confirmation_emails', to='website.FormPage')),
],
options={
'verbose_name': 'CodeRed Email',
'abstract': False,
},
),
migrations.CreateModel(
name='WebPage',
fields=[
Expand All @@ -126,9 +128,5 @@ class Migration(migrations.Migration):
},
bases=('coderedcms.coderedpage',),
),
migrations.AddField(
model_name='formconfirmemail',
name='page',
field=modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='confirmation_emails', to='website.FormPage'),
),
]
{% endverbatim %}
32 changes: 24 additions & 8 deletions docs/releases/v0.15.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ CodeRed CMS 0.15.0 release notes
New features
------------

* NEW Stream Forms for doing advanced multi-step forms with conditional logic!
See :doc:`/features/page_types/stream_forms`.
* NEW optional environment specifier banners! See CODERED_BANNER settings in
:doc:`/getting_started/django_settings`.
* NEW documentation for built-in page types! See :doc:`/features/page_types/index`.
* NEW tutorial! See :doc:`/getting_started/tutorial01`.
* Upgraded Wagtail to version 2.5. Now supports Django versions 2.0, 2.1, and 2.2.
Supports Python versions 3.4, 3.5, 3.6, and 3.7.


Bug Fixes
Bug fixes
---------

None
Expand All @@ -18,19 +23,30 @@ None
Maintenance
-----------

* Upgraded Wagtail to version 2.5. Now supports Django versions 2.0, 2.1, and 2.2.
Supports Python versions 3.4, 3.5, 3.6, and 3.7.
* Upgraded jQuery to version 3.4.
* Upgraded pickadate.js (fallback to native HTML5 date/time inputs) to version 3.6.
* Internally switched to Sass for more modular development and debugging.
* Now provides minified version of ``codered-front.css`` (``codered-front.min.css``).
* Added licensing information to JavaScript files, and now supports LibreJS.
* Added unit tests for improved quality control. See :doc:`/contributing/index`.
See :doc:`/contributing/index`.
* Added continuous integration pipelines for improved quality control.
* Minor code cleanups.


Upgrade considerations
----------------------

Static css/js files have been moved. If you are referencing them manually in your
templates, please update accordingly:
* You will need to run ``python manage.py makemigrations website`` and ``python manage.py migrate`` after upgrading.
* Static css/js files have been moved. If you are referencing them manually in your
templates, please update accordingly:

* ``css/codered-front.css`` -> ``coderedcms/css/codered-front[.min].css``
* ``js/codered-front.js`` -> ``coderedcms/js/codered-front.js``


Thank You
---------

* ``css/codered-front.css`` -> ``coderedcms/css/codered-front[.min].css``
* ``js/codered-front.js`` -> ``coderedcms/js/codered-front.js``
Special thank you to our new `contributors <https://github.com/coderedcorp/coderedcms/graphs/contributors>`_
and to everyone who joined us at PyCon US 2019 sprints.

0 comments on commit 6cc0e4b

Please sign in to comment.