diff --git a/CHANGELOG.md b/CHANGELOG.md index a59adbf58..d2b41e84b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -143,6 +143,7 @@ - Updated 2FA setup, fix qrcode handler. ([cd2661fc](https://github.com/pixelfed/pixelfed/commit/cd2661fc)) - Updated avatars, use jpeg default. ([f6528c84](https://github.com/pixelfed/pixelfed/commit/f6528c84)) - Updated antispam bouncer, change recent from 1 week to 3 months. ([7d818197](https://github.com/pixelfed/pixelfed/commit/7d818197)) +- Updated Post components, fix remote post and profile urls. ([cfcf17f3](https://github.com/pixelfed/pixelfed/commit/cfcf17f3)) ## [v0.10.9 (2020-04-17)](https://github.com/pixelfed/pixelfed/compare/v0.10.8...v0.10.9) ### Added diff --git a/app/Http/Controllers/StatusController.php b/app/Http/Controllers/StatusController.php index 6f8eac91f..7b7ddfa4f 100644 --- a/app/Http/Controllers/StatusController.php +++ b/app/Http/Controllers/StatusController.php @@ -200,6 +200,7 @@ class StatusController extends Controller $u->save(); } + Cache::forget('_api:statuses:recent_9:' . $status->profile_id); if ($status->profile_id == $user->profile->id || $user->is_admin == true) { Cache::forget('profile:status_count:'.$status->profile_id); StatusDelete::dispatch($status); diff --git a/public/js/rempos.js b/public/js/rempos.js index 8a7e6e17a..c6e89c51d 100644 Binary files a/public/js/rempos.js and b/public/js/rempos.js differ diff --git a/public/js/status.js b/public/js/status.js index b7967e6c4..e9c822684 100644 Binary files a/public/js/status.js and b/public/js/status.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index d9e176351..7d9c8891f 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index cdea3e58a..d6b9b4648 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -1513,7 +1513,6 @@ export default { }, getStatusUrl(status) { - return status.url; if(status.local == true) { return status.url; diff --git a/resources/assets/js/components/RemotePost.vue b/resources/assets/js/components/RemotePost.vue index cdea3e58a..1296a7090 100644 --- a/resources/assets/js/components/RemotePost.vue +++ b/resources/assets/js/components/RemotePost.vue @@ -10,16 +10,16 @@
More posts from {{this.statusUsername}}
+More posts from {{this.statusUsername}}
Error: Problem rendering preview.
--
-- by {{statusUsername}} - - • - Follow - -
-- by {{statusUsername}} - -
-- - {{status.place.name}}, {{status.place.country}} - - - {{timeAgo(status.created_at)}} ago - -
- -- {{tag.name}} -
-Comments
-- - {{timeAgo(reply.created_at)}} - -
-
- - {{replyText.length}}/{{config.uploader.max_caption_length}} - - -
-
-
-
-
-
-
-