diff --git a/CHANGELOG.md b/CHANGELOG.md index 89e32bc89..d31593eae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,7 @@ - Updated LikeService, improve caching logic and add profile id to likedBy method to fix #3271. ([6af842eb](https://github.com/pixelfed/pixelfed/commit/6af842eb)) - Updated admin diagnostics, add more configuration data to help diagnose potential issues. ([eab96fc3](https://github.com/pixelfed/pixelfed/commit/eab96fc3)) - Updated ConfigCacheService, fix discover features. ([ad48521a](https://github.com/pixelfed/pixelfed/commit/ad48521a)) +- Updated MediaTransformer, fix type case bug. Fixes #3281. ([c1669253](https://github.com/pixelfed/pixelfed/commit/c1669253)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.2 (2022-01-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.1...v0.11.2) diff --git a/app/Transformer/Api/MediaTransformer.php b/app/Transformer/Api/MediaTransformer.php index 21c0b25b5..0a4600bae 100644 --- a/app/Transformer/Api/MediaTransformer.php +++ b/app/Transformer/Api/MediaTransformer.php @@ -11,7 +11,7 @@ class MediaTransformer extends Fractal\TransformerAbstract { $res = [ 'id' => (string) $media->id, - 'type' => $media->activityVerb(), + 'type' => strtolower($media->activityVerb()), 'url' => $media->url(), 'remote_url' => null, 'preview_url' => $media->thumbnailUrl(), diff --git a/public/js/compose-chunk-uopy3u.js b/public/js/compose-chunk-uopy3u.js deleted file mode 100644 index e92196819..000000000 Binary files a/public/js/compose-chunk-uopy3u.js and /dev/null differ diff --git a/public/js/compose-chunk-uopy3w.js b/public/js/compose-chunk-uopy3w.js new file mode 100644 index 000000000..b2ce1742a Binary files /dev/null and b/public/js/compose-chunk-uopy3w.js differ diff --git a/public/js/compose-classic.js b/public/js/compose-classic.js index f14682811..1b954a8bc 100644 Binary files a/public/js/compose-classic.js and b/public/js/compose-classic.js differ diff --git a/public/js/compose.js b/public/js/compose.js index 6550682bf..9076de7a9 100644 Binary files a/public/js/compose.js and b/public/js/compose.js differ diff --git a/public/js/daci-chunk-uopy3u.js b/public/js/daci-chunk-uopy3w.js similarity index 99% rename from public/js/daci-chunk-uopy3u.js rename to public/js/daci-chunk-uopy3w.js index ced338b1f..7b1b88689 100644 Binary files a/public/js/daci-chunk-uopy3u.js and b/public/js/daci-chunk-uopy3w.js differ diff --git a/public/js/dffc-chunk-uopy3u.js b/public/js/dffc-chunk-uopy3w.js similarity index 99% rename from public/js/dffc-chunk-uopy3u.js rename to public/js/dffc-chunk-uopy3w.js index d217f9e67..94b901cb2 100644 Binary files a/public/js/dffc-chunk-uopy3u.js and b/public/js/dffc-chunk-uopy3w.js differ diff --git a/public/js/dmyh-chunk-uopy3u.js b/public/js/dmyh-chunk-uopy3w.js similarity index 99% rename from public/js/dmyh-chunk-uopy3u.js rename to public/js/dmyh-chunk-uopy3w.js index 18e1e8ca9..b91c02597 100644 Binary files a/public/js/dmyh-chunk-uopy3u.js and b/public/js/dmyh-chunk-uopy3w.js differ diff --git a/public/js/dmym-chunk-uopy3u.js b/public/js/dmym-chunk-uopy3w.js similarity index 99% rename from public/js/dmym-chunk-uopy3u.js rename to public/js/dmym-chunk-uopy3w.js index 850f13bc5..8d1ea4a56 100644 Binary files a/public/js/dmym-chunk-uopy3u.js and b/public/js/dmym-chunk-uopy3w.js differ diff --git a/public/js/dsfc-chunk-uopy3u.js b/public/js/dsfc-chunk-uopy3u.js deleted file mode 100644 index 424077bd6..000000000 Binary files a/public/js/dsfc-chunk-uopy3u.js and /dev/null differ diff --git a/public/js/dsfc-chunk-uopy3w.js b/public/js/dsfc-chunk-uopy3w.js new file mode 100644 index 000000000..dd2d92c34 Binary files /dev/null and b/public/js/dsfc-chunk-uopy3w.js differ diff --git a/public/js/dssc-chunk-uopy3u.js b/public/js/dssc-chunk-uopy3w.js similarity index 99% rename from public/js/dssc-chunk-uopy3u.js rename to public/js/dssc-chunk-uopy3w.js index edb63d1aa..72d7ba0e5 100644 Binary files a/public/js/dssc-chunk-uopy3u.js and b/public/js/dssc-chunk-uopy3w.js differ diff --git a/public/js/home-chunk-uopy3u.js b/public/js/home-chunk-uopy3w.js similarity index 99% rename from public/js/home-chunk-uopy3u.js rename to public/js/home-chunk-uopy3w.js index 68a4c7ac3..93afd1e63 100644 Binary files a/public/js/home-chunk-uopy3u.js and b/public/js/home-chunk-uopy3w.js differ diff --git a/public/js/manifest.js b/public/js/manifest.js index c83b2ec0a..fbf7d3877 100644 Binary files a/public/js/manifest.js and b/public/js/manifest.js differ diff --git a/public/js/post-chunk-uopy3u.js b/public/js/post-chunk-uopy3w.js similarity index 99% rename from public/js/post-chunk-uopy3u.js rename to public/js/post-chunk-uopy3w.js index 532e66634..2cd364983 100644 Binary files a/public/js/post-chunk-uopy3u.js and b/public/js/post-chunk-uopy3w.js differ diff --git a/public/js/profile-chunk-uopy3u.js b/public/js/profile-chunk-uopy3u.js deleted file mode 100644 index d16eec101..000000000 Binary files a/public/js/profile-chunk-uopy3u.js and /dev/null differ diff --git a/public/js/profile-chunk-uopy3w.js b/public/js/profile-chunk-uopy3w.js new file mode 100644 index 000000000..5cb829edb Binary files /dev/null and b/public/js/profile-chunk-uopy3w.js differ diff --git a/public/js/profile.js b/public/js/profile.js index 1740f22c8..666dfeb57 100644 Binary files a/public/js/profile.js and b/public/js/profile.js differ diff --git a/public/js/rempos.js b/public/js/rempos.js index 84e40fabc..d14d45710 100644 Binary files a/public/js/rempos.js and b/public/js/rempos.js differ diff --git a/public/js/rempro.js b/public/js/rempro.js index 8d2a5ab9f..4b45e27a2 100644 Binary files a/public/js/rempro.js and b/public/js/rempro.js differ diff --git a/public/js/spa.js b/public/js/spa.js index 79931a5a0..fd0d84478 100644 Binary files a/public/js/spa.js and b/public/js/spa.js differ diff --git a/public/js/status.js b/public/js/status.js index e928f7c80..72096fa05 100644 Binary files a/public/js/status.js and b/public/js/status.js differ diff --git a/public/js/timeline.js b/public/js/timeline.js index d58b73bec..61cf5fb28 100644 Binary files a/public/js/timeline.js and b/public/js/timeline.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 42046af2f..088b76ad4 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ