mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-03 13:04:46 +00:00
oEmbed: Add support of Tumblr
This commit is contained in:
parent
0611a1b2cd
commit
5f651299df
3 changed files with 5 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ Changelog
|
|||
* "Copy page" form now validates against copying to a destination where the user does not have permission (Henk-Jan van Hasselaar)
|
||||
* Allows reverse relations in `RelatedFields` for elasticsearch & PostgreSQL search backends (Lucas Moeskops, Bertrand Bordage)
|
||||
* Added oEmbed support for Facebook (Mikalai Radchuk)
|
||||
* Added oEmbed support for Tumblr (Mikalai Radchuk)
|
||||
* Fix: Unauthenticated AJAX requests to admin views now return 403 rather than redirecting to the login page (Karl Hobley)
|
||||
* Fix: `TableBlock` options `afterChange`, `afterCreateCol`, `afterCreateRow`, `afterRemoveCol`, `afterRemoveRow` and `contextMenu` can now be overridden (Loic Teixeira)
|
||||
* Fix: The lastmod field returned by wagtailsitemaps now shows the last published date rather than the date of the last draft edit (Matt Westcott)
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ Other features
|
|||
* "Copy page" form now validates against copying to a destination where the user does not have permission (Henk-Jan van Hasselaar)
|
||||
* Allows reverse relations in ``RelatedFields`` for elasticsearch & PostgreSQL search backends (Lucas Moeskops, Bertrand Bordage)
|
||||
* Added oEmbed support for Facebook (Mikalai Radchuk)
|
||||
* Added oEmbed support for Tumblr (Mikalai Radchuk)
|
||||
|
||||
Bug fixes
|
||||
~~~~~~~~~
|
||||
|
|
|
|||
|
|
@ -317,6 +317,9 @@ OEMBED_ENDPOINTS = {
|
|||
"http://issuu.com/oembed": [
|
||||
"^http(?:s)?://(?:www\\.)?issuu\\.com/[^#?/]+/docs/.+$"
|
||||
],
|
||||
"https://www.tumblr.com/oembed/1.0": [
|
||||
"^http(?:s)?://.+?\\.tumblr\\.com/post/.+$",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue