Wykres commitów

18083 Commity (cda72797c5bd78e64908ff54e051ee99a75283c5)

Autor SHA1 Wiadomość Data
Matt Westcott cda72797c5
Correctly handle None values in ImageBlock.bulk_to_python (#12517) 2024-11-01 09:56:54 +00:00
Thibaud Colas d7ccda33f6
Update sphinx-wagtail-theme and search implementation (#12521) 2024-11-01 09:35:43 +00:00
LB 93384a062e Update CloneController - added/cleared events should not be cancelable
- While no code uses the event.preventDefault on these it's good practice to advise when cancelling will do nothing
2024-10-31 22:10:00 +10:00
LB b903b572d9 Update changelog for 6.3 cherry-pick #12490 #12506 #12507
Offline formats cherry-picked to 6.3 release
2024-10-31 08:12:48 +10:00
LB 9b4999ed9d Add changelog for #12507
Fixes #12484
2024-10-31 07:52:49 +10:00
Sage Abdullah 49a1e56d10 Replace Torchbox with 'Wagtail core team and contributors' in docs config 2024-10-31 07:52:49 +10:00
Sage Abdullah b6abec16d0 Add minimal epub metadata
Ref: 97a6a678c4/docs/conf.py (L380-L386)
2024-10-31 07:52:49 +10:00
Sage Abdullah 3802f8bf46 Fix remaining XHTML errors in docs to remove ePub build errors
Had to remove the <details> element for the section linking example in
the "Reference links" section.

This is because Sphinx/MyST renders a <section> element for each heading
and closes it when the next heading starts. If we create a heading
inside a <details> element, the <section> element will not be closed
until the next heading starts, which generates invalid HTML.
2024-10-31 07:52:49 +10:00
Sage Abdullah 78120671da Ensure docs template layout override is XHTML-compatible for ePub 2024-10-31 07:52:49 +10:00
Sage Abdullah 7955b815ce Fix HTML errors in wagtail_icons_table.txt 2024-10-31 07:52:49 +10:00
Sage Abdullah a2c8e2b26f Suppress unknown files warning when building the ePub docs 2024-10-30 14:29:22 +00:00
Joel William 7b2b44b541 Documentation - Configure RTD to build all offline formats
- https://docs.readthedocs.io/en/stable/config-file/v2.html#formats

Fixes #12484
2024-10-30 18:26:31 +10:00
Jake Howard f08a947f8e Bypass ALLOWED_HOSTS checks when resolving Site for request (#12129) 2024-10-29 19:41:23 +00:00
LB 3a5ae9c695 Docs - Ensure core models module level docstring does not appear in docs
Avoid the docstring being shared in the model reference documentation, this content is for core development only.
Update name of core modules.
2024-10-29 15:47:39 +00:00
LB b6b9c003ff Doc - Fix minor spelling inconsistency 2024-10-29 15:47:39 +00:00
Srishti-j18 fd9b1ca22b Docs - Update spelling to US customize variants
Fixes #12476
2024-10-29 18:47:43 +10:00
Storm B. Heg d404d37ba5 Extend Pillow version range to allow v11 (#12475) 2024-10-28 18:23:31 +00:00
LB a562d4db6a Docs - Align spelling of 'subpages' to be consistent with rest of docs 2024-10-28 08:34:59 +10:00
Srishti-j18 652de3fcb3 Documentation - Improve code highlighting & formatting for Python docstrings in core models 2024-10-28 08:34:38 +10:00
Matt Westcott 37d9d7eb06 Increase DATA_UPLOAD_MAX_NUMBER_FIELDS in project template & docs
Also recommend increasing this in the "Integrating into Django" docs.

Fixes #12452

- Don't use commas for thousand separator
- Co-authored-by: Jake Howard <RealOrangeOne@users.noreply.github.com>
2024-10-28 08:27:29 +10:00
Andy Babic e451bbd96a Support application of select_related and prefetch_related lookups to subqueries made by SpecificIterable
- Add queryset methods to reference docs, and provide performance considerations for prefetch_related()
2024-10-28 08:06:03 +10:00
fazledyn fde2e6f26a Close open files when reading within utils/setup.py 2024-10-28 08:04:52 +10:00
Stefan Hammer e7b4daaf32 Fix StreamValue._prefetch_blocks() to skip manually inserted items
Fixes #12320
2024-10-28 07:31:25 +10:00
LB 5477a872c7 Changelog for #11122 & #12418 2024-10-27 20:20:02 +10:00
Joel William 4a933df9fb Rich Text (Draftail) - Ensure SVG paths are correctly handled for custom features #12418
Ensure the documented support for providing an array of SVG paths to the 'icon' attribute when using `register_rich_text_features` is correctly supported.

Fixes #11777
Fixes #11051
Fixes #10319

See https://docs.wagtail.org/en/stable/extending/extending_draftail.html#creating-new-blocks
> It can also be an array of strings, to use SVG paths, or SVG symbol references for example 'icon': ['M100 100 H 900 V 900 H 100 Z'],. The paths need to be set for a 1024x1024 viewbox.
2024-10-27 20:20:02 +10:00
Temidayo32 c611dd4056 Ensure the Icon react component can support custom icon paths #11122
- When provided with children (e.g. custom paths), render these instead of the `use` symbol reference
- Allow any valid SVG attribute to be passed to the component to render on the `svg` element
- Clean up rendering of className to avoid extra whitespace
- Clean up ordering of the props to be alphabetically sorted
- Update unit tests to be focused more on testing and less on snapshots
2024-10-27 20:20:02 +10:00
Srishti-j18 d2f476c050 Documentation - Update page titles to align with Style Guide
- Use sentence case for headings and titles. (as per the Google Developer Documentation Style Guide)
- Fixes #12466
2024-10-27 15:27:03 +10:00
Thibaud Colas b970f635e3 Update developer documentation screenshots for Wagtail 6.3 2024-10-26 01:50:46 +01:00
Thibaud Colas 987bd2a054 Update documentation colors based on latest color theming for more-contrast 2024-10-25 17:11:38 +01:00
LB (Ben Johnston) 61fe21af16
Documentation - Add recent third party tutorials (#12442)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-10-25 13:50:50 +01:00
activus-d 97a1f5aabd Documentation - Improve project template (wagtail start) & add to management commands reference
Fixes #11938

* Add `wagtail start` to the management commands reference
* Add detail on how to creating templates with the need to escape template syntax by using the verbatim tag
2024-10-25 21:15:30 +10:00
LB fa81e2dbbe Docs - update spelling to US 'customizations' 2024-10-25 21:14:52 +10:00
LB bd2a035439 Remove duplicate contributor name 2024-10-25 21:14:52 +10:00
Alessandro Chitarrini b9e13077bb Documentation - Refine the adding reports page
- Move all generic (page/non-page) class references to the top of the documentation
- Use better heading level nesting cleanly isolate the full page report example
- Relates to #12428
2024-10-25 20:40:02 +10:00
LB d5b56e00f6 Add changelog entry for docs changes #12437
Fixes #12435
2024-10-25 20:30:12 +10:00
Srishti-j18 2d644dd8e2 Documentation - Move tags out from pages model recipes to a standalone advanced topic 2024-10-25 20:30:12 +10:00
Srishti-j18 f588fcf249 Documentation - Reposition model & panel references
- Move model reference to directly under the references section, not the reference/pages section
- Move panel reference to directly under the references section, not the reference/pages section
- Merge panel API with panels reference pages
- Fix confusing heading levels in the page model recipes page
- Fix title in model reference to align with docs style guide
- Adopt US spelling for customize (panels) reference key
2024-10-25 20:30:12 +10:00
Thibaud Colas 25de8011d5 Release notes for #12460 2024-10-24 12:14:09 +01:00
Alex Morega e4e94a5640
Replace X links with Mastodon (#12460)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-10-24 12:09:59 +01:00
LB c0b2977647 Add links to 6.3 release notes documentation items 2024-10-24 11:51:15 +01:00
LB d459bdb5dc Clean up whitespace items in documentation markdown 2024-10-24 11:51:15 +01:00
Thibaud Colas 46d2e44cd1 Release notes for #12393 2024-10-24 10:18:19 +01:00
Thibaud Colas b680536286 Add release note template for 5.2.7 2024-10-24 09:57:11 +01:00
Thibaud Colas 3895136fd0 Add release note template for 6.2.3 2024-10-24 09:53:53 +01:00
sag​e 3f6cd8c18f
Fix font size for custom listing button styles (#12456) 2024-10-24 09:33:28 +01:00
Matt Westcott e9af16b48d Improve i18n of success message for bulk page actions (#12453)
Previously, translations for messages such as "1 page and 3 child pages have been published" were handled with separate branches for the "one parent page" vs "multiple parent pages" cases, to work around ngettext only being able to handle pluralisation for one item in the string. This fails for languages such as Polish where the pluralisation does not follow the straightforward one/many distinction.

Instead, we can translate "N pages" and "N child pages" separately before forming the final message. We generally avoid translating sentence fragments in isolation as this can make things difficult for translators if the sentence structure does not match the English version - but this is hopefully an improvement over the current situation, as well as simplifying the code and reducing repetition.
2024-10-23 15:54:11 +01:00
Matt Westcott 34cbec36b2 Start new release notes sections for 6.4 2024-10-23 16:45:46 +10:00
Matt Westcott bff75a2d08 Version bump to start work on 6.4 2024-10-23 16:45:46 +10:00
Matt Westcott bbb50459c9 Remove versionadded / versionchanged notes for 6.2
However, leave behind notes that mark settings/features that are deprecated but not yet removed, as this would be removing information that isn't in the main body of the text (and moving it out of a versionchanged note would make it harder to find when we come to remove it properly in 7.0).
2024-10-23 16:45:46 +10:00
Matt Westcott 4d31bd0a29 Add clarification on using versionadded / versionchanged directives 2024-10-22 22:13:36 +01:00