Matt Westcott
8111639f9e
Release note for CVE-2023-45809 in 5.0.5
2023-10-19 15:06:37 +01:00
Matt Westcott
6033a3841b
Release note for CVE-2023-45809 in 4.1.9
2023-10-19 15:06:31 +01:00
Matt Westcott
280bd79e75
Release note for page listing view redesign
2023-10-19 14:38:06 +01:00
Stefan Hammer
3de6ce61ff
Improve filtering of audit logging based on the user's permissions ( #11020 )
...
Until now, a user could see the audit log for all custom models,
permissions haven't been checked yet.
Now, only log entries of those content types are displayed, where
the user has at least one permission.
The change also adds filtering to the action-dropdown.
This avoids showing unnecessary action types, e.g. actions which aren't
used at all.
All 3 uses of action-dropdowns (site history, page history, generic
history) only display those actions, which are used at least once.
This partially fixes #9181 .
2023-10-19 13:46:55 +01:00
Neeraj P Yetheendran
8b697124e8
Consistently allow passwords to use leading & trailing whitespace
...
- Set strip=False to LoginForm,UserForm to ensure consistency with Django's practices
- Added test to ensure whitespace password not stripped in UserForm
- Test to ensure whitespace not stripped in PasswordChangeForm
- Set username to email if email-based custom user model used in WagtailTestUtils login method
- Co-authored-by: sage <laymonage@gmail.com>
- Fixes #10839
2023-10-19 23:32:41 +11:00
LB (Ben Johnston)
74aada038b
Add BulkController
support for shift+click behaviour ( #10861 )
2023-10-19 13:25:41 +01:00
Ihedioha Chinedu Innocent
26a89cf37d
Updated FieldPanel to TitleFieldPanel in docs
...
- Closes #11078
2023-10-19 22:36:15 +11:00
Smoothieewastaken
fb4c4209f5
docs: fixed typos from docs\releases\4.0.md
2023-10-19 12:08:31 +01:00
Storm B. Heg
aa2b94db0b
Add changelog and release notes for #10961
...
Crediting @MeghanaNalla too for their previous work in #10759 .
2023-10-19 12:58:32 +02:00
Neeraj P Yetheendran
7239e11e0c
Avoid purging Revisions in use by third-party packages ( #10961 )
...
* Resolves #10678 Avoid purging Revisions in use by third-party packages
---------
Co-authored-by: MeghanaNalla <123588774+MeghanaNalla@users.noreply.github.com>
Co-authored-by: sage <laymonage@gmail.com>
Co-authored-by: Storm B. Heg <storm@stormbase.digital>
2023-10-19 12:52:29 +02:00
LB Johnston
8002e75775
Documentation - Add initial Stimulus docs
...
- Move extending React to new extending client-side page within advanced topics
- Add general extending JavaScript / client-side overview
- Prepare initial Stimulus usage documentation
- Resolves #10197
- Apply suggestions from code review - Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:28:27 +01:00
Sage Abdullah
5c92c8cb8d
Release notes for #11082
2023-10-19 02:23:32 -04:00
sage
56b14e8f97
Use dropdown buttons on listings in dashboard panels ( #11083 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:12:39 +01:00
Thibaud Colas
78a349bb24
Release notes for #10915
2023-10-19 06:39:35 +01:00
Thibaud Colas
67757ce29c
Add release notes for #11080 , #11081 in v5.1.3
2023-10-18 23:59:58 -04:00
Thibaud Colas
3376060ea6
Use the correct action log when creating a redirect
2023-10-18 23:43:54 -04:00
Chiemezuo
3df622f2ef
Migrate publishing schedule dialog field resets to Stimulus
...
- Remove ...admin/schedule-publishing.js
- Builds on #11043 & #11066
- Closes #11029
2023-10-19 08:00:15 +11:00
Alex Tomkins
7131a85532
Use get_or_create for editor page subscriptions
...
Two processes loading the edit view of a page without a subscription could result in an integrity error.
See https://docs.djangoproject.com/en/4.2/ref/models/querysets/#get-or-create
Fixes #11016
2023-10-18 21:10:57 +11:00
Chiemezuo
29d73a3b68
DialogController add support for notifyTargets
...
- Allowing the dispatching of events to internal targets for key modal events
- See ##11029
2023-10-18 18:52:04 +11:00
Matt Westcott
b35f902daf
Upgrade consideration note for button hook changes
2023-10-17 17:28:08 +01:00
Matt Westcott
8079cad7df
Add a view_name argument to register_page_header_buttons
2023-10-17 17:28:08 +01:00
Matt Westcott
3d8e6824a8
Change register_page_header_buttons hook to pass a user argument instead of page_perms
2023-10-17 17:28:08 +01:00
Matt Westcott
1cb180c11a
Change ButtonWithDropdownFromHook and its hooks (including register_page_listing_more_buttons) to accept a user argument instead of page_perms
2023-10-17 17:28:08 +01:00
Matt Westcott
54647bda2c
Move construct_page_listing_buttons hook docs into the 'Page explorer' section
2023-10-17 17:28:08 +01:00
Matt Westcott
0ae8d5fc8c
Change construct_page_listing_buttons hook to pass a user argument instead of page_perms
2023-10-17 17:28:06 +01:00
Matt Westcott
761ccfc215
Change register_page_listing_buttons hook to pass a user argument instead of page_perms
2023-10-17 17:26:39 +01:00
Thibaud Colas
a087a4a1d8
Add release notes for picture and srcset_image template tags
2023-10-17 11:50:07 -04:00
Thibaud Colas
4bfbbae405
Add picture tag implementation and tests
2023-10-17 16:09:06 +01:00
Paarth Agarwal
41dac89e1d
Add srcset_image tag for responsive images
2023-10-17 16:09:06 +01:00
Matt Westcott
234e144f50
Also credit Hazh. M. Adam for original work on #7567
2023-10-17 16:01:34 +01:00
Matt Westcott
f233c3d0ef
Release note for #11044
2023-10-17 15:59:27 +01:00
Thibaud Colas
e2e0130662
Avoid using aria-label with different content from visible text for "Forgotten password" link
2023-10-17 21:36:38 +11:00
Chiemezuo
aa47776b8a
Allow long words in comments to wrap if needed
...
Fixes #11048
2023-10-17 21:16:39 +11:00
Chiemezuo
959913ee18
Create reset method in w-action controller
...
Enabling prep for #11029
2023-10-17 21:08:22 +11:00
Susheel Thapa
2307eb5681
Chore: Typo fixed in multiple files
2023-10-17 21:07:37 +11:00
faishalmanzar
e9d88528e7
Added JS Events for Inline panel added/removed
...
- Added docs for InlinePanel JS events
- Added w-formset:ready w-formset:added & w-formset:removed events and expanded test suite
- Fixes #9105
2023-10-17 11:53:16 +11:00
LB Johnston
d0b588228d
5.2 release notes - fix code type
...
- We usually use `javascript` not `js`
2023-10-17 08:42:00 +10:00
Matt Westcott
7d2c2a5e6d
Release note for #10711
2023-10-16 21:28:56 +01:00
Matt Westcott
997754fe99
Release note for #11039 in 5.1.3
2023-10-16 12:16:53 +01:00
Matt Westcott
90c163078a
Release note for #11039 in 5.2
2023-10-16 12:15:23 +01:00
Matt Westcott
78f93af5c8
Release note for #10972 in 5.2
2023-10-13 15:42:05 +01:00
chris48s
4219488a3c
use ignore_conflicts when inserting references
...
don't pass ignore_conflicts if backend is mssql
check for feature not DB engine
2023-10-13 14:05:38 +01:00
chris48s
912e2b6ea7
Fix reference indexing error for objects with lazy ParentalKeys
...
failing test case: ref index with lazy parental key
determine if instance type is indexed using instance._meta.model
Release notes for #11023
2023-10-13 13:50:14 +01:00
Matt Westcott
b4a9f2d1fa
Release note for #11013
2023-10-13 13:09:06 +01:00
LB (Ben Johnston)
59b1d0ada2
Update docs/releases/2.13.rst
...
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2023-10-13 11:45:41 +01:00
LB Johnston
327a31f6ae
Documentation - fix broken refs & pygments formats
...
Fixes the following errors when build the documentation
- .../docs/getting_started/tutorial.md:181: WARNING: Pygments lexer name 'txt' is not known
- .../docs/releases/2.13.rst:113: WARNING: undefined label: 'wagtail.blocks.streamblock'
2023-10-13 11:45:41 +01:00
Chiemezuo
4269d824f9
Migrate jQuery 'select all on focus' in Image URL generator to Stimulus
...
Adds support of this useful shared functionality in the ActionController
Fixes #11031
2023-10-13 11:29:18 +11:00
Matt Westcott
953c980976
Release notes for #10931 in 5.2
2023-10-09 19:07:20 +01:00
Sage Abdullah
aee4f42a7d
Add tests and docs for inspect view in ModelViewSet
2023-10-09 19:01:54 +01:00
LB Johnston
1c4e69dbce
Add better docs & cross-linking for how PanelGroup permission kwarg works
...
Adds more details on how to use the feature added in #8846
2023-10-09 22:50:11 +11:00
rohitsrma
15642124b6
API - Allow ordering by multiple fields
...
- Closes #7429
- Builds on original PR #7433 (Jake Howard)
2023-10-09 22:16:31 +11:00
Matt Westcott
2a8fc41f15
Fix changelog for django-filter upgrade in 4.0
...
Fixes #11019
2023-10-09 12:04:56 +01:00
Matt Westcott
a7f7757630
Fix changelog for django-filter upgrade in 5.1
2023-10-09 12:04:19 +01:00
LB Johnston
ea7e3ed2e5
Add Changelog & Upgrade Notes for #10959
2023-10-09 20:56:09 +11:00
LB Johnston
ee533ac1a7
Remove deprecated search_garbage_collect
...
Wagtail 5.0 advised that this old command should no longer be used.
https://docs.wagtail.org/en/stable/releases/5.0.html#managing-stored-search-queries
However, it was not fully removed from the documentation or the code.
2023-10-09 20:56:09 +11:00
Thibaud Colas
a2c9e9ab2c
Release notes for docs changes
2023-10-09 06:43:30 +01:00
Olumide Micheal
5ab554010a
Fix Inconsistent URL Format in Getting Started tutorial ( #11009 )
2023-10-09 06:40:57 +01:00
Damilola Oladele
1c0ffc8994
Document new choice of writing style guide ( #10634 )
2023-10-06 23:24:26 +01:00
Matt Westcott
7787ebaf95
Add 'undocumented internals' section to 5.2 upgrade considerations
2023-10-06 16:24:16 +01:00
Panagiotis H.M. Issaris
3340854d1a
Add a link to the issue tracker on the PyPI project page ( #11004 )
2023-10-06 10:30:10 +01:00
Matt Westcott
d9c8d9fff3
Update CI database versions ( #10999 )
...
Rebuild of #10842
2023-10-05 14:44:28 +01:00
LB Johnston
8e3bee5e10
Add changelog for #10883
2023-10-05 22:01:52 +10:00
faishalmanzar
ceed617115
Added progress bar to wagtail_image_rendition command output
...
Fixes #10853
2023-10-05 22:23:28 +11:00
Matt Westcott
73a6456c04
Release note for Python 3.12 support ( #10991 )
2023-10-05 11:37:42 +01:00
Matt Westcott
9c3032083b
Test against Python 3.12
2023-10-05 11:35:22 +01:00
rohitsrma
e2ce772017
Fix help block link contrast
...
Fixes #10990
2023-10-05 21:30:03 +11:00
LB Johnston
d6888e05e4
Update Format.classnames to be Format.classname
...
- Aligns with the naming convention set from Wagtail 4.2
- Add deprecation warnings if classnames is accessed & unit tests for this
- Update other unit tests to use the naming
2023-10-05 21:10:39 +11:00
LB Johnston
69b2955899
Fix typo in 5.2 release notes
2023-10-05 19:58:00 +10:00
Sage Abdullah
d0361e9829
Release notes for #10968
2023-10-05 10:35:28 +01:00
Sage Abdullah
9acc714c07
Add upgrade considerations for legacy moderation system deprecation
2023-10-05 10:35:28 +01:00
Sage Abdullah
065fab50a3
Deprecate submitted_revisions manager and save_revision's submitted_for_moderation kwarg
2023-10-05 10:35:27 +01:00
Sage Abdullah
5f70ebeaa1
Deprecate Revision.approve_moderation() and Revision.reject_moderation()
2023-10-05 10:18:48 +01:00
Sage Abdullah
c5caec6345
Deprecate WAGTAIL_MODERATION_ENABLED setting in favour of WAGTAIL_WORKFLOW_ENABLED
...
The latter came later in #7218 , but existing parts that still use
the old setting were not migrated to use the new setting
2023-10-05 10:18:48 +01:00
Matt Westcott
ea6ca67ae0
Release note for #10989 in 5.0.4
2023-10-04 13:53:06 +01:00
Sage Abdullah
b05705fa07
Release notes for #10940
2023-10-04 13:31:21 +01:00
Sage Abdullah
60d0008c55
Rename get_list_dropdown_buttons to get_list_more_buttons
2023-10-04 11:34:37 +01:00
Sage Abdullah
97052d2e46
Add docs for context argument removal from construct_snippet_listing_buttons
2023-10-04 11:31:46 +01:00
Sage Abdullah
b32c5c08cd
Release notes for #10930
2023-10-04 11:26:25 +01:00
Sage Abdullah
e6bd210a0f
Rename BaseStatusSidePanel to StatusSidePanel
2023-10-04 11:20:31 +01:00
Sage Abdullah
4593eabff8
Add usage view to ModelViewSet
...
- Move permission_required from snippets' UsageView to generic UsageView
- Fix breadcrumbs item missing capfirst()
- Move usage view config in SnippetViewSet to ModelViewSet
2023-10-04 11:20:30 +01:00
MugoBrian
b1de0e5860
Python3-venv Installation Instructions For Ubuntu ( #10988 )
2023-10-04 11:12:02 +01:00
Sage Abdullah
5a0bd78e68
Release notes for #10919
2023-10-04 10:51:28 +01:00
Sage Abdullah
31694dc141
Remove snippets edit_header.html in favour of generic slim_header.html
...
This is now possible now that the slim_header.html template has the history icon link include
2023-10-04 10:42:01 +01:00
Sage Abdullah
bc2004cf7b
Add history view to ModelViewSet
2023-10-04 10:42:00 +01:00
LB Johnston
76a0c4968a
Adopt classname
instead of classnames
in all MenuItem/Sidebar usage
...
- Adds a deprecation path, including documentation to further remove unpredictable naming of adding `classname` in Python APIs
- Intentionally keeps `classNames` in Telepath adaptor inner usage as this convention is not set, however, the server side value passed in will use `classname`
- See https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#use-classname-in-python-html-template-tag-variables
- See #9769 & #9770
2023-10-04 08:05:52 +11:00
Sage Abdullah
a0335d2919
Release notes for #10983 in 5.1.3
2023-10-03 17:10:11 +01:00
Sage Abdullah
87f1310a40
Release notes for #10884
2023-10-03 16:06:16 +01:00
Sage Abdullah
7c22b4aaaa
Add upgrade considerations for side panels refactoring
2023-10-03 10:51:46 +01:00
TopDevPros
a8bc03dd8a
Implement date_since in get_most_popular() inside search_promotions.models
...
- Note: This is currently unused but could be used in the future
- Fixes #10897
2023-10-02 10:31:37 +11:00
LB Johnston
45ffd5877e
Add changelog for #10840
2023-10-02 10:03:39 +11:00
dhruvpal05
598aae78c5
Fix oEmbed Spotify URL
...
- Update URL to latest documentation & remove trailing slash
- https://developer.spotify.com/documentation/embeds/tutorials/using-the-oembed-api
- https://developer.spotify.com/documentation/embeds/reference/oembed
- Fixes #10942
2023-10-02 09:29:50 +11:00
Charlie Sue
86ed0ab9f7
Docs - Add note about including the feature in text editor settings
2023-10-02 09:12:33 +11:00
FatGuyy
09c125189d
Fix NameEmailSettingsPanel when WAGTAIL_EMAIL_MANAGEMENT_ENABLED = False
...
Ensure the panel title reflects the content inside (with or without email)
Fixes #10937
2023-10-02 09:08:20 +11:00
LB Johnston
a986ba741a
Add changelog for #10971
...
Closes #10970
2023-10-02 08:49:44 +11:00
rohitsrma
71fa04fec3
Ensure label in SetActiveStateBulkAction can be translated
...
Fixes #10963
2023-10-02 08:30:10 +11:00
Sandra Ashipala
8b52670d10
Docs - Fix typo for migration command in the section under Tag posts
...
Fixes #10974
2023-10-02 08:29:54 +11:00
Matt Westcott
a1bd357092
Fix port number in tutorial
2023-09-29 16:41:14 +10:00
Nick Moreton
f58c896d5a
Add PythonAnywhere deployment tutorial to third party tutorials ( #10958 )
2023-09-28 09:52:04 +01:00
Matt Westcott
dc9f1b190b
Release note for #10955 in 4.1.8
2023-09-27 18:54:23 +01:00
Matt Westcott
b991700932
fix typo in 4.1.7 release notes header
2023-09-27 14:11:49 +01:00
Matt Westcott
983b0fcc23
Release note for #10951 in 4.1.7
2023-09-27 13:18:03 +01:00
LB Johnston
a50cc707a2
Deprecate escape_script & escapescript template tag
...
- Add deprecation warning for usage of escape_script
- Add release considerations
- JS deprecation comments on client/src/components/InlinePanel/index.js were added in changes introduced in #10893
2023-09-26 10:32:28 +01:00
TopDevPros
3ffe4cb3a5
Add subject & body to Email link chooser
...
Closes #5950
Rework of PR #6451
2023-09-26 16:09:24 +10:00
TopDevPros
3a5cc8e75c
Search Promotions - Add support for external link/text
...
Closes #10725
Built on original PR #4560
2023-09-26 13:44:09 +10:00
LB Johnston
aa52f84ec4
Fix heading level in 5.1 release notes
2023-09-26 05:20:25 +10:00
Matt Westcott
34dd5270a3
Fill in release date for 5.1.2
2023-09-25 12:45:09 +01:00
Matt Westcott
9ff3647a37
Fill in release date for 5.0.3
2023-09-25 12:44:35 +01:00
Matt Westcott
85a4a9ebf7
Release note for #10939 in 5.1.2
2023-09-22 18:34:32 +01:00
Matt Westcott
e6e29b5518
Release note for #10935
2023-09-22 11:46:21 +01:00
SebCorbin
0ab4bb8db5
Make admin login template display non_fields_errors
...
- Add tests
- Fixes #10912
2023-09-22 07:27:24 +10:00
Andreas Nüßlein
6eda5d5d12
fix typo
2023-09-21 16:45:57 +01:00
Sage Abdullah
faaab535b0
Release notes for #10900
2023-09-21 12:21:39 +01:00
Sage Abdullah
ce8f655b6f
Add upgrade considerations for ModelViewSet URL changes
2023-09-21 12:21:14 +01:00
LB Johnston
6bcc66c1e0
Docs - use subclass
not sub-class
...
- All other usage of this does not have the hyphen
2023-09-21 08:15:57 +10:00
Sage Abdullah
da636f6b61
Release notes for #10864
2023-09-20 14:01:15 +01:00
Neeraj P Yetheendran
cdd6f1800c
Allow subclasses of PagesAPIViewSet override default Page model
...
- Built on original PR #7372 and feedback on that solution
- Add unit tests and documentation
- Fix typo in API documentation for `CustomPagesAPIViewSet`
- Ensure that pk is used (not id) while filtering to prevent assumption that id is pk
2023-09-20 08:13:19 +10:00
Matt Westcott
6009903c55
Support passing extra context variables via the {% component %} tag
2023-09-20 07:46:39 +10:00
LB Johnston
dd95b8b0d2
Fix changelog / release notes entry for #10916
2023-09-20 07:24:58 +10:00
Matt Westcott
30a489a51c
Document support for OpenSearch
...
Fixes #7920
2023-09-20 07:17:58 +10:00
Matt Westcott
4938db9b7c
Release note for #10916 in 5.1.2
2023-09-19 10:29:23 +01:00
LB Johnston
b60828ac47
Hooks documentation - fix up admonition formatting
2023-09-19 12:18:51 +10:00
Matt Westcott
b5eff93fde
Release note for #10911 in 5.0.3
2023-09-18 16:03:10 +01:00
LB Johnston
27a8f85e1e
Add changelog for #10245 & #10893
2023-09-17 21:20:51 +10:00
SebCorbin
f82366e151
Fix PublishMenuItem label is not overridable through hook
...
Fixes #10663
2023-09-17 17:27:44 +10:00
Daniel Kirkham
72c55dee17
Fix typo and expression in 5.1 release notes
2023-09-17 16:28:40 +10:00
Sage Abdullah
bde19900b9
Release notes for #10880
2023-09-15 15:33:55 +01:00
WhatIsThisVJ
b681e74d30
Replace @total_ordering usage with comparison functions implementation #10526
2023-09-14 11:32:59 +01:00
LB Johnston
ba9f7c898f
Add changelog / upgrade considerations for #10869
...
Closes #10668
2023-09-14 09:09:59 +10:00
LB Johnston
e317ac482b
Revise the human_readable_date arg (rename position to placement)
...
- Add unit tests
- Move changelog entry to features, not maintenance
- See #10871 & 0a977cc54d
2023-09-14 07:30:28 +10:00
Andy Chosak
dbc130e565
Fix minor typos in the docs
...
"JavasScript" -> "JavaScript"
2023-09-14 06:36:46 +10:00
LB Johnston
a5966753d2
Changelog & release notes for #10857
...
- Including backport to 5.1.2
2023-09-14 06:32:29 +10:00
LB Johnston
19b4df2648
Add 5.1 release notes for changed attrs.html
template location
...
Fixes #10874
2023-09-14 06:04:01 +10:00
Sage Abdullah
3cd13c65ef
Release notes for #10865 and #10870
2023-09-13 17:53:15 +01:00
LB Johnston
51353c7c43
Do not use jest inside stubs.js to prevent Storybook from crashing
2023-09-13 15:04:04 +01:00
rohitsrma
451c21ea52
Page status sidebar - add support for actual published date date in tooltip
...
Fixes #10789
2023-09-13 08:20:45 +10:00
rohitsrma
0a977cc54d
human_readable_date - update template tag to support tooltip position
2023-09-13 08:20:45 +10:00
faishalmanzar
3a86efaf12
Add ability for InlinePanel to set focus on newly created items
...
Fixes #10764 - Inserting a new InlinePanel function improved
2023-09-13 07:54:57 +10:00
LB Johnston
0daf33b1b4
Add changelog for #10835
2023-09-13 07:40:04 +10:00
LB Johnston
b96d2d7faa
Adopt w-messages (CloneController) in unsaved changes warning
...
- Replace global util window.updateFooterSaveWarning with the w-messages usage
- Remove window.updateFooterSaveWarning usage in core.js & move 'delay before clearing' time delay to the Stimulus value
- Fix JSDoc usage in `enableDirtyFormCheck`
- Add aria-live="polite" so message updates can be advised to screen readers
- Add release considerations and for `window.updateFooterSaveWarning` removal
- Closes #10091
2023-09-13 07:40:04 +10:00
Hatim Makki Hoho
bf709279d5
Update focal_points.md ( #10878 )
...
corrected the load from {% load wagtailimages %} to {% load wagtailimages_tags %}
2023-09-11 20:13:19 +01:00
Matt Westcott
386e7c896e
Release note for #10866 in 5.1.2
2023-09-11 19:06:48 +01:00
Matt Westcott
e017225c0f
Add release note recommending the use of AutocompleteField
2023-09-11 17:11:26 +01:00
Gareth Palmer
a63689869e
Add support for merging cells in TableBlock.
...
Handsontable has support for merging table cells using the `mergeCells`
plugin but there was no support in Wagtail for storing which cells have
been merged or rendering them in the output template.
The client JavaScript will now save which cells have been merged and
the output template will merge or hide cells.
See https://handsontable.com/docs/6.2.0/Options.html#mergeCells
2023-09-08 08:30:49 +10:00
Sage Abdullah
28d55f8c24
Release notes for #10826 and #10827 in 5.1.2
2023-09-07 13:58:01 +01:00
Matt Westcott
d00c2fe12c
Release note for #10847 in 5.1.2
2023-09-07 12:22:54 +01:00
Matt Westcott
d322d60228
Release note for #10847 in 5.0.3
2023-09-07 12:22:53 +01:00
Matt Westcott
b6bd047598
Add documentation for non-model choosers using queryish ( #10863 )
2023-09-07 11:27:10 +01:00
Matt Westcott
0cea5a70d4
Release note for #10836 in 5.1.2
2023-09-06 17:56:57 +01:00
Matt Westcott
d112127178
Release note for #10836 in 5.0.3
2023-09-06 17:56:00 +01:00
Matt Westcott
6a30d5ebc1
Release note for #10859
2023-09-06 16:00:15 +01:00
Matt Westcott
8223162c93
Add documentation for linked_fields
2023-09-06 15:58:36 +01:00
Matt Westcott
7b64f08e74
Allow ChooserViewSet to be filtered by specified URL parameters
2023-09-06 15:58:36 +01:00
LB Johnston
8a52269da5
Update w-breadcrumb root class to w-breadcrumbs (plural)
...
- This way we align with the controller name
2023-09-05 20:05:56 +10:00
LB Johnston
857ea05c2e
Migrate breadcrumb JS to Stimulus RevealController
...
- Adds a new generic `RevealController` that handles the ability for content to be opened/closed while updating the relevant parts of the DOM such as aria-expanded on the toggle.
- Register this controller as a generic `w-reveal` and also the `w-breadcrumb` identifiers so that we can differentiate usage via different DOM attributes and events.
- Closes #10118
2023-09-05 20:05:56 +10:00
Matt Westcott
cbeb9a2512
Docs and release note for ChooserViewSet.get_object_list ( #10851 )
2023-09-04 18:45:39 +01:00
Matt Westcott
fced56b65c
Release note for #10849
2023-09-04 16:13:36 +01:00
Thibaud Colas
06a7bc6124
Fix outdated reference to BlogCategory in tutorial
2023-09-01 16:22:00 +01:00
LB Johnston
1dbf2ec2df
Add changelog for #10798
2023-08-31 18:43:15 +10:00
LB Johnston
a19bae886d
Format markdown files
2023-08-31 08:21:36 +10:00
Matt Westcott
151a386ff5
Add note to clarify that blocks are not interchangeable with model fields
...
Prompted by https://stackoverflow.com/questions/76973112/unknown-fields-specified-for-a-page-model-in-wagtail-at-content-panels/76973226?noredirect=1#comment135693718_76973226 and similar misconceptions people have made in the past.
2023-08-30 18:47:57 +01:00
Sage Abdullah
be9504cb42
Release notes for #10826
2023-08-30 16:50:21 +01:00
Christer Jensen
0edf22ccbc
Allow overriding export_headings
via ModelViewSet
2023-08-30 12:22:15 +01:00
Sage Abdullah
b61bd4463e
Release notes for #10807 , #10811 , #10818 , and #10822
2023-08-30 11:15:25 +01:00
Sage Abdullah
9a2d53d0cf
Move SnippetViewSet.list_per_page to ModelViewSet
2023-08-30 10:31:16 +01:00
Sage Abdullah
66216852b8
Move SnippetViewSet.list_export and export_filename to ModelViewSet
2023-08-30 10:30:17 +01:00
Sage Abdullah
ccbd6849f3
Move SnippetViewSet.search_fields and search_backend_name definition to ModelViewSet
2023-08-30 10:29:29 +01:00
Sage Abdullah
3ae937120e
Fix cross-reference links in Snippets-ModelAdmin migration docs
2023-08-30 10:26:39 +01:00
Sage Abdullah
1fa124fe82
Move SnippetViewSet.list_filter and filterset_class definition to ModelViewSet
2023-08-30 10:26:38 +01:00
LB Johnston
585a08fea0
Adopt w-bulk Stimulus controller for form submissions listing
2023-08-24 20:53:49 +10:00
Sage Abdullah
714beabb7f
Release notes for #10823
2023-08-24 11:02:47 +01:00
LB Johnston
6f9dda5cfc
Fix issue where collection deletion success message was not correct
...
- Fixes #10813
2023-08-24 18:33:23 +10:00
Matt Westcott
2be1da6621
Stop private pages from breaking display of snippets in moderation dashboard
...
Fixes #10819
2023-08-24 18:28:08 +10:00
LB Johnston
6dfa97b908
Add changelog for #7937
2023-08-24 07:14:06 +10:00
Sage Abdullah
564b52188d
Release notes for #10779 and #10796
2023-08-22 17:14:44 +01:00
Sage Abdullah
cd222898fd
Move SnippetViewSet.list_diplay definition to ModelViewSet
2023-08-22 16:34:51 +01:00
Sage Abdullah
849dd5124b
Rename groups IndexView.results_template_name to results.html
2023-08-22 16:25:26 +01:00
Sage Abdullah
91a539d797
Add docs and tests for custom template overrides in ModelViewSets
2023-08-22 15:56:42 +01:00
Shreshth Srivastava
7a647eb53b
Fix incorrect screenshot for authors on tutorial ( #10805 )
...
Fixes #10763
2023-08-21 19:28:57 +01:00
Antoni Martyniuk
eadf9a6d9c
feat: pickle support for StreamField ( #10654 )
...
Fixes #1988
2023-08-21 18:42:38 +01:00
Sage Abdullah
ad070af8fd
Change WagtailTestUtils.get_soup() to accept str/bytes instead of HttpResponse
2023-08-21 14:40:07 +01:00
Matt Westcott
cfa4b7ca69
Copy view restrictions when creating a page alias
...
Rebuild of #10145 following modifications to #6406 . Fixes #10111
2023-08-18 19:10:01 +01:00
Matt Westcott
ea659cb98b
Release note for #10758
2023-08-18 17:45:31 +01:00
Sandeep
a1e50c57f6
Copy privacy settings on page copy ( #6406 )
...
Fixes #6212
2023-08-18 15:58:55 +01:00
Shreshth Srivastava
ff16cb5a3e
Mention WAGTAILADMIN_BASE_URL in integrating_into_django.md ( #10758 )
...
Fixes #10741
Mentioned WAGTAILADMIN_BASE_URL and the warnings related to it in the 'Settings' section.
2023-08-18 13:00:42 +01:00
Sage Abdullah
d8a2826fb4
Release notes for #10767 and #10777
2023-08-16 11:42:11 +01:00
Sage Abdullah
65739c6925
Add ModelViewSet.add_to_reference_index to allow opting out of the ReferenceIndex
2023-08-16 11:42:11 +01:00
Sage Abdullah
c7b5c9a04d
Update viewsets documentation to cover ViewSetGroups and menu item registration
2023-08-15 11:53:44 +01:00
Matt Westcott
e0b0d03cf0
Release note for #10782
2023-08-15 01:33:16 +01:00
Matt Westcott
9ff0f10310
Mention model_name in docstrings
2023-08-15 01:31:16 +01:00
Matt Westcott
485545a983
Allow ViewSet subclasses to customise url_prefix and url_namespace logic
...
Alternative approach to #10766 , as per https://github.com/wagtail/wagtail/pull/10766#issuecomment-1675043897
2023-08-15 01:31:16 +01:00
Sage Abdullah
ea8f45be85
Fill in release date for 5.1.1
2023-08-14 15:03:51 +01:00
Florent Lebreton
e7bb3e9d22
Fix read_only panels for fields with translatable choice labels
2023-08-10 11:16:13 +01:00
Storm B. Heg
1c12d96457
Add WagtailTestUtils.get_soup()
method to get a BeautifulSoup
object
2023-08-10 10:10:01 +01:00
Sage Abdullah
f0cfa62bda
Release notes for #10768
2023-08-10 09:17:44 +01:00
Sage Abdullah
c56ec67a39
Introduce BooleanColumn for showing boolean values as tick/cross icons
2023-08-10 09:11:26 +01:00
Sage Abdullah
d639cbbf4c
Call out ModelAdmin migration guide in 5.1 upgrade considerations
2023-08-10 09:11:26 +01:00
Sage Abdullah
133da4c3a9
Add docs for migrating ModelAdminGroup to SnippetViewSetGroup
2023-08-10 09:11:25 +01:00
LB Johnston
8fbf5df3f2
Docs - fix small typo in HTML layout
2023-08-09 19:50:59 +10:00
LB Johnston
db42d56bea
Add changelog for #10742
2023-08-05 10:06:31 +10:00
Storm B. Heg
2c43ddbbd3
Add support for options/attrs in Telepath widgets & add required/aria-describedby
...
- This allows us to pass extra data for the widget to use in a backwards-compatible way.
- FieldBlock: render 'required' and 'aria-describedby' attributes when appropriate
- Ensure options passed to `render` override defaults
- FieldBlock: add test proving options are constructed and passed down
- Allow Telepath's widget rendering to take options
- Include extra accessibility-related attributes in html output
- Resolves missing required attribute on input elements for required fields
- Resolves missing aria-describedby attribute on input element when the field has help text.
- Partial work on #10300
2023-08-05 08:55:53 +10:00