Wykres commitów

17127 Commity (068c3f296470cfa73ef093743d6205697990bc5e)

Autor SHA1 Wiadomość Data
Matt Westcott abde315c0b Update deployment docs to cover XSS risks 2024-03-07 12:19:22 +00:00
Sage Abdullah c741351635
Release note for #11485 2024-03-07 09:58:28 +00:00
Matt Westcott b05c50b3f5
Add reference docs for PageListingViewSet 2024-03-07 09:57:11 +00:00
Matt Westcott f67b68d8ed
Use double quotes in
Co-authored-by: sag​e <laymonage@gmail.com>
2024-03-07 09:57:10 +00:00
Matt Westcott 16c23ba401
Make ExplorableIndexView.columns neater with classproperty 2024-03-07 09:57:10 +00:00
Matt Westcott 24c984192e
Add documentation for custom page listings via PageListingViewSet 2024-03-07 09:57:10 +00:00
Matt Westcott 2eab0b171d
Remove duplication between explorable_index.html and index.html 2024-03-07 09:57:10 +00:00
Matt Westcott 0bd8c90713
Add tests for custom page listings 2024-03-07 09:57:10 +00:00
Matt Westcott fcf1a67f1e
Leave out the page type filter from flat page listings by default 2024-03-07 09:57:09 +00:00
Matt Westcott 3c59309932
Leave out the page type column from flat page listings by default 2024-03-07 09:57:09 +00:00
Matt Westcott af8330d087
Add page model name as page title for flat page listings 2024-03-07 09:57:09 +00:00
Matt Westcott 1efe424b93
Don't show the whole tree / parent toggle for flat page listings 2024-03-07 09:57:09 +00:00
Matt Westcott c1ec2c495a
Allow filterset_class to be overridden from PageListingViewSet 2024-03-07 09:57:09 +00:00
Matt Westcott 395f093dbe
Allow columns to be specified from PageListingViewSet 2024-03-07 09:57:08 +00:00
Matt Westcott 8c27c3a271
Allow specifying page model from PageListingViewSet 2024-03-07 09:57:08 +00:00
Matt Westcott 9cc96f1435
Make LocaleMixin.locale and translations into cached properties
This avoids situations where the corresponding `get_*` functions cannot be evaluated during `setup()` because they depend on information received later (e.g. `parent_page` in the case of the page listing view)
2024-03-07 09:57:08 +00:00
Matt Westcott 72d9b13ddc
Add a PageListingViewset for flat listings of pages, and a corresponding template 2024-03-07 09:57:08 +00:00
Matt Westcott 98d23e1bbf
Rename pages/index.html to pages/explorable_index.html 2024-03-07 09:57:08 +00:00
Matt Westcott a2defceff8
Split parent page / navigation logic from IndexView into ExplorableIndexView 2024-03-07 09:57:07 +00:00
Matt Westcott 7b88b6bc0c
Add class variables for index_url_name and index_results_url_name 2024-03-07 09:57:07 +00:00
Karthik Ayangar 00474a6152 fix: MutationObserver in dirty form check only tests direct descendants
Fixes #11142
2024-03-07 08:09:37 +10:00
LB Johnston caf9142c5d Ensure unit tests for preview links are more robust
- The word "Preview" can exist in multiple locations, especially for new code
- Instead of checking the word preview exists or does not exist, use Soup to check for the link specifically
2024-03-05 10:52:32 +00:00
LB Johnston 269a0e4d90 Ensure that tests checking for th/td scope the checks to specific tables 2024-03-05 10:51:36 +00:00
Sage Abdullah 049e7dad54 Use ad-hoc styles for generic create/edit form heading instead of using w-header's 2024-03-05 09:56:47 +00:00
Sage Abdullah 6c0e638c9a Restore icon in views that use slim_header.html
Previously removed in 8a7dd1f5a1 and
663f9603ca
2024-03-05 09:56:47 +00:00
Sage Abdullah 24deedea78 Add icon support to generic breadcrumbs template tag 2024-03-05 09:56:47 +00:00
Sage Abdullah 2f5565a996 Enable w-swap's reflection in active_filters.html
Missed this in 88bdd397cf
2024-03-05 09:56:47 +00:00
Mark Niehues c580342a95 Fix date formatting in form builder email content
Ensure that the date_format util correctly gets passed a format reference, not the resolved format.
Fixes #11696
2024-03-05 18:33:14 +10:00
Sage Abdullah 28f42bd6a6 Update changelog for backport 6.0.* fix (#11708) 2024-03-05 18:12:16 +10:00
Sage Abdullah a106a3e805 Remove extraneous padding in chooser modal listings
Fixes #11704
2024-03-05 18:09:16 +10:00
LB Johnston a7a09f7348 Add Changelog for #11660 (6.0.2)
# Conflicts:
#	CHANGELOG.txt
#	docs/releases/6.1.md
2024-03-05 07:53:31 +10:00
LB Johnston 9d269e4b92 Add Changelog for #11660 (6.0) 2024-03-05 07:47:11 +10:00
Sage Abdullah 26c60a2238 Bump sphinx-wagtail-theme to 6.3.0 2024-03-05 07:47:11 +10:00
Sage Abdullah 6012e4e9d2 Add --jobs auto to build docs in parallel 2024-03-05 07:47:11 +10:00
Sage Abdullah 8cf301ee5d Fix 'make livehtml' command for building docs 2024-03-05 07:47:11 +10:00
Maranda Provance e190a434e9
Update 5.0.md to include installed apps for Query change (#11718)
* Update 5.0.md to include installed apps for Query change
2024-03-05 07:45:12 +10:00
Sage Abdullah e04a06cba3
Release note for #11661 2024-03-01 14:11:50 +00:00
Sage Abdullah 412877a581
Do not render add link in search promotions index view if user has no permission 2024-03-01 14:09:01 +00:00
Sage Abdullah 93c4a89b33
Reinstate default_ordering to search promotions IndexView 2024-03-01 14:09:01 +00:00
Rohit Sharma 1a7230ea21
Remplement searchpromotions index view with generic IndexView 2024-03-01 14:09:01 +00:00
Sage Abdullah 6045093648
Add test for number of queries to load the search promotions index view 2024-03-01 14:06:11 +00:00
Matt Westcott d1e09913b8 More detailed release note about move of Query model
As per https://github.com/wagtail/wagtail/issues/11690#issuecomment-1972969215 - many developers have overlooked the requirement to add `wagtail.contrib.search_promotions` to INSTALLED_APPS.
2024-03-01 13:17:18 +00:00
LB Johnston 07d6acfb52
Fix - Ensure that modal tabs width are not impacted by side panel opening
Regression from #11150
2024-02-29 11:37:53 +00:00
LB Johnston 96ae004ce7 Add changelog for #11695
Fixes #11644
2024-02-29 08:15:15 +10:00
Chiemezuo c7018f3279 Remove the usage of inline scripts to init Draftail widget
- Instead use the `w-init` controller and dispatch a custom event with the detail on the input
- Keep the rich_text_area.html template so that any customisations overriding this will not cause issues
- Fixes #11644
2024-02-29 08:15:15 +10:00
Chiemezuo 9ae45aab50 Add ability for Draftail to be initialized via a dispatched CustomEvent 2024-02-29 08:15:15 +10:00
Chiemezuo 514a0aab9f Update InitController to support dispatching detail
- Update JSDoc throughout controller for better internal documentation
- Ensure we 'clean up' the other controller attributes when the init has completed
- Allow for the ready event to have the preventDefault called and stop other events from dispatching
- Add unit tests to support the above changes
2024-02-29 08:15:15 +10:00
LB Johnston 0e9bdca5b1 Fix up unit test for #11620
Instead of rendering the 'value' via provided links, simply check that the URLs are resolved in the 'options'
Otherwise we are not testing the correct HTML data
2024-02-29 08:15:15 +10:00
LB Johnston 287e5f9ded Fix contributor name #11694 2024-02-29 08:01:10 +10:00
Tibor Leupold d26b2ced77 Update template components & Laces references
- Turn laces reference into link to package in the release notes
- This is so that interested parties have an easy path to find more information about the library.
- Add note referencing that implementation are now found in Laces
- Add note about components not being limited to the admin
2024-02-29 07:50:46 +10:00