discourse/test/javascripts
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
..
acceptance FIX: Quoting a quote preserves the original post information (#8746) 2020-01-22 16:10:23 +02:00
admin DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
components FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
controllers FEATURE: Make 'Reorder Categories' work with nested categories (#8578) 2019-12-19 12:27:01 +02:00
ember DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
fixtures FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
helpers DEV: Fix failing 2FA tests 2020-01-15 15:27:21 +02:00
initializers FEATURE: Load translation overrides without JS eval 2019-11-05 19:16:38 +01:00
lib FEATURE: Use upload:// short URL for videos and audio in composer (#8760) 2020-01-23 09:41:39 +10:00
mixins DEV: Import EmberObject rather than global variable (#8256) 2019-10-29 14:23:50 -05:00
models FIX: Include sub-sub-categories in new/unread counts (#8710) 2020-01-17 10:02:57 +00:00
widgets REVERT: Remove feature topic on profile button from topic view (#8573) 2019-12-17 12:41:49 -08:00
plugin_tests.js.erb Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
test_helper.js DEV: Remove unsafe-eval from development CSP (#8569) 2019-12-30 12:17:12 +00:00