Thibaud Colas
b7d2618d93
Remove Safari 14 support in Wagtail admin – update browserslist and TypeScript ( #11258 )
...
Co-authored-by: Sage Abdullah <sage.abdullah@torchbox.com>
2023-12-12 10:54:41 +00:00
Tibor Leupold
10c1e12285
Replace template components with standalone `laces` library ( #11292 )
...
Fixes #11105
2023-12-11 14:35:36 +00:00
Matt Westcott
cce05fb1a3
Release note for #11289
2023-12-11 09:11:47 +00:00
Sage Abdullah
3dd32a2e52
Create separate block for bulk actions in generic listing template
2023-12-11 09:09:36 +00:00
Sage Abdullah
52f22ff34f
Add tests for customising PagePermissionTester.can_view_revisions
2023-12-11 09:09:36 +00:00
Sage Abdullah
285e8c109a
Add tests for ensuring history URL is shown correctly on page views
...
Not adding a test for a page with custom PagePermissionTester just yet,
as we're still planning to refine the permissions system.
2023-12-11 09:09:36 +00:00
Sage Abdullah
adc6fef1cf
Reuse slim_header.html's actions block in page_edit_header.html
...
Reduce template overrides and make it more consistent with the page
listing header, including using
PagePermissionTester.can_view_revisions() when rendering the link.
When the history button is turned into a proper side panel, we can
refactor this further.
2023-12-11 09:09:36 +00:00
Sage Abdullah
cd12a8404f
Consistently use PagePermissionTester.can_view_revisions() for history links in page listing
2023-12-11 09:09:36 +00:00
Sage Abdullah
47fe8754fa
Reuse slim_header.html's actions block in page_listing_header.html
...
The is_root check for the side panels is moved to the view code. For the
"Live" link, the check is already covered by the
page_status_tag_new.html template that checks for page.live and
page.url.
2023-12-11 09:09:36 +00:00
Sage Abdullah
a81c957a15
Override specific blocks in page index template
2023-12-11 09:09:36 +00:00
Sage Abdullah
3d9325c4eb
Move page listing title to be defined using get_page_title in the view
...
Reduces custom template code and aligns with other views that extend WagtailAdminTemplateMixin
2023-12-11 09:09:36 +00:00
Sage Abdullah
00db61d4ea
Make page index template extend generic index template
...
This doesn't really change the rendered HTML as the content block is overridden
2023-12-11 09:09:36 +00:00
LB Johnston
0880078775
Add some recent third party tutorials (December 2023)
2023-12-08 08:01:09 +10:00
Sage Abdullah
71885be427
Fix incorrect heading for Django 5.0 support in release notes
2023-12-07 12:10:31 +00:00
zerolab
cba0c1d69f
Release notes for #11297
2023-12-07 11:34:10 +00:00
Sage Abdullah
868e155c74
Relax Django upper bound in install_requires to the next major version (6.0)
...
This allows the more "adventurous" to update their requirements so they
can install the next latest Django version (5.1 and 5.2) even if we
haven't officially supported it. As long as we're on top of Django's
updates, this should be OK for the duration of this Wagtail release's
active support period.
However, do not update the default project template's requirements yet,
since we don't want new projects to be installed with Django versions we
haven't officially supported.
2023-12-07 11:34:10 +00:00
zerolab
1be7fd5781
Formalise Django 5.0 support and drop Django < 4.2 support
...
Ref: https://docs.djangoproject.com/en/stable/releases/5.0/#third-party-library-support-for-older-version-of-django
2023-12-07 11:34:10 +00:00
Felipe Lobato
aa11418d23
Update docs to split out sh command in tutorial ( #11311 )
...
* Update create-footer_for_all_pages.md
* Update CONTRIBUTORS.md
2023-12-07 06:57:08 +10:00
Shlomo Markowitz
f9c7df49c8
Add support for modifying default page listing ordering
2023-12-07 06:50:38 +10:00
Sage Abdullah
477762b4da
Update latest.txt for 5.2.2
2023-12-06 17:27:59 +00:00
Sage Abdullah
59b76587df
Fill in release date for 5.2.2
2023-12-06 17:26:20 +00:00
Sage Abdullah
04b835e492
Fetch new translations from Transifex
2023-12-06 16:55:49 +00:00
Ben Morse
09d69d1667
Add `display inline-block` to the Comment Control's wrapped ToolbarButton
2023-12-06 15:50:03 +00:00
LB Johnston
53e0ca6a1b
Fix up 6.0 release notes docs reference
2023-12-06 18:10:52 +10:00
LB Johnston
c26dc2888e
Changelog for #11308 in 5.2.2
2023-12-06 08:09:56 +10:00
LB Johnston
6d6d6abba3
Changelog for #11308
2023-12-06 08:06:48 +10:00
Sage Abdullah
31ed0f1707
Make recommendations to add GenericRelation in snippets more explicit
2023-12-06 07:39:43 +10:00
Sage Abdullah
3e940a1e2b
Add more tests to ensure WorkflowState and Revision cascade on object delete
2023-12-06 07:39:43 +10:00
Sage Abdullah
cc00c6a8af
Reduce queries in WorkflowObjectsToModeratePanel by adding workflow_state to select_related
2023-12-06 07:39:43 +10:00
Sage Abdullah
aec21c20ba
Ensure workflow dashboard panels work when the page/snippet is missing
2023-12-06 07:39:43 +10:00
Tomasz Knapik
d367e2c9f0
Fix alias() not compatible with specific()
...
Fixes #11285
2023-12-06 07:39:28 +10:00
Chiemezuo
b7beb36df6
Ensure expanded side panel does not overlap form content for most viewports
...
- Set the side panel width custom property ('--side-panel-width') globally, not just on the form container.
- Use this custom property to determine the max width of the form content.
- Fixes #11038
2023-11-30 18:02:54 +10:00
Temidayo32
debc65680d
Add max tag length validation for multiple uploads (documents/images)
...
Fixes #11054
2023-11-30 07:59:12 +10:00
jadesola kareem
9338ccf974
Updated the performance.md database section
...
Provided more nuance about the recommended database
Closes #10949
2023-11-30 07:44:56 +10:00
Chiemezuo
e5afd52dc0
Fix issue aging pages report export if last_published_by is blank
...
Fixes #10821
2023-11-30 06:53:03 +10:00
Kalob Taulien
fa1d79a432
End tag typo fix
...
Documentation typo. ¯\_(ツ)_/¯
2023-11-30 06:52:28 +10:00
rohitsrma
1545501375
Resolve multiple errors when editing a Site to use an existing hostname and port
2023-11-29 14:49:42 +00:00
Thibaud Colas
49a2266920
Update create_portfolio_page.md
2023-11-28 15:58:48 +00:00
Sage Abdullah
daa00ece49
Use a single instance of PagePermissionPolicy in wagtail.permissions module
2023-11-28 12:02:37 +00:00
Sage Abdullah
389167770d
Release note for #10830
2023-11-28 09:33:28 +00:00
Sage Abdullah
336ec6ea10
Render form using top-level panel if available in generic CreateView/EditView templates
2023-11-28 09:26:33 +00:00
Sage Abdullah
b4881cad64
Move SnippetViewSet.get_edit_handler() to ModelViewSet
...
However, keep the logic for falling back to extracting panel definitions
from the model class as snippets-specific. ModelViewSets are likely used
with models that are more low-level and thus we want developers to
explicitly define the fields that are editable in the admin, just like
how Django's ModelForm works.
2023-11-28 09:26:33 +00:00
Sage Abdullah
0af4dd5fd9
Use <button> instead of <input> for submit buttons in generic create/edit views' templates
2023-11-28 09:26:32 +00:00
Jhonatan Lopes
678dd15852
Add page types report ( #10850 )
2023-11-27 16:37:55 +00:00
Matt Westcott
10f387aca0
Release note for #11262 in 5.2.2
2023-11-27 11:39:25 +00:00
LB Johnston
db00f05a47
Changelog for #11262
2023-11-27 11:39:23 +10:00
zerolab
e3bc95b8f9
Fix `get_valid_recipients` and `get_recipient_users` returning None
2023-11-27 11:39:23 +10:00
zerolab
5653b3fd01
Add failing tests (for missing user on Workflow actions)
2023-11-27 11:39:23 +10:00
Stefan Hammer
00422b5004
Add 5.2.2 changelog for results_template_name fix #11231
2023-11-27 11:27:11 +10:00
Stefan Hammer
721cf96b00
Fix snippets index.html to use results_template_name for results
...
Until now, if you've set an index_results_template_name or used the
namespaced template-lookup to override it, it was only used for the
ajax-results.
The include is now similar to wagtailadmin/generic/index.html.
2023-11-27 11:22:57 +10:00