Wykres commitów

15200 Commity (6ec734f836b10da3057a9bec32f18b4adf40ecea)

Autor SHA1 Wiadomość Data
Sage Abdullah 6ec734f836 Add separate headings for each snippets view customisation 2023-05-24 11:06:00 +01:00
Sage Abdullah 88c6cfcba6 Restructure snippets customisation example to show the viewset before explaining the attributes 2023-05-24 11:06:00 +01:00
Sage Abdullah d2c33b7513 Add intro paragraphs for rendering snippets and optional features 2023-05-24 11:06:00 +01:00
Sage Abdullah 8f9c908af7 Explicitly recommend using register_snippet as a function 2023-05-24 11:06:00 +01:00
Sage Abdullah fb734e9184 Split snippets documentation into separate pages 2023-05-24 11:06:00 +01:00
Sage Abdullah 939b14b33c Move snippets.md docs to its own directory 2023-05-24 11:06:00 +01:00
viragjain30 9790cccd9c
Prevent lowercase conversions of IndexView column headers 2023-05-23 15:28:41 +01:00
Christer Jensen bd38c91163
Fix incorrect link to UsageView in EditView for snippets
Currently all links to UsageView in EditView link to `None` instead.
2023-05-23 15:03:21 +01:00
Thibaud Colas b5aa8e24be Release notes for #10460 2023-05-23 08:22:53 +01:00
Sage Abdullah 1375def81c Prevent comment notifications toggle from overlapping with side panel close button 2023-05-23 08:22:53 +01:00
Sage Abdullah a29d573af8 Remove comment button on InlinePanel fields 2023-05-23 08:22:53 +01:00
Thibaud Colas aca340f368 Release notes for #10437 2023-05-22 11:00:21 +01:00
sag᠎e f8a9ddff09
Move comment notifications toggle to the comments side panel (#10437)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-05-22 10:56:15 +01:00
Thibaud Colas f372551a83 Fix StreamBlock documentation indentation 2023-05-20 07:21:48 +10:00
Thibaud Colas 37ea0b16ef Release notes for #10282 2023-05-19 07:12:49 +01:00
Thibaud Colas 0e1de4ccfa Release notes for #10282 2023-05-19 07:12:22 +01:00
Sage Abdullah 188bbbb0c5 Pass the correct for_update value for get_form_class in SnippetViewSet's edit views (#10445)
Fixes #10438
2023-05-17 13:59:15 +01:00
Sage Abdullah cc30fd3a13 Fix crash when deleting a single snippet using the bulk actions interface (#10447)
Fixes #10441
2023-05-17 12:46:02 +01:00
Thibaud Colas efb75c0ae3
Ensure comment buttons always respect WAGTAILADMIN_COMMENTS_ENABLED. Fix #10406 2023-05-17 10:49:16 +01:00
Sage Abdullah 1e9f925ff8
Add changelog for #10448 2023-05-17 10:19:13 +01:00
Christer Jensen 2189652ae9
Update documentation for `log_action` parameter on `RevisionMixin.save_revision`
Previous documentation seemed to incorrectly imply that
the default value for `log_action` was `True` when it is
in fact `False`. This can confuse readers not looking at
the method signature.
2023-05-17 10:10:03 +01:00
Sage Abdullah 351bffa304
Release notes for #10421 2023-05-15 16:02:26 +01:00
Matt Westcott a29c5c883e
Ensure that copying page correctly picks up the latest revision
Fixes #10393
2023-05-15 15:59:02 +01:00
Matt Westcott 8b32acb2ad add mock for updateSettings when testing TableBlock 2023-05-15 15:29:11 +01:00
Sage Abdullah 31948fc9db Fix TableBlock resize target selector
Fixes #10427.

In d51ec00ce1, the target was changed from
'[data-field] > .handsontable' to '.handsontable', as the .handsontable
element is no longer a direct descendant of the [data-field] element.

However, this means that we're marking ALL elements with .handsontable
as resize targets, which is not ideal as pretty much all elements
generated by Handsontable have that class.

The original logic would presumably only select the outermost element
with the .handsontable class, which is equal to the element with the
foo-handsontable-container ID (we store this in the containerId
variable).

Frankly, removing this selector outright would also fix the issue. That
said, let's keep this selector in anyway, to match the logic in older
releases.
2023-05-15 14:39:06 +01:00
Sage Abdullah b42e934449 Fix incorrect check of Handsontable size options
Regression in 933a730928 introduced in 4.2.

This causes the discrepancy seen between 4.1 vs 4.2 (and later). In 4.2,
this check was broken, which means the event handler never gets added.

The combination of the event handler and the incorrect selector (fixed
in the next commit) would resize all Handsontable elements, resulting in
the bug where the table cannot be interacted with.

The commit b9f8a6b6c0 fixed another cause
of the issue, which was calling `resizeWidth(getWidth())`. The
getWidth() function should only be used to set the Handsontable's
settings, while resizeWidth should be called with '100%' as done within
the event handler.

However, seeing that the event listener is not even attached in 4.2
onwards, dispatching the resize event might not be necessary and
Handsontable might already handle this correctly. That said, let's
avoid making other changes that could potentially cause issues.

With this commit, the bug should reappear in 4.2 and later releases,
making it consistent with 4.1. The bug will be fixed in the next commit.
2023-05-15 14:37:45 +01:00
Matt Westcott d8e8e240f4 Release note for #10430 in 5.0.1 2023-05-15 14:37:41 +01:00
Matt Westcott df91b382f3 Release note for #10430 in 4.2.4 2023-05-15 14:34:12 +01:00
Matt Westcott 900dce9362 Release note for #10430 in 4.1.6 2023-05-15 14:34:06 +01:00
Daniel Kirkham c895e9031b Fix treebeard link 2023-05-14 07:40:13 +10:00
Matt Westcott 728d70e4f9 Allow django-taggit 4.x 2023-05-12 17:49:06 +01:00
Matt Westcott 98a03fac2b Fix search test migration dependency for older taggit versions
The searchtests.0002_bookunindexed migration had a dependency on taggit migration 0005, which was added in django-taggit 3.0, but Wagtail only specifies django-taggit >=2.0, so this fails on older django-taggit versions. We don't want to bump this yet (since people could still legitimately be using django-taggit 2.x against Django 3.2 LTS), so fix this migration to work against older django-taggit releases.
2023-05-12 17:49:06 +01:00
LB Johnston c9a51968a8 Count Controller unit tests - avoid dupe body
- body element used but already appending to document.body
2023-05-12 17:09:13 +10:00
LB Johnston f1560625aa Docs - fix minor typo on Panels reference 2023-05-09 17:43:06 +10:00
LB Johnston 696d4557a9 Add changelog for #10408 2023-05-09 07:30:08 +10:00
Thibaud Colas 3671285fa5 Update ReadTheDocs settings to v2 to resolve urllib3 issue in linkcheck extension 2023-05-08 22:11:18 +01:00
Esper Kuijs 95bb06bd3c Fix typo in 5.0 release doc 2023-05-08 22:10:51 +01:00
Thibaud Colas acaff169c0 Update admin views, Draftail, TableBlock documentation images 2023-05-05 07:17:34 +01:00
Thibaud Colas e207db534e Update getting started tutorial images 2023-05-05 07:17:34 +01:00
Krzysztof Jeziorny 0552af3c30 Update third_party_tutorials.md
The article "10 (recommended) Wagtail Best Practices" is gone and not to find on the origin website.
2023-05-03 10:34:03 +01:00
Matt Westcott e5690be509 Update latest.txt for 5.0 / 4.1.5 2023-05-02 16:24:32 +01:00
Matt Westcott f6421c0eeb Fill in release date for 5.0 final 2023-05-02 15:29:09 +01:00
Thibaud Colas cc2f408916 Disable homepage release banner (#10398) 2023-05-02 15:28:32 +01:00
Matt Westcott 07f80a6caa Release note for #10367 in 4.2.3 2023-05-02 15:06:28 +01:00
Matt Westcott 170e842a03 Release note for #10367 in 4.1.5 2023-05-02 15:06:28 +01:00
Sage Abdullah 40b828a767 Link to RFC 85 and mention modeladmin deprecation in future release 2023-05-02 13:39:39 +01:00
Thibaud Colas dae099affa Prevent overlap between side panels resize grips and comments, preview 2023-05-02 13:06:03 +01:00
Thibaud Colas 418d3ec8b4 Add back minimap overflow when expanded, to display error badges 2023-05-02 13:06:03 +01:00
Matt Westcott f44b7b326b Credit YouGov for sponsorship of SVG support 2023-05-02 12:56:46 +01:00
Thibaud Colas b6d4e3109f Remove incorrect v4.1.5 release items 2023-05-02 12:03:09 +01:00