discourse/app/assets/javascripts/pretty-text
Martin Brennan f0072dd897
FIX: Stop infinite lookup-urls issue for video/audio on page (#9096)
Meta report: https://meta.discourse.org/t/excessive-requests-to-uploads-lookup-urls-leading-to-429-response/143119

* The data-orig-src attribute was not being removed from cooked
video and audio so the composer was infinitely trying to get the
URLs for them, which would never resolve to anything
* Also the code that retrieved the short URL was unscoped, and was
getting everything on the page. if running from the composer we
now scope to the preview window
* Also fixed a minor issue where the element href for the video
and audio tags was not being set when the short URL was found
2020-03-05 11:47:14 -05:00
..
context FIX: Composer preview not caching inline onebox. 2019-06-11 09:14:53 +08:00
emoji UX: Better emoji escaping for topic title (#7218) 2019-03-21 09:11:33 +01:00
engines FIX: Stop infinite lookup-urls issue for video/audio on page (#9096) 2020-03-05 11:47:14 -05:00
censored-words.js.es6 FIX: Various watched words improvements 2019-08-02 15:29:12 +01:00
emoji.js.es6 DEV: Upgrade Ember to version 3.12.2 (#8753) 2020-02-05 14:51:00 +01:00
guid.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
inline-oneboxer.js.es6 FIX: Make inline oneboxes work with secured topics in secured contexts (#8895) 2020-02-12 12:11:28 +02:00
oneboxer-cache.js.es6 DEV: Remove pretty_text import hack & still work server-side (#8266) 2019-10-31 11:54:46 -05:00
oneboxer.js.es6 FIX: oneboxer.js infinitely retrying failed requests (#8414) 2019-11-26 15:49:58 +10:00
pretty-text.js.es6 FIX: Various watched words improvements 2019-08-02 15:29:12 +01:00
sanitizer.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
upload-short-url.js.es6 FIX: Stop infinite lookup-urls issue for video/audio on page (#9096) 2020-03-05 11:47:14 -05:00
white-lister.js.es6 FIX: Disable preloading audio + video when secure media enabled (#8922) 2020-02-11 11:49:58 +10:00
xss.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00