feat: コントロールパネルから二要素認証を解除できるように#17614
Merged
Merged
Conversation
Contributor
📦 Frontend Bundle ReportChunk size diff (11 updated, 0 added, 0 removed)
Startup chunk size (3 updated, 0 added, 0 removed)
Startup chunks are the Vite entry for Bundle Stats
Before rendered size treemap (top 50 + Other)%%{init: {"treemap":{"diagramPadding":0,"padding":0,"nodeHeight":70}}}%%
treemap-beta
"Before"
"chart.js": 297674
"index.js": 217412
"ja-JP_hira.json": 200552
"matter.js": 182365
"ja-JP.json": 175240
"index.es.js": 162042
"parser.js": 152028
"en-US.json": 130964
"runtime-core.esm-bundler.js": 128271
"preferences.vue": 108488
"photoswipe.esm.js": 98380
"isobmff-demuxer.js": 90387
"index.js": 81567
"qr-code-styling.js": 78263
"index.js": 71928
"media-source.js": 67937
"sample.js": 66728
"codec-data.js": 64521
"helpers.dataset.js": 64510
"emojilist.json": 58505
"matroska-demuxer.js": 57553
"settings.vue": 56929
"MkPostForm.vue": 56419
"media-sink.js": 53416
"mpeg-ts-demuxer.js": 51847
"roles.policy-editor.vue": 48629
"index.js": 47659
"index.js": 45859
"drop-and-fusion.game.vue": 44733
"qr-scanner-worker.min.js": 44059
"hammer.js": 43337
"index.js": 43195
"source.js": 42986
"reactivity.esm-bundler.js": 39413
"isobmff-boxes.js": 38434
"conversion.js": 37301
"codec.js": 36931
"core.module.js": 35638
"MkNoteDetailed.vue": 35573
"runtime-dom.esm-bundler.js": 34822
"isobmff-muxer.js": 34706
"index.mjs": 33508
"hls-muxer.js": 33295
"MkNote.vue": 32656
"decode-data-html.js": 32630
"matroska-muxer.js": 31060
"encode-html.js": 30895
"chartjs-plugin-zoom.esm.js": 30484
"MkGrid.vue": 29214
"MkDrive.vue": 27419
"Other": 6441860
After rendered size treemap (top 50 + Other)%%{init: {"treemap":{"diagramPadding":0,"padding":0,"nodeHeight":70}}}%%
treemap-beta
"After"
"chart.js": 297674
"index.js": 217412
"ja-JP_hira.json": 200552
"matter.js": 182365
"ja-JP.json": 175240
"index.es.js": 162042
"parser.js": 152028
"en-US.json": 130964
"runtime-core.esm-bundler.js": 128271
"preferences.vue": 108488
"photoswipe.esm.js": 98380
"isobmff-demuxer.js": 90387
"index.js": 81567
"qr-code-styling.js": 78263
"index.js": 71928
"media-source.js": 67937
"sample.js": 66728
"codec-data.js": 64521
"helpers.dataset.js": 64510
"emojilist.json": 58505
"matroska-demuxer.js": 57553
"settings.vue": 56929
"MkPostForm.vue": 56419
"media-sink.js": 53416
"mpeg-ts-demuxer.js": 51847
"roles.policy-editor.vue": 48629
"index.js": 47659
"index.js": 45859
"drop-and-fusion.game.vue": 44733
"qr-scanner-worker.min.js": 44059
"hammer.js": 43337
"index.js": 43195
"source.js": 42986
"reactivity.esm-bundler.js": 39413
"isobmff-boxes.js": 38434
"conversion.js": 37301
"codec.js": 36931
"core.module.js": 35638
"MkNoteDetailed.vue": 35573
"runtime-dom.esm-bundler.js": 34822
"isobmff-muxer.js": 34706
"index.mjs": 33508
"hls-muxer.js": 33295
"MkNote.vue": 32656
"decode-data-html.js": 32630
"matroska-muxer.js": 31060
"encode-html.js": 30895
"chartjs-plugin-zoom.esm.js": 30484
"MkGrid.vue": 29214
"MkDrive.vue": 27419
"Other": 6442830
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contributor
|
このPRによるapi.jsonの差分 差分はこちら--- base
+++ head
@@ -18521,6 +18521,163 @@
}
}
},
+ "/admin/unset-mfa": {
+ "post": {
+ "operationId": "post___admin___unset-mfa",
+ "summary": "admin/unset-mfa",
+ "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:admin:unset-mfa*",
+ "externalDocs": {
+ "description": "Source code",
+ "url": "https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/admin/unset-mfa.ts"
+ },
+ "tags": [
+ "admin"
+ ],
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
+ "required": [
+ "userId"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "OK (without any results)"
+ },
+ "400": {
+ "description": "Client error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
+ },
+ "examples": {
+ "NO_SUCH_USER": {
+ "value": {
+ "error": {
+ "message": "No such user.",
+ "code": "NO_SUCH_USER",
+ "id": "ccafc7fe-5074-4edd-9dc0-8ef9ef6a701d"
+ }
+ }
+ },
+ "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/unset-user-avatar": {
"post": {
"operationId": "post___admin___unset-user-avatar", |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #17614 +/- ##
===========================================
+ Coverage 22.41% 25.21% +2.80%
===========================================
Files 1161 1164 +3
Lines 39682 39911 +229
Branches 11053 11096 +43
===========================================
+ Hits 8894 10064 +1170
+ Misses 24723 23919 -804
+ Partials 6065 5928 -137 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
⚙️ Backend Memory Usage ReportAfter GC
V8 Heap Snapshot Statistics
Base heap snapshot composition%%{init: {"sankey":{"showValues":false,"linkColor":"target","labelStyle":"outlined","nodeAlignment":"center","nodePadding":10,"nodeColors":{"Base":"#888888","Code":"#f28e2c","bytecode":"#f28e2c","Other":"#888888","Strings":"#e15759","string":"#e15759","JS arrays":"#76b7b2","array nodes":"#76b7b2","Typed arrays":"#59a14f","System objects":"#edc949","system / Map":"#edc949","system / DescriptorArray":"#edc949","Other JS objects":"#af7aa1","closure":"#af7aa1","Object":"#af7aa1","Other non-JS objects":"#ff9da7"}}}}%%
sankey-beta
"Base","Code",24.77
"Code","bytecode",8.28
"Code","Other",16.5
"Base","Strings",39.11
"Strings","string",36.03
"Strings","Other",3.08
"Base","JS arrays",13.96
"JS arrays","array nodes",12.44
"JS arrays","Other",1.52
"Base","Typed arrays",0.54
"Base","System objects",10.79
"System objects","system / Map",3.8
"System objects","system / DescriptorArray",3.6
"System objects","Other",3.39
"Base","Other JS objects",10.76
"Other JS objects","closure",5.6
"Other JS objects","Object",3.68
"Other JS objects","Other",1.49
"Base","Other non-JS objects",0.05
Head heap snapshot composition%%{init: {"sankey":{"showValues":false,"linkColor":"target","labelStyle":"outlined","nodeAlignment":"center","nodePadding":10,"nodeColors":{"Head":"#888888","Code":"#f28e2c","bytecode":"#f28e2c","Other":"#888888","Strings":"#e15759","string":"#e15759","JS arrays":"#76b7b2","array nodes":"#76b7b2","Typed arrays":"#59a14f","System objects":"#edc949","system / Map":"#edc949","system / DescriptorArray":"#edc949","Other JS objects":"#af7aa1","closure":"#af7aa1","Object":"#af7aa1","Other non-JS objects":"#ff9da7"}}}}%%
sankey-beta
"Head","Code",24.77
"Code","bytecode",8.28
"Code","Other",16.49
"Head","Strings",39.11
"Strings","string",36.03
"Strings","Other",3.08
"Head","JS arrays",13.97
"JS arrays","array nodes",12.44
"JS arrays","Other",1.53
"Head","Typed arrays",0.54
"Head","System objects",10.79
"System objects","system / Map",3.8
"System objects","system / DescriptorArray",3.6
"System objects","Other",3.39
"Head","Other JS objects",10.77
"Other JS objects","closure",5.6
"Other JS objects","Object",3.68
"Other JS objects","Other",1.49
"Head","Other non-JS objects",0.05
Runtime Loaded JS FootprintClick to show
Largest Newly Loaded Modules
|
Member
|
/preview |
Member
|
👍 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
二要素認証(TOTP・パスキー)を解除できるように
Why
緊急時に使用する
Additional info (optional)
Checklist