Add: フレンドサーバー (#61)

* Fix mastodon version

* テーブル作成

* Wip: フレンドサーバーフォローの承認を受信

* Wip: フレンド申請拒否を受信

* Wip: フォローリクエストを受理

* Wip: 相手からのフォロー・アンフォローを受理

* 普通のフォローとフレンドサーバーのフォローを区別するテストを追加

* ドメインブロックによるフォロー拒否

* ドメインブロックしたあと、申請中のフォロリクを取り下げる処理

* スタブに条件を追加

* Wip: 相手からのDelete信号に対応

* DB定義が消えていたので修正

* Wip: ローカル公開投稿をフレンドに送信する処理など

* Wip: 未収載+誰でもの投稿をフレンドに送る設定

* Wip: ローカル公開をそのまま送信する設定を考慮

* Fix test

* Wip: 他サーバーからのローカル公開投稿の受け入れ

* Wip: Web画面作成

* Fix test

* Wip: ローカル公開を連合TLに流す

* Wip: フレンドサーバーの削除ボタン

* Wip: メール通知や設定のテストなど

* Wip: 翻訳を作成

* Fix: 却下されたあとフォローボタンが表示されない問題

* Wip: 編集できない問題

* 有効にしていないフレンドサーバーをリストで無効表示
This commit is contained in:
KMY(雪あすか) 2023-10-09 11:51:15 +09:00 committed by GitHub
parent acb29e5b11
commit 87e858a202
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 1638 additions and 51 deletions

View file

@ -426,6 +426,8 @@ en:
public_comment_hint: Comment about this domain limitation for the general public, if advertising the list of domain limitations is enabled.
reject_favourite: Reject favorites
reject_favourite_hint: Reject favorites or emoji-reaction in the future
reject_friend: Reject friend server applications
reject_friend_hint: Reject friend server application in the future
reject_hashtag: Reject hashtags
reject_hashtag_hint: Reject hashtags in the future
reject_media: Reject media files
@ -497,6 +499,35 @@ en:
suppressed: Suppressed
title: Follow recommendations
unsuppress: Restore follow recommendation
friend_servers:
accept: Accept
active_status: My status
add_new: Add and make a new application
delete: Delete
description_html: <strong>フレンドサーバー</strong>とは、お互いのローカル公開・ローカル検索許可の投稿をそのまま交換するシステムです。
disabled: Disabled
domain: Domain
edit:
allow_all_posts: Receive all posts
available: Available
description: フレンドサーバーは、登録と同時に相手方のサーバーへ申請されます。
domain: Domain
inbox_url: Friend server inbox URL
inbox_url_hint: Default value is https://domain/inbox if you input empty (For example, https://example.com/inbox)
pseudo_relay: Send all public or searchable posts
unlocked: Approve automatically receiving new request
edit_friend: Edit
enabled: Enabled
follow: Request
passive_status: Partner status
pending: Pending
reject: Reject
save_and_enable: Save and enable
setup: Add and make a new application
signatures_not_enabled: セキュアモードまたは連合制限モードが有効の場合、フレンドサーバーの動作を確認していないため正常に動作しない可能性があります
status: Status
title: Friend server
unfollow: Cancel request
instances:
availability:
description_html:
@ -520,6 +551,7 @@ en:
limited_federation_mode_description_html: You can chose whether to allow federation with this domain.
policies:
reject_favourite: Reject favorite
reject_friend: Reject friend server application
reject_hashtag: Reject hashtags
reject_media: Reject media
reject_new_follow: Reject follows
@ -810,6 +842,7 @@ en:
discovery:
emoji_reactions: Stamp
follow_recommendations: Follow recommendations
friend_servers: Friend servers
preamble: Surfacing interesting content is instrumental in onboarding new users who may not know anyone Mastodon. Control how various discovery features work on your server.
profile_directory: Profile directory
public_timelines: Public timelines
@ -1050,6 +1083,9 @@ en:
new_pending_account:
body: The details of the new account are below. You can approve or reject this application.
subject: New account up for review on %{instance} (%{username})
new_pending_friend_server:
body: The new friend server %{domain} is waiting for your review. You can approve or reject this application.
subject: New friend server up for review on %{instance} (%{domain})
new_report:
body: "%{reporter} has reported %{target}"
body_remote: Someone from %{domain} has reported %{target}