Matt Westcott
8da1796d53
Pass all URL parameters to page chooser search action, including multiple and user_perms
2024-12-04 10:48:45 +00:00
Srishti-j18
c2676af857
Ensure new ListBlock instances get created with unique IDs
...
Fixes #10074
2024-12-04 19:10:04 +10:00
elhussein almasri
cd7977ada8
Fix image/document chooser using `MultipleChooserPanel` within `InlinePanel`
...
Ensure `MultipleChooserPanel` using images or documents work when nested within an `InlinePanel` when no other choosers are in use within the model.
Fixes #11233
2024-12-04 18:35:32 +10:00
Ayaan
5837d346d9
Fix initial mode value logic in modeValueChanged
...
Fix from #12641
2024-12-04 17:35:01 +10:00
Jaivignesh-afk
13951cf7a5
Fix empty `th` elements in admin (accessibility)
...
- Headings cannot be empty (https://dequeuniversity.com/rules/axe/4.9/empty-table-header )
- Added aria-hidden=true or a suitable label to empty <th> across admin
- Fixes #11596
- Additional related fixes provided in #12203 & #11465
2024-12-04 12:50:13 +10:00
SebCorbin
fceda14872
Use openpyxl at runtime
...
- See discussion 'import openpyxl' #12125
- Projects that don't use ReportView (or SpreadsheetExportMixin) and wagtail.contrib.redirects should see a memory use decrease
2024-12-04 08:49:13 +10:00
LB
bc34020e0d
Docs - Ensure documents overview section renders Django template syntax
2024-12-04 08:48:45 +10:00
LB
d48cf61701
Docs - Use consistent indents for CSS snippets
2024-12-04 08:48:45 +10:00
LB
eac7dd92b6
Docs - fix up whitespace issues
2024-12-04 08:48:45 +10:00
LB
047ecff2bb
Release notes - use consistent whitespace above headings
2024-12-04 08:48:45 +10:00
LB
233ff2b419
Add docs contributor Alex Fulcher for #12039
2024-12-04 08:13:01 +10:00
Sævar Öfjörð Magnússon
8ec4ed0127
Incorporate 'are we headless' content into documentation
...
- API chapters from https://areweheadlessyet.wagtail.org/
2024-12-04 08:10:15 +10:00
Matt Westcott
6047a66663
Allow using plain strings in panel definitions in place of FieldPanel / InlinePanel ( #12557 )
2024-12-03 19:50:07 +00:00
Srishti-j18
6054245548
Remove unused `is_active` & `active_menu_items` from `wagtail.admin.menu.MenuItem`
...
These methods are no longer utilized in the codebase and have been superseded by JavaScript-based handling of active menu items. Specifically, the sidebar-menu-item--active class, responsible for theming active menu items via CSS, is now exclusively managed by JavaScript.
Cleaned up the related test from wgatail.admin.tests.tests.py : wagtail.admin.tests.tests.TestMenuItem.test_menuitem_reverse_lazy_url_pass
Fixes #11433
2024-12-03 08:26:38 +10:00
LB
585b9b4b04
Add changelog for #12641
2024-12-03 07:53:40 +10:00
ayaan-qadri
acdeb4f8d9
Update privacy-switch class toggle targets to use ZoneController
...
- Refactor styles for status tag to be more easily used across multiple elements
- Fixes #12611 (accessibility issue with the live link not reflecting update title/tooltips)
2024-12-03 07:53:40 +10:00
ayaan-qadri
4ea2c661c8
Update privacy-switch to avoid toggling classes & instead dispatch an event
2024-12-03 07:53:40 +10:00
ayaan-qadri
3a50b2467a
Added switch method & inactive class support to ZoneController
...
- fixes #12611
2024-12-03 07:53:40 +10:00
LB
3a19f450f6
Fixup changelog typo
2024-12-03 07:53:40 +10:00
LB
26442631c7
Add changelog for #11202
2024-12-03 07:15:09 +10:00
LB Johnston
97d2332ba4
Migrate image-url-generator conditional fields to w-rules/RulesController
...
See #11045
2024-12-03 07:15:09 +10:00
LB Johnston
4438f13d5c
Add initial implementation of w-rules/RulesController
...
- Allows a controlled form to have targets that are conditionally enabled based on a rule to match against the form data
- Partial progress for #11045
2024-12-03 07:15:09 +10:00
LB Johnston
918ceebc17
Create a JavaScript util `castArray`
...
- Allows easy conversion of any value/s supplied into an array or keep as an array if it's already one
2024-12-03 07:15:09 +10:00
Sage Abdullah
f8f99833f2
Refactor settings EditView to make better use of generic EditView ( #12635 )
2024-12-02 15:18:09 +00:00
Matt Westcott
b81b899c0c
credit Sage on search term report
2024-12-02 15:02:39 +00:00
Sage Abdullah
217751e747
Remove unnecessary search_terms_report_results.html template
2024-12-02 15:01:53 +00:00
Sage Abdullah
76925488ad
Allow sorting by each column in search terms report
2024-12-02 15:01:53 +00:00
Sage Abdullah
789a0c2572
Change created_at filter param to hit_date in search terms report view
2024-12-02 15:01:53 +00:00
Sage Abdullah
9a1c7126e2
Change query_string filter on search term reports into a search field
...
Also fix and add the tests. The previous test for search was wrong:
the assertion passed because the search query is found in the form input
(and URLs), and does not actually assert the results. The query_string
is always normalized to lowercase, so the expected result would be
'found' and not 'Found'. Change this to use a more descriptive string
and ensure that the search works by using an icontains lookup.
2024-12-02 15:01:53 +00:00
Sage Abdullah
bda83b061c
Use gettext_lazy for search terms report views strings
...
And do not capitalize 'Term'
2024-12-02 15:01:53 +00:00
Clifford Gama
a142363a80
Add missing backticks on image tag
2024-12-02 12:10:10 +00:00
Clifford Gama
a1de5bdbd7
Introduce tags and filters as they are in user-guide docs ( #12647 )
2024-12-02 12:07:48 +00:00
Sage Abdullah
839193ff3c
Remove unused LinkController
...
See #11736
2024-11-29 18:17:00 +10:00
Sage Abdullah
b7a4271930
Move release note for #12570 to 6.3.2
2024-11-28 10:06:16 +00:00
Sage Abdullah
e74703d9ab
Remove duplicate entry in CONTRIBUTORS
...
We already credited Bartosz under the name "Bart Cieliński" as per the
GitHub profile.
2024-11-28 09:56:59 +00:00
Bartosz Cieliński
5815a7e1ef
Ensure Draftail features wrap in case there is a lot of added features
2024-11-28 08:11:12 +10:00
Strapchay
b3ba89b2ec
Fix commenting not working on pages with read_only FieldPanels
...
Fixes #11838
2024-11-28 07:12:54 +10:00
ankit02327
79c9ce266c
Update community guidelines link in first contribution guide
2024-11-28 06:55:39 +10:00
LB
c416cfb7d6
Fix minor typos
...
Update to US spelling
2024-11-27 15:33:59 +00:00
LB
f5a08646c9
Add changelog for #12579
2024-11-27 20:34:42 +10:00
Sage Abdullah
94de52e912
Avoid loading icons sprite in preview error page
2024-11-27 20:34:42 +10:00
Sage Abdullah
6ec4dafc6a
Avoid loading default radio input icon for preview size buttons
2024-11-27 20:34:42 +10:00
Matt Westcott
836b8138d3
Prevent generic model edit view from unquoting non-integer primary keys multiple times
...
Fixes #12599
2024-11-27 20:11:52 +10:00
Srishti-j18
ffe294bc7b
Added unit tests, storybook & JSDoc items for DrilldownController
...
Fixes #12511
2024-11-27 19:29:10 +10:00
Matt Westcott
8026108fa4
Update Noah van der Meer's name in contributors
2024-11-26 15:39:26 +00:00
LB
dddac974d2
Add changelog #12535
2024-11-26 08:23:33 +10:00
Aayushman Singh
712374072d
Update AdminTagWidget to use delay for debouncing autocomplete
...
- Fixes #12415
- See also #12564
2024-11-26 08:23:33 +10:00
Aayushman Singh
62109ba75e
Update TagController to support debounced tag async autocomplete
2024-11-26 08:23:33 +10:00
joelwilliam2005
dd4b40d467
Show the correct privacy status in the sidebar when creating a new page
...
Fixes #12277
2024-11-26 07:47:21 +10:00
Clifford Gama
7566fb84e0
Docs: Use sentence case for titles in pages/theory.md
2024-11-26 06:46:21 +10:00