Wykres commitów

18290 Commity (d42af56220f2bb56e1a742e6bb41e4baec7bf2b8)

Autor SHA1 Wiadomość Data
LB d42af56220 Create `transition` util to resolve a promise when an animation ends 2024-12-10 01:42:32 +00:00
Sage Abdullah 4760509d65
Release note for #12681 2024-12-09 11:06:26 +00:00
Sage Abdullah c7700feae2
Use built-in venv instead of pipenv in CircleCI 2024-12-09 10:38:44 +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
Matt Westcott 94d3557cea Release note for #12614 2024-12-06 19:58:16 +00:00
Sage Abdullah 5f3235fa4f Add permission tests for search promotions views
This ensures we don't miss adding permission_policy to the views
2024-12-06 19:56:10 +00:00
Sage Abdullah 4bbd26d5a4 Refactor search_promotions delete view to extend generic DeleteView 2024-12-06 19:56:10 +00:00
Sage Abdullah 0d7ea86b2d Unify more code into SearchPromotionCreateEditMixin 2024-12-06 19:56:10 +00:00
Sage Abdullah 5e88817d2e Extract more common code into SearchPromotionCreateEditMixin 2024-12-06 19:56:10 +00:00
Sage Abdullah d811066a5b Refactor save_searchpicks into a view mixin method 2024-12-06 19:56:10 +00:00
Sage Abdullah 4e60e0a82b Make search promotions index view page_title consistent with the breadcrumbs item 2024-12-06 19:56:10 +00:00
Sage Abdullah 0c23ebed87 Refactor search_promotions edit view to extend generic EditView 2024-12-06 19:56:10 +00:00
Sage Abdullah 6db13fb704 Use breadcrumbs and simplify template overrides in search promotions CreateView 2024-12-06 19:56:10 +00:00
Sage Abdullah c498be3234 Reuse get_page_subtitle() for breadcrumbs label in CreateView 2024-12-06 19:56:10 +00:00
Sage Abdullah e9ffe38943 Ensure search promotions formset does not get reset if the query form is invalid 2024-12-06 19:56:10 +00:00
Sage Abdullah 93382d3f21 Ensure log entries are only created once for each search pick 2024-12-06 19:56:10 +00:00
Sage Abdullah 4ad08ddf6a Refactor search_promotions create view to extend generic CreateView 2024-12-06 19:56:10 +00:00
Sage Abdullah a506b7f0e2 Change QueryForm into a ModelForm subclass 2024-12-06 19:56:10 +00:00
Sage Abdullah e547f5e040 Add commented-out test to ensure search promotions formset does not get reset if the query form is invalid 2024-12-06 19:56:10 +00:00
Sage Abdullah 3d915733e6 Add test for creating multiple search picks at once
Also add commented-out assertions that log entries are only created
once for each search pick, which currently would fail due to a bug in
the implementation.
2024-12-06 19:56:10 +00:00
Sage Abdullah e79aed3616 Add test for adding promoted search results with an existing query_string 2024-12-06 19:56:10 +00:00
Sage Abdullah 63da8b2733 Improve form validation in search promotions form
Move the individual form validation to the SearchPromotionForm class
instead of the formset.

Do not assume external_link_url and the other fields are available in
cleaned_data, which can cause a crash if the input is invalid.

Attach validation errors to the most relevant section instead of bunging
everything as a non-field error.
2024-12-06 19:56:10 +00:00
Mauro Soche f177c02da8 Ensure the copy page form only allows choosing valid parents for the copy
Ensure the Page chooser disables the types of pages that do not follow the content hierarchy when trying to copy a page.

Fixes #11593
2024-12-06 15:07:32 +10:00
hsd2514 547e4d3731 Changing default value for Gravatar URL from ( mm -> mp )
- See https://docs.gravatar.com/api/avatars/images/#default-image
- Fixes #12658
2024-12-06 13:46:12 +10:00
Sage Abdullah 23275a4cef
Release note for #12643 2024-12-04 10:56:03 +00:00
Matt Westcott 8cdeb23a43
Preserve URL parameters on parent link in page chooser search results
Fixes #11955
2024-12-04 10:48:46 +00:00
Matt Westcott 28cde800d9
Correctly initialize page chooser search results for multiple selection 2024-12-04 10:48:46 +00:00
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