72bc789746 
								
							 
						 
						
							
							
								
								feature: ユーザ作成時にSystemWebhookを発信できるようにする ( #14321 )  
							
							... 
							
							
							
							* feature: ユーザ作成時にSystemWebhookを発信できるようにする
* fix CHANGELOG.md 
							
						 
						
							2024-07-29 21:31:32 +09:00  
				
					
						
							
							
								 
						
							
								befa8e4a7f 
								
							 
						 
						
							
							
								
								fix(backend): avoid caching remote user's HTL when receiving Note ( #13772 )  
							
							... 
							
							
							
							* fix(backend): avoid caching remote user's HTL when receiving Note
* test(backend): add test for FFT
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> 
							
						 
						
							2024-07-25 16:37:46 +09:00  
				
					
						
							
							
								 
						
							
								337b42bcb1 
								
							 
						 
						
							
							
								
								revert  5f88d56d96 
							
							... 
							
							
							
							バグがある(かつすぐに修正できそうにない) & まだレビュー途中で意図せずマージされたため 
							
						 
						
							2024-07-20 21:33:20 +09:00  
				
					
						
							
							
								 
						
							
								5f88d56d96 
								
							 
						 
						
							
							
								
								perf(federation): Ed25519署名に対応する ( #13464 )  
							
							... 
							
							
							
							* 1. ed25519キーペアを発行・Personとして公開鍵を送受信
* validate additionalPublicKeys
* getAuthUserFromApIdはmainを選ぶ
* ✌️ 
* fix
* signatureAlgorithm
* set publicKeyCache lifetime
* refresh
* httpMessageSignatureAcceptable
* ED25519_SIGNED_ALGORITHM
* ED25519_PUBLIC_KEY_SIGNATURE_ALGORITHM
* remove sign additionalPublicKeys signature requirements
* httpMessageSignaturesSupported
* httpMessageSignaturesImplementationLevel
* httpMessageSignaturesImplementationLevel: '01'
* perf(federation): Use hint for getAuthUserFromApId (#13470 )
* Hint for getAuthUserFromApId
* とどのつまりこれでいいのか?
* use @misskey-dev/node-http-message-signatures
* fix
* signedPost, signedGet
* ap-request.tsを復活させる
* remove digest prerender
* fix test?
* fix test
* add httpMessageSignaturesImplementationLevel to FederationInstance
* ManyToOne
* fetchPersonWithRenewal
* exactKey
* ✌️ 
* use const
* use gen-key-pair fn. from  '@misskey-dev/node-http-message-signatures'
* update node-http-message-signatures
* fix
* @misskey-dev/node-http-message-signatures@0.0.0-alpha.11
* getAuthUserFromApIdでupdatePersonの頻度を増やす
* cacheRaw.date
* use requiredInputs
https://github.com/misskey-dev/misskey/pull/13464#discussion_r1509964359 
* update @misskey-dev/node-http-message-signatures
* clean up
* err msg
* fix(backend): fetchInstanceMetadataのLockが永遠に解除されない問題を修正
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix httpMessageSignaturesImplementationLevel validation
* fix test
* fix
* comment
* comment
* improve test
* fix
* use Promise.all in genRSAAndEd25519KeyPair
* refreshAndprepareEd25519KeyPair
* refreshAndfindKey
* commetn
* refactor public keys add
* digestプリレンダを復活させる
RFC実装時にどうするか考える
* fix, async
* fix
* !== true
* use save
* Deliver update person when new key generated (not tested)
https://github.com/misskey-dev/misskey/pull/13464#issuecomment-1977049061 
* 循環参照で落ちるのを解消?
* fix?
* Revert "fix?"
This reverts commit 0082f6f8e8https://github.com/misskey-dev/misskey/pull/13950 
* define additionalPublicKeys
* fix
* merge fix
* refreshAndprepareEd25519KeyPair → refreshAndPrepareEd25519KeyPair
* remove gen-key-pair.ts
* defaultMaxListeners = 512
* Revert "defaultMaxListeners = 512"
This reverts commit f2c412c180d0aada55c19e0a93f110 
							
						 
						
							2024-07-18 01:28:17 +09:00  
				
					
						
							
							
								 
						
							
								31e82fc29a 
								
							 
						 
						
							
							
								
								test(backend): kill many `any` in backend test (partial) ( #14054 )  
							
							... 
							
							
							
							* kill any on utils:api
* kill any on timeline test
* use optional chain to kill TS2532 on timeline test
変更前: 該当ノートが見つからなければundefinedに対するプロパティアクセスとしてテストがクラッシュ
変更後: 該当ノートが見つからなければoptional chainがundefinedとして評価されるが、strictEqualの右辺がnon-nullableなためアサーションに失敗しテストがクラッシュ
* kill `as any` for ApMfmService
* kill argument any for api-visibility
* kill argument any across a few tests
* do not return value that has yielded from `await`-ing `Promise<void>`
* force cast
* runtime non-null assertion to coerce
* rewrite `assert.notEqual(expr, null)` to `assert.ok(expr)`
こうすることでassertion type扱いになり、non-nullableになる
* change return type of `failedApiCall` to `void`
戻り値がどこにも使われていない
* split bindings for exports.ts
型が合わなくて文句を言ってくるので適切に分割
* runtime non-null assertion
* runtime non-null assertion
* 何故かうまく行かないので、とりあえずXORしてみる
* Revert "何故かうまく行かないので、とりあえずXORしてみる"
This reverts commit 48cf32c930fe95c05b3fb99b7b539252d8a54fc7https://github.com/misskey-dev/misskey/pull/14054#discussion_r1672369526  (part 1)
* test: use non-null assertion to suppress too many error
* Update packages/backend/test/utils.ts
Co-authored-by: anatawa12 <anatawa12@icloud.com>
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com> 
							
						 
						
							2024-07-14 09:33:16 +09:00  
				
					
						
							
							
								 
						
							
								58c596cacf 
								
							 
						 
						
							
							
								
								fix(backend): 一般ユーザーから見たユーザーのバッジの一覧に公開されていないものが含まれることがある問題を修正 ( #14195 )  
							
							... 
							
							
							
							* enhance(backend): 公開バッジのみをpackするように (MisskeyIO#652)
(cherry picked from commit b8a90659f3 
							
						 
						
							2024-07-14 09:26:25 +09:00  
				
					
						
							
							
								 
						
							
								6cd15275bb 
								
							 
						 
						
							
							
								
								fix: サジェストされるユーザのリストアップ方法を見直し ( #14180 )  
							
							... 
							
							
							
							* fix: サジェストされるユーザのリストアップ方法を見直し
* fix comment
* fix CHANGELOG.md
* ノートの無いユーザ(updatedAtが無いユーザ)は含めないらしい
* fix test 
							
						 
						
							2024-07-12 21:14:09 +09:00  
				
					
						
							
							
								 
						
							
								9ef6c4716c 
								
							 
						 
						
							
							
								
								fix(backend): 名前を空白文字列だけにできる問題を修正 ( #14119 )  
							
							... 
							
							
							
							* fix(backend): 名前を空白文字列だけにできる問題を修正
* Update Changelog
* fix test
* Unicodeを含める
* fix
* ユーザー名がUnicode制御文字とスペースのみで構成される場合はnullに
* Revert "ユーザー名がUnicode制御文字とスペースのみで構成される場合はnullに"
This reverts commit 6c752a69c0 
							
						 
						
							2024-07-07 14:19:00 +09:00  
				
					
						
							
							
								 
						
							
								de1fe7cc5a 
								
							 
						 
						
							
							
								
								Use built-in API ( #14095 )  
							
							
							
						 
						
							2024-07-02 14:47:07 +09:00  
				
					
						
							
							
								 
						
							
								eafae79869 
								
							 
						 
						
							
							
								
								test(backend): goodbye, Lenna ( #14111 )  
							
							
							
						 
						
							2024-07-02 14:29:44 +09:00  
				
					
						
							
							
								 
						
							
								427648c4b8 
								
							 
						 
						
							
							
								
								update deps ( #14057 )  
							
							... 
							
							
							
							* wip
* locales/index.jsのymlファイル取得ロジックを調節
* regenerate pnpm-lock.yaml
* fix(backend): typecheck fails
* chore(deps): bump ip-cidr from 4.0.0 to 4.0.1 in /packages/backend
* chore: migrate ESLint configs to flat config (#14094 )
* chore: migrate ESLint configs to flat config
* fix: update paths
* fix: frontend lint fails
* refactor(misskey-js): lint build.js
* update deps
---------
Co-authored-by: samunohito <46447427+samunohito@users.noreply.github.com>
Co-authored-by: zyoshoka <root@zyoshoka.com>
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com> 
							
						 
						
							2024-07-02 11:38:34 +09:00  
				
					
						
							
							
								 
						
							
								a6edd50a5d 
								
							 
						 
						
							
							
								
								chore(docker-compose): 推奨の名前にする ( #14096 )  
							
							... 
							
							
							
							* chore(docker-compose): 推奨の名前にする
5c18e329d5/spec.md (compose-file) 
							
						 
						
							2024-06-28 11:16:12 +09:00  
				
					
						
							
							
								 
						
							
								961cb6c5ee 
								
							 
						 
						
							
							
								
								fix(backend): fix creating reactions bugs ( #13901 )  
							
							... 
							
							
							
							* fix(backend): add fallback for empty string when creating reaction
* fix(backend): prohibit reactions to Renote
* test(backend): add some tests for `notes/reactions/create` endpoint
* Update CHANGELOG.md
* lint
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> 
							
						 
						
							2024-06-22 19:49:38 +09:00  
				
					
						
							
							
								 
						
							
								ac12ab8629 
								
							 
						 
						
							
							
								
								fix(backend): フィードのノートのMFMはHTMLにレンダーしてから返す ( #14006 )  
							
							... 
							
							
							
							* fix(backend): フィードのノートのMFMはHTMLにレンダーしてから返す (test wip)
* chore: beforeEachを使う?
* fix: プレーンテキストにフォールバックしてMFMが含まれていないか調べる方針を実装
* fix: application/jsonだとパースされるのでその作用をキャンセル
* build: fix lint error
* docs: update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> 
							
						 
						
							2024-06-22 12:51:02 +09:00  
				
					
						
							
							
								 
						
							
								8a9de081f1 
								
							 
						 
						
							
							
								
								fix(backend): fallback if `sinceId` is older than the oldest in cache when using FTT ( #14061 )  
							
							... 
							
							
							
							* fix(backend): fallback if `sinceId` is older than the oldest in cache when using FTT
* Update CHANGELOG.md
* chore: fix description of test 
							
						 
						
							2024-06-22 12:43:03 +09:00  
				
					
						
							
							
								 
						
							
								811ffbf3a4 
								
							 
						 
						
							
							
								
								remove unused file  
							
							
							
						 
						
							2024-06-21 13:18:19 +09:00  
				
					
						
							
							
								 
						
							
								d0ee0203e1 
								
							 
						 
						
							
							
								
								Fix(backend): Limit antenna/webhook/list to exact amount ( #14036 )  
							
							... 
							
							
							
							... not +1
* Update antennas/clips e2e test 
							
						 
						
							2024-06-18 12:18:04 +09:00  
				
					
						
							
							
								 
						
							
								61fae45390 
								
							 
						 
						
							
							
								
								feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする ( #13758 )  
							
							... 
							
							
							
							* feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする
* モデログに対応&エンドポイントを単一オブジェクトでのサポートに変更(API経由で大量に作るシチュエーションもないと思うので)
* fix spdx
* fix migration
* fix migration
* fix models
* add e2e webhook
* tweak
* fix modlog
* fix bugs
* add tests and fix bugs
* add tests and fix bugs
* add tests
* fix path
* regenerate locale
* 混入除去
* 混入除去
* add abuseReportResolved
* fix pnpm-lock.yaml
* add abuseReportResolved test
* fix bugs
* fix ui
* add tests
* fix CHANGELOG.md
* add tests
* add RoleService.getModeratorIds tests
* WebhookServiceをUserとSystemに分割
* fix CHANGELOG.md
* fix test
* insertOneを使う用に
* fix
* regenerate locales
* revert version
* separate webhook job queue
* fix
* 🎨 
* Update QueueProcessorService.ts
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> 
							
						 
						
							2024-06-08 15:34:19 +09:00  
				
					
						
							
							
								 
						
							
								2b8056a852 
								
							 
						 
						
							
							
								
								fix(backend): use insertOne insteadof insert/findOneOrFail combination ( #13908 )  
							
							... 
							
							
							
							* fix(backend): use insertOne insteadof insert/findOneOrFail combination
* fix: typo
* fix(backend): inherit mainAlias?
* refactor(backend): use extend
* fix(backend): invalid entityTarget
* fix(backend): fake where
* chore: debug
* chore: debug
* test: log
* fix(backend): column names
* fix(backend): remove dummy from
* revert: log
* fix(backend): position
* fix(backend): automatic aliasing
* chore(backend): alias
* chore(backend): remove from
* fix(backend): type
* fix(backend): avoid pure name
* test(backend): fix type
* chore(backend): use cte
* fix(backend): avoid useless alias
* fix(backend): fix typo
* fix(backend): __disambiguation__
* fix(backend): quote
* chore(backend): t
* chore(backend): accessible
* chore(backend): concrete returning
* fix(backend): quote
* chore: log more
* chore: log metadata
* chore(backend): use raw
* fix(backend): returning column name
* fix(backend): transform
* build(backend): wanna logging
* build(backend): transform empty
* build(backend): build alias
* build(backend): restore name
* chore: return entity
* fix: test case
* test(backend): 204
* chore(backend): log sql
* chore(backend): assert user joined
* fix(backend): typo
* chore(backend): log long sql
* chore(backend): log join
* chore(backend): log join depth null
* chore(backend): joinAttributes
* chore(backend): override createJoinExpression
* chore: join log
* fix(backend): escape
* test(backend): log log
* chore(backend): join gonna success?
* chore(backend): relations
* chore(backend): undefined
* chore(backend): target
* chore(backend): remove log
* chore(backend): log chart update
* chore(backend): log columns
* chore(backend): check hasMetadata
* chore(backend): unshift id when not included
* chore(backend): missing select
* chore(backend): remove debug code 
							
						 
						
							2024-06-01 11:16:44 +09:00  
				
					
						
							
							
								 
						
							
								eaa85f5aa3 
								
							 
						 
						
							
							
								
								fix test  
							
							
							
						 
						
							2024-05-31 13:28:11 +09:00  
				
					
						
							
							
								 
						
							
								4579be0f54 
								
							 
						 
						
							
							
								
								新着ノートをサウンドで通知する機能をdeck UIに追加 ( #13867 )  
							
							... 
							
							
							
							* feat(deck-ui): implement note notification
* chore: remove notify in antenna
* docs(changelog): 新着ノートをサウンドで通知する機能をdeck UIに追加
* fix: type error in test
* lint: key order
* fix: remove notify column
* test: remove test for notify
* chore: make sound selectable
* fix: add license header
* fix: add license header again
* Unnecessary await
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* ファイルを選択してください -> ファイルが選択されていません
* fix: i18n忘れ
* fix: i18n忘れ
* pleaseSelectFile > fileNotSelected
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> 
							
						 
						
							2024-05-27 20:54:53 +09:00  
				
					
						
							
							
								 
						
							
								3ffbf6296f 
								
							 
						 
						
							
							
								
								feat: 個別のお知らせにリンクで飛べるように ( #13885 )  
							
							... 
							
							
							
							* feat(announcement): 個別のお知らせにリンクで飛べるように (MisskeyIO#639)
(cherry picked from commit f6bf7f992a 
							
						 
						
							2024-05-27 17:15:11 +09:00  
				
					
						
							
							
								 
						
							
								d2a5bb39e3 
								
							 
						 
						
							
							
								
								Merge pull request from GHSA-2vxv-pv3m-3wvj  
							
							... 
							
							
							
							* fix: normalize incoming signed activities
* Tweak style
* Update CHANGELOG.md
* Log compacted activity as well
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> 
							
						 
						
							2024-05-01 16:33:58 +09:00  
				
					
						
							
							
								 
						
							
								c7d7da8fc5 
								
							 
						 
						
							
							
								
								AP Link等は添付ファイル扱いしないようになど ( #13754 )  
							
							... 
							
							
							
							* Linkは添付ファイルではない
* CHANGELOG 
							
						 
						
							2024-04-28 10:53:33 +09:00  
				
					
						
							
							
								 
						
							
								20eb4bc296 
								
							 
						 
						
							
							
								
								Fix(backend): ActivityPubでのHTMLへのシリアライズを修正 ( #13752 )  
							
							... 
							
							
							
							* devモードでもActivityPub系エンドポイントへアクセスできるように
* ActivityPubでのHTMLのシリアライズを修正
* ハードコードしていたurlを`httpUrl`へ修正
* テストの追加 
							
						 
						
							2024-04-27 20:26:55 +09:00  
				
					
						
							
							
								 
						
							
								cd7f7271ca 
								
							 
						 
						
							
							
								
								enhance: 新しいコンディショナルロール条件の実装 ( #13732 )  
							
							... 
							
							
							
							* enhance: 新しいコンディショナルロールの実装
* fix: CHANGELOG.md 
							
						 
						
							2024-04-19 15:22:23 +09:00  
				
					
						
							
							
								 
						
							
								e423b8ce4b 
								
							 
						 
						
							
							
								
								細かいミュートの処理の修正 ( #13695 )  
							
							... 
							
							
							
							* fix: some replies are removed from global timeline
* refactor: 各チャンネルのミュートとブロックの処理をまとめる
* fix: リノートをミュートでその人のノートのリノートをミュートしていたを修正
* refactor: isPureRenotePackedを他のところでも使う
* docs(changelog): CHANGELOGを更新
* test: withReplies = falseでフォローしてる人によるリプライが流れてくる
* test: ノートミュートしているユーザーの通常ノートのリノートが流れてくる/含まれる 
							
						 
						
							2024-04-17 14:23:41 +09:00  
				
					
						
							
							
								 
						
							
								8c5d9a6295 
								
							 
						 
						
							
							
								
								fix(backend): incorrect logic for determining whether Quote or not ( #13700 )  
							
							... 
							
							
							
							* fix(backend): incorrect logic for determining whether Quote or not
* Update CHANGELOG.md
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> 
							
						 
						
							2024-04-14 10:23:48 +09:00  
				
					
						
							
							
								 
						
							
								efafa02f68 
								
							 
						 
						
							
							
								
								enhance(backend): ビデオファイルにビデオトラックがあるかを確認するように ( #13568 )  
							
							... 
							
							
							
							* enhance(backend): ビデオファイルにビデオトラックがあるかを確認するように
(cherry picked from commit 23d38a2d6492a2b24e9b2c031d66c3e8a5d382ef)
* Update Changelog
* Update Changelog
* Revert "Update Changelog"
This reverts commit 93fd996932d9d6524cad 
							
						 
						
							2024-03-31 12:43:39 +09:00  
				
					
						
							
							
								 
						
							
								b35ae97ba7 
								
							 
						 
						
							
							
								
								fix(backend): better `notes/translate` error response ( #13631 )  
							
							... 
							
							
							
							* fix(backend): better `notes/translate` error response
* Update CHANGELOG.md
* test(backend): perform administrative operations as `root`
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> 
							
						 
						
							2024-03-30 13:51:53 +09:00  
				
					
						
							
							
								 
						
							
								a1bc8fa77b 
								
							 
						 
						
							
							
								
								test(backend): fix streaming test error when replying to followers-only note ( #13618 )  
							
							
							
						 
						
							2024-03-24 16:46:52 +09:00  
				
					
						
							
							
								 
						
							
								f4838e50b4 
								
							 
						 
						
							
							
								
								enhance(antenna): Botの投稿を除外できるように ( #13603 )  
							
							... 
							
							
							
							* enhance(antenna): Botの投稿を除外できるように (MisskeyIO#545)
(cherry picked from commit a95ce067c6 
							
						 
						
							2024-03-21 07:51:01 +09:00  
				
					
						
							
							
								 
						
							
								29f6ba6310 
								
							 
						 
						
							
							
								
								chore: add missing SPDX ID and workflow check ( #13570 )  
							
							... 
							
							
							
							* chore: add workflow which checks if SPDX ID exists
* chore: add missing SPDX ID in some files
* chore: change trigger condition
* chore: trigger on push
* lint 
							
						 
						
							2024-03-13 22:37:18 +09:00  
				
					
						
							
							
								 
						
							
								5c1d86b796 
								
							 
						 
						
							
							
								
								refactor(backend): UserEntityService.packMany()の高速化 ( #13550 )  
							
							... 
							
							
							
							* refactor(backend): UserEntityService.packMany()の高速化
* 修正 
							
						 
						
							2024-03-12 14:31:34 +09:00  
				
					
						
							
							
								 
						
							
								412e9f284d 
								
							 
						 
						
							
							
								
								test(backend): enable typecheck by workflow ( #13526 )  
							
							
							
						 
						
							2024-03-07 09:51:57 +09:00  
				
					
						
							
							
								 
						
							
								9542cb8d62 
								
							 
						 
						
							
							
								
								fix(backend): リモートサーバーの情報が更新できなくなっていた問題を修正 ( #13507 )  
							
							... 
							
							
							
							* fix(backend): fetchInstanceMetadataのLockが永遠に解除されない問題を修正
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix test
* fix
* comment
* comment
* improve test
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> 
							
						 
						
							2024-03-04 13:48:57 +09:00  
				
					
						
							
							
								 
						
							
								38837bd388 
								
							 
						 
						
							
							
								
								test(backend): refactor tests ( #13499 )  
							
							... 
							
							
							
							* test(backend): refactor tests
* fix: failed test 
							
						 
						
							2024-03-03 20:15:35 +09:00  
				
					
						
							
							
								 
						
							
								5904d98208 
								
							 
						 
						
							
							
								
								Update packages/backend/test/e2e/mute.ts  
							
							... 
							
							
							
							Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com> 
							
						 
						
							2024-03-01 17:26:27 +09:00  
				
					
						
							
							
								 
						
							
								26d4c5fd94 
								
							 
						 
						
							
							
								
								メンションの最大数をロールごとに設定可能にする ( #13343 )  
							
							... 
							
							
							
							* Add new role policy: maximum mentions per note
* fix
* Reviewを反映
* fix
* Add ChangeLog
* Update type definitions
* Add E2E test
* CHANGELOG に説明を追加
---------
Co-authored-by: taichan <40626578+tai-cha@users.noreply.github.com> 
							
						 
						
							2024-02-29 20:48:02 +09:00  
				
					
						
							
							
								 
						
							
								16f16e6b08 
								
							 
						 
						
							
							
								
								fix(backend): ダイレクトなノートに対してはダイレクトでしか返信できないように ( #13477 )  
							
							... 
							
							
							
							* fix(backend): ダイレクトなノートに対してはダイレクトでしか返信できないように
* Update CHANGELOG.md
* test(backend): `notes/create`とWebSocket関連のテストを追加 
							
						 
						
							2024-02-29 20:42:02 +09:00  
				
					
						
							
							
								 
						
							
								5f43c2faa2 
								
							 
						 
						
							
							
								
								enhance(backend): 通知がミュート・凍結を考慮するようにする ( #13412 )  
							
							... 
							
							
							
							* Never return broken notifications #409 
Since notifications are stored in Redis, we can't expect relational
integrity: deleting a user will *not* delete notifications that
mention it.
But if we return notifications with missing bits (a `follow` without a
`user`, for example), the frontend will get very confused and throw an
exception while trying to render them.
This change makes sure we never expose those broken notifications. For
uniformity, I've applied the same logic to notes and roles mentioned
in notifications, even if nobody reported breakage in those cases.
Tested by creating a few types of notifications with a `notifierId`,
then deleting their user.
(cherry picked from commit 421f8d49e5d7a8dc3a798cc54716c767df8be3cb)
* Update Changelog
* Update CHANGELOG.md
* enhance: 通知がミュートを考慮するようにする
* enhance: 通知が凍結も考慮するようにする
* fix: notifierIdがない通知が消えてしまう問題
* Add tests (通知がミュートを考慮しているかどうか)
* fix: notifierIdがない通知が消えてしまう問題 (grouped)
* Remove unused import
* Fix: typo
* Revert "enhance: 通知が凍結も考慮するようにする"
This reverts commit b1e57e571d239a6952f722e2324f96🎨 
* console.error
* err
* remove try-catch
* 不要なジェネリクスを除去
* Revert  (既読処理をpack内で行うものを元に戻す)
* Clean
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/entities/NotificationEntityService.ts
* Update packages/backend/src/core/NotificationService.ts
* Clean
---------
Co-authored-by: dakkar <dakkar@thenautilus.net>
Co-authored-by: kakkokari-gtyih <daisho7308+f@gmail.com>
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> 
							
						 
						
							2024-02-28 21:26:26 +09:00  
				
					
						
							
							
								 
						
							
								664aeb3ced 
								
							 
						 
						
							
							
								
								fix(backend): リノート時のHTLへのストリーミングの意図しない挙動を修正 ( #13425 )  
							
							... 
							
							
							
							* fix(backend): リノート時のストリーミングの意図しない挙動を修正
* Update CHANGELOG.md
* fix: 不要な返り値
* fix: 不適切な条件分岐を修正
* test(backend): add htl tests
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> 
							
						 
						
							2024-02-28 17:43:17 +09:00  
				
					
						
							
							
								 
						
							
								f906ad6ca7 
								
							 
						 
						
							
							
								
								Enhance: コンディショナルロールの条件に「マニュアルロールへのアサイン」を追加 ( #13463 )  
							
							... 
							
							
							
							* コンディショナルロールの条件に「マニュアルロールへのアサイン」を追加
* コメント修正 
							
						 
						
							2024-02-27 18:45:46 +09:00  
				
					
						
							
							
								 
						
							
								750d262604 
								
							 
						 
						
							
							
								
								refactor(backend): `ReactionService.prototype.convertLegacyReactions` ( #13375 )  
							
							... 
							
							
							
							* add unit tests
* cleanup unnecessary type assertions
* `convertedReaction`変数の定義と変換表に対する存在確認処理の整理
* `count`変数の定義とループ処理での`Object.entries()`の活用
* 条件式の整理
* `Array.prototype.reduce`を使うように
* `Array.prototype.reduce`を使うように
* 配列操作を1つのメソッドチェーンに整理
これまでの実装では、`decodeReaction`の返り値が同一になる異なる入力値が同時に複数個存在した場合、後ろのもので上書きされてしまっていたはず。
これからの実装では、後ろのものは前のものに加算される。
(実際にこの挙動の変更が問題になるシチュエーションはまずないはず。)
* add unit test
* ドキュメントコメントの追加と型定義の調整 
							
						 
						
							2024-02-21 14:31:50 +09:00  
				
					
						
							
							
								 
						
							
								9a70ce8f5e 
								
							 
						 
						
							
							
								
								Merge pull request from GHSA-qqrm-9grj-6v32  
							
							... 
							
							
							
							* maybe ok
* fix
* test wip
* ✌️ 
* fix
* if (res.ok)
* validateContentTypeSetAsJsonLD
* 条件を考慮し直す
* その他の+json接尾辞が付いているメディアタイプも受け容れる
* https://github.com/misskey-dev/misskey-ghsa-qqrm-9grj-6v32/pull/1#discussion_r1490999009 
* add `; profile="https://www.w3.org/ns/activitystreams "`
* application/ld+json; 
							
						 
						
							2024-02-17 12:41:19 +09:00  
				
					
						
							
							
								 
						
							
								37959bab1d 
								
							 
						 
						
							
							
								
								refactor(backend): remove/replace deprecated type deps ( #13252 )  
							
							
							
						 
						
							2024-02-16 20:09:07 +09:00  
				
					
						
							
							
								 
						
							
								c1514ce91d 
								
							 
						 
						
							
							
								
								(re)  update SPDX-FileCopyrightText  
							
							... 
							
							
							
							Fix  #13290  
							
						 
						
							2024-02-13 15:59:27 +00:00  
				
					
						
							
							
								 
						
							
								311c2172d7 
								
							 
						 
						
							
							
								
								Revert "update SPDX-FileCopyrightText"  
							
							... 
							
							
							
							This reverts commit 9b5aeb76d8 
							
						 
						
							2024-02-13 15:50:11 +00:00  
				
					
						
							
							
								 
						
							
								32c5c43b6d 
								
							 
						 
						
							
							
								
								enhance: 禁止ワードはリモートノートも対象に ( #13280 )  
							
							... 
							
							
							
							Resolve  #13279  
						
							2024-02-13 04:54:01 +09:00  
				
					
						
							
							
								 
						
							
								9b5aeb76d8 
								
							 
						 
						
							
							
								
								update SPDX-FileCopyrightText  
							
							
							
						 
						
							2024-02-12 11:37:45 +09:00  
				
					
						
							
							
								 
						
							
								614c9a0fc6 
								
							 
						 
						
							
							
								
								fix: 特定文字列を含むノートを投稿できないようにする管理画面用設定項目を追加 ( #13210 )  
							
							... 
							
							
							
							* fix: 特定文字列を含むノートを投稿できないようにする管理画面用設定項目を追加
* Serviceでチェックするように変更 
							
						 
						
							2024-02-09 10:07:18 +09:00  
				
					
						
							
							
								 
						
							
								e89d760240 
								
							 
						 
						
							
							
								
								Enhance: 連合向けのノート配信を軽量化 ( #13192 )  
							
							... 
							
							
							
							* AP HTML表現をシンプルに
* a
* CHANGELOG
* リンク 
							
						 
						
							2024-02-07 19:57:59 +09:00  
				
					
						
							
							
								 
						
							
								d92aaf81c4 
								
							 
						 
						
							
							
								
								refactor: noteテーブルのインデックス整理と配列カラムへのクエリでインデックスを使うように ( #12993 )  
							
							... 
							
							
							
							* Optimize note model index
* enhance(backend): ANY()をやめる (MisskeyIO#239)
* add small e2e test drive endpoint
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com> 
							
						 
						
							2024-01-15 08:19:27 +09:00  
				
					
						
							
							
								 
						
							
								d792f4f348 
								
							 
						 
						
							
							
								
								fix(backend): 虚無ノートを投稿できる問題の修正と `api.json` の OpenAPI Specification 3.1.0 への対応 ( #12969 )  
							
							... 
							
							
							
							* fix(backend): `text: null`だけのノートは投稿できないように
* add test
* Update CHANGELOG.md
* chore: bump OpenAPI Specification from 3.0.0 to 3.1.0
* chore: テストがすでにコメントで記述されていたのでそっちを使うことにする
* fix test
* fix(backend): prohibit posting whitespace-only notes
* Update CHANGELOG.md
* fix(backend): `renoteId`または`fileIds`(`mediaIds`)または`poll`が`null`でない場合に、`text  が空白文字のみで構成されたリクエストになることを許可して、結果は`text: null`を返すように
* test(backend): 引用renoteで空白文字のみで構成されたtextにするとレスポンスが`text: null`になることをチェックするテストを追加
* fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように
* fix(misskey-js): OpenAPI 3.1に対応
* fix(misskey-js): 型生成をOpenAPI Specification 3.1.0に対応
* fix(ci): `validate-api.json`をOpenAPI Specification 3.1.0に対応
* fix(ci): スキーマ書き換えの際のミスを修正
* Revert "fix(frontend): `text`が`null`であって`renoteId`と`replyId`が`null`でないようなノートは引用リノートとして表示するように"
This reverts commit a9ca55343d865458989f 
							
						 
						
							2024-01-13 16:54:25 +09:00  
				
					
						
							
							
								 
						
							
								35ec41fc1e 
								
							 
						 
						
							
							
								
								enhance(backend): テストの高速化 ( #12939 )  
							
							... 
							
							
							
							* enhance(backend): テストの高速化
* add ls
* 自動的にマージされるようなので不要
* 起動方法を揃える
* fix test 
							
						 
						
							2024-01-08 17:43:52 +09:00  
				
					
						
							
							
								 
						
							
								618e2ba1d2 
								
							 
						 
						
							
							
								
								fix(backend): `drive/files/update`におけるファイル名のバリデーションが機能していない問題を修正 ( #12923 )  
							
							... 
							
							
							
							* fix(backend): `drive/files/update`におけるファイル名のバリデーションが機能していない問題を修正
* Update CHANGELOG.md
* refactor: `!== undefined` -> `!= null`
* add test 
							
						 
						
							2024-01-08 17:40:37 +09:00  
				
					
						
							
							
								 
						
							
								2a9db983fc 
								
							 
						 
						
							
							
								
								feat: export clips ( #12931 )  
							
							... 
							
							
							
							* feat: export clips
* Update CHANGELOG.md 
							
						 
						
							2024-01-07 10:35:58 +09:00  
				
					
						
							
							
								 
						
							
								30311aca18 
								
							 
						 
						
							
							
								
								fix(misskey-js): /signupと/signinの定義を作成してフロントの型エラーを抑制する ( #12846 )  
							
							... 
							
							
							
							* fix(misskey-js): /signupと/signinの定義を復活してフロントの型エラーを抑制する
* fix ci
* fix ci
* fix
* fix
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com> 
							
						 
						
							2024-01-03 13:41:28 +09:00  
				
					
						
							
							
								 
						
							
								ad346b6f36 
								
							 
						 
						
							
							
								
								feat(backend/oauth): allow CORS for token endpoint ( #12814 )  
							
							... 
							
							
							
							* feat(backend/oauth): allow CORS for token endpoint
* no need to explicitly set origin to `*`
* Update CHANGELOG.md 
							
						 
						
							2023-12-27 15:10:24 +09:00  
				
					
						
							
							
								 
						
							
								c96bc36fed 
								
							 
						 
						
							
							
								
								Merge pull request from GHSA-7pxq-6xx9-xpgm  
							
							... 
							
							
							
							* fix: fix improper authorization when accessing with third-party application
* refactor: refactor type definitions
* fix: get rid of unnecessary access limitation
* enhance: サードパーティアプリケーションがWebsocket APIを使えるように
* fix: add missing parentheses
* Revert "fix(backend): add missing kind definition for admin endpoints to improve security"
This reverts commit 5150053275 
							
						 
						
							2023-12-27 15:08:59 +09:00  
				
					
						
							
							
								 
						
							
								433d46e57f 
								
							 
						 
						
							
							
								
								fix(backend): テストが死んでいるのを修正 ( #12738 )  
							
							... 
							
							
							
							* fix test
* fix test
* fix test
* fix test
* fix test 
							
						 
						
							2023-12-22 09:06:13 +09:00  
				
					
						
							
							
								 
						
							
								15b0d2aff2 
								
							 
						 
						
							
							
								
								enhance: ロールにアサインされたときの通知 ( #12607 )  
							
							... 
							
							
							
							* wip
* Update misskey-js.api.md
* Update CHANGELOG.md
* Update RoleService.ts
* Update locales/ja-JP.yml
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* Update UserListService.ts
* Update misskey-js.api.md
* fix (#12724 )
---------
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com> 
							
						 
						
							2023-12-21 10:39:11 +09:00  
				
					
						
							
							
								 
						
							
								d14eb20122 
								
							 
						 
						
							
							
								
								chore(workflows): use postgres 15 everywhere ( #12726 )  
							
							
							
						 
						
							2023-12-21 10:29:51 +09:00  
				
					
						
							
							
								 
						
							
								4e2d802967 
								
							 
						 
						
							
							
								
								enhance: “つながりの公開範囲”がフォロー・フォロワー個別設定できるように ( #12702 )  
							
							... 
							
							
							
							* Enhance: “つながりの公開範囲”がフォロー・フォロワー個別設定できるように (#12072 )
* refactor: crowdin 編集部分のコミットを打ち消し
https://github.com/misskey-dev/misskey/pull/12702#issuecomment-1859417158 
* refactor: オブジェクトの名前修正
https://github.com/misskey-dev/misskey/pull/12702#issuecomment-1859417158 
* fix: 設定項目の説明を削除
名称が具体的になって必要なくなったため
https://github.com/misskey-dev/misskey/pull/12702#discussion_r1429932463  
							
						 
						
							2023-12-18 20:59:20 +09:00  
				
					
						
							
							
								 
						
							
								c68d87538a 
								
							 
						 
						
							
							
								
								リストタイムラインでミュートが貫通してしまう問題に対処 ( #12534 )  
							
							... 
							
							
							
							* ユーザリストTL系の各種動作を修正・統一
* fix
* fix CHANGELOG.md
* テスト追加 
							
						 
						
							2023-12-03 10:19:37 +09:00  
				
					
						
							
							
								 
						
							
								3e0231d995 
								
							 
						 
						
							
							
								
								fix(backend): 何もノートしていないユーザーのフィードにアクセスするとエラーになる問題を修正 ( #12455 )  
							
							... 
							
							
							
							* fix(backend): 何もノートしていないユーザーのフィードにアクセスするとエラーになる問題を修正
* Update CHANGELOG.md
* add test
* fix: incorrect bob's username 
							
						 
						
							2023-11-26 10:01:06 +09:00  
				
					
						
							
							
								 
						
							
								864827f788 
								
							 
						 
						
							
							
								
								Hard mute ( #12376 )  
							
							... 
							
							
							
							* feat(backend,misskey-js): hard mute storage in backend
* fix(backend,misskey-js): mute word record type
* chore(frontend): generalize XWordMute
* feat(frontend): configure hard mute
* feat(frontend): hard mute notes on the timelines
* lint(backend,frontend): fix lint failure
* chore(misskey-js): update api.md
* fix(backend): test failure
* chore(frontend): check word mute for reply
* chore: limit hard mute count 
							
						 
						
							2023-11-23 18:56:20 +09:00  
				
					
						
							
							
								 
						
							
								9d78a1a8b3 
								
							 
						 
						
							
							
								
								enhance(backend): make ftt db fallback configurable  
							
							
							
						 
						
							2023-11-16 10:20:57 +09:00  
				
					
						
							
							
								 
						
							
								aa6d0d4359 
								
							 
						 
						
							
							
								
								fix(backend): 非公開の投稿に対して返信できないように ( #12333 )  
							
							... 
							
							
							
							* fix(backend): 非公開の投稿に対して返信できないように
* Update CHANGELOG.md
* fix: test 
							
						 
						
							2023-11-15 11:10:45 +09:00  
				
					
						
							
							
								 
						
							
								e88dbad3cf 
								
							 
						 
						
							
							
								
								tweak test  
							
							
							
						 
						
							2023-11-01 15:56:57 +09:00  
				
					
						
							
							
								 
						
							
								5fb6847419 
								
							 
						 
						
							
							
								
								Feat: 未読通知数を表示できるように ( #11982 )  
							
							... 
							
							
							
							* 未読通知数を表示できるように
* Update Changelog
* オプトインにする
* Fix lint
* (add) テスト通知のプッシュ通知を追加
* add test
* フロントエンドの表示上限を99に変更
* Make it default on
* 共通スタイルをくくりだす
* Update Changelog
* tweak
* Update UserEntityService.ts
* rename
* Update navbar-for-mobile.vue
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> 
							
						 
						
							2023-11-01 13:34:05 +09:00  
				
					
						
							
							
								 
						
							
								9dcccbc8e1 
								
							 
						 
						
							
							
								
								fix(backend): 自分のフォローしているユーザーの自分のフォローしていないユーザーの visibility: followers な投稿への返信がストリーミングで流れてくる問題を修正  
							
							... 
							
							
							
							Fix  #12117  
						
							2023-10-23 15:29:42 +09:00  
				
					
						
							
							
								 
						
							
								e6c54de814 
								
							 
						 
						
							
							
								
								enhance(backend): RedisへのTLのキャッシュをオフにできるように  
							
							
							
						 
						
							2023-10-23 15:17:25 +09:00  
				
					
						
							
							
								 
						
							
								5dc0463323 
								
							 
						 
						
							
							
								
								fix(backend): ローカルタイムラインに投稿者自身の投稿への返信が含まれない問題を修正  
							
							
							
						 
						
							2023-10-22 16:23:50 +09:00  
				
					
						
							
							
								 
						
							
								72327716ca 
								
							 
						 
						
							
							
								
								fix(backend): リストTLに自分のフォロワー限定投稿が含まれない問題を修正  
							
							... 
							
							
							
							Fix  #12110  
						
							2023-10-22 10:40:53 +09:00  
				
					
						
							
							
								 
						
							
								2c0a139da6 
								
							 
						 
						
							
							
								
								feat: Avatar decoration ( #12096 )  
							
							... 
							
							
							
							* wip
* Update ja-JP.yml
* Update profile.vue
* .js
* Update home.test.ts 
							
						 
						
							2023-10-21 18:38:07 +09:00  
				
					
						
							
							
								 
						
							
								df957f7afe 
								
							 
						 
						
							
							
								
								update test  
							
							
							
						 
						
							2023-10-20 13:07:08 +09:00  
				
					
						
							
							
								 
						
							
								b394328eb1 
								
							 
						 
						
							
							
								
								fix(backend): フォロ限へのリプのリプ元が(非公開)の表示のまま  
							
							... 
							
							
							
							Fix  #12083  
						
							2023-10-20 11:58:09 +09:00  
				
					
						
							
							
								 
						
							
								d962ea3889 
								
							 
						 
						
							
							
								
								add timeline tests  
							
							
							
						 
						
							2023-10-20 08:15:31 +09:00  
				
					
						
							
							
								 
						
							
								683b71fc7e 
								
							 
						 
						
							
							
								
								add timeline tests  
							
							
							
						 
						
							2023-10-20 08:13:20 +09:00  
				
					
						
							
							
								 
						
							
								5b244cc6eb 
								
							 
						 
						
							
							
								
								update test  
							
							
							
						 
						
							2023-10-18 17:20:43 +09:00  
				
					
						
							
							
								 
						
							
								1966876320 
								
							 
						 
						
							
							
								
								fix test  
							
							
							
						 
						
							2023-10-16 17:42:33 +09:00  
				
					
						
							
							
								 
						
							
								3ebed5aa3e 
								
							 
						 
						
							
							
								
								feat: local-only antenna  
							
							... 
							
							
							
							Resolve  #11869  
						
							2023-10-16 15:06:00 +09:00  
				
					
						
							
							
								 
						
							
								6a321ba340 
								
							 
						 
						
							
							
								
								fix test  
							
							
							
						 
						
							2023-10-16 14:35:44 +09:00  
				
					
						
							
							
								 
						
							
								34d1b463a4 
								
							 
						 
						
							
							
								
								fix tests  
							
							
							
						 
						
							2023-10-16 12:58:17 +09:00  
				
					
						
							
							
								 
						
							
								1fa1d31696 
								
							 
						 
						
							
							
								
								perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように  
							
							
							
						 
						
							2023-10-16 10:45:22 +09:00  
				
					
						
							
							
								 
						
							
								7b6b3ad821 
								
							 
						 
						
							
							
								
								update test  
							
							
							
						 
						
							2023-10-11 18:25:02 +09:00  
				
					
						
							
							
								 
						
							
								a26d9ea132 
								
							 
						 
						
							
							
								
								enhance(backend): LTLでフォローしているユーザーからの自分への返信が含まれるように  
							
							
							
						 
						
							2023-10-11 17:29:24 +09:00  
				
					
						
							
							
								 
						
							
								566cb35370 
								
							 
						 
						
							
							
								
								update test  
							
							
							
						 
						
							2023-10-11 14:30:18 +09:00  
				
					
						
							
							
								 
						
							
								7a8d5e5840 
								
							 
						 
						
							
							
								
								enhance: ローカルタイムライン、ソーシャルタイムラインで返信を含むかどうか設定可能に  
							
							... 
							
							
							
							Resolve  #12001  
						
							2023-10-11 10:15:44 +09:00  
				
					
						
							
							
								 
						
							
								1f0c27edf2 
								
							 
						 
						
							
							
								
								fix(backend):  フォローしているユーザーからの自分の投稿への返信がタイムラインに含まれない問題を修正  
							
							
							
						 
						
							2023-10-11 08:18:00 +09:00  
				
					
						
							
							
								 
						
							
								26b7112b20 
								
							 
						 
						
							
							
								
								add tests  
							
							
							
						 
						
							2023-10-11 08:02:29 +09:00  
				
					
						
							
							
								 
						
							
								9f33ce1cd0 
								
							 
						 
						
							
							
								
								fix of  0bb0c32908 
							
							
							
						 
						
							2023-10-10 09:45:40 +09:00  
				
					
						
							
							
								 
						
							
								ca07459f5e 
								
							 
						 
						
							
							
								
								fix(backend): ダイレクト投稿がタイムライン上に正常に表示されない問題を修正 ( #11993 )  
							
							... 
							
							
							
							* DMをredisにpushするように
* add test
* add CHANGELOG
* Update NoteCreateService.ts
* lint
* ✌️ 
* 前のバージョンから発生した問題ではないため不要
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> 
							
						 
						
							2023-10-09 12:36:25 +09:00  
				
					
						
							
							
								 
						
							
								457b4cf608 
								
							 
						 
						
							
							
								
								fix(backend): users/notes で 自身の visibility: followers なノートが含まれない問題を修正  
							
							
							
						 
						
							2023-10-09 08:54:57 +09:00  
				
					
						
							
							
								 
						
							
								2859cbab91 
								
							 
						 
						
							
							
								
								perf(backend): WebSocket接続が多い場合のパフォーマンスを向上  
							
							... 
							
							
							
							https: //github.com/MisskeyIO/misskey/pull/176
Co-Authored-By: KOBA789 <kobahide789@gmail.com> 
							
						 
						
							2023-10-08 08:10:28 +09:00  
				
					
						
							
							
								 
						
							
								d6ef28d4ca 
								
							 
						 
						
							
							
								
								バックエンドのテストの改善 ( #11978 )  
							
							... 
							
							
							
							* Update utils.ts
* no async executer 
							
						 
						
							2023-10-07 12:25:16 +09:00  
				
					
						
							
							
								 
						
							
								481ca4ec03 
								
							 
						 
						
							
							
								
								add more test  
							
							
							
						 
						
							2023-10-06 17:36:54 +09:00  
				
					
						
							
							
								 
						
							
								5b00fa6f82 
								
							 
						 
						
							
							
								
								enhance(backend): users/notesでチャンネル投稿を含めるオプション  
							
							... 
							
							
							
							Resolve  #11965  
						
							2023-10-05 09:48:45 +09:00  
				
					
						
							
							
								 
						
							
								d2bb35bcf3 
								
							 
						 
						
							
							
								
								add more tests  
							
							
							
						 
						
							2023-10-05 09:31:03 +09:00