From 2c268e47e7ad64829f147f91d0c81aa15e98598c Mon Sep 17 00:00:00 2001 From: KMY Date: Sat, 26 Apr 2025 07:09:30 +0900 Subject: [PATCH] Fix test --- app/models/concerns/user/has_settings.rb | 4 ++++ app/models/user_settings.rb | 2 ++ config/locales/simple_form.en.yml | 1 + 3 files changed, 7 insertions(+) diff --git a/app/models/concerns/user/has_settings.rb b/app/models/concerns/user/has_settings.rb index fdd4009e84..6c5e5d665d 100644 --- a/app/models/concerns/user/has_settings.rb +++ b/app/models/concerns/user/has_settings.rb @@ -243,6 +243,10 @@ module User::HasSettings settings['use_public_index'] end + def setting_reverse_search_quote + settings['reverse_search_quote'] + end + def setting_disallow_unlisted_public_searchability settings['disallow_unlisted_public_searchability'] end diff --git a/app/models/user_settings.rb b/app/models/user_settings.rb index 6d57e1a864..88c880cf5d 100644 --- a/app/models/user_settings.rb +++ b/app/models/user_settings.rb @@ -27,6 +27,7 @@ class UserSettings setting :default_searchability, default: :direct, in: %w(public private direct limited public_unlisted) setting :default_searchability_of_search, default: :public, in: %w(public private direct limited) setting :use_public_index, default: true + setting :reverse_search_quote, default: false setting :disallow_unlisted_public_searchability, default: false setting :public_post_to_unlisted, default: false setting :reject_public_unlisted_subscription, default: false @@ -75,6 +76,7 @@ class UserSettings setting :boost_menu, default: false setting :show_relationships, default: true setting :hide_emoji_reaction_unavailable_server, default: false + setting :hide_status_reference_unavailable_server, default: false setting :hide_favourite_menu, default: false setting :hide_emoji_reaction_count, default: false setting :show_avatar_on_filter, default: true diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml index 43262b631a..1d6158fdf0 100644 --- a/config/locales/simple_form.en.yml +++ b/config/locales/simple_form.en.yml @@ -79,6 +79,7 @@ en: setting_public_post_to_unlisted: 未対応のサードパーティアプリからもローカル公開で投稿できますが、公開投稿はWeb以外できなくなります setting_reject_send_limited_to_suspects: This applies to "Mutual Only" posts. Circle posts will be delivered without exception. Some Misskey servers have independently supported limited posting, but this is a setting for those who are concerned about it, as mutual-only posting exposes some of the users you are mutual with to Misskey users! setting_reject_unlisted_subscription: Misskey and its forks can **subscribe and search** for "non-following" posts from accounts they do not follow. This differs from kmyblue's behavior. It delivers posts in the specified public range to such servers as "followers only". Please understand, however, that due to its structure, it is difficult to handle perfectly and will occasionally be delivered as non-subscribed. + setting_reverse_search_quote: Double-quotes will result in a search with a wider range of notation, which is the opposite of Mastodon's default behavior. setting_show_application: 投稿するのに使用したアプリが投稿の詳細ビューに表示されるようになります setting_stay_privacy: If you choose to enable this setting, please consider manually setting the visibility of the boost setting_stop_emoji_reaction_streaming: Helps to save communication capacity.