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

1732 Commits

Author SHA1 Message Date
LB Johnston
1b50c74424 add release notes for #7209 #7251 #7446 2021-08-23 20:46:09 +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
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
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
jacobtoppm
1efbfd4994 Release note and CHANGELOG for #7376 2021-08-11 17:56:02 +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
49c5578b90 Release note for #7367 2021-08-03 19:56:07 +01:00
Matt Westcott
d709e610af Fill in release date for 2.14 2021-08-02 14:01:40 +01:00
Karl Hobley
beeb6066ad Changelog / release note for #6843 2021-07-30 11:22:59 +01:00
Jesse Menn
1a7563406e
Converts inline panel anchor to button to make keyboard focusable. (#7346)
* Converts inline panel anchor to button to make keyboard focusable.

* Adds type='button' and undoes change to  expanding_formset.js.

* Release notes for #7346

Co-authored-by: Storm Heg <storm@stormheg.co>
2021-07-24 11:22:28 +02:00
Matt Westcott
2c4db8f2b1 Release note for #7361 2021-07-23 10:09:06 +01:00
Matt Westcott
259c71a16b Add release note for performance improvements 2021-07-21 17:29:03 +01:00
Karl Hobley
bea17ac8b6 Add a log action for copy_for_translation operation (#7352)
Currently, when a user copies a page for translation, the 'copy' log action is used.

This adds a more specific 'copy_for_translation' operation to be used instead when the user is translating.
2021-07-21 16:22:55 +01:00
Karl Hobley
8ba4bbae57 Changelog / release note / contributor for #7302 2021-07-20 18:43:21 +01:00
Matt Westcott
f98bd6870d Release note for #7334 2021-07-14 13:16:02 +01:00
Matt Westcott
5a11ce0c5c Add release note section for 2.15 2021-07-13 17:10:47 +01:00
Matt Westcott
2bec229e12 Correctly handle embeds inside inline styles/entities in richtext contentstate conversion (#7338)
Fixes #4602 as per https://github.com/wagtail/wagtail/issues/4602#issuecomment-479539444 (option 2).

Previously, given HTML input such as:

    <p>
        <i>a bunch of text before <embed alt="somepic" embedtype="image" format="fullwidth" id="1"/> after</i>
    </p>

the `<embed>` would start a new block, but the converter would keep hold of references to currently-open tags such as the `<i>`, so that when the corresponding `</i>` tag was encountered, it could match it up to the opening tag and fill in the 'length' field on the resulting InlineStyleRange object. However, since the span length is calculated based on the text content of the _current_ block (which is now "after"), it would obtain the wrong result - or, when there is no content between the embed and the closing tag (and thus no current block), would throw the exception `'NoneType' object has no attribute 'text'`.

In this new approach, when the embed is encountered, the current block is closed _along with all of its styles and entities_, causing the lengths of those spans to be filled in correctly. After inserting the embed, the current block is then set to a replica of the previous block with all those styles and entities reopened, so that when the closing tag is finally encountered, the span length is correctly set based on the new 'after' block.
2021-07-13 11:20:10 +01:00
Matt Westcott
c44c0a9800 Release note for #7324 in 2.13.4 2021-07-13 11:04:34 +01:00
Matt Westcott
afe7813d92 Release note for #7324 in 2.12.6 2021-07-13 11:03:57 +01:00
Matt Westcott
be857cc5e9 Release note / Upgrade consideration note for #7292 2021-07-12 16:55:21 +01:00
Coen van der Kamp
3f24beaae6 Add background information on multi site, multi instance and multi tenancy (#7228) 2021-07-09 17:05:28 +01:00
Karl Hobley
7d237092d1 Fix crash when user copies a page from a section they can't publish (#7313) 2021-07-09 17:01:58 +01:00
Andrew Stone
ded8bacc5d Use DATETIME_FORMAT for localization in templates (#7321) 2021-07-09 16:33:02 +01:00
Matt Westcott
e0ac8ae73d Support non-block validation errors on ListBlock (#7322) 2021-07-09 16:24:11 +01:00
Kevin Gutiérrez
4eb7c2c019 Change spin animation name (#7299)
The animation name `spin` is too generic, and it can be easily override by other libraries (eg. the code used in (django-json-widget)[https://github.com/jmrivas86/django-json-widget/blob/master/django_json_widget/static/dist/jsoneditor.min.css]) or by custom code, affecting the saving animation.
2021-07-08 16:29:54 +01:00
Matt Westcott
60a3365ce2 Add Daniel Fairhead to contributors 2021-07-07 16:30:36 +01:00
Petr Dlouhý
3f260f4598 add google data studo to oEmbed providers 2021-07-06 21:17:46 +01:00
Vlad Podgurschi
f54e7e1e41 Add instructions on copying and aliasing pages to the editor's guide #7010 2021-07-06 20:44:10 +01:00
Daniel
fee65a9345 Preserve features & editor kwargs on RichTextField.clone() (#7272) 2021-07-06 17:20:12 +01:00
Andrew Stone
d6c92f30af Add missing block.super in extra_css/extra_js blocks (#7310) 2021-07-05 17:28:13 +01:00
Matt Westcott
9850ca7acf Fill in release date for 2.13.3 2021-07-05 11:08:36 +01:00
Matt Westcott
d7bd351660 Release notes for #7306 and #7298 in 2.13.3 2021-07-02 12:10:59 +01:00
Matt Westcott
990e91a85a Release note for #7295 in 2.13.3 2021-06-29 13:36:15 +01:00
Matt Westcott
ac00945d3b Ensure comparison view picks up request/instance-specific EditHandler customisations (#7285)
Some edit handlers, such as the 'unofficial' PerUserContentPanels recipe from #4749, vary their field list according to the current request/instance by hooking into bind_to. This was not being called on the comparison view, meaning that when these edit handlers are in use, the field list was never getting populated and so the view was wrongly reporting no changes.

Note that the bind_to method also allows binding a form, which we do still skip (since the comparison view doesn't construct one).
2021-06-29 13:15:33 +01:00
Matt Westcott
1750c01d05 Add release notes for 2.13.3 2021-06-28 14:12:56 +01:00
Storm Heg
3ee060ffd7
Add keyboard and screen reader support to Wagtail user bar (#6994). Fix #6108
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-06-26 20:53:44 +01:00
nmorduch
368049b835 Warn if StreamField doesn't use StreamFieldPanel (#7276) 2021-06-25 16:44:04 +01:00
Petr Dlouhý
50e4f5151d fix small youtube embed - allow to override max_width/max_height in EmbedBlock 2021-06-25 16:15:09 +01:00
Gordon Pendleton
a64eb1f2f3 adjusted queries to ignore expired embeds (#7279) 2021-06-25 14:10:00 +01:00
Matt Westcott
a28376a5c9 Give 404 pages a meaningful HTML title in project template (#7262)
Improve the generation of `<title>` tags as follows:

* use `page` in preference to `self` (self has been semi-deprecated ever since we added jinja2 support)
* Retrieve current site with `{% wagtail_site %}` rather than page.get_site so that it works on non-pages such as 404s
* Fill in the 'title' block on 404.html
2021-06-21 14:53:08 +01:00
Michael Brown
30ec4631d2 Disable image/document Update button on click (#6676) 2021-06-18 16:58:19 +01:00
Chris Pollard
5f7181e05d Fix: Prevent 500 error when filtering by content_type. (#6755) 2021-06-18 16:42:42 +01:00
Jake Howard
d5b955b0e4 Exclude root pages from ModelAdmins (#7213)
Previously, this would fail, as `user_can_copy_obj` doesn't handle root
pages. Root pages also are special in a number of ways, and handling
copying is tricky and non-obvious.

If someone needs to show root pages (for some reason), they'll have to
special case them themselves.
2021-06-18 14:10:39 +01:00
Matt Westcott
74e3c1764f Release note for CVE-2021-32681 in Wagtail 2.13.2 2021-06-17 11:32:07 +01:00
Matt Westcott
f108167111 Release note for CVE-2021-32681 in Wagtail 2.12.5 2021-06-17 11:31:34 +01:00