discourse/lib/onebox
David Taylor 2e00d4d024
DEV: Fix flaky twitter onebox behavior (#18141)
The order in which Onebox engines are loaded is not guaranteed. Occasionally during tests, the twitter engine would be loaded before the instagram engine, and cause the Instagram Onebox spec to fail due to the lack of `Onebox.options.twitter_client`.

This commit makes the load order of Onebox engines consistent, and fixes the issue in the twitter_status_onebox.
2022-08-31 08:42:55 +08:00
..
engine DEV: Fix flaky twitter onebox behavior (#18141) 2022-08-31 08:42:55 +08:00
mixins FIX: Add another method to check binary file (#15648) 2022-01-20 23:47:18 +02:00
templates UX: remove extra whitespace in github onebox (#17111) 2022-06-17 11:09:45 +10:00
domain_checker.rb Only block domains at the final destination (#15689) 2022-01-31 15:35:12 +08:00
engine.rb DEV: Fix flaky twitter onebox behavior (#18141) 2022-08-31 08:42:55 +08:00
file_type_finder.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
helpers.rb FIX: Use URI#merge to merge base and relative URLs (#17454) 2022-07-18 14:17:54 +03:00
json_ld.rb FIX: Use first supported type item when JSON-LD returns array (#17217) 2022-06-23 13:02:01 -04:00
layout.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
layout_support.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
matcher.rb FEATURE: Onebox can match engines based on the content_type (#13876) 2021-07-30 13:36:30 -04:00
movie.rb Add support for JSON LD in Onebox (#17007) 2022-06-13 17:32:34 +02:00
normalizer.rb Add support for JSON LD in Onebox (#17007) 2022-06-13 17:32:34 +02:00
oembed.rb Add support for JSON LD in Onebox (#17007) 2022-06-13 17:32:34 +02:00
open_graph.rb Add support for JSON LD in Onebox (#17007) 2022-06-13 17:32:34 +02:00
preview.rb DEV: Don’t patch Sanitize::Config 2022-04-06 17:10:51 +02:00
sanitize_config.rb DEV: Don’t patch Sanitize::Config 2022-04-06 17:10:51 +02:00
status_check.rb DEV: Fix rubocop issues (#14715) 2021-10-27 11:39:28 +03:00
template_support.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
view.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30