discourse/spec/fixtures/plugins
Penar Musaraj fc0da499f8
DEV: Refactor custom svg icon caching (#13483)
Previously, we were storing custom svg sprite paths in the cache. This is a problem because sprites in themes get stored as uploads, and the returned paths were files in the temporary download cache which could sometimes be cleaned up, resulting in a broken cache.

I previously tried to fix this by skipping the missing files and clearing the cache, but that didn't work out well with CDNs. This PR stores the contents of the files in the custom_svg_sprites cache to avoid the problem of missing temp files.

Also, plugin custom icons are only included if the plugin is enabled.
2021-06-22 14:07:23 -04:00
..
color_definition DEV: Plugins can extend color definitions (#10383) 2020-08-06 09:46:17 -04:00
csp_extension DEV: Add manifest-src to CSP (#13319) 2021-06-08 09:32:31 -04:00
custom_locales DEV: Update MomentJS and highlightJS 2020-11-11 12:34:26 +11:00
my_plugin DEV: Refactor custom svg icon caching (#13483) 2021-06-22 14:07:23 -04:00
scss_plugin DEV: Refactor plugin SCSS compilation (#12359) 2021-03-12 11:17:42 -05:00