Wykres commitów

6317 Commity (57fcb353d80b81304ee13f427b94269634f25e3a)

Autor SHA1 Wiadomość Data
Sage Abdullah f309a44075 Add reference docs for Block.get_template and Block.get_context 2025-02-03 16:43:29 +00:00
Sage Abdullah 88bb61d32e Minor tweaks to StreamField block previews documentation 2025-02-03 16:43:29 +00:00
Matt Westcott f04af6cc16 Fill in release date for 6.3.3 2025-02-03 15:11:44 +00:00
Matt Westcott c6923f43c4 Fill in release date for 5.2.8 2025-02-03 15:11:28 +00:00
Matt Westcott af7254a808 Fill in release date for 6.4 final 2025-02-03 15:11:18 +00:00
Matt Westcott 14d3341ffd Release note for #12829 in 6.4 2025-01-31 18:09:49 +00:00
Matt Westcott 58ff3e1067 Release note for #12829 in 6.3.3 2025-01-31 18:09:49 +00:00
Matt Westcott 2970a1531e Release note for #12829 in 5.2.8 2025-01-31 18:09:49 +00:00
Matt Westcott 6cad9c4397 More descriptive release note for #12322 in 6.4 2025-01-31 13:05:37 +00:00
Matt Westcott 6a8298879d Release note for #12322 in 5.2.8 2025-01-31 13:05:37 +00:00
Matt Westcott d9e2714c56 Release note for #12322 in 6.3.3 2025-01-31 13:05:37 +00:00
Matt Westcott bdde31c9ed Release note for #12837 2025-01-31 11:09:33 +00:00
Mohamed-Rabiaa f2f94c4d12 docs: Add django.contrib.admin to INSTALLED_APPS in add_to_django_project guide 2025-01-31 11:02:30 +00:00
Matt Westcott 259770f56d Release note for #12831 in 6.4 2025-01-29 20:53:52 +00:00
Matt Westcott a7f00156ad Release note for #12831 in 6.3.3 2025-01-29 20:53:52 +00:00
Matt Westcott 335817e289 Revert "Simplify example of appending a rich text block to a streamfield" (#12831)
See #12827 - `normalize` is not applied on append, so the value type must match.

This reverts commit b0cda80626.
2025-01-29 20:53:51 +00:00
Matt Westcott 2a42ae4edd Add release note stubs for 6.5 2025-01-27 18:54:25 +00:00
Matt Westcott b66a9bfb64 Version bump to 6.5a0 2025-01-27 18:54:25 +00:00
Matt Westcott a2eb6ea8ca Drop support for Django 5.0
This will end security support on 30 Apr 2025, immediately before the release of Wagtail 6.5.
2025-01-27 18:54:25 +00:00
Matt Westcott 695ff86c87 Remove versionchanged note for ImageChooserBlock to ImageBlock migration
Leave other versionadded/versionchanged notes intact, as they relate to deprecated features that are not yet removed and should thus be left in place until 7.0.
2025-01-27 18:54:25 +00:00
Matt Westcott cf19e6ea8e Release notes for #12097 and #12394 in 5.2.8 2025-01-27 17:03:49 +00:00
Matt Westcott 4301d4ded2 Release note for #12812 in 6.4 2025-01-27 16:49:58 +00:00
Matt Westcott 11f7997227 Release note for #12812 in 6.3.3 2025-01-27 16:49:58 +00:00
Matt Westcott 30deac59d0 Release note for #12812 in 5.2.8 2025-01-27 16:49:58 +00:00
Thibaud Colas 9d496be14c Fix incorrect documentation reference 2025-01-23 17:07:48 +00:00
Thibaud Colas 29e41ea6fc Add separate release notes for performance optimizations 2025-01-23 16:54:05 +00:00
Thibaud Colas 484c71c539 Add separate release notes for search terms report 2025-01-23 16:40:57 +00:00
Matt Westcott 4b99a17554 Extend LTS period to 18 months 2025-01-23 13:15:33 +00:00
LB 2ce58fed95 Refine 6.4 release notes
- Fix a few small typos & formatting issues
- Ensure the form builder changes are better documented
- Add links to other docs pages where possible
- Improve consistency with usage of `code` backticks on modules
- Add docs reference for StreamField `get_template` docs
2025-01-22 10:31:35 +00:00
LB 1dd3dbea87 Fix spelling of `CloudFront` in docs & release notes 2025-01-22 10:31:35 +00:00
LB 0bf909414a Fix minor whitespace formatting issues in docs 2025-01-22 10:31:35 +00:00
LB 1422a9d6c4 Add third party tutorials from late 2024 2025-01-22 10:21:02 +00:00
Matt Westcott 80c2f928fd Release note for #12394 in 6.4 2025-01-21 21:24:14 +00:00
Matt Westcott 834afaea54 Release note for #12394 in 6.3.3 2025-01-21 21:23:11 +00:00
Mohamed-Rabiaa f25a95deee Fix typo: Replace 'another field' with 'an author field' in writing_templates documentation (#12799) 2025-01-21 20:35:26 +00:00
Matt Westcott 01d7858ba4 Fix typo 2025-01-21 11:10:02 +00:00
Matt Westcott 7f39750de9 Clarify lack of support for filtering across relations in RelatedFields docs
Fixes #11757
2025-01-21 11:07:12 +00:00
Matt Westcott 4244943300 Fix typo in block preview example 2025-01-20 18:19:32 +00:00
Matt Westcott 1309f5e7cc Remove unused heading 2025-01-20 17:48:47 +00:00
Sage Abdullah ac4bd79e40
Add initial docs for StreamField block previews 2025-01-20 17:35:06 +00:00
Thibaud Colas efc73a649d Release notes for #12790 2025-01-20 17:05:08 +00:00
Matt Westcott 03f5352fe0 Full release note for FieldPanel / InlinePanel shorthand 2025-01-20 16:16:42 +00:00
Matt Westcott ab7547c6cb
Add upgrade note about fixing tests for background tasks (#12794)
* Add upgrade note about fixing tests for background tasks

Addition to the upgrade note added in https://github.com/wagtail/wagtail/pull/12787 to cover how to update tests that make database changes and expect to see the results reflected immediately in search queries and other processes that now only happen at the end of a transaction.

* Update docs/releases/6.4.md

Co-authored-by: sag​e <laymonage@gmail.com>

---------

Co-authored-by: sag​e <laymonage@gmail.com>
2025-01-20 16:08:47 +00:00
Jatin Bhardwaj b4781e2a90
Added scroll offset to ensure visibility of fields when typing. Fix #7777 (#12759)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-01-20 13:24:33 +00:00
Thibaud Colas a2038727a7 Add more release notes sections 2025-01-20 12:06:44 +00:00
Thibaud Colas 72808487cd Add missing release notes for #12766 2025-01-20 11:51:50 +00:00
Thibaud Colas 1e0b0f3508
Enable alt text quality check by default. Fix #12636 (#12793) 2025-01-20 11:49:58 +00:00
Thibaud Colas ca66dcc6af Release notes for #12766 2025-01-20 11:46:54 +00:00
Cynthia Kiser e6f27c95e8 Update accessibility concerns docs in light of GSOC contextual alt text project
This also documents default_alt_text, providing a stricter example that does not fall back to image title
2025-01-20 11:46:54 +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 a6b64dc42e Release notes for #12040 / #12787 2025-01-17 20:37:09 +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
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 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
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
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
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 a2407c0027 Release note for #12697 2025-01-06 23:44:28 +00:00
Matt Westcott f9debd9084 Continuity fixes for tutorial 2025-01-06 23:11:53 +00:00
Matt Westcott 82c42d1ecc Nest code snippets for string panel definitions inside the note 2025-01-06 19:29:44 +00:00
USER 961aa07547 Addressed feedback: Updated FieldPanel documentation 2025-01-06 19:26:26 +00:00
USER da818b562f “Update-FieldPanel-documentation-to-encourage-use-of-strings-in-panel-definitions” 2025-01-06 19:26:26 +00:00
Matt Westcott b97ac14cba Fill in release date for 6.3.2 2025-01-02 11:09:43 +00:00
Daniel Kirkham 996484099b Insert missing space into 6.3 release notes 2025-01-02 09:16:49 +00:00
Artem Kamyshansky f90fae1aee typo fix 2025-01-02 09:16:07 +00:00
Ayaan df8a6f219c Added aria-expanded attribute to add new column button (#12680) 2024-12-18 18:03:24 +00:00
Matt Westcott 2e08d84332 Release note for #12702 in 6.4 2024-12-18 16:07:58 +00:00
Matt Westcott 5a17312e42 Release note for #12702 in 6.3.2 2024-12-18 16:07:25 +00:00
Matt Westcott ac08838115 Update James Harrington's name in credits 2024-12-18 16:01:06 +00:00
ankit02327 7745aa628d Separate creation and activation steps in tutorial document (#12695) 2024-12-18 15:30:53 +00:00
Sage Abdullah 23b9f4aca9 Move images and documents get_usage().count() call to view code (#12691)
The get_usage() method returns a ReferenceGroups instance that defines a
__getitem__ method. Accessing get_usage().count() from the template
means that Django tries to access the count via ["count"], which fails,
then continues by using getattr(reference_groups, "count") before
finally calling the count method.

We have seen reports where the blocktranslate tag fails because the
usage_count_val is not a number. We haven't got a reproducible example,
but this would help surface any errors, as the exception would be raised
from the Python code rather than the template.
2024-12-18 14:58:28 +00:00
Sage Abdullah 6b33690cd3 Refactor pages revisions_revert view to be a subclass of EditView (#12690)
Currently, the code that handles the POST request for reverting a
revision lives in the EditView class, while the revisions_revert view is
a smaller view that tries to "mimic" the EditView for rendering the view
as part of a GET request. The view injects the revision ID into the
form, which has the action URL hardcoded to the EditView. Including the
revision ID in the form allows the EditView to tell whether it's in a
"reverting" mode or not, and adjust the POST logic accordingly.

However, this results in possible inconsistencies in both views.
Whenever we want to change EditView code or template, we need to make
sure to also update the revisions_revert view. The fact that the
revisions_revert view is a function-based view doesn't help.

Instead of copying the view code and reusing the template with the
addition of injecting the revision ID in the form, turn it into a proper
subclass of the EditView, and make use of Django's URL patterns to
retrieve the revision ID in the EditView.

This approach is similar to how reverting revisions is handled for
snippets.

Ideally, all the code for handling revisions revert should live in the
RevisionsRevertView, and the EditView shouldn't know about it at all.
This is how it's done for snippets: all the revisions revert-related
code is put in RevisionsRevertMixin.

However, this is currently not possible for pages without more
significant refactoring, so this commit does the minimal change needed
to achieve the goal of keeping the revisions_revert view in sync with
the EditView.
2024-12-18 14:36:39 +00:00
Matt Westcott 8bb2a18cd7 Release note for #12676 2024-12-18 12:55:43 +00:00
Sage Abdullah 286d7cbd6b Enable breadcrumbs in revisions compare view (#12675) 2024-12-18 00:45:43 +00:00
Claude Meyer 268174b781 Release notes for #12678 2024-12-17 22:10:23 +00:00
Claude Meyer aa08e86cba Fixes #3847 by adding page as a third argument to construct_wagtail_userbar hooks along with a deprecation warning. 2024-12-17 22:10:09 +00:00
Jake Howard 076af8bec8 Automatically set CSP when serving images and documents (#12672)
Addresses #12617
2024-12-17 21:06:39 +00:00
jhrr 5402010d16 Allow hook override of user profile avatar url in admin tags (#12689)
Fixes #12661
2024-12-17 20:42:36 +00:00
Matt Westcott 9889bddcb8 Release notes for #11633 2024-12-10 01:54:54 +00:00
Sage Abdullah 4760509d65
Release note for #12681 2024-12-09 11:06:26 +00:00
Ayaan 3e75c018be Add support for query string params in WAGTAIL_GRAVATAR_PROVIDER_URL
- Enhance capabilities for WAGTAIL_GRAVATAR_PROVIDER_URL URL to support merging of URL params.
- Fixes #12659
- Rework of original PR #11077
2024-12-07 21:23:13 +10:00
Krystian Magdziarz 32417f9adc Fix Missing Cache-Control Headers for Password-Protected Pages (#12465)
Fixes #12455
2024-12-07 02:49:16 +00:00