diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c2769c44..0e0b77c00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - Updated StatusCard component, add relationship state button. ([0436b124](https://github.com/pixelfed/pixelfed/commit/0436b124)) - Updated Timeline component, cascade relationship state change. ([f4bd5672](https://github.com/pixelfed/pixelfed/commit/f4bd5672)) - Updated Activity component, only show context button for actionable activities. ([7886fd59](https://github.com/pixelfed/pixelfed/commit/7886fd59)) +- Updated Autospam service, use silent classification for better user experience. ([f0d4c172](https://github.com/pixelfed/pixelfed/commit/f0d4c172)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.1 (2021-09-07)](https://github.com/pixelfed/pixelfed/compare/v0.11.0...v0.11.1) diff --git a/app/Util/Sentiment/Bouncer.php b/app/Util/Sentiment/Bouncer.php index dd72c355a..4e1983334 100644 --- a/app/Util/Sentiment/Bouncer.php +++ b/app/Util/Sentiment/Bouncer.php @@ -132,11 +132,11 @@ class Bouncer { $status->scope = 'unlisted'; $status->visibility = 'unlisted'; - $status->is_nsfw = true; + // $status->is_nsfw = true; $status->save(); Cache::forget('pf:bouncer_v0:exemption_by_pid:' . $status->profile_id); Cache::forget('pf:bouncer_v0:recent_by_pid:' . $status->profile_id); } -} \ No newline at end of file +} diff --git a/config/horizon.php b/config/horizon.php index e43ff35b6..c089fd901 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -83,7 +83,9 @@ return [ 'redis:default' => 30, 'redis:low' => 30, 'redis:high' => 30, - 'redis:delete' => 30 + 'redis:delete' => 30, + 'redis:story' => 30, + 'redis:mmo' => 30, ], /* @@ -167,7 +169,7 @@ return [ 'production' => [ 'supervisor-1' => [ 'connection' => 'redis', - 'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete'], + 'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete', 'mmo'], 'balance' => 'auto', 'maxProcesses' => 20, 'memory' => 128, @@ -179,7 +181,7 @@ return [ 'local' => [ 'supervisor-1' => [ 'connection' => 'redis', - 'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete'], + 'queue' => ['high', 'default', 'feed', 'low', 'story', 'delete', 'mmo'], 'balance' => 'auto', 'maxProcesses' => 20, 'memory' => 128, diff --git a/resources/views/profile/story.blade.php b/resources/views/profile/story.blade.php index 4199e0b9b..8f89cdab4 100644 --- a/resources/views/profile/story.blade.php +++ b/resources/views/profile/story.blade.php @@ -5,7 +5,7 @@ @endsection @push('scripts') - + @endpush diff --git a/resources/views/stories/compose.blade.php b/resources/views/stories/compose.blade.php index 1b5466f86..f698ade91 100644 --- a/resources/views/stories/compose.blade.php +++ b/resources/views/stories/compose.blade.php @@ -6,6 +6,6 @@ @endsection @push('scripts') - + -@endpush \ No newline at end of file +@endpush diff --git a/resources/views/stories/show_remote.blade.php b/resources/views/stories/show_remote.blade.php index 86347f4d4..db01e4d15 100644 --- a/resources/views/stories/show_remote.blade.php +++ b/resources/views/stories/show_remote.blade.php @@ -5,6 +5,6 @@ @endsection @push('scripts') - + @endpush diff --git a/routes/api.php b/routes/api.php index 56c733709..cbf2b85a1 100644 --- a/routes/api.php +++ b/routes/api.php @@ -2,7 +2,7 @@ use Illuminate\Http\Request; -$middleware = ['auth:api','twofactor','validemail','interstitial']; +$middleware = ['auth:api','twofactor','validemail']; Route::post('/f/inbox', 'FederationController@sharedInbox'); Route::post('/users/{username}/inbox', 'FederationController@userInbox'); diff --git a/routes/web.php b/routes/web.php index 23a0080b2..e4afd5961 100644 --- a/routes/web.php +++ b/routes/web.php @@ -84,7 +84,7 @@ Route::domain(config('pixelfed.domain.admin'))->prefix('i/admin')->group(functio Route::post('diagnostics/decrypt', 'AdminController@diagnosticsDecrypt')->name('admin.diagnostics.decrypt'); }); -Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofactor', 'localization','interstitial'])->group(function () { +Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofactor', 'localization'])->group(function () { Route::get('/', 'SiteController@home')->name('timeline.personal'); Route::post('/', 'StatusController@store');