This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
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
..
adapters FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
components FIX: Stop infinite lookup-urls issue for video/audio on page (#9096) 2020-03-05 11:47:14 -05:00
controllers DEV: Deprecate ember module imports (#9011) 2020-02-21 15:56:49 +01:00
helpers FIX: ensures topic count is correctly showing in box category badges (#9034) 2020-02-24 23:41:36 +01:00
initializers FEATURE: Use new Badging API 2020-01-10 13:41:35 -03:00
lib FIX: Consider webp a supported image format for upload (#9015) 2020-02-21 13:08:01 +10:00
mixins DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
models FIX: ensures we don't attempt to create a new PM on an existing topic (#9029) 2020-02-24 08:55:12 -06:00
pre-initializers FEATURE: Add Tactile feedback on likes 2020-01-30 12:01:52 -03:00
raw-views DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
routes FIX: Include .json suffix for email login route (#9041) 2020-02-25 18:01:33 +00:00
services DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
templates Merge pull request from GHSA-vw39-6w7q-gfx5 2020-02-27 11:57:10 -06:00
widgets FIX: muted was not working in topic timeline (#9021) 2020-02-21 21:32:58 +01:00
mapping-router.js.es6 DEV: Remove Discourse.Site in favor of import (#8344) 2019-11-13 12:13:47 -05:00