Thibaud Colas
f5af3d5d82
With spacing
2023-10-17 18:41:27 +01:00
Thibaud Colas
56a9cae791
Split slim header container styles and row styles
2023-10-17 18:41:27 +01:00
Matt Westcott
30c68652c7
Adding search bar to page listing header (not fully functional at this point)
2023-10-17 18:41:27 +01:00
Matt Westcott
58d6c137b4
Move 'add child page' to its own primary action
2023-10-17 17:28:08 +01:00
Matt Westcott
b35f902daf
Upgrade consideration note for button hook changes
2023-10-17 17:28:08 +01:00
Matt Westcott
531ea605b2
Update PageListingButton to accept a user argument instead of page_perms
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
d77e71b148
Eliminate use of fake PagePermissionTester objects in test_buttons_hooks
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
rohitsrma
95877836dd
Update restriction message when switched to public
2023-10-17 15:41:49 +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
07eecc8b86
Move release note for #10981 to correct version
2023-10-16 21:30:24 +01:00
Matt Westcott
7d2c2a5e6d
Release note for #10711
2023-10-16 21:28:56 +01:00
Matt Westcott
3774f8a6ec
Update deprecation message in line with others
2023-10-16 21:16:46 +01:00
Matt Westcott
8af4774ff0
Update tests to check old signature of Block.get_template
2023-10-16 20:50:25 +01:00
Florian Delizy
247fc467eb
Adding the value as a call argument to Block.get_template
2023-10-16 20:39:24 +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
6a6c16030b
Reinstate page type filter on page search view
...
This was inadvertently dropped in 71b9fb13b9
because the context variables in Django's ListView differ from the ones previously used by Wagtail, and the relevant test `pages.object_list.supports_facet` around the filter bar was not updated.
2023-10-16 12:13:38 +01:00
Matt Westcott
78f93af5c8
Release note for #10972 in 5.2
2023-10-13 15:42:05 +01:00
Matt Westcott
805685d72c
Add tests for creation within snippet chooser views
2023-10-13 15:40:08 +01:00
Claude Meyer
c3324c04fa
Match response_data_title_key for SnippetChooserViewSet.create_view_class to the front end's titleStateKey value of 'string'.
2023-10-13 15:40:02 +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
Sage Abdullah
ad6688f2da
Optimise queries in page listing views by prefetching workflow states of the parent page
2023-10-13 13:09:06 +01:00
Sage Abdullah
0fcdd08bf0
Fix PageQuerySet.prefetch_workflow_states when used with .specific()
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
KRISH SONI
7161729d4b
README - Add link to Python virtual environment information
2023-10-13 17:22:03 +11: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
LB Johnston
7b0807d17e
Update ActionController unit tests to use a setup function
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
67de58eb27
Fix crash on inspect view with an empty image
2023-10-09 19:01:54 +01:00
Sage Abdullah
60e2a6dfe4
Fix double quoting of primary key in InspectView.get_edit_url and get_delete_url
...
self.pk is already the quoted value, so we should either use self.pk directly or quote(self.object.pk).
Use the latter for consistency with other views.
2023-10-09 19:01:54 +01:00
Sage Abdullah
aee4f42a7d
Add tests and docs for inspect view in ModelViewSet
2023-10-09 19:01:54 +01:00