forked from misskey-dev/misskey
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge 2024.11.0 #2
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* enhance(frontend): フォロワーへのメッセージ欄を改良 * Update Changelog
* fix(frontend): Make post form attachments accessible Adds a role="button", tabindex, and @keydown to MkPostFormAttaches in order to make it accessible to keyboard users. * Fix for linter * Add spacing in type signature
* fix(frontend-embed): ビルド時にsassのmodern-compilerを使うように * fix(frontend): ビルド時にsassのmodern-compilerを使うように
* ci: Make failure if misskey js autogen detected changes * ci: set persist-credentials
* wip * Update MkSignin.vue * Update MkSignin.vue * wip * Update CHANGELOG.md
* wip * Update CHANGELOG.md * wip * fix * Update index.d.ts * Update SigninService.ts * Update MkNotification.vue
* New translations ja-jp.yml (Catalan) * New translations ja-jp.yml (Catalan) * New translations ja-jp.yml (English) * New translations ja-jp.yml (Chinese Simplified) * New translations ja-jp.yml (Chinese Simplified) * New translations ja-jp.yml (English) * New translations ja-jp.yml (Chinese Traditional) * New translations ja-jp.yml (Korean) * New translations ja-jp.yml (Chinese Simplified) * New translations ja-jp.yml (Catalan) * New translations ja-jp.yml (Italian) * New translations ja-jp.yml (Catalan) * New translations ja-jp.yml (Italian) * New translations ja-jp.yml (Romanian) * New translations ja-jp.yml (French) * New translations ja-jp.yml (Spanish) * New translations ja-jp.yml (Arabic) * New translations ja-jp.yml (Czech) * New translations ja-jp.yml (German) * New translations ja-jp.yml (Greek) * New translations ja-jp.yml (Hungarian) * New translations ja-jp.yml (Korean) * New translations ja-jp.yml (Dutch) * New translations ja-jp.yml (Norwegian) * New translations ja-jp.yml (English) * New translations ja-jp.yml (Portuguese) * New translations ja-jp.yml (Russian) * New translations ja-jp.yml (Chinese Traditional) * New translations ja-jp.yml (Indonesian) * New translations ja-jp.yml (Polish) * New translations ja-jp.yml (Slovak) * New translations ja-jp.yml (Swedish) * New translations ja-jp.yml (Turkish) * New translations ja-jp.yml (Ukrainian) * New translations ja-jp.yml (Chinese Simplified) * New translations ja-jp.yml (Vietnamese) * New translations ja-jp.yml (Bengali) * New translations ja-jp.yml (Thai) * New translations ja-jp.yml (Uyghur) * New translations ja-jp.yml (Sinhala) * New translations ja-jp.yml (Uzbek) * New translations ja-jp.yml (Kannada) * New translations ja-jp.yml (Lao) * New translations ja-jp.yml (Japanese, Kansai) * New translations ja-jp.yml (Korean (Gyeongsang))
* fix(backend): 連合限定先が間違って連合しない先に代入されているのを修正 * build: fix property typo
* feat: サーバー初期設定時専用の初期パスワードを設定できるように * 無いのに入力された場合もエラーにする * 🎨 * 🎨 * cypress-devcontainerにもpassを設定(テストが失敗するため) * [ci skip] 🎨 * ✌️ * test: please revert this commit before merge * Revert "test: please revert this commit before merge" This reverts commit 66b2b48. * Update locales/ja-JP.yml Co-authored-by: syuilo <[email protected]> * build assets * Update Changelog * fix condition * fix condition * add comment * change error code * 他のエラーコードと合わせる * Update CHANGELOG.md --------- Co-authored-by: syuilo <[email protected]>
* fix: 初期パスワードをコメントアウト * 🎨 * fix indent
* fix(backend): check target IP before sending HTTP request * fix(backend): allow accessing private IP when testing * Apply suggestions from code review Co-authored-by: anatawa12 <[email protected]> * fix(backend): lint and typecheck * fix(backend): add isLocalAddressAllowed option to getAgentByUrl and send (HttpRequestService) * fix(backend): allow fetchSummaryFromProxy, trueMail to access local addresses --------- Co-authored-by: anatawa12 <[email protected]> Co-authored-by: syuilo <[email protected]>
Co-Authored-By: Acid Chicken <[email protected]>
* Fix type error in security fixes (cherry picked from commit fa3cf6c2996741e642955c5e2fca8ad785e83205) * Fix error in test function calls (cherry picked from commit 1758f29364eca3cbd13dbb5c84909c93712b3b3b) * Fix style error (cherry picked from commit 23c4aa25714af145098baa7edd74c1d217e51c1a) * Fix another style error (cherry picked from commit 36af07abe28bec670aaebf9f5af5694bb582c29a) * Fix `.punyHost` misuse (cherry picked from commit 6027b516e1c82324d55d6e54d0e17cbd816feb42) * attempt to fix test: make yaml valid --------- Co-authored-by: Julia Johannesen <[email protected]>
* fix(backend): fix apResolver * fix * add comments * tweak comment
* fix exception handling for Like activities (cherry picked from commit 8f42e8434eaebe3aba5d1980c57f49dd8ad0de91) * fix exception handling for Announce activities (cherry picked from commit cfc3ab4b045af0674122fa49176431860176358b) * fix exception handling for Undo activities * Update Changelog --------- Co-authored-by: Hazelnoot <[email protected]>
* New translations ja-jp.yml (Chinese Simplified) * New translations ja-jp.yml (Chinese Simplified)
Release: 2024.11.0
…merge_2024_11_0
4858e25 |
このPRによるapi.jsonの差分 差分はこちら--- base
+++ head
@@ -1,7 +1,7 @@
{
"openapi": "3.1.0",
"info": {
- "version": "2024.9.0",
+ "version": "2024.11.0",
"title": "Misskey API"
},
"externalDocs": {
@@ -90,6 +90,9 @@
"null"
]
},
+ "enableTestcaptcha": {
+ "type": "boolean"
+ },
"swPublickey": {
"type": [
"string",
@@ -196,6 +199,12 @@
"type": "string"
}
},
+ "prohibitedWordsForNameOfUser": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"bannedEmailDomains": {
"type": "array",
"items": {
@@ -386,6 +395,9 @@
"enableChartsForFederatedInstances": {
"type": "boolean"
},
+ "enableStatsForFederatedInstances": {
+ "type": "boolean"
+ },
"enableServerMachineStats": {
"type": "boolean"
},
@@ -582,6 +594,7 @@
"recaptchaSiteKey",
"enableTurnstile",
"turnstileSiteKey",
+ "enableTestcaptcha",
"swPublickey",
"mascotImageUrl",
"bannerUrl",
@@ -600,6 +613,7 @@
"blockedHosts",
"sensitiveWords",
"prohibitedWords",
+ "prohibitedWordsForNameOfUser",
"preservedUsernames",
"hcaptchaSecretKey",
"mcaptchaSecretKey",
@@ -638,6 +652,7 @@
"truemailAuthKey",
"enableChartsForRemoteUser",
"enableChartsForFederatedInstances",
+ "enableStatsForFederatedInstances",
"enableServerMachineStats",
"enableIdenticonGeneration",
"manifestJsonOverride",
@@ -854,10 +869,6 @@
"remote"
],
"default": "combined"
- },
- "forwarded": {
- "type": "boolean",
- "default": false
}
}
}
@@ -923,6 +934,23 @@
"$ref": "#/components/schemas/UserDetailedNotMe"
}
]
+ },
+ "forwarded": {
+ "type": "boolean"
+ },
+ "resolvedAs": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "enum": [
+ "accept",
+ "reject",
+ null
+ ]
+ },
+ "moderationNote": {
+ "type": "string"
}
},
"required": [
@@ -934,7 +962,11 @@
"targetUserId",
"assigneeId",
"reporter",
- "targetUser"
+ "targetUser",
+ "assignee",
+ "forwarded",
+ "resolvedAs",
+ "moderationNote"
]
}
}
@@ -1971,6 +2003,12 @@
"password": {
"type": "string",
"minLength": 1
+ },
+ "setupPassword": {
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -2009,6 +2047,24 @@
"$ref": "#/components/schemas/Error"
},
"examples": {
+ "ACCESS_DENIED": {
+ "value": {
+ "error": {
+ "message": "Access denied.",
+ "code": "ACCESS_DENIED",
+ "id": "1fb7cb09-d46a-4fff-b8df-057708cce513"
+ }
+ }
+ },
+ "INCORRECT_INITIAL_PASSWORD": {
+ "value": {
+ "error": {
+ "message": "Initial password is incorrect.",
+ "code": "INCORRECT_INITIAL_PASSWORD",
+ "id": "97147c55-1ae1-4f6f-91d6-e1c3e0e76d62"
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -3163,7 +3219,7 @@
"string",
"null"
],
- "minLength": 1
+ "minLength": 0
},
"icon": {
"type": "string",
@@ -4004,8 +4060,57 @@
}
},
"responses": {
- "204": {
- "description": "OK (without any results)"
+ "200": {
+ "description": "OK (with results)",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "format": "id"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updatedAt": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "roleIdsThatCanBeUsedThisDecoration": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "id"
+ }
+ }
+ },
+ "required": [
+ "id",
+ "createdAt",
+ "updatedAt",
+ "name",
+ "description",
+ "url",
+ "roleIdsThatCanBeUsedThisDecoration"
+ ]
+ }
+ }
+ }
},
"400": {
"description": "Client error",
@@ -11206,9 +11311,16 @@
"type": "string",
"format": "misskey:id"
},
- "forward": {
- "type": "boolean",
- "default": false
+ "resolvedAs": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "enum": [
+ "accept",
+ "reject",
+ null
+ ]
}
},
"required": [
@@ -11341,6 +11453,327 @@
}
}
},
+ "/admin/forward-abuse-user-report": {
+ "post": {
+ "operationId": "admin___forward-abuse-user-report",
+ "summary": "admin/forward-abuse-user-report",
+ "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*",
+ "externalDocs": {
+ "description": "Source code",
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/forward-abuse-user-report.ts"
+ },
+ "tags": [
+ "admin"
+ ],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "reportId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
+ "required": [
+ "reportId"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "OK (without any results)"
+ },
+ "400": {
+ "description": "Client error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "NO_SUCH_ABUSE_REPORT": {
+ "value": {
+ "error": {
+ "message": "No such abuse report.",
+ "code": "NO_SUCH_ABUSE_REPORT",
+ "id": "8763e21b-d9bc-40be-acf6-54c1a6986493",
+ "kind": "server",
+ "httpStatusCode": 404
+ }
+ }
+ },
+ "INVALID_PARAM": {
+ "value": {
+ "error": {
+ "message": "Invalid param.",
+ "code": "INVALID_PARAM",
+ "id": "3d81ceae-475f-4600-b2a8-2bc116157532"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Authentication error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "CREDENTIAL_REQUIRED": {
+ "value": {
+ "error": {
+ "message": "Credential required.",
+ "code": "CREDENTIAL_REQUIRED",
+ "id": "1384574d-a912-4b81-8601-c7b1c4085df1"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "AUTHENTICATION_FAILED": {
+ "value": {
+ "error": {
+ "message": "Authentication failed. Please ensure your token is correct.",
+ "code": "AUTHENTICATION_FAILED",
+ "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "418": {
+ "description": "I'm Ai",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "I_AM_AI": {
+ "value": {
+ "error": {
+ "message": "You sent a request to Ai-chan, Misskey's showgirl, instead of the server.",
+ "code": "I_AM_AI",
+ "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Internal server error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "INTERNAL_ERROR": {
+ "value": {
+ "error": {
+ "message": "Internal error occurred. Please contact us if the error persists.",
+ "code": "INTERNAL_ERROR",
+ "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/admin/update-abuse-user-report": {
+ "post": {
+ "operationId": "admin___update-abuse-user-report",
+ "summary": "admin/update-abuse-user-report",
+ "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:admin:resolve-abuse-user-report*",
+ "externalDocs": {
+ "description": "Source code",
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/update-abuse-user-report.ts"
+ },
+ "tags": [
+ "admin"
+ ],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "reportId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "moderationNote": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "reportId"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "OK (without any results)"
+ },
+ "400": {
+ "description": "Client error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "NO_SUCH_ABUSE_REPORT": {
+ "value": {
+ "error": {
+ "message": "No such abuse report.",
+ "code": "NO_SUCH_ABUSE_REPORT",
+ "id": "15f51cf5-46d1-4b1d-a618-b35bcbed0662",
+ "kind": "server",
+ "httpStatusCode": 404
+ }
+ }
+ },
+ "INVALID_PARAM": {
+ "value": {
+ "error": {
+ "message": "Invalid param.",
+ "code": "INVALID_PARAM",
+ "id": "3d81ceae-475f-4600-b2a8-2bc116157532"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Authentication error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "CREDENTIAL_REQUIRED": {
+ "value": {
+ "error": {
+ "message": "Credential required.",
+ "code": "CREDENTIAL_REQUIRED",
+ "id": "1384574d-a912-4b81-8601-c7b1c4085df1"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "AUTHENTICATION_FAILED": {
+ "value": {
+ "error": {
+ "message": "Authentication failed. Please ensure your token is correct.",
+ "code": "AUTHENTICATION_FAILED",
+ "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "418": {
+ "description": "I'm Ai",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "I_AM_AI": {
+ "value": {
+ "error": {
+ "message": "You sent a request to Ai-chan, Misskey's showgirl, instead of the server.",
+ "code": "I_AM_AI",
+ "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Internal server error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "INTERNAL_ERROR": {
+ "value": {
+ "error": {
+ "message": "Internal error occurred. Please contact us if the error persists.",
+ "code": "INTERNAL_ERROR",
+ "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/admin/send-email": {
"post": {
"operationId": "admin___send-email",
@@ -13420,6 +13853,15 @@
"type": "string"
}
},
+ "prohibitedWordsForNameOfUser": {
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "type": "string"
+ }
+ },
"themeColor": {
"type": [
"string",
@@ -13592,6 +14034,9 @@
"null"
]
},
+ "enableTestcaptcha": {
+ "type": "boolean"
+ },
"sensitiveMediaDetection": {
"type": "string",
"enum": [
@@ -13837,6 +14282,9 @@
"enableChartsForFederatedInstances": {
"type": "boolean"
},
+ "enableStatsForFederatedInstances": {
+ "type": "boolean"
+ },
"enableServerMachineStats": {
"type": "boolean"
},
@@ -16019,7 +16467,9 @@
"enum": [
"abuseReport",
"abuseReportResolved",
- "userCreated"
+ "userCreated",
+ "inactiveModeratorsWarning",
+ "inactiveModeratorsInvitationOnlyChanged"
]
}
},
@@ -16347,7 +16797,9 @@
"enum": [
"abuseReport",
"abuseReportResolved",
- "userCreated"
+ "userCreated",
+ "inactiveModeratorsWarning",
+ "inactiveModeratorsInvitationOnlyChanged"
]
}
}
@@ -16689,7 +17141,9 @@
"enum": [
"abuseReport",
"abuseReportResolved",
- "userCreated"
+ "userCreated",
+ "inactiveModeratorsWarning",
+ "inactiveModeratorsInvitationOnlyChanged"
]
}
},
@@ -16869,7 +17323,9 @@
"enum": [
"abuseReport",
"abuseReportResolved",
- "userCreated"
+ "userCreated",
+ "inactiveModeratorsWarning",
+ "inactiveModeratorsInvitationOnlyChanged"
]
},
"override": {
@@ -37545,6 +38001,190 @@
}
}
},
+ "/following/requests/sent": {
+ "post": {
+ "operationId": "following___requests___sent",
+ "summary": "following/requests/sent",
+ "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:following*",
+ "externalDocs": {
+ "description": "Source code",
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/following/requests/sent.ts"
+ },
+ "tags": [
+ "following"
+ ],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "sinceId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "untilId": {
+ "type": "string",
+ "format": "misskey:id"
+ },
+ "limit": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "default": 10
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "OK (with results)",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "format": "id"
+ },
+ "follower": {
+ "type": "object",
+ "$ref": "#/components/schemas/UserLite"
+ },
+ "followee": {
+ "type": "object",
+ "$ref": "#/components/schemas/UserLite"
+ }
+ },
+ "required": [
+ "id",
+ "follower",
+ "followee"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Client error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "INVALID_PARAM": {
+ "value": {
+ "error": {
+ "message": "Invalid param.",
+ "code": "INVALID_PARAM",
+ "id": "3d81ceae-475f-4600-b2a8-2bc116157532"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Authentication error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "CREDENTIAL_REQUIRED": {
+ "value": {
+ "error": {
+ "message": "Credential required.",
+ "code": "CREDENTIAL_REQUIRED",
+ "id": "1384574d-a912-4b81-8601-c7b1c4085df1"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "AUTHENTICATION_FAILED": {
+ "value": {
+ "error": {
+ "message": "Authentication failed. Please ensure your token is correct.",
+ "code": "AUTHENTICATION_FAILED",
+ "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "418": {
+ "description": "I'm Ai",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "I_AM_AI": {
+ "value": {
+ "error": {
+ "message": "You sent a request to Ai-chan, Misskey's showgirl, instead of the server.",
+ "code": "I_AM_AI",
+ "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "Internal server error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "INTERNAL_ERROR": {
+ "value": {
+ "error": {
+ "message": "Internal error occurred. Please contact us if the error persists.",
+ "code": "INTERNAL_ERROR",
+ "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/following/requests/reject": {
"post": {
"operationId": "following___requests___reject",
@@ -46053,6 +46693,7 @@
"roleAssigned",
"achievementEarned",
"exportCompleted",
+ "login",
"app",
"test",
"pollVote",
@@ -46078,6 +46719,7 @@
"roleAssigned",
"achievementEarned",
"exportCompleted",
+ "login",
"app",
"test",
"pollVote",
@@ -46294,6 +46936,7 @@
"roleAssigned",
"achievementEarned",
"exportCompleted",
+ "login",
"app",
"test",
"reaction:grouped",
@@ -46321,6 +46964,7 @@
"roleAssigned",
"achievementEarned",
"exportCompleted",
+ "login",
"app",
"test",
"reaction:grouped",
@@ -49864,6 +50508,21 @@
"preventAiLearning": {
"type": "boolean"
},
+ "requireSigninToViewContents": {
+ "type": "boolean"
+ },
+ "makeNotesFollowersOnlyBefore": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "makeNotesHiddenBefore": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
"isBot": {
"type": "boolean"
},
@@ -50688,6 +51347,16 @@
}
}
},
+ "YOUR_NAME_CONTAINS_PROHIBITED_WORDS": {
+ "value": {
+ "error": {
+ "message": "Your new name contains prohibited words.",
+ "code": "YOUR_NAME_CONTAINS_PROHIBITED_WORDS",
+ "id": "0b3f9f6a-2f4d-4b1f-9fb4-49d3a2fd7191",
+ "httpStatusCode": 422
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -59802,6 +60471,15 @@
}
}
},
+ "SIGNIN_REQUIRED": {
+ "value": {
+ "error": {
+ "message": "Signin required.",
+ "code": "SIGNIN_REQUIRED",
+ "id": "8e75455b-738c-471d-9f80-62693f33372e"
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -63637,6 +64315,29 @@
"tags": [
"flash"
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "offset": {
+ "type": "integer",
+ "minimum": 0,
+ "default": 0
+ },
+ "limit": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "default": 10
+ }
+ }
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "OK (with results)",
@@ -71650,6 +72351,15 @@
}
}
},
+ "SIGNIN_REQUIRED": {
+ "value": {
+ "error": {
+ "message": "Signin required.",
+ "code": "SIGNIN_REQUIRED",
+ "id": "d1588a9e-4b4d-4c07-807f-16f1486577a2"
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -76688,6 +77398,21 @@
"isCat": {
"type": "boolean"
},
+ "requireSigninToViewContents": {
+ "type": "boolean"
+ },
+ "makeNotesFollowersOnlyBefore": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "makeNotesHiddenBefore": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
"instance": {
"type": "object",
"properties": {
@@ -76977,18 +77702,6 @@
"private"
]
},
- "twoFactorEnabled": {
- "type": "boolean",
- "default": false
- },
- "usePasswordLessLogin": {
- "type": "boolean",
- "default": false
- },
- "securityKeys": {
- "type": "boolean",
- "default": false
- },
"roles": {
"type": "array",
"items": {
@@ -77011,6 +77724,15 @@
"moderationNote": {
"type": "string"
},
+ "twoFactorEnabled": {
+ "type": "boolean"
+ },
+ "usePasswordLessLogin": {
+ "type": "boolean"
+ },
+ "securityKeys": {
+ "type": "boolean"
+ },
"isFollowing": {
"type": "boolean"
},
@@ -77075,9 +77797,6 @@
"publicReactions",
"followingVisibility",
"followersVisibility",
- "twoFactorEnabled",
- "usePasswordLessLogin",
- "securityKeys",
"roles",
"memo"
]
@@ -77854,6 +78573,18 @@
"type": "object",
"$ref": "#/components/schemas/RolePolicies"
},
+ "twoFactorEnabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "usePasswordLessLogin": {
+ "type": "boolean",
+ "default": false
+ },
+ "securityKeys": {
+ "type": "boolean",
+ "default": false
+ },
"email": {
"type": [
"string",
@@ -77926,7 +78657,10 @@
"emailNotificationTypes",
"achievements",
"loggedInDays",
- "policies"
+ "policies",
+ "twoFactorEnabled",
+ "usePasswordLessLogin",
+ "securityKeys"
]
},
"UserDetailedNotMe": {
@@ -79120,6 +79854,30 @@
"type": {
"type": "string",
"enum": [
+ "login"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "createdAt",
+ "type"
+ ]
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "format": "id"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
"app"
]
},
@@ -81523,6 +82281,9 @@
"null"
]
},
+ "enableTestcaptcha": {
+ "type": "boolean"
+ },
"swPublickey": {
"type": [
"string",
@@ -81707,6 +82468,7 @@
"recaptchaSiteKey",
"enableTurnstile",
"turnstileSiteKey",
+ "enableTestcaptcha",
"swPublickey",
"mascotImageUrl",
"bannerUrl",
@@ -81857,7 +82619,9 @@
"enum": [
"abuseReport",
"abuseReportResolved",
- "userCreated"
+ "userCreated",
+ "inactiveModeratorsWarning",
+ "inactiveModeratorsInvitationOnlyChanged"
]
}
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.