0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

11653 Commits

Author SHA1 Message Date
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
Matt Westcott
7129f9491e Search form can be safely omitted now that pagination links don't piggyback on it 2021-08-02 17:05:14 +01:00
Matt Westcott
75c417f3a8 Rather than doing pagination by extracting page numbers from data attributes and feeding them into the search action URL, use LINKS with ACTUAL URLS in them. What a time to be alive! 2021-08-02 17:05:14 +01:00
Matt Westcott
b3adae22a2 Revise pagination_nav.html so that linkurl can be a direct URL as well as a named URL route 2021-08-02 17:05:14 +01:00
Matt Westcott
ca8dd6d007 Make the results-only version of the choose view a distinct view, rather than a URL parameter 2021-08-02 17:05:14 +01:00
Matt Westcott
7ddbcb18d7 Move response rendering into its own method 2021-08-02 17:05:14 +01:00
Matt Westcott
7439f38d51 Convert choose view to a class-based view 2021-08-02 17:05:14 +01:00
Matt Westcott
22d4665b17 remove the model_string parameter to createSnippetChooser that we no longer need 2021-08-02 17:05:14 +01:00
Matt Westcott
74a8cfd862 Pass the complete snippet chooser URL as a data attribute, rather than tacking on the model parameter in JS.
I think that's a throwback to when the chooser URL was being passed to the page as a constant in window.chooserUrls...
2021-08-02 17:05:14 +01:00
Matt Westcott
728b48ceca remove locale variables unused by wagtailsnippets/chooser/results.html 2021-08-02 17:05:14 +01:00
Matt Westcott
757c502de8 don't pointlessly repurpose wagtailsnippets/snippets/list.html in the chooser for the sake of the ~10 lines of completely unremarkable table boilerplate that they have in common 2021-08-02 17:05:14 +01:00
Matt Westcott
d33e5aaf1a remove unused columns from snippet list.html 2021-08-02 17:05:14 +01:00