From f54cf0b2d782e6e7125bf626418b1b941a08f14e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 30 Jul 2023 03:59:35 -0600 Subject: [PATCH] Update timeline settings --- resources/views/settings/timeline.blade.php | 10 ++++++++-- routes/api.php | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/resources/views/settings/timeline.blade.php b/resources/views/settings/timeline.blade.php index a3b0c3646..4bd075146 100644 --- a/resources/views/settings/timeline.blade.php +++ b/resources/views/settings/timeline.blade.php @@ -8,17 +8,23 @@
@csrf -
+

Show text-only posts from accounts you follow. (Home timeline only)

-
+

Show replies from accounts you follow. (Home timeline only)

+
+ + +

See reblogs from accounts you follow in your home feed. (Home timeline only)

+
+

diff --git a/routes/api.php b/routes/api.php index 835fa7b0d..f305f277c 100644 --- a/routes/api.php +++ b/routes/api.php @@ -304,6 +304,8 @@ Route::group(['prefix' => 'api'], function() use($middleware) { Route::get('posts/{id}/{slug}', 'Api\ApiV1Dot1Controller@placesById')->middleware($middleware); }); + Route::get('web/settings', 'Api\ApiV1Dot1Controller@getWebSettings')->middleware($middleware); + Route::post('web/settings', 'Api\ApiV1Dot1Controller@setWebSettings')->middleware($middleware); Route::get('app/settings', 'UserAppSettingsController@get')->middleware($middleware); Route::post('app/settings', 'UserAppSettingsController@store')->middleware($middleware);