Until we can find a way to exclude both the wagtailcore_page _and_ the
related custom model that references this, the exclusion behaviour
creates a DB with a state that fails integrity checks, because
the custom model references a wagtailcore_page table row which no longer
exists
* Add VPN Resource Centre CMS models to the DB export
This got missed during development and my code review 🤦
* Ensure that the DB export doesn't contain any unpublished Pages
This covers pages which are still draft and have never been published
before, and also would cover pages that get retired in the future
This command is intended to be called after a Bedrock Demo has been deployed to Cloud Run
so that we can bootstrap users who may then log in via SSO. The value of the users
list will come from a GCP Secret as a comma-separated list of email addresses
Ensure heading levels only increase by one - h4s changed to h3s.
It makes them slightly bigger but not offensively so - can make a CSS tweak to bring it smaller again.
Since Node 23 came out, fresh installs or updates to our pre-commit hooks
will fail for eslint. This is because pre-commit will pick the very new
version of Node, because we haven't told it not to.
This change tells pre-commit to use the LTS version installed on the system,
which will match what we use for main Bedrock
* Add French transcreated content for edit PDF feature #15193
- Created French variant of features/pdf-editor
- Added French features/pdf-free
- Added French page features/pdf-comp
- Added supporting images
* Bump wagtail-localize-smartling to 0.4.0
* For VPN CTA snippet, make the string name include the locale, to improve Admin UX
* Stop Django from downcasing the VPN Snippet model name, in order to improve Admin UX
* Fix bug where falling back to a non-CMS page in prefer_cms caused a 302 to en-US
* Stop wagtail-localize from publishing a non-default locale page when adding to the page tree
---------
Co-authored-by: Steve Jalim <stevejalim@mozilla.com>
* Add support for animated GIF processing in Wagtail with Wand
* Stop sending the BedrockImage object instance into the task queue
Instead, just send its ID and then pluck the model from the DB as part of the task