misaka4e21
ba357dd6cc
FIX: ignore SVGs when regenerating missing optimized images.
...
When running `rake uploads:regenerate_missing_optimized`,
a `Discourse::InvalidAccess` will be raised if an SVG
file is being processed as `OptimizedImage.prepend_decoder!`
doesn't support the svg extension. This commit simply copies
the original SVG file as the thumbnail, just like currently
`OptimizedImage.create_for` does.
2024-05-07 14:39:04 +02:00
..
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2024-02-27 11:33:28 +01:00
2024-05-02 11:43:59 +01:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-08-10 13:59:13 +02:00
2023-05-18 12:46:44 +03:00
2023-01-20 12:52:49 -06:00
2024-03-13 13:57:41 +00:00
2024-02-27 11:33:28 +01:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-11-22 15:12:02 +08:00
2024-01-03 10:30:54 +00:00
2024-04-19 14:02:22 -04:00
2024-03-06 15:41:14 +00:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-03-23 11:47:14 +10:00
2023-01-09 12:10:19 +00:00
2022-04-28 11:51:03 +02:00
2024-04-11 14:05:21 +02:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2024-04-29 10:34:46 +10:00
2020-09-03 12:10:11 +01:00
2024-04-02 14:25:05 +08:00
2024-02-29 14:35:31 +10:00
2023-07-20 16:31:20 -05:00
2023-08-10 13:59:13 +02:00
2024-01-16 14:33:16 +01:00
2023-01-09 12:10:19 +00:00
2024-04-03 10:22:20 +01:00
2023-01-09 12:10:19 +00:00
2023-09-12 09:26:46 +02:00
2023-01-09 12:10:19 +00:00
2023-01-09 12:10:19 +00:00
2023-06-06 15:47:40 +10:00
2024-02-23 11:42:28 +05:30
2023-01-09 12:10:19 +00:00
2023-08-29 09:42:52 -06:00
2023-10-20 12:48:06 +00:00
2024-02-27 11:33:28 +01:00
2024-02-27 11:33:28 +01:00
2023-03-14 13:11:45 -05:00
2023-01-09 12:10:19 +00:00
2024-04-25 15:19:23 +08:00
2023-08-16 11:20:47 +10:00
2023-02-23 07:47:11 +10:00
2023-08-10 13:59:13 +02:00
2024-05-07 14:39:04 +02:00
2023-10-03 16:59:43 +08:00
2024-01-30 11:41:15 -07:00