Matt Westcott
1ad6f3518c
Update docs to cover use of components in homepage panels / summary items
2021-08-24 15:42:04 +01:00
Matt Westcott
428c4c7a3f
Documentation for template components
2021-08-24 15:42:04 +01:00
Matt Westcott
f73a59402d
Add tests for {% component %} tag, including HTML escaping
2021-08-24 15:42:04 +01:00
Matt Westcott
21d5a9bbfc
Convert SiteSummaryPanel to a Component
...
Ensure that media defined on summary items is pulled through to the template.
2021-08-24 15:42:04 +01:00
Matt Westcott
18a093e14b
update get_context on built-in summary items
2021-08-24 15:42:04 +01:00
Matt Westcott
0fbf2fff30
Update SummaryItem to use components
2021-08-24 15:42:04 +01:00
Matt Westcott
a2c0ca346f
Ensure that media defined on homepage panels is pulled in
2021-08-24 15:42:04 +01:00
Matt Westcott
10122a7590
Convert homepage panels to use components
2021-08-24 15:42:04 +01:00
Matt Westcott
28004176e0
convert snippet ActionMenuItems to components
2021-08-24 15:42:04 +01:00
Matt Westcott
08c7b48d3b
Extract a reusable Component pattern from ActionMenuItem
2021-08-24 15:42:04 +01:00
Seb
a9f13d2dfb
Apply list styles for MultipleChoceFields
2021-08-24 08:34:40 +10:00
LB Johnston
1b50c74424
add release notes for #7209 #7251 #7446
2021-08-23 20:46:09 +10:00
Matt Westcott
fe3b9446e9
Add a separate URL endpoint for document search results include
...
Eliminates use of request.is_ajax
2021-08-23 20:37:36 +10:00
Matt Westcott
9fd2ad03d3
Use TemplateView for documents index
2021-08-23 20:37:36 +10:00
Matt Westcott
45aa59f519
Convert documents index to a class-based view
2021-08-23 20:37:36 +10:00
Dmitrii Faiazov
fb66c1fd17
Styling for Windows high contrast
...
- add media queries for icons & logos
- fix issue with color problems
2021-08-23 20:15:08 +10:00
dex
415c74b892
Updated the formatting of the bullets
...
We also need to update the screenshot so it matches the new description. Not sure how to do that.
2021-08-20 17:10:55 +01:00
Andy Chosak
e9e1a48b68
Fix broken references in Pages topic documentation
...
The "Page models" documentation page in the Wagtail usage guide has
several broken links (see current page at
https://docs.wagtail.io/en/stable/topics/pages.html ).
These links work when developing the documentation locally, but not when
served on ReadTheDocs (docs.wagtail.io)
The broken links are all of the form /some/page.html#anchor - somehow
this format doesn't translate properly to get the necessary RTD prefix
(for example /en/stable/).
I've modified these links to use RST references, which will also make
them more robust to future changes.
2021-08-20 17:08:35 +01:00
Thibaud Colas
2e7203f2fa
Add specific CONTRIBUTING.md call to action for accessibility testing ( #7462 )
2021-08-20 16:32:37 +01:00
Andy Chosak
b349ba436e
Add missing args/kwargs to Page documentation
...
Documentation examples of `Page.get_context` and `Page.get_template`
lack `*args` and `**kwargs` parameters (which were added way back in
8c4c268641
).
This commit adds those missing parameters.
2021-08-19 19:31:07 +01:00
Alex Tomkins
c825261bd1
Fix session key generation for wagtail previews ( #7393 )
...
Fixes #7392
2021-08-19 19:29:08 +01:00
Jake Howard
90c86e76d0
Add a debug logger around rendition generation ( #7391 )
...
This allows insight into which images are taking the longest to generate, which fail to render at all, and potentially which images are causing crashes (as in they start, but never stop).
The logging is intentionally only on DEBUG level, so it's opt-in, and is also reasonably quiet so it doesn't bloat logs.
2021-08-19 19:00:13 +01:00
LB Johnston
8d36168c5c
documentation - add third party tutorials from late 2020 to now
2021-08-19 18:53:20 +01:00
Martey Dodoo
d2eb7fd520
Allow use of xlsxwriter 2.0 and 3.0.
...
Update xlsxwriter constraint to allow usage of xlsxwriter 2.0 and 3.0.
The latter version includes significant improvements to xlsxwriter's
performance.
2021-08-19 14:51:18 +01:00
Matt Westcott
2818e10a25
Add Jannis Vajen to contributors
2021-08-19 14:49:20 +01:00
Jannis Vajen
fd42d192c9
Fix typo in StructBlock documentation
...
The StructValue class `LinkValue` is refrerenced as `LinkStructValue` in the Meta class.
2021-08-19 14:48:16 +01:00
DeviousLab
2d741386c4
Add publish instructions for child pages in tutorial #7430
...
Added extra instruction to publish a blog post rather than save as a draft for the overriding section.
2021-08-13 17:30:51 +01:00
Matt Westcott
421857664a
Update latest.txt for 2.14.1 release
2021-08-12 16:11:51 +01:00
Matt Westcott
14efab894e
fill in release date for 2.14.1
2021-08-12 15:16:51 +01:00
Matt Westcott
470d5510d4
Release note for #7416 in 2.14.1
2021-08-12 15:07:39 +01:00
Matt Westcott
9dc43e0374
Release note for #7427 in 2.14.1
2021-08-12 15:07:25 +01:00
Cynthia Kiser
34191a05d4
Fix Uncaught ReferenceError when editing links in Hallo
2021-08-12 14:59:55 +01:00
Matt Westcott
6f732fd0ad
Handle cache_until being returned as a string in oembed responses
...
Fixes #7415
2021-08-12 13:53:23 +01:00
jacobtoppm
1efbfd4994
Release note and CHANGELOG for #7376
2021-08-11 17:56:02 +01:00
jacobtoppm
7bf3f813ef
Add link conversion configuration setting
2021-08-11 11:52:29 +01:00
jacobtoppm
b7a37330bd
Make chooser convert external to internal links
2021-08-11 11:52:29 +01:00
Karl Hobley
a3feea125b
Delete docs build
2021-08-09 09:59:12 +01:00
Saptak Sengupta
99aead848e
Makes the title of ModelAdmin items into links ( #7408 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-08-08 01:00:25 +01:00
Karl Hobley
8413d00bdd
Spelling fixes
2021-08-06 20:11:30 +01:00
Matt Westcott
07402a545a
Tiny cleanup for site root page chooser ( #7407 )
...
* Pulling in _editor_js.html is unnecessary - the only JS dependency that isn't in form media is now modal_workflow.js. (So close to being able to ditch the template override entirely!)
* Omit the 'clear' button, as this is a required field.
2021-08-06 10:57:42 +01:00
Matt Westcott
ae14c8c718
Make multigetattr from SpreadsheetExportMixin into a reusable utility
...
and steal Django's implementation for template variable resolution so that it's more robust and supports dict/list lookups too
2021-08-04 14:34:29 +01:00
Matt Westcott
49c5578b90
Release note for #7367
2021-08-03 19:56:07 +01:00
Matt Westcott
8588acc043
Add screenshots
2021-08-03 16:07:18 +01:00
Matt Westcott
f2f7413d55
Add a basic howto on creating custom admin views
2021-08-03 16:07:18 +01:00
Matt Westcott
83717829bb
Add intro text for Extending Wagtail section
2021-08-03 16:07:18 +01:00
Matt Westcott
ee8af13adf
Remove 'How to...' from page titles for consistency
...
These were previously added at Daniele Procida's recommendation so that 'how to' pages could easily be identified in a future reorganisation that splits them out from other modes of documentation. Since 'Extending Wagtail' as a whole is expressly a 'how to' section, this is no longer required.
2021-08-03 16:07:18 +01:00
Matt Westcott
4e2685f47d
Add an 'Extending Wagtail' section to the docs
2021-08-03 16:07:18 +01:00
Matt Westcott
5f452b3778
Use Django's built-in resolve_url helper
2021-08-02 17:05:14 +01:00
Matt Westcott
2cae11d446
form fields have names. We should use them sometimes.
2021-08-02 17:05:14 +01:00
Matt Westcott
ea609bac52
Move the onchange handler on the locale chooser in with the rest of the JS
2021-08-02 17:05:14 +01:00