discourse/spec
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
..
components DEV: Refactor custom svg icon caching (#13483) 2021-06-22 14:07:23 -04:00
fabricators DEV: Add SMTP group ID to EmailLog (#13381) 2021-06-15 11:29:46 +10:00
fixtures DEV: Refactor custom svg icon caching (#13483) 2021-06-22 14:07:23 -04:00
helpers PERF: Eager load Theme associations in Stylesheet Manager. 2021-06-21 11:06:58 +08:00
import_export FEATURE: Rake task to export groups (#9450) 2020-04-17 14:59:54 -07:00
initializers FEATURE: A low priority filter for the review queue. (#12822) 2021-04-23 15:34:24 -03:00
integration FEATURE: Add global admin api key rate limiter (#12527) 2021-06-03 10:52:43 +01:00
integrity DEV: Fix a flaky Onceoff spec (#13314) 2021-06-07 20:38:31 +02:00
jobs FIX: Make sure topic_user.bookmarked is synced in more places (#13383) 2021-06-16 08:30:40 +10:00
lib Code review comments. 2021-06-21 11:06:58 +08:00
mailers FIX: Do not enqueue :group_smtp_email job if IMAP disabled for the group (#13307) 2021-06-07 14:17:35 +10:00
models FEATURE: Add more columns to outbound EmailLog (#13449) 2021-06-22 08:32:01 +10:00
multisite FEATURE: Use path from existing URL of uploads and optimized images (#13177) 2021-05-27 17:42:25 +02:00
requests DEV: Plugin API to add directory columns (#13440) 2021-06-22 13:00:04 -05:00
script/import_scripts DEV: If disabled do not change setting after import (#12142) 2021-02-19 09:33:35 -07:00
serializers Revert "PERF: Cache categories in Site model take 2." 2021-06-21 12:25:04 -07:00
services FIX: Destroy invites of anonymized emails (#13404) 2021-06-17 10:45:40 +03:00
support FIX: Make sure reset-new for tracked is not limited by per_page count (#13395) 2021-06-17 08:20:09 +10:00
tasks FIX: remove migrate_from_s3 task that silently corrupts data (#11703) 2021-01-17 22:33:29 +01:00
views/omniauth_callbacks FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
rails_helper.rb DEV: Absorb onebox gem into core (#12979) 2021-05-26 15:11:35 +05:30
swagger_helper.rb api docs example (#11997) 2021-02-08 10:09:44 -07:00