diff --git a/CHANGELOG.md b/CHANGELOG.md index e441d64a3..46da38cb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,8 @@ - Update admin autospam/report email templates, remove image previews ([76be49ac](https://github.com/pixelfed/pixelfed/commit/76be49ac)) - Update LandingService, enable landing directory/explore feed by default and move configuration to config/instance.php file ([780f2507](https://github.com/pixelfed/pixelfed/commit/780f2507)) - Update ImageOptimizePipeline, improve support for disabling image optimizations ([e76289e4](https://github.com/pixelfed/pixelfed/commit/e76289e4)) -- Update LandingController, fix configonfig variable names ([b716926b](https://github.com/pixelfed/pixelfed/commit/b716926b)) +- Update LandingController, fix config variable names ([b716926b](https://github.com/pixelfed/pixelfed/commit/b716926b)) +- Update Privacy Settings, add Directory setting ([634c15e4](https://github.com/pixelfed/pixelfed/commit/634c15e4)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.5 (2023-03-25)](https://github.com/pixelfed/pixelfed/compare/v0.11.4...v0.11.5) diff --git a/app/Http/Controllers/Settings/PrivacySettings.php b/app/Http/Controllers/Settings/PrivacySettings.php index e45536150..3cee63322 100644 --- a/app/Http/Controllers/Settings/PrivacySettings.php +++ b/app/Http/Controllers/Settings/PrivacySettings.php @@ -38,6 +38,10 @@ trait PrivacySettings 'show_profile_follower_count', 'show_profile_following_count', ]; + + $profile->is_suggestable = $request->input('is_suggestable') == 'on'; + $profile->save(); + foreach ($fields as $field) { $form = $request->input($field); if ($field == 'is_private') { diff --git a/resources/views/settings/privacy.blade.php b/resources/views/settings/privacy.blade.php index 681d070c4..8c4142908 100644 --- a/resources/views/settings/privacy.blade.php +++ b/resources/views/settings/privacy.blade.php @@ -24,6 +24,7 @@

When your account is private, only people you approve can see your photos and videos on pixelfed. Your existing followers won't be affected.

+
crawlable ? 'checked=""':''}} {{$settings->is_private ? 'disabled=""':''}}>
- {{--
- is_private ? 'disabled=""':''}} {{$settings->show_discover ? 'checked=""':''}}> -
+
public_dm ? 'checked=""':''}} name="public_dm">