Remove activity stream functionality from controllers and providers.

- Remove activity stream related code and files
- Update configuration for HtmlSanitizer and RetryGuzzle
- Add `paginate` macro for `Collection`
- Remove unused code for `Codebird`
- Simplify `FrontPageController` and `NotesController` methods
This commit is contained in:
Jonny Barnes 2023-05-12 15:30:05 +01:00
parent e105887e3f
commit 86ac67698e
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
5 changed files with 0 additions and 136 deletions

View file

@ -23,10 +23,6 @@ class NotesController extends Controller
*/
public function index(Request $request): View|Response
{
if ($request->wantsActivityStream()) {
return (new ActivityStreamsService())->siteOwnerResponse();
}
$notes = Note::latest()
->with('place', 'media', 'client')
->withCount(['webmentions As replies' => function ($query) {
@ -47,10 +43,6 @@ class NotesController extends Controller
abort(404);
}
if (request()->wantsActivityStream()) {
return (new ActivityStreamsService())->singleNoteResponse($note);
}
return view('notes.show', compact('note'));
}