Wykres commitów

16960 Commity (c4f953e90fa2949bb399dbaeb0dc6d4dd5cd8d7a)

Autor SHA1 Wiadomość Data
Curtis Maloney 399aad2ce7
Fix documentation - TableBlock example (#11502)
Add missing comma in `contextMenu` configuration.
2024-01-22 16:29:06 +10:00
Jake Howard 8fcf6ec1e9 Use `FileResponse` when serving files
- Ensure text documents are binary
- Django internally will deadlock if the file sent isn't bytes
- Remove unnecessary open call
2024-01-22 08:06:34 +10:00
Matt Westcott 5b1ab02be5 Document MIT licensing terms for handsontable 6.2.2
Ref: #11497
People regularly raise concerns about handsontable as a commercial product being incompatible with Wagtail's licence. Clarify that we are using the last version available under the MIT licence, and link to the relevant git tag to allow people to verify this (since the handsontable website no longer mentions the open-source version, and is probably a vastly different product at this point).
2024-01-21 14:41:46 +00:00
LB Johnston b41e196489 Formatting documentation for whitespace fixes
Also include actual footnote reference for upgrading patch release note
2024-01-21 19:59:57 +10:00
LB Johnston bbcf1e74ee Add changelog & a few fixes for #11194
Partially reverts commit 7fa335c20d (fixing some issues with the URL updates)
2024-01-21 18:55:43 +10:00
LB Johnston 24725fe681 Add documentation guidelines section for external (Django) links 2024-01-21 10:09:21 +10:00
Neeraj P Yetheendran 7fa335c20d Update Django intersphinx references to new format 2024-01-21 10:09:21 +10:00
Neeraj P Yetheendran ecc1194f61 Add myst_url_schemes config for external links 2024-01-21 10:09:21 +10:00
Neeraj P Yetheendran d0f5c4fa7e Upgrade myst_parser to 2.0.0 2024-01-21 10:09:21 +10:00
Alex Tomkins f73ae8db90 Raise 404 with bulk actions for models which don't exist
Fixes #11491
2024-01-21 08:16:48 +10:00
Rohit Sharma 80f433143d Migrate Image URL generator views to class based views
- Relates to #8365 (class based views migration)
2024-01-20 22:12:57 +10:00
nandini584 c99c74cc7e Ensure panel anchor sizes meet minimum accessible size
Fixes #11411
2024-01-20 22:01:59 +10:00
Matt Westcott 33e4e1a136 Update docs on get_language_info tag
Prompted by https://stackoverflow.com/q/77646918/1853523 - link to the docs for the tag rather than the function, and include the `{% load i18n %}` line.
2024-01-20 21:48:26 +10:00
Rohitansh cb90ffeaf3 Ensure a visual only th element gets ignored by accessibility tooling
Empty table header found in the 'Your locked pages' dashboard section
Fixes #11459
2024-01-20 21:46:21 +10:00
LB Johnston b710044f29 Add changelog for #11137 & #11490 2024-01-20 21:38:03 +10:00
Rohit Sharma d3baed615c Add unit tests for fixing broken checkboxes in MultipleChooserPanel
Fixes #11134
2024-01-20 21:38:03 +10:00
sankalp 90c638ff42 Ensure unlocalize is used for multiple chooser checkboxes
Fixes #11134
2024-01-20 21:38:03 +10:00
LB Johnston fbe585184f Add changelog for #11468 & #11471 2024-01-20 21:22:02 +10:00
Jaivignesh-afk 95ee796a0f Remove unused variables & mixins + update *-padding to rem
- Fixes #11458
2024-01-20 21:22:02 +10:00
nandini584 65f8a84cee Clean up sass variable usage
- updated the font to its direct use theme and removed -title-height
- removed the 1-time used scss variables and updated directly in the files
- Fixes #11458
2024-01-20 21:22:02 +10:00
LB Johnston d7e52d1498 Add unit tests & small fixes to OrderableController
- Fix edge case where keyboard ordering and then drag drop ordering could get out of sync
- Ensure the sortable instance is cleaned up if the controller gets removed
- Relates to PR #11250 & Issue #10909
2024-01-20 10:05:21 +10:00
Sage Abdullah 5ae7b07eb8 Rename users results.html template to index_results.html for consistency 2024-01-19 21:31:42 +00:00
Sage Abdullah d85e1b81bc Make users results.html template extend generic index_results.html
Keep the users-specific no_results_message block for better translation context
2024-01-19 21:31:42 +00:00
Sage Abdullah b2453ae42c Move before_results block to outside object_list check
This allows showing the active filters when there are no results.

Also remove redundant search_other placements now that the
before_results block is always rendered even when there are no results.
2024-01-19 21:31:42 +00:00
Aman Pandey ef9375c475
Fix: Remove blur action from orderable controller (#11476)
* remove blur action from orderable controller as it will update whenever any move is made
* change aria description for instructions
2024-01-19 22:25:17 +10:00
Matt Westcott bb2658f6a3 Add 'edited by' filter 2024-01-19 11:55:10 +00:00
Matt Westcott 6e932089b9 Release note for #11472 2024-01-19 11:53:15 +00:00
Matt Westcott 42b8c32176 Tweak aging pages report test to not rely on filtering by content_type=Page 2024-01-19 11:46:04 +00:00
Matt Westcott 2f22ab3a53 Allow the return value of get_page_models to be mutated 🤦 2024-01-19 11:46:04 +00:00
Matt Westcott b4e219c02d Exclude 'Page' from the page types filter
Add a new get_page_content_types helper function to wagtail.models that's more robust than the old version used here and on the aging_pages report - querying ContentType on the 'model' field (i.e. the model name) may return models from other apps that just happen to share the same name.
2024-01-19 11:46:03 +00:00
Curtis Maloney 5c412d45c9
Update table_block.md (#11474)
* Correct `mergeCells` option.
2024-01-19 11:37:57 +10:00
LB Johnston 18a1101656 Add changelog for #11250 (w-orderable) 2024-01-19 08:48:48 +10:00
Aman Pandey 735aaa95bf Adopt w-orderable for page order drag & drop/move
- Fixes #10909
2024-01-19 08:48:48 +10:00
Aman Pandey bf3e317a48 Migrate jQuery re-ordering to Stimulus controller w-orderable
- Install and use Sortable.js and not a jQuery plugin
- Set up new controller OrderableController / w-orderable
2024-01-19 08:48:48 +10:00
LB Johnston e25ba7b228 Update semver & yaml packages
- Reduce Node package security warnings from 9 to 7
2024-01-19 08:33:57 +10:00
Sage Abdullah 6a22f543fa
Add missing period in translation file
Missed this when rebasing #11444
2024-01-18 16:07:14 +00:00
Sage Abdullah 66bd5fbc93
Release note for #11444 2024-01-18 16:00:22 +00:00
Sage Abdullah 092c9967ac
Include 'There are no ... to display' in translatable block with add_url 2024-01-18 15:57:46 +00:00
Sage Abdullah 407c0140e1
Manually update translation files to reflect added period in no_results_message 2024-01-18 15:57:46 +00:00
Sage Abdullah 6a99689443
Add test to ensure no add snippet links are shown for users with no add permission 2024-01-18 15:57:46 +00:00
Sage Abdullah fcbd2e1a42
Reinstate 'Why not add one?' link in generic index_results.html 2024-01-18 15:57:45 +00:00
Sage Abdullah aa44168fa9
Create add_url as cached property in generic IndexView and CreateView 2024-01-18 15:57:45 +00:00
Sage Abdullah e4d0a3879d
Check for add permission in IndexView.get_add_url()
Not adding this to the CreateView, as the view won't be accessible in
the first place if permission_policy is set, because the view already
has permission_required = "add"
2024-01-18 15:57:45 +00:00
Sage Abdullah 2e13f298ea
Change snippets usage and history templates to extend from generic/listing.html template
Per 60f371fae9 and e3bf15d2ca

Keep the files in case people extend from this template instead of the
generic one.

Unfortunately we can't make the results template extend from
listing_results.html template instead, as that template does not support
showing the active filters yet.

Also instead of overriding no_results_message block completely, provide
model_opts using the BaseLogEntry model, so that the message shows up as
"No log entries match your query" when filtering and "There are no log
entries to display" when not.
2024-01-18 15:57:45 +00:00
Sage Abdullah 20db4bd35d
Use generic error_message and success_message in snippets views 2024-01-18 15:57:45 +00:00
Sage Abdullah d8f92378c6
Add default success_message and error_message to generic Create/Edit views 2024-01-18 15:57:45 +00:00
Sage Abdullah 8219314d92
Simplify snippets DeleteView to make better use of the generic DeleteView 2024-01-18 15:57:44 +00:00
Sage Abdullah 663f9603ca
Simplify snippets EditView to make better use of the generic EditView 2024-01-18 15:57:44 +00:00
Sage Abdullah dae20c2038
Add status side panel to generic CreateView and simplify snippets CreateView 2024-01-18 15:57:44 +00:00
Sage Abdullah 47d6a8e01f
Move snippets views' url name attributes to the optional features mixin and remove unnecessary attribute overrides 2024-01-18 15:57:44 +00:00