Wykres commitów

18529 Commity (c09bd91db933ee5fc210c6ec677f95cc75920967)

Autor SHA1 Wiadomość Data
Sage Abdullah 3ea241370d
Store block definitions in Block.definition_registry 2025-01-20 10:03:58 +00:00
sag​e 841b36ed18
Prevent main menu from re-rendering when clicking outside while the menu is closed (#12755)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-01-20 07:33:36 +00:00
Thibaud Colas 06ce7d2868 Release notes for #12723 2025-01-20 07:20:49 +00:00
Matt Westcott 0ccd99c867 Only replace alt text field if it hasn't been edited from the previous default 2025-01-20 07:20:49 +00:00
Matt Westcott 26f4d07ee1 Populate ImageBlock alt text from default_alt_text when an image is chosen
Fixes #12660
2025-01-20 07:20:49 +00:00
Matt Westcott 1db66a7ded Add default_alt_text to the state dictionary returned by ImageChooser view and used by AdminImageChooser widget 2025-01-20 07:20:49 +00:00
Matt Westcott a6b64dc42e Release notes for #12040 / #12787 2025-01-17 20:37:09 +00:00
Jake Howard bc9d5da38f Move deleting old image / document files to task 2025-01-17 19:01:22 +00:00
Jake Howard 0da3c731a5 Move updating search index to task 2025-01-17 19:01:17 +00:00
Jake Howard 5a0ecb9b30 Move setting image focal point to task 2025-01-17 18:08:50 +00:00
Jake Howard 78cd283b9e Move updating reference index to task 2025-01-17 18:08:39 +00:00
Jake Howard 79d129f8c2 Move frontend cache purging to task 2025-01-17 16:34:41 +00:00
Jake Howard 65d3b34698 Install `django-tasks`
The default configuration is to run tasks in-band, resulting in no change in functionality when simply adding tasks.
2025-01-17 15:48:56 +00:00
Thibaud Colas 7af2ca013e Release notes for #11257 2025-01-17 13:50:12 +00:00
Thibaud Colas 3e09c75814 Update documented Safari support version numbers 2025-01-17 13:50:12 +00:00
Thibaud Colas dcf523416c Switch TypeScript target to ES2023 2025-01-17 13:50:12 +00:00
Thibaud Colas 14d16ae823 Remove now-unneeded focus-visible backwards compat 2025-01-17 13:50:12 +00:00
Thibaud Colas be9b462947 Update Storybook Babel browser support configuration 2025-01-17 13:50:12 +00:00
Thibaud Colas 8d5fc606a8 Remove unneeded IE11 reference from browserslist 2025-01-17 13:50:12 +00:00
Thibaud Colas fc6aee2318 Update browserslist definition to remove Safari 15 2025-01-17 13:50:12 +00:00
Thibaud Colas 7ec01f813e Update caniuse-lite DB 2025-01-17 13:50:12 +00:00
Stéphane Blondon 3329e6dadf fix: add missing space between two words (#12781)
Otherwise, logs show such lines:
HINT: Ensure that MainMenu uses `panels` instead of `content_panels`or set up an `edit_handler` ...
2025-01-16 17:35:14 +00:00
Mike Gifford 4298665bfd Update guideline links in sustainability_considerations.md (#12762)
One of your links was busted, so I figured I'd suggest some updates.
2025-01-16 17:31:41 +00:00
Matt Westcott 7e1832a4eb Prevent error when searching and filtering by locale (#12772)
Ref: https://github.com/wagtail/wagtail/issues/6616#issuecomment-2590737050

The current locale filter logic performs a related field filter on `locale__language_code` which isn't supported when searching, as per #6616. Change this to look up the locale object in a separate query.
2025-01-16 16:38:25 +00:00
Matt Westcott b2958e2b4c Work around Sphinx failing to resolve HttpRequest in type annotations
Fixes #12777
2025-01-16 16:00:14 +00:00
Matt Westcott c561977e8d Move 6.3.3 changelog entry to the right place 2025-01-16 14:57:44 +00:00
Matt Westcott 9511d7f3ac Release note for #12778 2025-01-16 14:54:29 +00:00
Matt Westcott 581bb5ccd7 Use double quotes in code snippet
Co-authored-by: sag​e <laymonage@gmail.com>
2025-01-16 14:53:16 +00:00
Matt Westcott 54797e3826 Document Block.get_template in StreamField usage guide 2025-01-16 14:53:16 +00:00
Cynthia Kiser f3d1765353
Update example for customizing "p-as-heading" check (#12763)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-01-15 16:34:13 +00:00
Matt Westcott 8b3eb44340 Fix TestFormPageWithCustomFormBuilder assertion against Django 5.1.5 and other security releases
Django 5.1.5 (and other security releases released today) has added a `max_length` attribute to GenericIPAddressField, which breaks an assertion in the form builder tests that compares HTML directly. Change this to a BeautifulSoup-based test so that it works on older and newer releases.
2025-01-15 10:58:27 +00:00
Andy Babic 88a3a397ca Prevent redundant calls to Site.find_for_request() from Page.get_url_parts() (#12454) 2025-01-15 00:41:57 +00:00
Rishabh Sharma 782aa0e16b
Reduce confusing spacing below StreamField blocks help text. Fix #11888 (#11934)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-01-14 10:00:09 +00:00
Ayaan cb11ec3e01
Upgraded sass-loader to remove Sass warnings (#12728)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-01-14 08:44:47 +00:00
Tom Usher 75e07498f4 Add support for specifying an operator on Fuzzy queries (#12714) 2025-01-13 17:04:35 +00:00
Thibaud Colas d20c1b66bf release notes for #12751 2025-01-13 13:05:53 +00:00
Sage Abdullah da12f4a284 Use explicit label for defaulting to server language in account settings 2025-01-13 13:05:53 +00:00
Sage Abdullah 944fd02dc3 Replace l18n library with Intl-based LocaleController 2025-01-13 13:05:53 +00:00
Sage Abdullah 983a86b0b8 Fix missing heading and breadcrumbs in Account view 2025-01-13 13:05:53 +00:00
Thibaud Colas f0b04200a4 Add v6.3.3 release notes 2025-01-13 12:14:56 +00:00
Srishti-j18 c63ac0af4a
Add FilterField('created_at') to fix sorting by created_at when searching in documents index view 2025-01-13 12:12:09 +00:00
Srishti Jaiswal 0bba5da337
Correct positioning of comment buttons with DateField, TimeField and DateTimeField. Fix #12214 (#12685)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-01-13 12:08:56 +00:00
sag​e 99a9317eea
Avoid loading icons sprite and JS files in 404 page (#12745)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-01-13 11:29:17 +00:00
Joren Hammudoglu 4fc2c2abac
Improve deprecation warning for `WidgetWithScript` by raising it with `stacklevel=3` 2025-01-07 16:27:26 +00:00
Sage Abdullah 7a59c9cc20
Release note for #12735 2025-01-07 13:34:37 +00:00
Sage Abdullah 9b3acffaac
Fix crash when loading the dashboard with only the "bulk_delete" page permission 2025-01-07 12:23:26 +00:00
Unyime Emmanuel Udoh d8d75bddf0
Fix crash when loading the dashboard with only the "unlock" page permission 2025-01-07 12:03:11 +00:00
Matt Westcott 216b80111b
Upgrade consideration note for change of Page panel definitions 2025-01-07 11:05:11 +00:00
Matt Westcott 3f91fcb3a3
Define base Page panels as placeholders within wagtail.models
This ensures that code such as `content_panels = Page.content_panels + [...]` works as expected even if wagtail.admin has not been loaded.

Fixes #12747
2025-01-07 11:01:08 +00:00
Matt Westcott 09e26c3c2b
Add failing test for page model defined before wagtail.admin is loaded 2025-01-07 10:22:12 +00:00