diff --git a/app/Http/Controllers/FederationController.php b/app/Http/Controllers/FederationController.php index ea119d077..aaba0cc4d 100644 --- a/app/Http/Controllers/FederationController.php +++ b/app/Http/Controllers/FederationController.php @@ -167,7 +167,7 @@ XML; public function userInbox(Request $request, $username) { - // todo + return; } public function userFollowing(Request $request, $username) @@ -175,7 +175,10 @@ XML; if (config('pixelfed.activitypub_enabled') == false) { abort(403); } - $profile = Profile::whereNull('remote_url')->whereUsername($username)->firstOrFail(); + $profile = Profile::whereNull('remote_url') + ->whereUsername($username) + ->whereIsPrivate(false) + ->firstOrFail(); $obj = [ '@context' => 'https://www.w3.org/ns/activitystreams', 'id' => $request->getUri(), @@ -193,7 +196,10 @@ XML; if (config('pixelfed.activitypub_enabled') == false) { abort(403); } - $profile = Profile::whereNull('remote_url')->whereUsername($username)->firstOrFail(); + $profile = Profile::whereNull('remote_url') + ->whereUsername($username) + ->whereIsPrivate(false) + ->firstOrFail(); $obj = [ '@context' => 'https://www.w3.org/ns/activitystreams', 'id' => $request->getUri(), diff --git a/resources/assets/js/components/PostComments.vue b/resources/assets/js/components/PostComments.vue index 5ac700c1e..cc57ad699 100644 --- a/resources/assets/js/components/PostComments.vue +++ b/resources/assets/js/components/PostComments.vue @@ -3,7 +3,6 @@ font-size: 14px; } .comment-text { - word-break: break-all; } .comment-text p { display: inline; @@ -33,7 +32,7 @@ Reply Permalink - Embed + Profile Report diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index 450414f36..818691161 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -41,13 +41,13 @@

{{ status.spoiler_text ? status.spoiler_text : 'CW / NSFW / Hidden Media'}}

(click to show)

- +
-
+
@@ -74,7 +74,7 @@
-
+
@@ -251,7 +251,7 @@
- avatar + avatar

@{{profile.username}}

@@ -291,7 +291,7 @@
- +