discourse/plugins/discourse-narrative-bot/lib/discourse_narrative_bot
Rafael dos Santos Silva bf5611f7eb
FIX: Make discobot certificate faster/non blocking (#11344)
This moves the way we add the user avatar and site logo
to the discobot certificates from embeded base64 png to
just using the files urls in the href to the image tag.

This will make generation faster and the certificate
smaller overall, but it can't be used in a  `img` tag
anymore, since SVGs in `img` tags don't load the external images

In order to work around that we will move the certificate
in posts to an iframe, which works fine without any user
visible changes. For this to be possible the plugin automatically
adds the site current domain to the list of allowed iframe origins.
2021-02-01 20:49:32 -03:00
..
templates FIX: Make discobot certificate faster/non blocking (#11344) 2021-02-01 20:49:32 -03:00
actions.rb FIX: Slightly reduce fake delay of discobot user. 2020-07-13 09:08:31 +08:00
advanced_user_narrative.rb FIX: match discobot triggers on cooked version 2020-06-25 13:29:55 +02:00
base.rb FIX: Make discobot certificate faster/non blocking (#11344) 2021-02-01 20:49:32 -03:00
certificate_generator.rb FIX: Make discobot certificate faster/non blocking (#11344) 2021-02-01 20:49:32 -03:00
dice.rb Fix i18n issues reported on Crowdin (#10925) 2020-10-16 15:24:58 +02:00
magic_8_ball.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
new_user_narrative.rb FIX: Capybara diet upgrade, can eat real 🌿 now (#11040) 2020-10-27 07:49:22 -07:00
quote_generator.rb FIX: Use the quote generator in the example text 2019-10-16 13:40:44 -04:00
track_selector.rb SPEC: add spec to ensure discobot works in French 2020-06-26 12:48:11 +02:00
welcome_post_type_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00