Up to [cvs.NetBSD.org] / pkgsrc / www / py-wagtail
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
*: clean-up after python38 removal
py-wagtail: updated to 6.0.1 6.0.1 (15.02.2024) * Fix: Ensure `BooleanRadioSelect` uses the same styles as `RadioSelect` (Thibaud Colas) * Fix: Prevent failure on `collectstatic` when `ManifestStaticFilesStorage` is in use (Matt Westcott) * Fix: Prevent error on submitting an empty search in the admin under Elasticsearch (Maikel Martens)
py-wagtail: add missing tools
py-wagtail: updated to 6.0 6.0 (07.02.2024) ~~~~~~~~~~~~~~~~ * Added support for Django 5.0 * Implemented universal listings – a unified listing and filtering interface for Pages, Snippets, Forms (Ben Enright, Matt Westcott, Thibaud Colas, Sage Abdullah) * Add the accessibility checker within the page and snippets editor (Thibaud Colas) * Added `search_index` option to StreamField blocks to control whether the block is indexed for searching (Vedant Pandey) * Remember previous location on returning from page add/edit actions (Robert Rollins) * Update settings file in project settings to address Django 4.2 deprecations (Sage Abdullah) * Improve layout and accessibility of the image URL generator page, reduce reliance on JavaScript (Temidayo Azeez) * Allow `UniqueConstraint` in place of `unique_together` for `TranslatableMixin`'s system check (Temidayo Azeez, Sage Abdullah) * Make use of `IndexView.get_add_url()` in snippets index view template (Christer Jensen, Sage Abdullah) * Allow `Page.permissions_for_user()` to be overridden by specific page types (Sébastien Corbin) * Improve visual alignment of explore icon in Page listings for longer content (Krzysztof Jeziorny) * Add `extra_actions` blocks to Snippets and generic index templates (Bhuvnesh Sharma) * Added page types usage report (Jhonatan Lopes) * Add support for defining `panels` / `edit_handler` on `ModelViewSet` (Sage Abdullah) * Use a single instance of `PagePermissionPolicy` in `wagtail.permissions` module (Sage Abdullah) * Add max tag length validation for multiple uploads (documents/images) (Temidayo Azeez) * Ensure expanded side panel does not overlap form content for most viewports (Chiemezuo Akujobi) * Add ability to modify the default ordering for the page explorer view (Shlomo Markowitz) * Remove overly verbose image captions in image listings for screen readers (Sage Abdullah) * Ensure screen readers and dictation tools can more easily navigate bulk actions in images, documents and page listings by streamlining labels and descriptions (Sage Abdullah) * Remove support for Safari 14 (Thibaud Colas) * Add ability to click to copy the URL in the image URL generator page (Sai Srikar Dumpeti) * Add ability to filter by page type and date updated in the page listing view (Matt Westcott) * Add ability to filter by owner and site in the page listing view (Matt Westcott) * Improve right-to-left support by using flow-relative float styles (Thibaud Colas) * Improve right-to-left support by mirroring Wagtail icons as needed (Sage Abdullah) * Add support for mirroring third-party icons added in Wagtail (Sage Abdullah) * Show edit as a main action in generic history and usage views (Sage Abdullah) * Make styles for header buttons consistent (Sage Abdullah) * Improve styles of slim header's search and filters (Sage Abdullah) * Change page listing's add button to icon-only (Sage Abdullah) * Add sublabel to breadcrumbs, including history, usage, and inspect views (Sage Abdullah) * Standardise search form placeholder to 'Search…' (Sage Abdullah) * Use SlugInput on all SlugFields by default (LB (Ben) Johnston) * Show character counts on RichTextBlock with `max_length` (Elhussein Almasri) * Move locale selector in generic IndexView to a filter (Sage Abdullah) * Add ability to customise a page's copy form (Neeraj Yetheendran) * Add optional caption field to `TypedTableBlock` (Tommaso Amici, Cynthia Kiser) * Switch the `TableBlock` header controls to a field that requires user input (Bhuvnesh Sharma, Aman Pandey, Cynthia Kiser) * Add `WAGTAILADMIN_LOGIN_URL` setting to allow customising the login URL (Neeraj Yetheendran) * Replace legacy dropdown component with new Tippy dropdown-button (Thibaud Colas) * Add ability to filter by existence of child pages in the page listing view (Matt Westcott) * Polish dark theme styles and update color tokens (Thibaud Colas, Rohit Sharma) * Keep database state of pages and snippets updated while in draft state (Stefan Hammer) * Add `DrilldownController` and `w-drilldown` component to support drilldown menus (Thibaud Colas) * Add support for `caption` on admin UI Table component (Aman Pandey) * Add API support for a redirects (contrib) endpoint (Rohit Sharma, Jaap Roes, Andreas Donig) * Add the default ability for all `SnippetViewSet` & `ModelViewSet` to support being copied (Shlomo Markowitz) * Support dynamic Wagtail guide links in the admin that are based on the running version of Wagtail (Tidiane Dia) * Fix: Update system check for overwriting storage backends to recognise the `STORAGES` setting introduced in Django 4.2 (phijma-leukeleu) * Fix: Prevent password change form from raising a validation error when browser autocomplete fills in the "Old password" field (Chiemezuo Akujobi) * Fix: Ensure that the legacy dropdown options, when closed, do not get accidentally clicked by other interactions on wide viewports (CheesyPhoenix, Christer Jensen) * Fix: Add a fallback background for the editing preview iframe for sites without a background (Ian Price) * Fix: Preserve whitespace in rendered comments (Elhussein Almasri) * Fix: Remove search logging from project template so that new projects without the search promotions module will not error (Matt Westcott) * Fix: Ensure text only email notifications for updated comments do not escape HTML characters (Rohit Sharma) * Fix: Use the latest draft when copying an unpublished page for translation (Andrey Nehaychik) * Fix: Make Workflow and Aging Pages reports only available to users with page-related permissions (Rohit Sharma) * Fix: Make searching on specific fields work correctly on Elasticsearch when boost is in use (Matt Westcott) * Fix: Use a visible border and background color to highlight active formatting in the rich text toolbar (Cassidy Pittman) * Fix: Ensure image focal point box can be removed (Gunnar Scherf) * Fix: Ensure that Snippets search results correctly use the `index_results.html` or `index_results_template_name` override on initial load (Stefan Hammer) * Fix: Avoid error when attempting to moderate a page drafted by a now deleted user (Dan Braghis) * Fix: Do not show multiple error messages when editing a Site to use existing hostname and port (Rohit Sharma) * Fix: Avoid error when exporting Aging Pages report where a page has an empty `last_published_by_user` (Chiemezuo Akujobi) * Fix: Ensure Page querysets support using `alias` and `specific` (Tomasz Knapik) * Fix: Ensure workflow dashboard panels work when the page/snippet is missing (Sage Abdullah) * Fix: Ensure `ActionController` explicitly checks for elements that allow select functionality (Nandini Arora) * Fix: Prevent a ValueError with `FormSubmissionsPanel` on Django 5.0 when creating a new form page (Matt Westcott) * Fix: Avoid duplicate entries in "Recent edits" panel when copying pages (Matt Westcott) * Fix: Prevent TitleFieldPanel from raising an error when the slug field is missing or read-only (Rohit Sharma) * Fix: Ensure that the close button on the new dialog designs is visible in the non-message variant (Nandini Arora) * Fix: Ensure the sidebar account toggle has no duplicate accessible labels (Nandini Arora) * Fix: Avoid text overflow issues in comment replies and scroll position issues for long comments (Rohit Sharma) * Fix: Ensure that page listing re-ordering messages and accessible labels can be translated (Aman Pandey, LB (Ben) Johnston) * Fix: Resolve multiple issues with page listing re-ordering using keyboard and screen readers (Aman Pandey) * Fix: Remove 'Page' from page types filter on aging pages report (Matt Westcott) * Fix: Prevent page types filter from showing other non-Page models that match by name (Matt Westcott) * Fix: Ensure `MultipleChooserPanel` modal works correctly when `USE_THOUSAND_SEPARATOR` is `True` for pages with ids over 1,000 (Sankalp, Rohit Sharma) * Fix: When using an empty table header (`th`) for visual spacing, ensure this is ignored by accessibility tooling (V Rohitansh) * Fix: Ensure the panel anchor button sizes meet accessibility guidelines for minimum dimensions (Nandini Arora) * Fix: Raise a 404 for bulk actions for models which don't exist instead of throwing a 500 error (Alex Tomkins) * Fix: Raise a `SiteSetting.DoesNotExist` error when retrieving settings for an unrecognised site (Nick Smith) * Fix: Ensure that defaulted or unique values declared in `exclude_fields_in_copy` are correctly excluded in new copies, resolving to the default value (Elhussein Almasri) * Fix: Ensure that `default_ordering` set on IndexView is preserved if ModelViewSet does not specify an explicit ordering (Cynthia Kiser) * Fix: Ensure that TableBlock cells are accessible when using keyboard control only (Elhussein Almasri) * Fix: Resolve issue where clicking Publish for a Page that was in workflow in Safari would block publishing and not trigger the workflow confirmation modal (Alex Morega) * Fix: Fix pagination links on model history and usage views (Matt Westcott) * Fix: Fix crash when accessing workflow reports with a deleted snippet (Sage Abdullah) * Docs: New developer tutorial (Damilola Oladele, Meagen Voss, Thibaud Colas) * Docs: Document, for contributors, the use of translate string literals passed as arguments to tags and filters using `_()` within templates (Chiemezuo Akujobi) * Docs: Document all features for the Documents app in one location (Neeraj Yetheendran) * Docs: Add section to testing docs about creating pages and working with page content (Mariana Bedran Lesche) * Docs: Add more nuance to the database recommendations in performance page (Jadesola Kareem) * Docs: Add clarity that MultipleChooserPanel may require a chooser viewset and how the functionality is expected to work (Andy Chosak) * Docs: Clarify where documentation build commands should be run (Nikhil S Kalburgi) * Docs: Add missing import to tutorial BlogPage example (Salvo Polizzi) * Docs: Update contributing guide documentation and GitHub templates to better support new contributors (Thibaud Colas) * Docs: Add more CSS authoring guidelines (Thibaud Colas) * Docs: Update MyST documentation parser library to 2.0.0 (Neeraj Yetheendran) * Docs: Add documentation writing guidelines for intersphinx / external links (LB (Ben) Johnston) * Docs: Add `Page` model reference `get_children` documentation (Salvo Polizzi) * Docs: Enforce CI build checks for documentation so that malformed links or missing images will not be allowed (Neeraj Yetheendran) * Docs: Update spelling on customizing admin template and page model section from British to American English (Victoria Poromon) * Docs: Add documentation for how to override the file locations for custom image models via `get_upload_to` methods (Osaf AliSayed, Dharmik Gangani) * Docs: Update documentation theme (Sphinx Wagtail Theme) to 6.2.0, fixing the incorrect favicon (LB (Ben) Johnston, Sahil Jangra) * Docs: Refactor promotion banner without jQuery and use sameSite cookies when storing if cleared (LB (Ben) Johnston) * Docs: Use cross-reference for compatible Python versions in tutorial instead of the out of date listing (mirusu400) * Maintenance: Update BeautifulSoup upper bound to 4.12.x (scott-8) * Maintenance: Migrate initialization of classes (such as `body.ready`) from multiple JavaScript implementations to one Stimulus controller `w-init` (Chiemezuo Akujobi) * Maintenance: Adopt the usage of translate string literals using `arg=_('...')` in all `wagtailadmin` module templates (Chiemezuo Akujobi) * Maintenance: Migrate the contrib styleguide index view to a class-based view (Chiemezuo Akujobi) * Maintenance: Update djhtml to 3.0.6 (Matt Westcott) * Maintenance: Migrate the contrib settings edit view to a class-based view (Chiemezuo Akujobi, Sage Abdullah) * Maintenance: Remove django-pattern-library upper bound in testing dependencies (Sage Abdullah) * Maintenance: Split up functions in Elasticsearch backend for easier extensibility (Marcel Kornblum, Cameron Lamb, Sam Dudley) * Maintenance: Relax draftjs_exporter dependency to allow using version 5.x (Sylvain Fankhauser) * Maintenance: Refine styling of listings, account settings panels and the block chooser (Meli Imelda) * Maintenance: Remove icon font support (Matt Westcott) * Maintenance: Remove deprecated SVG icons (Matt Westcott) * Maintenance: Remove icon font styles (Thibaud Colas) * Maintenance: Migrate account editing view to a class-based view (Kehinde Bobade) * Maintenance: Upgrade frontend tooling to use Node 20 (LB (Ben) Johnston) * Maintenance: Upgrade `ruff` and replace `black` with `ruff format` (John-Scott Atlakson) * Maintenance: Update Willow upper bound to 2.x (Dan Braghis) * Maintenance: Removed support for Django < 4.2 (Dan Braghis) * Maintenance: Refactor page explorer index template to extend generic index template (Sage Abdullah) * Maintenance: Replace template components implementation with standalone `laces` library (Tibor Leupold) * Maintenance: Refactor snippets index view and template to make better use of generic IndexView (Sage Abdullah) * Maintenance: Introduce an internal `{% formattedfield %}` tag to replace direct use of `wagtailadmin/shared/field.html` (Matt Westcott) * Maintenance: Update Telepath dependency to 0.3.1 (Matt Westcott) * Maintenance: Allow `ActionController` to have a `noop` method to more easily leverage standalone Stimulus action options (Nandini Arora) * Maintenance: Upgrade to latest TypeScript and Storybook (Thibaud Colas, Sage Abdullah) * Maintenance: Turn on `skipLibCheck` for TypeScript (LB (Ben) Johnston) * Maintenance: Refactor documents listing view to use generic IndexView (Sage Abdullah) * Maintenance: Support for the Stimulus `CloneController` to auto clear the added content after a set duration (LB (Ben) Johnston) * Maintenance: Refactor images listing view to use generic IndexView (Sage Abdullah) * Maintenance: Refactor form pages listing view to use generic IndexView (Sage Abdullah) * Maintenance: Update Stylelint, our linting configuration, Sass, and related code changes (LB (Ben) Johnston) * Maintenance: Simplify browserslist and browser support documentation (Thibaud Colas) * Maintenance: Relax django-taggit dependency to allow 5.0 (Sylvain Fankhauser) * Maintenance: Fix various warnings when building docs (Cynthia Kiser) * Maintenance: Upgrade sphinxcontrib-spelling to 7.x for Python 3.12 compatibility (Matt Westcott) * Maintenance: Move logic for django-filters filtering into `BaseListingView` (Matt Westcott) * Maintenance: Remove or replace legacy CSS classes: visuallyhidden, visuallyvisible, divider-after, divider-before, inline, inline-block, block, u-hidden, clearfix, reordering, overflow (Thibaud Colas) * Maintenance: Prevent future issues with icon.html end-of-file newlines (Thibaud Colas) * Maintenance: Rewrite styles using legacy `c-`, `o-`, `u-`, `t-`, `is-` prefixes (Thibaud Colas) * Maintenance: Remove invalid CSS styles / Sass selector concatenation (Thibaud Colas) * Maintenance: Refactor listing views to share more queryset ordering logic (Matt Westcott) * Maintenance: Remove `initTooltips` in favour of Stimulus controller (LB (Ben) Johnston) * Maintenance: Enhance the Stimulus `InitController` to allow for custom event dispatching when ready (Aditya, LB (Ben) Johnston) * Maintenance: Remove inline script usage for comment initialization and adopt an event listener/dispatch approach for better CSP compliance (Aditya, LB (Ben) Johnston) * Maintenance: Migrate styleguide ad-hoc JavaScript to use styles only to avoid CSP issues (LB (Ben) Johnston) * Maintenance: Update Jest version - frontend tooling (Nandini Arora) * Maintenance: Remove non-functional and inaccessible auto-focus on first field in page create forms (LB (Ben) Johnston) * Maintenance: Migrate the unsaved form checks & confirmation trigger to Stimulus `UnsavedController` (Sai Srikar Dumpeti, LB (Ben) Johnston) * Maintenance: Reduce gap between snippets and generic views/templates (Sage Abdullah) * Maintenance: Migrate page listing menu re-ordering (drag & drop) from jQuery inline scripts to `OrderableController` with a more accessible solution (Aman Pandey, LB (Ben) Johnston) * Maintenance: Clean up scss variable usage, remove unused variables and mixins, adopt more core token variables (Jai Vignesh J, Nandini Arora, LB (Ben) Johnston) * Maintenance: Migrate Image URL generator views to class-based views (Rohit Sharma) * Maintenance: Use Django's `FileResponse` when serving files such as Images or Documents (Jake Howard) * Maintenance: Deprecated `WidgetWithScript` base widget class (LB (Ben) Johnston) * Maintenance: Remove support for Django 4.1 and below (Sage Abdullah)
Extract using bsdtar, nbpax is broken
py-wagtail: Bump to current version of py-Willow.
*: remove more references to Python 3.7
py-wagtail: relax requirements on py-Pillow
*: restrict py-numpy users to 3.9+ in preparation for update
Restore upper bound, but allow py-Willow-1.5.
py-wagtail: remove upper bound on py-Willow so pbulk has a chance to start
Restore dependencies
py-wagtail: comment out 4 dependencies For two, the version requirements are not fulfilled by the current pkgsrc version; the other two are completely missing right now
Update to wagtail 4.2.2 - various bug fixes, performance improvements, refactoring
py-wagtail: remove upper bound for py-xlswriter because it's newer now
python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
Update wagtail to 2.12.4: * Fix: CVE-2021-29434 - fix improper validation of URLs ('Cross-site Scripting') in rich text fields (Kevin Breen, Matt Westcott) * Fix: Reverse migration errors in images and documents (Mike Brown) * Fix: Avoid wagtailembeds migration failure on MySQL 8.0.13+ (Matt Westcott) * Fix: Un-pin django-treebeard following upstream fix for migration issue (Matt Westcott) * Fix: Prevent crash when copying an alias page (Karl Hobley) * Fix: Prevent errors on page editing after changing LANGUAGE_CODE (Matt Westcott) * Fix: Correctly handle model inheritance and `ClusterableModel` on `copy_for_translation` (Karl Hobley)
Update www/py-wagtail to 2.12.2: 2.12.2 (18.02.2021) ~~~~~~~~~~~~~~~~~~~ * Fix: Pin django-treebeard to <4.5 to prevent migration conflicts (Matt Westcott) 2.12.1 (16.02.2021) ~~~~~~~~~~~~~~~~~~~ * Fix: Ensure aliases are published when the source page is published (Karl Hobley) * Fix: Make page privacy rules apply to aliases (Karl Hobley) * Fix: Prevent error when saving embeds that do not include a thumbnail URL (Cynthia Kiser) * Fix: Ensure that duplicate embed records are deleted when upgrading (Matt Westcott) * Fix: Prevent failure when running `manage.py dumpdata` with no arguments (Matt Westcott) 2.12 (02.02.2021) ~~~~~~~~~~~~~~~~~ * Added a distinct 'choose' permission for images and documents (Robert Rollins) * StreamField values can now be modified in-place (Matt Westcott) * Added support for custom admin color themes (Joshua Marantz) * Added support for Python 3.9 * Added `WAGTAILIMAGES_IMAGE_FORM_BASE` and `WAGTAILDOCS_DOCUMENT_FORM_BASE` settings to customise the forms for images and documents (Dan Braghis) * Switch pagination icons to use SVG instead of icon fonts (Scott Cranfill) * Added string representation to image Format class (Andreas Nüßlein) * Support returning None from `register_page_action_menu_item` and `register_snippet_action_menu_item` to skip registering an item (Vadim Karpenko) * Fields on a custom image model can now be defined as required / `blank=False` (Matt Westcott) * Add combined index for Postgres search backend (Will Giddens) * Add `Page.specific_deferred` property for accessing specific page instance without up-front database queries (Andy Babic) * Add hash lookup to embeds to support URLs longer than 255 characters (Coen van der Kamp) * Fix: Stop menu icon overlapping the breadcrumb on small viewport widths in page editor (Karran Besen) * Fix: Make sure document chooser pagination preserves the selected collection when moving between pages (Alex Sa) * Fix: Gracefully handle oEmbed endpoints returning non-JSON responses (Matt Westcott) * Fix: Fix unique constraint on WorkflowState for SQL Server compatibility (David Beitey) * Fix: Reinstate chevron on collection dropdown (Mike Brown) * Fix: Prevent delete button showing on collection / workflow edit views when delete permission is absent (Helder Correia) 2.11.5 (18.02.2021) ~~~~~~~~~~~~~~~~~~~ * Fix: Pin django-treebeard to <4.5 to prevent migration conflicts (Matt Westcott) 2.11.4 (16.02.2021) ~~~~~~~~~~~~~~~~~~~ * Fix: Prevent delete button showing on collection / workflow edit views when delete permission is absent (Helder Correia) * Fix: Ensure aliases are published when the source page is published (Karl Hobley) * Fix: Make page privacy rules apply to aliases (Karl Hobley) 2.11.3 (10.12.2020) ~~~~~~~~~~~~~~~~~~~ * Fix: Updated project template migrations to ensure that initial homepage creation runs before addition of locale field (Dan Braghis) * Fix: Restore ability to use translatable strings in `LANGUAGES` / `WAGTAIL_CONTENT_LANGUAGES` settings (Andreas Morgenstern) * Fix: Allow `locale` / `translation_of` API filters to be used in combination with search (Matt Westcott) * Fix: Prevent error on `create_log_entries_from_revisions` when checking publish state on a revision that cannot be restored (Kristin Riebe) 2.11.2 (17.11.2020) ~~~~~~~~~~~~~~~~~~~ * Add custom finder to support Instagram oEmbed API (Luis Nell) * Add custom finder to support Facebook oEmbed API (Cynthia Kiser) * Fix: Improve performance of permission check on translations for edit page (Karl Hobley) * Fix: Gracefully handle missing Locale records on `Locale.get_active` and `.localized` (Matt Westcott) * Fix: Handle `get_supported_language_variant` returning a language variant not in `LANGUAGES` (Matt Westcott) * Fix: Reinstate missing icon on settings edit view (Jérôme Lebleu) * Fix: Avoid performance and pagination logic issues with a large number of languages (Karl Hobley) * Fix: Allow deleting the default locale (Matt Westcott) 2.11.1 (06.11.2020) ~~~~~~~~~~~~~~~~~~~ * Fix: Ensure that cached `wagtail_site_root_paths` structures from older Wagtail versions are invalidated (Sævar Öfjörð Magnússon) * Fix: Avoid circular import between wagtail.admin.auth and custom user models (Matt Westcott) * Fix: Prevent error on resolving page URLs when a locale outside of `WAGTAIL_CONTENT_LANGUAGES` is active (Matt Westcott) 2.11 LTS (02.11.2020) ~~~~~~~~~~~~~~~~~~~~~ * Add support for multi-lingual content (Karl Hobley) * Add support for aliased pages (Karl Hobley) * Add support for hierarchical/nested Collections (Robert Rollins) * Extend treebeard's `fix_tree` method with the ability to non-destructively fix path issues and add a --full option to apply path fixes (Matt Westcott) * Add `before_edit_snippet`, `before_create_snippet` and `before_delete_snippet` hooks and documentation (Karl Hobley. Sponsored by the Mozilla Foundation) * Add `register_snippet_listing_buttons` and `construct_snippet_listing_buttons` hooks and documentation (Karl Hobley. Sponsored by the Mozilla Foundation) * Add `wagtail --version` to available Wagtail CLI commands (Kalob Taulien) * Add `hooks.register_temporarily` utility function for testing hooks (Karl Hobley. Sponsored by the Mozilla Foundation) * Remove `unidecode` and use `anyascii` in for Unicode to ASCII conversion (Robbie Mackay) * Add `render` helper to `RoutablePageMixin` to support serving template responses according to Wagtail conventions (Andy Babic) * Specify minimum Python version in setup.py (Vince Salvino) * Show user's full name in report views (Matt Westcott) * Improve Wagtail admin page load performance by caching SVG icons sprite in localStorage (Coen van der Kamp) * Support SVG icons in ModelAdmin menu items (Scott Cranfill) * Support SVG icons in admin breadcrumbs (Coen van der Kamp) * Serve PDFs inline in the browser (Matt Westcott) * Make document `content-type` and `content-disposition` configurable via `WAGTAILDOCS_CONTENT_TYPES` and `WAGTAILDOCS_INLINE_CONTENT_TYPES` (Matt Westcott) * Slug generation no longer removes stopwords (Andy Chosak, Scott Cranfill) * Add check to disallow StreamField block names that do not match Python variable syntax (François Poulain) * The `BASE_URL` setting is now converted to a string, if it isn't already, when constructing API URLs (thenewguy) * Preview from 'pages awaiting moderation' now opens in a new window (Cynthia Kiser) * Add document extension validation if `WAGTAIL_DOCS_EXTENSIONS` is set (Meghana Bhange) * Use `django-admin` command in place of `django-admin.py` (minusf) * Add `register_snippet_action_menu_item` and `construct_snippet_action_menu` hooks to modify the actions available when creating / editing a snippet (Karl Hobley) * Moved `generate_signature` and `verify_signature` functions into `wagtail.images.utils` (Noah H) * Implement `bulk_to_python` on all structural StreamField block types (Matt Westcott) * Add natural key support to `GroupCollectionPermission` (Jim Jazwiecki) * Implement `prepopulated_fields` for `wagtail.contrib.modeladmin` (David Bramwell) * Change `classname` keyword argument on basic StreamField blocks to `form_classname` (Meghana Bhange) * Replace page explorer pushPage/popPage with gotoPage for more flexible explorer navigation (Karl Hobley) * Fix: Make page-level actions accessible to keyboard users in page listing tables (Jesse Menn) * Fix: `WAGTAILFRONTENDCACHE_LANGUAGES` was being interpreted incorrectly. It now accepts a list of strings, as documented (Karl Hobley) * Fix: Update oEmbed endpoints to use https where available (Matt Westcott) * Fix: Revise `edit_handler` bind order in ModelAdmin views and fix duplicate form instance creation (Jérôme Lebleu) * Fix: Properly distinguish child blocks when comparing revisions with nested StreamBlocks (Martin Mena) * Fix: Correctly handle Turkish 'İ' characters in client-side slug generation (Matt Westcott) * Fix: Page chooser widgets now reflect custom ``get_admin_display_title`` methods (Saptak Sengupta) * Fix: `Page.copy()` now raises an error if the page being copied is unsaved (Anton Zhyltsou) * Fix: `Page.copy()` now triggers a `page_published` if the copied page is live (Anton Zhyltsou) * Fix: The Elasticsearch `URLS` setting can now take a string on its own instead of a list (Sævar Öfjörð Magnússon) * Fix: Avoid retranslating month / weekday names that Django already provides (Matt Westcott) * Fix: Fixed padding around checkbox and radio inputs (Cole Maclean) * Fix: Fix spacing around the privacy indicator panel (Sævar Öfjörð Magnússon, Dan Braghis) * Fix: Consistently redirect to admin home on permission denied (Matt Westcott, Anton Zhyltsou)
Update wagtail to 2.10.2: 2.10.2 (25.09.2020) ~~~~~~~~~~~~~~~~~~~ * Fix: Avoid use of `icon` class name on userbar icon to prevent clashes with front-end styles (Karran Besen) * Fix: Prevent focused button labels from displaying as white on white (Karran Bessen) * Fix: Avoid showing preview button on moderation dashboard for page types with preview disabled (Dino Perovic) * Fix: Prevent oversized buttons in moderation dashboard panel (Dan Braghis) * Fix: `create_log_entries_from_revisions` now handles revisions that cannot be restored due to foreign key constraints (Matt Westcott) 2.10.1 (26.08.2020) ~~~~~~~~~~~~~~~~~~~ * Fix: Prevent `create_log_entries_from_revisions` command from failing when page model classes are missing (Dan Braghis) * Fix: Prevent page audit log views from failing for user models without a `username` field (Vyacheslav Matyukhin) * Fix: Fix icon alignment on menu items (Coen van der Kamp) * Fix: Page editor header bar now correctly shows 'Published' or 'Draft' status when no revisions exist (Matt Westcott) * Fix: Prevent page editor from failing when `USE_TZ` is false (Matt Westcott) * Fix: Ensure whitespace between block-level elements is preserved when stripping tags from rich text for search indexing (Matt Westcott)
Belatedly also bump the django restframework requirement to match pip requirements.
Explicitly depend on django-filter. Merge a pull request to fix a big for custom document models. Bump revision.
Update to wagtail-2.10: * Added Django 3.1 support (Matt Westcott, Karl Hobley) * Removed support for Python 3.5 * Implemented configurable moderation workflow (Jacob Topp-Mugglestone, Karl Hobley, Matt Westcott, Dan Braghis) * Implemented phrase searching and structured search query expressions (Karl Hobley) * Add ability to import redirects from an uploaded file (CSV, TSV, XLS, and XLSX) (Martin Sandström) * Added `webpquality` and `format-webp-lossless` image filters and `WAGTAILIMAGES_WEBP_QUALITY` setting (Nikolay Lukyanov) * Reorganised Dockerfile in project template to follow best practices (Tomasz Knapik, Jannik Wempe) * Added filtering to locked pages report (Karl Hobley) * Adds ability to view a group's users via standalone admin URL and a link to this on the group edit view (Karran Besen) * Redirect to previous url when deleting/copying/unpublish a page and modify this url via the relevant hooks (Ascani Carlo) * Added `next_url` keyword argument on `register_page_listing_buttons` and `register_page_listing_more_buttons` hooks (Ascani Carlo, Matt Westcott, LB (Ben Johnston)) * `AbstractEmailForm` will use `SHORT_DATETIME_FORMAT` and `SHORT_DATE_FORMAT` Django settings to format date/time values in email (Haydn Greatnews) * `AbstractEmailForm` now has a separate method (`render_email`) to build up email content on submission emails (Haydn Greatnews) * Add `pre_page_move` and `post_page_move` signals (Andy Babic) * Add ability to sort search promotions on listing page (Chris Ranjana, LB (Ben Johnston)) * Upgrade internal JS tooling; Node v10, Gulp v4 & Jest v23 (Jim Jazwiecki, Kim LaRocca, Thibaud Colas) * Add `after_publish_page`, `before_publish_page`, `after_unpublish_page` & `before_unpublish_page` hooks (Jonatas Baldin, Coen van der Kamp) * Add convenience `page_url` shortcut to improve how page URLs can be accessed from site settings in Django templates (Andy Babic) * Show more granular error messages from Pillow when uploading images (Rick van Hattem) * Add ordering to `Site` object, so that index page and `Site` switcher will be sorted consistently (Coen van der Kamp, Tim Leguijt) * Add Reddit to oEmbed provider list (Luke Hardwick) * Add ability to replace the default Wagtail logo in the userbar, via `branding_logo` block (Meteor0id) * Remove sticky footer on small devices, so that content is not blocked and more easily editable (Saeed Tahmasebi) * Add `alt` property to `ImageRenditionField` api representation (Liam Mullens) * Add `purge_revisions` management command to purge old page revisions (Jacob Topp-Mugglestone, Tom Dyson) * Render the Wagtail User Bar on non `Page` views (Caitlin White, Coen van der Kamp) * Add ability to define `form_classname` on `ListBlock` & `StreamBlock` (LB (Ben Johnston)) * Add documentation about how to use `Rustface` for image feature detection (Neal Todd) * Improve performance of public/not_public queries in `PageQuerySet` (Timothy Bautista) * Add `add_redirect` static method to `Redirect` class for programmatic redirect creation (Brylie Christopher Oxley, Lacey Williams Henschel) * Add reference documentation for `wagtail.contrib.redirects` (LB (Ben Johnston)) * `bulk_delete` page permission is no longer required to move pages, even if those pages have children (Robert Rollins, LB (Ben Johnston)) * Add `after_edit_snippet`, `after_create_snippet` and `after_delete_snippet` hooks and documentation (Kalob Taulien) * Improve performance of empty search results by avoiding downloading the entire search index in these scenarios (Lars van de Kerkhof, Coen van der Kamp) * Replace `gulp-sass` with `gulp-dart-sass` to improve core development across different platforms (Thibaud Colas) * Add SVG icons to resolve accessibility and customisation issues and start using them in a subset of Wagtail's admin (Coen van der Kamp, Scott Cranfill, Thibaud Colas, Dan Braghis) * Switch userbar and header H1s to use SVG icons (Coen van der Kamp) * Remove markup around rich text rendering by default, provide a way to use old behaviour via `wagtail.contrib.legacy.richtext` (Coen van der Kamp, Dan Braghis) * Apply title length normalisation to improve ranking on PostgreSQL search (Karl Hobley) * Add `WAGTAIL_TIME_FORMAT` setting (Jacob Topp-Mugglestone) * Allow omitting the default editor from `WAGTAILADMIN_RICH_TEXT_EDITORS` (Gassan Gousseinov) * Disable password auto-completion on user creation form (Samir Shah) * Upgrade jQuery to version 3.5.1 to reduce penetration testing false positives (Matt Westcott) * Add ability to extend `EditHandler` without a children attribute (Seb Brown) * `Page.objects.specific` now gracefully handles pages with missing specific records (Andy Babic) * StreamField 'add' buttons are now disabled when maximum count is reached (Max Gabrielsson) * Use underscores for form builder field names to allow use as template variables (Ashia Zawaduk, LB (Ben Johnston)) * Deprecate use of unidecode within form builder field names (Michael van Tellingen, LB (Ben Johnston)) * Improve error feedback when editing a page with a missing model class (Andy Babic) * Change Wagtail tabs implementation to only allow slug-formatted tab identifiers, reducing false positives from security audits (Matt Westcott) * Add skip link for keyboard users to bypass Wagtail navigation in the admin (Martin Coote) * Ensure errors during Postgres search indexing are left uncaught to assist troubleshooting (Karl Hobley) * Add ability to edit images and embeds in rich text editor (Maylon Pedroso, Samuel Mendes, Gabriel Peracio) * Fix: Support IPv6 domain (Alex Gleason, Coen van der Kamp) * Fix: Ensure link to add a new user works when no users are visible in the users list (LB (Ben Johnston)) * Fix: `AbstractEmailForm` saved submission fields are now aligned with the email content fields, `form.cleaned_data` will be used instead of `form.fields` (Haydn Greatnews) * Fix: Removed ARIA `role="table"` from TableBlock output (Thibaud Colas) * Fix: Set Cache-Control header to prevent page preview responses from being cached (Tomas Walch) * Fix: Accept unicode characters in slugs on the "copy page" form (François Poulain) * Fix: Remove top padding when `FieldRowPanel` is used inside a `MultiFieldPanel` (Jérôme Lebleu) * Fix: Add Wagtail User Bar back to page previews and ensure moderation actions are available (Coen van der Kamp) * Fix: Resolve issue where queryset annotations were lost (e.g. `.annotate_score()`) when using specific models in page query (Dan Bentley) * Fix: Prevent date/time picker from losing an hour on losing focus when 12-hour times are in use (Jacob Topp-Mugglestone) * Fix: Strip out HTML tags from `RichTextField` & `RichTextBlock` search index content (Timothy Bautista) * Fix: Avoid using null on string `Site.site_name` blank values to avoid different values for no name (Coen van der Kamp) * Fix: Fix deprecation warnings on Elasticsearch 7 (Yngve Høiseth) * Fix: Remove use of Node.forEach for IE 11 compatibility in admin menu items (Thibaud Colas) * Fix: Fix incorrect method name in SiteMiddleware deprecation warning (LB (Ben Johnston)) * Fix: `wagtail.contrib.sitemaps` no longer depends on SiteMiddleware (Matt Westcott) * Fix: Purge image renditions cache when renditions are deleted (Pascal Widdershoven, Matt Westcott) * Fix: Image / document forms now display non-field errors such as `unique_together` constraints (Matt Westcott) * Fix: Make "Site" chooser in site settings translateable (Andreas Bernacca) * Fix: Add missing dropdown icons to image upload, document upload, and site settings screens (Andreas Bernacca) * Fix: Prevent snippets’ bulk delete button from being present for screen reader users when it’s absent for sighted users (LB (Ben Johnston)) * Fix: Fix group permission checkboxes not being clickable in IE11 (LB (Ben Johnston))
Switch to pypi for the distfile, the github release is not directly usable.
py-wagtail: not for python 2.7
Add py-wagtail-2.9.3: Wagtail is Content Management System built on Django.