enhance(ap): 凍結をリモートに配信する際、Delete PersonではなくUpdate Personとして表現するように#16268
Open
tamaina wants to merge 105 commits intomisskey-dev:developfrom
Open
enhance(ap): 凍結をリモートに配信する際、Delete PersonではなくUpdate Personとして表現するように#16268tamaina wants to merge 105 commits intomisskey-dev:developfrom
tamaina wants to merge 105 commits intomisskey-dev:developfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #16268 +/- ##
===========================================
+ Coverage 46.03% 46.24% +0.20%
===========================================
Files 1769 1778 +9
Lines 182039 182748 +709
Branches 5403 5554 +151
===========================================
+ Hits 83800 84503 +703
- Misses 98190 98215 +25
+ Partials 49 30 -19 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
このPRによるapi.jsonの差分 差分はこちら--- base
+++ head
@@ -16434,6 +16434,9 @@
"isSuspended": {
"type": "boolean"
},
+ "isRemoteSuspended": {
+ "type": "boolean"
+ },
"isHibernated": {
"type": "boolean"
},
@@ -16505,6 +16508,7 @@
"isModerator",
"isSilenced",
"isSuspended",
+ "isRemoteSuspended",
"isHibernated",
"lastActiveDate",
"moderationNote", |
Contributor
Author
|
アカウント削除ではない=follower/followingが減算されないのでテストの書き方を考える必要がある というか、ローカルユーザーが凍結されてもFFの減算やFF関係の削除処理がされなさそうなのに(この仕様も一考の余地がありそう…)リモートのテストでの検証がそれの検出でっていうのはあまりよろしくない感じはありそう |
Contributor
Author
|
@syuilo どう思う?(雑) |
Contributor
Author
全然違う、suspend時にunFollowAllが走ってた |
Contributor
Author
|
READY FOR REVIEW |
17 tasks
Contributor
Author
|
普通にテスト落ちてる? |
Contributor
Author
|
と思ったけどmin.node-versionと.node-versionで挙動違うのおかしい |
Contributor
Author
|
conflict resolved |
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.
Resolve #13256
What
Why
diff https://github.com/tamaina/misskey/compare/ap-susp-update..remote-suspend
Resolve #13256
ユーザーの凍結をDeleteとして表現するのはいろいろ不都合なので、isRemoteSuspendedフラグで管理する
Additional info (optional)
Checklist