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

11599 Commits

Author SHA1 Message Date
Karl Hobley
beeb6066ad Changelog / release note for #6843 2021-07-30 11:22:59 +01:00
Karl Hobley
2b2256a31f Implemented background_position_style property on renditions 2021-07-30 11:08:44 +01:00
Karl Hobley
750ecf50b6 Transform focal point 2021-07-30 11:08:44 +01:00
Karl Hobley
797824c0cc Implemented ImageTransform 2021-07-30 11:08:44 +01:00
Karl Hobley
de33a84eb4 Split image operations into transforms and filters 2021-07-30 11:08:44 +01:00
John-Scott Atlakson
1917938d74
Update title of documentation page (#7368)
* Update title of documentation page

The title of this page mentioned videos because in the original version of this document it _did_ cover adding embedded videos. However, this page no longer mentions videos aside from the title.

* Fix length of underline
2021-07-27 09:19:07 +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
Storm Heg
952264a2ab
Slim sidebar: remember collapsed state 2021-07-23 10:47:50 +01:00
Matt Westcott
2c4db8f2b1 Release note for #7361 2021-07-23 10:09:06 +01:00
Matt Westcott
35132296cc Ensure error count badge counts StreamField non-block errors
Fixes #7353

The error counter was only counting elements with class error-message, but non-block errors on ListBlock / StreamBlock use a different styling,help-critical.
2021-07-22 14:21:28 -07:00
Matt Westcott
ca15f2d991 Set default_auto_field on simple_translation app config
Prevents the warning "simple_translation.SimpleTranslation: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'." when running under Django 3.2.
2021-07-22 10:49:40 +01:00
Matt Westcott
3e9b39a48e Replace is_safe_url with url_has_allowed_host_and_scheme
As per https://docs.djangoproject.com/en/3.2/releases/3.0/#id3 - is_safe_url was deprecated in Django 3.0 (which is now the minimum version supported by Wagtail).
2021-07-22 09:48:59 +01:00
Naomi I. Morduch Toubman
99f05d67cb
Change master to main (in more places) (#7358)
* Update references to branches now named `main`

* Change unnecessary use of `master`

* Change link to be to specific ES docs version

Old release notes should link to contemporaneous docs when possible
2021-07-21 14:09:31 -04:00
Matt Westcott
259c71a16b Add release note for performance improvements 2021-07-21 17:29:03 +01:00
Sean Kelly
7a3deee8b9 Possessive "it" (#7357)
"it's" → "its"
2021-07-21 16:25:48 +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
Cynthia Kiser
07e03bc683 Fix "undefined label" warnings caused by missing leading underscore in the label 2021-07-21 15:05:19 +01:00
Karl Hobley
8ba4bbae57 Changelog / release note / contributor for #7302 2021-07-20 18:43:21 +01:00
Brandon Murch
5bc1c1832e
Fix delete button color 2021-07-20 18:41:04 +01:00
Matt Westcott
8cfc16de03 Eliminate use of re_path from integration docs
Using `re_path` for the page serve view is unnecessary (the project template doesn't do it) and will be increasingly unfamiliar to new Django devs as `path` becomes more widespread.
2021-07-20 12:22:55 +01:00
Matt Westcott
ec0daf604a Add latest.txt as per new format discussed in #7336
Remove make-latest.sh, since there's now more information than we can sensibly construct from the command line - the file should now be uploaded to releases.wagtail.io with `./latest.sh put latest.txt`.
2021-07-15 12:29:01 +01:00
Matt Westcott
7e89180153 Update ListBlock max_num tests from #7334 to reflect markup changes to action buttons from #7307 2021-07-14 13:39:39 +01:00
Matt Westcott
f98bd6870d Release note for #7334 2021-07-14 13:16:02 +01:00
Matt Westcott
4c4d3b5100 Add client-side validation for ListBlock maxNum 2021-07-14 13:14:15 +01:00
Matt Westcott
d22cc560f1 Move checkBlockCounts into BaseSequenceBlock as a general blockCountChanged callback
The call to checkBlockCounts from duplicateBlock can be removed outright, as it already gets called via the call to insert.
2021-07-14 13:14:15 +01:00
Matt Westcott
8c97c254a7 Add server-side min_num and max_num validation for ListBlock
Fixes #5300
2021-07-14 13:14:15 +01:00
Matt Westcott
bdfa3811d1 Remove outdated versionadded/versionchanged annotations 2021-07-13 17:10:56 +01:00
Matt Westcott
573fea1db4 Rotate deprecation warnings 2021-07-13 17:10:55 +01:00
Matt Westcott
5a11ce0c5c Add release note section for 2.15 2021-07-13 17:10:47 +01:00
Matt Westcott
093ac4fcdd Version bump to begin work on Wagtail 2.15 2021-07-13 17:01:19 +01:00
Matt Westcott
7646a63873 Other features -> New features 2021-07-13 13:42:32 +01:00
Matt Westcott
192a74835a Generate new strings for translation 2021-07-13 13:37:31 +01:00
Matt Westcott
6e27cc762e Fetch new translations from Transifex 2021-07-13 13:31:22 +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
760bafe686 Add missing max_length on temporary thumbnail_url migration
Fixes #7323
2021-07-13 10:52:25 +01:00
Nick Smith
15de4b69a4 Change some words in the style guide
This removes a few US English dialectical uses of _regular_, preferring
_basic_ or _standard_ in British English.
2021-07-13 10:51:46 +01:00
Nick Smith
1d03c36421 Change some word choices in the docs
This replaces several US English dialectical uses of _regular_ with
British English equivalents _normal_ or _standard_. This is the result
of a search of the docs for the string 'regular', rather than due to any
US English seen in the user interface.

This search also found one use of _regularly_ where _often_ was closer
to the intended meaning, a change which is less about dialect than about
word choice.
2021-07-13 10:51:46 +01:00
Nick Smith
ab7b0d81d6 Change wording of docs and UI for page aliases
This replaces several US English dialectical uses of _regular_ with
British English equivalents, chiefly _ordinary_.
2021-07-13 10:51:46 +01:00
Thibaud Colas
d6cd16f001 Add separate mention about known issues to editor guide 2021-07-12 18:20:54 +01:00
Thibaud Colas
d2c27844a6 Update accessibility targets with links to known issues 2021-07-12 18:20:54 +01:00
Tom Usher
c6017abca0
Improve admin listing performance (#7318) 2021-07-12 16:58:49 +01:00
Matt Westcott
be857cc5e9 Release note / Upgrade consideration note for #7292 2021-07-12 16:55:21 +01:00
Thomas Kremmel
9b387625ca docs: add facebook and instagram oembed change docs 2021-07-12 15:31:31 +01:00
Thomas Kremmel
aead2125eb feat: update facebook & instagram oembed test cases 2021-07-12 15:30:12 +01:00
Thomas Kremmel
4d1d8260f9 feat: add facebook & instagram oembed v11 support 2021-07-12 15:30:12 +01:00
Matt Westcott
439edf381b Update test snapshot from #7322 to reflect action button changes from #7307 2021-07-12 12:59:46 +01:00
Matt Westcott
3306a98257 set icon / label identifier at the class level 2021-07-12 12:16:26 +01:00
Matt Westcott
ca2263a12f DRY ActionButton definitions 2021-07-12 12:16:26 +01:00