discourse/app
Martin Brennan 65481858c2
FEATURE: Use upload:// short URL for videos and audio in composer (#8760)
For consistency this PR introduces using custom markdown and short upload:// URLs for video and audio uploads, rather than just treating them as links and relying on the oneboxer. The markdown syntax for videos is ![file text|video](upload://123456.mp4) and for audio it is ![file text|audio](upload://123456.mp3).

This is achieved in discourse-markdown-it by modifying the rules for images in mardown-it via md.renderer.rules.image. We return HTML instead of the token when we encounter audio or video after | and the preview renders that HTML. Also when uploading an audio or video file we insert the relevant markdown into the composer.
2020-01-23 09:41:39 +10:00
..
assets FEATURE: Use upload:// short URL for videos and audio in composer (#8760) 2020-01-23 09:41:39 +10:00
controllers FIX: Ensure only edited badge titles update a users title 2020-01-21 19:09:42 -07:00
helpers FIX: use schema.org's BreadcrumList 2020-01-21 22:27:21 +01:00
jobs FIX: Quoting a quote preserves the original post information (#8746) 2020-01-22 16:10:23 +02:00
mailers FIX: Replace deprecated URI.encode, URI.escape, URI.unescape and URI.unencode (#8528) 2019-12-12 12:49:21 +10:00
models FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
serializers FEATURE: Secure media allowing duplicated uploads with category-level privacy and post-based access rules (#8664) 2020-01-16 13:50:27 +10:00
services FIX: Incorrect locale in badge granter (#8749) 2020-01-21 09:08:48 +11:00
views FIX: use schema.org's BreadcrumList 2020-01-21 22:27:21 +01:00