- Fix bug with language codes elsewhere in a URL when LocalisationMiddleware is active
- Fix bug with HtmlField image insertion not working
- Maintain GET paramemters when redirecting with the LocalisationMiddleware
- Add migrations that get added on Django 3.2 projects from
DEFAULT_AUTO_FIELD
changes
- Add missing migration merge
- Add versioning to pages
- Add duration field to Videos
- Display schema on non-local videos
- Add missing mark_safe import
- Fix issue with schema json generation
- Adjust
media.Video
templates to render both low and high res video files. Add support for poster images on local videos. - Add schema for local videos.
- Update SEO fields to match industry standard terms for title and meta.
- Fix VideoRefFields throwing an error if, in the returned JSON, 'title' wasn't provided.
- Fix VideoRefFields throwing an error if, in the returned JSON, 'provider_name' wasn't provided.
- Fix issue with incorrect version being published.
- Fix issue where checking if user was authenticated was being called incorrectly.
- Remove TinyPNG from media app
- Get image dimensions during a pre_save signal instead of saving the file twice.
- Update middleware to no longer use deprecated MiddlewareMixin
- Remove redundant code from middleware + general code cleanup
- Change pages system to use PageDispatcher view as its entry point
- Fix confusing options for Country.default
- LOCALISATION_MIDDLEWARE_EXCLUDE_URLS is a new setting
- Use the media storage
.open()
function to retrieve an image instead ofopen()
- Fix issue where adding a file would error with remote storages.
- Fix issue where list page would error if a remote storage was being used
- Have the media storage class extend the current default storage class
- Increase max length of page slugs to 150
- Update PageAdmin to fully validate the fields on related Content objects
- Fix issue with page base Twitter cards for summary_large_image
- Fix bug with media.File.embed_html where controls on vimeo embeds are inverse to provided values.
- Fix bug where oembed information would fail to be collected on Vimeo videos due to being blocked by a Captcha
- Allow a setting to determine if the media library overfiles files on the disk or preserves them.
- Increase the max slug length of pages
- Add fix for duplicating the homepage.
- Remove the site name from the page title by default.
- Fix issue with LocalisationMiddleware where it would throw an exception if the IP didn't belong to a country.
- Fix missed change to
handle_uncaught_exception
in Django 2.2 compatability update.
- Django 2.2 compatibility is now complete:
- Breaking change: If you are using
LocalisationMiddleware
, change yourMIDDLEWARE_CLASSES
setting toMIDDLEWARE
. The other CMS middleware is now compatible with both, but the check for localisation middleware now only looks atMIDDLEWARE
, to simplify 2.2 compatibility. - Breaking change:
cms
must now be in yourINSTALLED_APPS
. - Breaking change: localised sites now use
geoip2
- you will need to update your GeoIP database. - All
ForeignKey
s now have anon_delete
explicitly specified (one was missed in 4.2.0).
- Breaking change: If you are using
- The documentation has been completely rewritten.
- Importing
cms.sitemaps
at the top level of a module containing an app's AppConfig no longer raisesAppRegistryNotReady
. PageBase
's help text for theslug
field now makes sense.OnlineBase
and its derivatives (including the Page model) now implementget_preview_url()
, to generate a URL at which non-admin users can preview an object.- Remove a pessimisation in
PageManager.get_homepage
.
- Show usage of media library files on the file's change form.
- Make middleware compatible with both
MIDDLEWARE
andMIDDLEWARE_CLASSES
. - Ensure all
ForeignKey
s have anon_delete
explicitly specified for Django 2.2 compatibility. - Rename "Search engine optimization" fieldset of SearchMetaBaseAdmin to "SEO".
- Make it possible for ContentBase derivatives to override how they are searched by Watson.
- Fix
Video.embed_html()
function using the wrong renderer for local mp4 files. - Remove
cached_url
from the Page model, because it is unreliable.
- Remove key press listeners from image editor
- Fix an issue where get parameters in the URL made saving a new page impossible
- Don't override
submit_line.html
- this should be a decision for the CMS skin or a project-local override.
- Simplify template override for
pages/page/change_form.html
.
- Fix saving pages from the changelist view when its content model has
fieldsets
under certain circumstances. - Restore ordering of media library to be most recent first.
- Add a class to the ImageRefField widget's image preview to allow for easier styling.
- Fix an issue when changing page ContentType where the new ContentType has ManyToMany fields not on the original.
- Big speedups in RequestPageManager.
- Fix migration state.
- Fix issue for multilingual site and offline pages [See #176]
- Decouple from django-suit
- Massive code clean up
- In admin image editing for media app
- Switched to Jinja2 as the template engine.