misskey-dev / misskey

🌎 A completely free and open interplanetary microblogging platform 🚀
https://misskey-hub.net/
GNU Affero General Public License v3.0
9.95k stars 1.35k forks source link

Feat: 連合をホワイトリスト制にできるように #14643

Closed syuilo closed 2 weeks ago

syuilo commented 2 weeks ago

What

Resolve #2318

Why

2318

Additional info (optional)

Checklist

github-actions[bot] commented 2 weeks ago

Thank you for sending us a great Pull Request! 👍 Please regenerate misskey-js type definitions! 🙏

example:

pnpm run build-misskey-js-with-types
github-actions[bot] commented 2 weeks ago

このPRによるapi.jsonの差分

差分はこちら ```diff --- base +++ head @@ -558,6 +558,15 @@ "string", "null" ] + }, + "federation": { + "type": "string" + }, + "federationHosts": { + "type": "array", + "items": { + "type": "string" + } } }, "required": [ @@ -667,7 +676,9 @@ "urlPreviewMaximumContentLength", "urlPreviewRequireContentLength", "urlPreviewUserAgent", - "urlPreviewSummaryProxyUrl" + "urlPreviewSummaryProxyUrl", + "federation", + "federationHosts" ] } } @@ -13925,6 +13936,20 @@ "string", "null" ] + }, + "federation": { + "type": "string", + "enum": [ + "all", + "none", + "specified" + ] + }, + "federationHosts": { + "type": "array", + "items": { + "type": "string" + } } } } ``` [Get diff files from Workflow Page](https://github.com/misskey-dev/misskey/actions/runs/11082614317)
codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 50.45872% with 54 lines in your changes missing coverage. Please review.

Project coverage is 39.83%. Comparing base (c3b0e1a) to head (af6eb53). Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
packages/frontend/src/pages/admin/settings.vue 0.00% 37 Missing :warning:
...kend/src/server/api/endpoints/admin/update-meta.ts 55.55% 8 Missing :warning:
...ges/backend/src/core/activitypub/ApInboxService.ts 0.00% 2 Missing :warning:
...kend/src/queue/processors/InboxProcessorService.ts 0.00% 2 Missing :warning:
...ges/backend/src/server/api/endpoints/admin/meta.ts 85.71% 2 Missing :warning:
.../backend/src/core/activitypub/ApResolverService.ts 0.00% 1 Missing :warning:
...nd/src/queue/processors/DeliverProcessorService.ts 0.00% 1 Missing :warning:
...ckages/backend/src/server/api/endpoints/ap/show.ts 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #14643 +/- ## =========================================== + Coverage 39.65% 39.83% +0.17% =========================================== Files 1544 1544 Lines 193513 193604 +91 Branches 2506 3620 +1114 =========================================== + Hits 76731 77114 +383 + Misses 116217 115927 -290 + Partials 565 563 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

syuilo commented 2 weeks ago

マージするか