feat: suspend instance improvements (#13861)

* feat(backend): dead instance detection

* feat(backend): suspend type detection

* feat(frontend): show suspend reason on frontend

* feat(backend): resume federation automatically if the server is automatically suspended

* docs(changelog): 配信停止まわりの改善

* lint: fix lint errors

* Update packages/frontend/src/pages/instance-info.vue

* lint: fix lint error

* chore: suspendedState => suspensionState

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
anatawa12 2024-05-23 15:55:47 +09:00 committed by GitHub
parent 611e303bab
commit 83a9aa4533
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 193 additions and 17 deletions

32
locales/index.d.ts vendored
View file

@ -4972,6 +4972,38 @@ export interface Locale extends ILocale {
*
*/
"inquiry": string;
"_delivery": {
/**
*
*/
"status": string;
/**
*
*/
"stop": string;
/**
*
*/
"resume": string;
"_type": {
/**
*
*/
"none": string;
/**
*
*/
"manuallySuspended": string;
/**
*
*/
"goneSuspended": string;
/**
*
*/
"autoSuspendedForNotResponding": string;
};
};
"_bubbleGame": {
/**
*

View file

@ -1240,6 +1240,16 @@ noDescription: "説明文はありません"
alwaysConfirmFollow: "フォローの際常に確認する"
inquiry: "お問い合わせ"
_delivery:
status: "配信状態"
stop: "配信停止"
resume: "配信再開"
_type:
none: "配信中"
manuallySuspended: "手動停止中"
goneSuspended: "サーバー削除のため停止中"
autoSuspendedForNotResponding: "サーバー応答なしのため停止中"
_bubbleGame:
howToPlay: "遊び方"
hold: "ホールド"