0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

63 Commits

Author SHA1 Message Date
Andy Babic
1c2719720d Release notes for #5810 2020-02-16 21:43:36 +00:00
Andy Babic
061f0e2571 Release notes for #5828 2020-02-16 21:18:11 +00:00
jacobtoppm
3ac230f821 Prevent 'status' banners for page locking being doubled up on POST requests (#5818) 2020-02-11 09:25:09 +00:00
Matt Westcott
4314f3d1a1
Implement MultipleChoiceBlock (rebase of #5592) (#5819)
* Implement MultipleChoiceBlock (squashed commits from #5592)

* Omit widget from frozen kwargs

* Rename get_callable_choices to indicate it is an internal method

* Add release notes for MultipleChoiceBlock
2020-02-10 22:24:49 +00:00
Arkadiusz Ryś
47f677577e Make server-side slug generation respect WAGTAIL_ALLOW_UNICODE_SLUGS (#5808) 2020-02-05 17:33:32 +00:00
Andy Chosak
81d23fc8ab Support the rel attribute on ModelAdmin buttons
Currently it is possible to pass the target attribute to a button
created using ModelAdmin's ButtonHelper framework. This allows you to
generate button links like <a ... target="_blank">.

For example, if adding a new button and modeling it after the existing
edit_button code [0], you can add {'target': "_blank"} to the returned
dict and it'll get passed to the template when the button is rendered.

To be consistent with PR 4844, and to be consistent with what seems to
be the best practice ([1], [2]), we should also support passing the rel
attribute, which would allow for creation of button links like <a ...
target="_blank" rel="noopener noreferrer">.

[0] 5e2f50403b/wagtail/contrib/modeladmin/helpers/button.py (L61-L73)
[1] https://developers.google.com/web/tools/lighthouse/audits/noopener
[2] https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/
2020-01-26 21:06:26 -05:00
Jack Paine
70da204eb1 Reduce contrast of rich text toolbar. Fix #4997 (#5740) 2020-01-25 00:05:27 +00:00
Thibaud Colas
2933589680 Add release notes for #5467 2020-01-24 20:56:18 +00:00
Thibaud Colas
eb0612c21c Add release notes for #5784 2020-01-24 15:56:34 +00:00
Thibaud Colas
b7872e3f2f Add release notes for #5773 2020-01-23 16:21:43 +00:00
Thibaud Colas
ef6ace6e98 Add release notes for #5775 2020-01-23 15:59:43 +00:00
Matt Westcott
11ba755f63 Release note for #5777 2020-01-23 15:33:19 +00:00
Matt Westcott
8ad9f8ecf7 Add changelog / release notes for 2.9 2020-01-23 11:56:35 +00:00