Wykres commitów

18102 Commity (7f6e7d4062ad13a29da5f20d963f35076909678f)

Autor SHA1 Wiadomość Data
Aayushman Singh 7f6e7d4062 Docs - Improve hooks & extending pages with CSP compliant examples
- Avoid `mark_safe` and use `format_html` where possible
- Avoid inline scripts, instead ensure the example shows external script usage
2024-11-02 10:29:19 +10:00
Aayushman Singh b0479592ff Docs - Update extending/admin_views to have CSP compliant examples
- Changed style tag, to an external style file
- Also fixed minor spelling mistake "calender" -> "calendar" in line 190
- Avoid inline styles, instead ensure the example shows external style usage
2024-11-02 10:29:19 +10:00
Aayushman Singh e28beb5b45 Docs - Writing guidelines - Add code example considerations
Start a small section to offer some guidance to ensure that code examples are secure, accessible and easier to use.
2024-11-02 10:29:19 +10:00
manu b2cd95bf3b Fix sidebar page explorer transitions - avoid overflow 2024-11-02 09:59:21 +10:00
LB 114998fa21 Fix changelog for #12495 add changelog for #12510 2024-11-02 09:04:55 +10:00
LB 940ac10a9c Remove unused uuid module 2024-11-02 09:02:09 +10:00
Matt Westcott 54e1dc875a Update latest.txt for v6.3 2024-11-01 14:13:23 +00:00
Matt Westcott 793539d208 Fill in release date for 6.3 final 2024-11-01 13:21:07 +00:00
Matt Westcott f110ddd934 Fill in release date for 6.2.3 2024-11-01 13:20:09 +00:00
Matt Westcott e8ca33b023 Fill in release date for 5.2.7 2024-11-01 13:20:08 +00:00
Matt Westcott a8e243d36b Release note for #12521 in 6.2.3 2024-11-01 13:14:05 +00:00
Matt Westcott e931a40451 Release note for #12427 in 6.2.3 2024-11-01 12:50:09 +00:00
Matt Westcott 9ef8c834d2 Release note for #12367 in 6.2.3 2024-11-01 12:33:45 +00:00
Matt Westcott 0313522d38 Release note for #12367 in 5.2.7 2024-11-01 12:33:35 +00:00
Bojan Mihelac cc1805dc86
Fix sub-menus within the main menu cannot be closed on mobile (#10747) 2024-11-01 12:10:53 +00:00
Ayaan 0913118da4
Replaced Twitter references in the docs with more appropriate alternatives (#12516). Fix #12483
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-11-01 11:03:54 +00:00
Thibaud Colas bfd7e46496 Add release notes for #12521 2024-11-01 10:01:34 +00:00
Thibaud Colas b1fc61a5a2 Add release notes for ##12521 2024-11-01 10:01:01 +00:00
Matt Westcott 593b95cad9
Document the ability to migrate from ImageChooserBlock to ImageBlock (#12518) 2024-11-01 09:58:42 +00:00
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