Adrien Hamraoui
58ebfe1fb1
fix: InlinePanel - take 1st child when configuring up and down js events
...
Issue was appearing when there was nested inline panels.
currentChild. find would match the parent up/down button
but also all the ones of the nested inline panels
Fixes #5919
2024-02-13 07:45:06 +10:00
Buraah
bfa29201c3
Docs - Page names & reference section - Update British spelling to American
...
- Changed all British spellings to American spellings, in the Customizing admin templates section of the docs
- Transferred all British spellings in the usage guide and advanced topics section to American spellings
- Update a series of other pages to use the spelling cutomize in the file name
Implemented all feedbacks on the usage guide and advanced topics section
2024-02-12 08:44:19 +10:00
LB Johnston
d00137b2cd
Wagtail admin skeleton - use classnames template tag
2024-02-12 08:10:57 +10:00
LB Johnston
f65fc66ff9
Add changelog for #10906
2024-02-12 08:03:45 +10:00
LB Johnston
8bc9eb4b4d
Adopt improved classnames template tag for nested arrays
2024-02-12 08:03:45 +10:00
LB Johnston
243b126811
Add support for nested arrays in classnames
template tag
2024-02-12 08:03:45 +10:00
Salvo Polizzi
502dd7c723
feature: allow disabling of shared password usage
...
Closes #11536
2024-02-09 08:52:32 +10:00
arshyia3000
e97f3648c7
Fix incorrect function signature on register_snippet_action_menu_item
hook docs ( #11621 )
...
Added "model" argument to register_guacamole_menu_item of documentation
2024-02-08 15:56:40 +00:00
LB Johnston
d06b04c8bd
Update Eslint, Prettier, Stylelint packages & pre-commit versions
...
This un-reverts commit 99dd11510b
with fixes for Prettier mirror (it's rev must be 3.0.3 even if using a newer Prettier).
The original commit which was reverted is 5971ce7f3f
2024-02-08 15:23:48 +00:00
andredelorme
bf6bfa5af4
Update tutorial.md ( #11622 )
...
Removes mention of an error that don't occur, the template was created.
2024-02-08 15:06:21 +00:00
hossein
c384975147
Changed Workflow model to get inherited from AbstractWorkflow model
...
- Fixes #11538
2024-02-08 08:19:42 +10:00
Tibor Leupold
50b70219d9
Make sure the settings panel is listed in tabbed interface examples
2024-02-08 07:53:28 +10:00
LB Johnston
510237dd29
Fix minor typo (6.0 release notes) in WidgetWithScript deprecation note
2024-02-08 07:37:27 +10:00
LB Johnston
d5385033fc
Fix closing button tag for promotion banner
...
See #11554
2024-02-08 07:37:01 +10:00
Jhonatan Lopes
025249aab7
Handle date objects on human_readable_date template tag ( #11599 )
...
Fixes #11598
2024-02-07 17:14:55 +00:00
Matt Westcott
99dd11510b
Revert "Update Eslint, Prettier, Stylelint packages & pre-commit versions"
...
This reverts commit 5971ce7f3f
.
2024-02-07 17:12:56 +00:00
LB Johnston
5971ce7f3f
Update Eslint, Prettier, Stylelint packages & pre-commit versions
2024-02-07 16:07:50 +00:00
Ankur Raiyani
6fcf52808b
Corrected spelling of loaded tag 'wagtailimages_tags' ( #11610 )
...
Corrected spelling in getting started documentation.
From 'wagtailimages_tag' to 'wagtailimages_tags'
2024-02-07 15:34:35 +00:00
Matt Westcott
8151f9f704
Update latest.txt for Wagtail 6.0
2024-02-07 13:44:14 +00:00
Matt Westcott
e7b80ee690
Fill in release date for 6.0
2024-02-07 12:51:32 +00:00
Matt Westcott
7c9c54a676
Fetch new translations from Transifex
2024-02-07 12:49:10 +00:00
Thibaud Colas
fc3f945781
Styling fixes for universal listings ( #11608 )
2024-02-07 10:44:56 +00:00
Thibaud Colas
5b91a982cf
Remove tutorial feedback form ahead of 6.0 release
2024-02-07 09:30:40 +00:00
Thibaud Colas
a38a74e472
Fix typo in v6.0 release notes
2024-02-07 09:30:40 +00:00
Thibaud Colas
e81331ab99
Update documentation screenshots for v6.0
2024-02-07 09:30:40 +00:00
Sage Abdullah
b4dc9f58c1
Limit locale filter to only show the available locales
2024-02-06 18:42:03 +00:00
Matt Westcott
399e09378a
Document the Wagtail 6 pypi classifier
...
Added in https://github.com/pypa/trove-classifiers/pull/169
2024-02-06 17:27:52 +00:00
Sage Abdullah
548e8dfac2
Release note for #11591
2024-02-06 12:33:27 +00:00
Sage Abdullah
6766f3f75e
Fix crash when accessing workflow reports with a deleted snippet
...
This can happen if the model does not define GenericRelations correctly
2024-02-06 12:30:37 +00:00
Sage Abdullah
6906be6d4c
Reduce queries in workflow reports
2024-02-06 12:30:37 +00:00
Matt Westcott
f32c321cdd
fix spacing
2024-02-05 15:23:19 +00:00
Jake Howard
a204baddc0
Add support for ico files
2024-02-05 15:23:08 +00:00
Matt Westcott
05f94f1076
Release note for #11579 in 6.0
2024-02-05 14:02:16 +00:00
Matt Westcott
fa6f8ac474
Fix pagination links on history and usage views
...
Fixes #11569
Override `get_index_url` to point to the listing's own URL, so that BaseListingView uses this to generate pagination links.
2024-02-05 14:00:47 +00:00
advik
0294dd1dd1
Changed Button to Link, and removed unnecessary props
...
- React Button was only ever used to render a link (a element)
- This creates a potential accessibility issue if developers want to render a button, it's confusing and incorrect
- Additionally, the unused prop (dialogTrigger) & aria-haspopup is non-compliant and has been removed
2024-02-05 20:07:40 +10:00
mirusu400
824273772d
Use reference for compatible Python versions in tutorial
...
Reference supported versions as it was not in sync with official versions (did not include python 3.12).
2024-02-05 19:29:28 +10:00
LB Johnston
825f2829a1
Update Eslint rules - remove items no longer required
2024-02-03 10:29:04 +10:00
Sage Abdullah
77c9a3a7c2
Enforce page_breadcrumbs to be expanded when there is only one item
...
Rather than special-casing whether the page is root or not, just check
if there is only one item. If that's the case, then the user is
exploring the "explorable root instance", which may be the root Page
instance or the closest common ancestor where the user has permission.
In this case, we don't want to show the breadcrumbs toggle/expand button
(it's always expanded).
This also removes the incorrectly extraneous right arrow when exploring
the root instance.
2024-02-02 21:38:42 +00:00
Matt Westcott
1357ea8de7
Don't hide breadcrumb root page for users with limited tree visibility
...
Fixes #11451
Remove the special case for when the first item in the breadcrumb is something other than the site root. This special-casing had two effects, neither of which was actually desirable:
* It replaced the displayed page title with 'Root' (which is undesirable because the page in question is often one that the user can edit, and therefore they ought to be able to see what it is
* It took precedence over the styling for the _last_ item in the breadcrumb, which should be always visible rather than on-hover
2024-02-02 21:38:42 +00:00
Karthik Ayangar
41d40f5c37
Adjust Eslint rules for TypeScript files (no-shadow)
...
Signed-off-by: Karthik Ayangar <karthik.ayangar7118@gmail.com>
2024-02-03 07:35:09 +10:00
LB Johnston
96367e00cf
Changelog for #11578
2024-02-03 07:19:30 +10:00
Matt Westcott
4d4ebd841d
Fix TestForMigrations to catch missing migrations on core app
...
The core app is now named `wagtail`, which means that the old test of `app.name.startswith("wagtail.")` causes it to be left off the list.
2024-02-03 07:18:04 +10:00
LB Johnston
1616b53db4
Add missing migration for privacy field re-order #11546
2024-02-02 12:35:37 +00:00
Jake Howard
8b914f4448
Use _raw_delete when purging search index ( #11565 )
...
This not only improves performance, but also reduces memory usage
2024-02-02 11:30:27 +00:00
Jake Howard
d49f6b0749
Reduce memory usage when rebuilding search index
...
Fixes #11413
2024-02-02 11:29:14 +00:00
Matt Westcott
e15866663c
Release note for #11553
2024-02-01 16:44:34 +00:00
Sage Abdullah
ec37d7e708
Update docs to use new STORAGES setting
2024-02-01 16:41:55 +00:00
Sage Abdullah
6604051b6c
Remove override_settings shim for overriding storage settings
2024-02-01 16:41:55 +00:00
Sage Abdullah
6a170bb30a
Update Python contributing guidelines
2024-02-01 16:41:55 +00:00
Sage Abdullah
f92b51e0de
Remove code for Django < 4.2
2024-02-01 16:41:55 +00:00