discourse/plugins/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
..
assets/javascripts/initializers FIX: remove rendering UX from bookmark model (#11765) 2021-01-25 09:35:13 +11:00
autoload/jobs FIX: TL2 promotion message and advance training (#10679) 2020-09-22 10:17:52 +10:00
config Update translations (#11848) 2021-01-26 14:52:35 +01:00
db UX: Simplify narrative bot bio (#11820) 2021-01-22 17:21:26 -08:00
lib/discourse_narrative_bot FIX: Make discobot certificate faster/non blocking (#11344) 2021-02-01 20:49:32 -03:00
public/images remove unnecessary symlink 2019-11-29 22:23:43 +01:00
spec FIX: Make discobot certificate faster/non blocking (#11344) 2021-02-01 20:49:32 -03:00
plugin.rb FIX: Make discobot certificate faster/non blocking (#11344) 2021-02-01 20:49:32 -03:00