cherrypick improve mutes and blocks #61

Open
leah wants to merge 5 commits from mute-fix into main
Owner

Cherrypicked from foundkey

Cherrypicked from [foundkey](https://akkoma.dev/FoundKeyGang/FoundKey/pulls/32)
leah added 1 commit 2025-02-05 12:26:09 +00:00
cherrypick improve mutes and blocks from foundkey
Some checks failed
Check Misskey JS version / Check version (pull_request) Successful in 10s
API report (misskey.js) / report (pull_request) Successful in 49s
Lint / pnpm_install (pull_request) Successful in 47s
Test (misskey.js) / test (22.x) (pull_request) Successful in 53s
Test (frontend) / vitest (22.x) (pull_request) Successful in 1m23s
Test (production install and build) / production (22.x) (pull_request) Successful in 1m3s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 1m42s
Test (backend) / unit (22.x) (pull_request) Successful in 2m32s
Lint / lint (backend) (pull_request) Failing after 58s
Lint / lint (misskey-js) (pull_request) Successful in 34s
Lint / lint (sw) (pull_request) Successful in 33s
Lint / typecheck (misskey-js) (pull_request) Successful in 34s
Lint / typecheck (backend) (pull_request) Failing after 49s
Test (backend) / e2e (22.x) (pull_request) Failing after 6m35s
Lint / lint (frontend) (pull_request) Successful in 7m42s
b60c86ae6e
leah added 1 commit 2025-02-05 12:26:21 +00:00
Merge branch 'main' into mute-fix
Some checks failed
API report (misskey.js) / report (push) Successful in 45s
Lint / pnpm_install (pull_request) Successful in 29s
Test (frontend) / vitest (22.x) (pull_request) Successful in 1m19s
Test (production install and build) / production (22.x) (pull_request) Successful in 1m4s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 1m27s
Test (backend) / unit (22.x) (pull_request) Successful in 2m30s
Lint / lint (misskey-js) (pull_request) Successful in 38s
Lint / lint (backend) (pull_request) Failing after 59s
Lint / lint (sw) (pull_request) Successful in 32s
Lint / typecheck (backend) (pull_request) Failing after 48s
Lint / typecheck (misskey-js) (pull_request) Successful in 34s
Test (backend) / e2e (22.x) (pull_request) Failing after 6m25s
Lint / lint (frontend) (pull_request) Successful in 7m26s
9d6773c55d
leah added 1 commit 2025-02-05 16:25:49 +00:00
fix double space
Some checks failed
Lint / pnpm_install (pull_request) Successful in 35s
Test (frontend) / vitest (22.x) (pull_request) Successful in 1m18s
Test (production install and build) / production (22.x) (pull_request) Successful in 1m4s
Lint / lint (backend) (pull_request) Successful in 1m3s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 1m26s
Lint / lint (misskey-js) (pull_request) Successful in 35s
Lint / lint (sw) (pull_request) Successful in 31s
Lint / typecheck (misskey-js) (pull_request) Successful in 34s
Lint / lint (frontend) (pull_request) Successful in 7m51s
Lint / typecheck (backend) (pull_request) Failing after 47s
Test (backend) / unit (22.x) (pull_request) Successful in 2m26s
Test (backend) / e2e (22.x) (pull_request) Failing after 6m10s
80d1cc174c
Owner

huh,,, that's an interesting fix :3

wondering if mutes should affect mentions, but it seems reasonable to faer that they should

huh,,, that's an interesting fix :3 wondering if mutes should affect mentions, but it seems reasonable to faer that they should
sugar approved these changes 2025-02-07 21:23:56 +00:00
Owner

hm, there is a problem with ignoreAuthor that tests catch, this should be supported in some way

this is essentially used for user timeline, if someone intentionally browses through muted user's timeline, then their posts should be viewable despite the mute

fae imagines changing first condition to if (ids.has(note.userId) && !ignoreAuthor) to match original misskey-io code should be fine

hm, there is a problem with `ignoreAuthor` that tests catch, this should be supported in some way this is essentially used for user timeline, if someone intentionally browses through muted user's timeline, then their posts should be viewable despite the mute fae imagines changing first condition to `if (ids.has(note.userId) && !ignoreAuthor)` to match original misskey-io code should be fine
Author
Owner

Ah whoops I missed the ignoreAuthor thing but yes that should be fixed.

Ah whoops I missed the ignoreAuthor thing but yes that should be fixed.
leah added 1 commit 2025-02-08 12:01:23 +00:00
re-add ignoreAuthor
Some checks failed
Lint / pnpm_install (pull_request) Successful in 32s
Test (production install and build) / production (22.x) (pull_request) Successful in 1m15s
Test (frontend) / vitest (22.x) (pull_request) Successful in 1m25s
Lint / lint (backend) (pull_request) Successful in 1m5s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 1m41s
Lint / lint (misskey-js) (pull_request) Successful in 34s
Lint / lint (sw) (pull_request) Successful in 33s
Test (backend) / unit (22.x) (pull_request) Successful in 2m33s
Lint / typecheck (misskey-js) (pull_request) Successful in 33s
Lint / typecheck (backend) (pull_request) Successful in 1m26s
Test (backend) / e2e (22.x) (pull_request) Failing after 6m22s
Lint / lint (frontend) (pull_request) Successful in 7m28s
b597eb4c04
leah added 1 commit 2025-02-08 13:15:46 +00:00
fix?
Some checks failed
Lint / pnpm_install (pull_request) Successful in 32s
Test (production install and build) / production (22.x) (pull_request) Successful in 1m9s
Test (frontend) / vitest (22.x) (pull_request) Successful in 1m24s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 1m34s
Lint / lint (backend) (pull_request) Successful in 1m11s
Lint / lint (misskey-js) (pull_request) Successful in 36s
Lint / lint (sw) (pull_request) Successful in 33s
Test (backend) / unit (22.x) (pull_request) Successful in 2m32s
Lint / lint (frontend) (pull_request) Successful in 7m20s
Lint / typecheck (misskey-js) (pull_request) Successful in 32s
Lint / typecheck (backend) (pull_request) Successful in 1m25s
Test (backend) / e2e (22.x) (pull_request) Failing after 6m30s
fbb7be529c
Some checks failed
Lint / pnpm_install (pull_request) Successful in 32s
Test (production install and build) / production (22.x) (pull_request) Successful in 1m9s
Test (frontend) / vitest (22.x) (pull_request) Successful in 1m24s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 1m34s
Lint / lint (backend) (pull_request) Successful in 1m11s
Lint / lint (misskey-js) (pull_request) Successful in 36s
Lint / lint (sw) (pull_request) Successful in 33s
Test (backend) / unit (22.x) (pull_request) Successful in 2m32s
Lint / lint (frontend) (pull_request) Successful in 7m20s
Lint / typecheck (misskey-js) (pull_request) Successful in 32s
Lint / typecheck (backend) (pull_request) Successful in 1m25s
Test (backend) / e2e (22.x) (pull_request) Failing after 6m30s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin mute-fix:mute-fix
git checkout mute-fix

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff mute-fix
git checkout mute-fix
git rebase main
git checkout main
git merge --ff-only mute-fix
git checkout mute-fix
git rebase main
git checkout main
git merge --no-ff mute-fix
git checkout main
git merge --squash mute-fix
git checkout main
git merge --ff-only mute-fix
git checkout main
git merge mute-fix
git push origin main
Sign in to join this conversation.
No description provided.