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
Matt Westcott
e1cb2a07d1
Refactor action buttons into subclasses of ActionButton
2021-07-12 12:16:26 +01:00
Matt Westcott
528e4810af
Add event listeners for enable/disable logic
...
This decouples the action button handling from the rest of BaseSequenceChild; nothing after the initial render needs to deal with button states.
2021-07-12 12:16:26 +01:00
Matt Westcott
f584dd57bb
Remove onRequestFoo callbacks from BaseSequenceChild in favour of just giving it a handle to the sequence object.
...
The rationale for these was to keep the control flow in one direction, so that the child blocks don't know about the wider sequence they belong to. But that's already undermined by the fact that they have to keep track of their own index number, and it just makes things needlessly unwieldy, particularly when we go on to make action buttons pluggable (and emphatically want to avoid having a mass of abstraction between the button and the action it performs).
2021-07-12 12:16:26 +01:00
Matt Westcott
be0996486d
Give action buttons their own ActionButton class
2021-07-12 12:16:26 +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
Dan Braghis
f1ddaa9a46
Optimize images used in documentation
...
Ran through ImageOptim (with 100% quality)
Saved 3.6 MB out of 10.7 MB. 38.4% per file on average (up to 94.7%)
2021-07-06 21:14:33 +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
Dan Braghis
a1cd95646b
Prefetch pages in site history
2021-07-06 15:12:43 +01:00
Dan Braghis
ea26f22a25
Use `select_related` when viewing the Site History report
2021-07-06 15:12:43 +01:00
Matt Westcott
b8680fbaf2
Give quoted and unquoted versions of pip install commands
...
Fixes #7312
2021-07-05 17:53:12 +01:00
Jake Howard
b41eef4ebf
`select_related` user profile when listing users
...
This is used for the user avatar
2021-07-05 17:35:19 +01:00
Jake Howard
02d8dac97e
Just compare the live revision id, rather than the whole object
...
This avoid running a query, which in this case would be `n`
2021-07-05 17:34:55 +01:00
Jake Howard
07490bfb18
Pre-compute page's latest revision
2021-07-05 17:34:55 +01:00
Jake Howard
507c7f8a84
`select_related` fields when listing history
...
The user profile is used for the avatar URL
2021-07-05 17:34:55 +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
Jake Howard
738a716586
`select_related` collection on image listing
...
`images/results.html` shows the collection if it's available, which
results in `O(n)` queries.
2021-07-02 12:45:23 +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
aff898ad8d
Prevent comments CSS from overriding custom colours
...
Fixes #7294 . CommentApp/main.scss mistakenly redefined the SCSS colour variables to their Wagtail defaults, overriding the ability to customise them as pe https://docs.wagtail.io/en/stable/advanced_topics/customisation/admin_templates.html#custom-user-interface-colors
2021-07-02 12:06:07 +01:00
jacobtoppm
26b0ecf724
Allow users to edit the in-field positions of comments
2021-07-02 10:38:40 +01:00
Scott Cranfill
9f3e6585af
Docs: Update sphinx-wagtail-theme to 5.0.4 ( #7296 )
2021-06-30 11:18:07 +02:00
Matt Westcott
990e91a85a
Release note for #7295 in 2.13.3
2021-06-29 13:36:15 +01:00
Matt Westcott
fa648116b2
Correctly handle nulls in ListBlock validation errors
...
Fixes @cnk's test case from #7248 . blockErrors within a ListBlockValidationError is an array (with nulls for the items with no errors), but setError was treating it as a dict keyed by block index, which meant it was erroneously passing nulls to the child setError method. FieldBlock handles this gracefully, but other blocks such as StructBlock don't.
2021-06-29 13:33:55 +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
Matt Westcott
0790f3b110
Include form media on account settings page
...
Fixes #7261
2021-06-28 14:04:48 +01:00
Matt Westcott
5bb9e0547a
Move 'responses' dict into the return value of getChooserConfig
2021-06-28 12:25:29 +01:00
Matt Westcott
9fad84b768
Refactor getChooserConfig / filterEntityData into subclasses of ModalWorkflowSource
...
This means we're not artificially forcing four different entity types into the same code path, and makes it possible to define new entity types outside of this module.
Also relax the eslint no-unused-vars to allow unused function parameters - having multiple classes following the same interface is a legitimate use of this.
2021-06-28 12:25:29 +01:00
Thibaud Colas
55fe295346
Remove docs for WAGTAILSEARCH_RESULTS_TEMPLATE, WAGTAILSEARCH_RESULTS_TEMPLATE_AJAX
...
The templates they would override have been removed from our search app, and copies placed in the project template.
2021-06-28 11:23:24 +01:00
Thibaud Colas
86b84a2010
Add headings for all settings
2021-06-28 11:23:24 +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
Matt Westcott
297fb10597
Add Petr Dlouhý to contributors
2021-06-25 16:45:27 +01:00