Karl Hobley

Results 68 issues of Karl Hobley

This is to help make the UX of scheduled pages a bit nicer. The version of the page that's in draft is always the version that will be published by...

component:Page

This PR moves the locking logic out of ``UserPagePermissionsProxy`` and onto the page model itself. It also extracts the locking fields and this new ``get_lock`` method into a new mixin....

status:Needs Review
component:Page

This PR separates the JavaScript into more distinct folders. This flattens the structure a bit, and I think this will make it easier to navigate. The folders are as follows:...

status:Needs Design Decision
type:Cleanup/Optimisation
status:Needs Review
javascript

``wagtailadmin/utils.py`` currently imports ``wagtail.wagtailusers.models`` which makes it impossible to remove the app from a project. IIRC, the main reason why it was made a separate app was so that the...

type:Cleanup/Optimisation

This PR adds a ``Content-Security-Policy`` header to responses from the Wagtail admin. This should prevent any unsafe eval statements from running so we can catch these issues early.

https://github.com/wagtail/bakerydemo/blob/e82c84b6a3c10006cf2e4f07b7a8dcb972ab6731/bakerydemo/settings/production.py#L45 The default is `locmem`, which is problematic for 12 factor apps and causes URLs to break after publishing pages. We should either change the default to "dummy" or remove...

bug

Currently, if we decide to change the database, we would have to update the initial data fixture so the data inside it matches the new schema. If we pulled the...

enhancement

This PR adds a new Github workflow task that checks if there are any changes to translatable strings that haven't yet been extracted into a PO file. I've set up...

Allows using Wagtail Localize's configured machine translator to translate a PO file. Useful for testing translation.

- [ ] All fields in `translatable_fields` exist - [ ] All fields in `translatable_fields` are translatable (error on custom field types that don't have required methods) - [x] If...

help wanted
good first issue