summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/ReactionService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use more bulk hints in NoteEntityService / UserEntityService, and run the ↵Hazelnoot2025-06-091-1/+1
| | | | packMany queries in parallel
* add more details to IdentifiableErrorsHazelnoot2025-06-061-3/+3
|
* replace upsert with insert+fetch and delete+insertHazelnoot2025-06-011-4/+27
|
* upsert reactions to avoid error+retry overheadHazelnoot2025-05-301-21/+4
|
* merge: Experimental improvements to Delete Account process (maybe resolves ↵Hazelnoot2025-05-151-2/+2
|\ | | | | | | | | | | | | | | | | | | #1035) (!1021) View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1021 Closes #1035 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
| * allow caller to pass in existing reaction hint to ReactionService.deleteHazelnoot2025-05-121-2/+2
| |
* | don't trend notes from non-explorable or non-trendable usersHazelnoot2025-05-141-8/+16
| |
* | update user activity on Renote, Un-Renote, Note Edit, React, and Un-ReactHazelnoot2025-05-141-0/+4
| |
* | add role policy to allow note trendingHazelnoot2025-05-141-3/+3
|/
* Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-43/+50
|\
| * fix(backend): RBTの修正 (#14621)かっこかり2024-09-241-13/+15
| | | | | | | | | | | | | | | | | | * fix(backend): 絵文字の変換処理が不十分なのを修正 * enhance: リアクションバッファリングが無効になったら即bakeするように * attempt to fix test * fix
| * fix rbt bug?syuilo2024-09-221-0/+1
| |
| * refactor/perf(backend): provide metadata statically (#14601)syuilo2024-09-221-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commit a27d4be764b78c1b5a9eac685e261fee49331d89. * Revert "Update UtilityService.ts" This reverts commit e5fd9e004c482cf099252201c0c1aa888e001430. * vuwa- * Revert "vuwa-" This reverts commit 0c3bd12472b4b9938cdff2d6f131e6800bc3724c. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
| * fix rbtsyuilo2024-09-211-5/+0
| |
| * Misskey® Reactions Buffering Technology™ (#14579)syuilo2024-09-201-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * Update ReactionsBufferingService.ts * Update ReactionsBufferingService.ts * wip * wip * wip * Update ReactionsBufferingService.ts * wip * wip * wip * Update NoteEntityService.ts * wip * wip * wip * wip * Update CHANGELOG.md
* | Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07dakkar2024-08-021-3/+14
|\|
| * feat: media silence (#13842)anatawa122024-07-301-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: media silence * fix: lint * feat: deny creating custom emoji reaction and using custom emoji from media silenced hosts * chore: メディアサイレンスの説明にカスタム絵文字の話を追加 * Update locales/ja-JP.yml Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> * chore: update index.d.ts * docs(changelog): update changelog --------- Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
| * fix(backend): fix creating reactions bugs (#13901)zyoshoka2024-06-221-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | fix: Add unicode flag to custom emoji regexesEssem2024-05-031-2/+2
| |
* | teach ReactionService about non-ASCII emoji namesdakkar2024-04-231-2/+2
| |
* | merge: upstreamMarie2024-02-231-24/+25
|\|
| * refactor(backend): `ReactionService.prototype.convertLegacyReactions` (#13375)okayurisotto2024-02-211-24/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add unit tests * cleanup unnecessary type assertions * `convertedReaction`変数の定義と変換表に対する存在確認処理の整理 * `count`変数の定義とループ処理での`Object.entries()`の活用 * 条件式の整理 * `Array.prototype.reduce`を使うように * `Array.prototype.reduce`を使うように * 配列操作を1つのメソッドチェーンに整理 これまでの実装では、`decodeReaction`の返り値が同一になる異なる入力値が同時に複数個存在した場合、後ろのもので上書きされてしまっていたはず。 これからの実装では、後ろのものは前のものに加算される。 (実際にこの挙動の変更が問題になるシチュエーションはまずないはず。) * add unit test * ドキュメントコメントの追加と型定義の調整
* | merge: upstreamMarie2024-02-191-4/+4
|\|
| * feat(backend): ↵Kisaragi2024-02-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | likeOnlyなどでハートにフォールバックする際異体字セレクタがない方に揃える (#13299) * feat(backend): likeOnlyなどでハートにフォールバックする際異体字セレクタがない方に揃える close #13298 * Update ReactionService.ts * chore(backend): prefer single quote for string literal
| * (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | | | | | Fix #13290
| * Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | | | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
| * update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
| |
* | merge: latest changesMarie2024-02-091-1/+1
|\|
* | merge: upstreamMarie2024-01-091-2/+3
|\|
| * refactor: make sure promises are settled before app shutdown (#12942)Kagami Sascha Rosylight2024-01-081-2/+3
| | | | | | 👍
| * fix(backend): ↵shiosyakeyakini2023-12-261-1/+1
| | | | | | | | | | | | 非センシティブのみ(リモートはいいねのみ)が昨日していない問題を修正 (#12801) (#12802) Co-authored-by: sorairo <sorairo@shiosyakeyakini.info> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* | fix(backend): ↵shiosyakeyakini2023-12-281-1/+1
| | | | | | | | | | | | 非センシティブのみ(リモートはいいねのみ)が昨日していない問題を修正 (#12801) (#12802) Co-authored-by: sorairo <sorairo@shiosyakeyakini.info> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* | upd: mute reaction notifications if thread is mutedMarie2023-12-271-5/+17
|/ | | | Closes #263
* refactor and perf tweaksyuilo2023-10-191-1/+2
|
* fix(backend): fix of 1671575d5dsyuilo2023-10-191-2/+2
|
* perf(backend): ↵syuilo2023-10-191-0/+4
| | | | ノートのリアクション情報をキャッシュすることでDBへのクエリを削減
* Remove unnecessary nullish coalescing (#12058)woxtu2023-10-181-1/+1
|
* perf(backend): createdAtをidから取得するように & ↵syuilo2023-10-161-2/+1
| | | | 無駄なDateインスタンスの生成を避けるように
* enhance(backend): ↵syuilo2023-10-071-2/+6
| | | | 3日以内に投稿されたノートのみハイライト用スコア加算
* enhance(backend): 返信はハイライトに載らないようにsyuilo2023-10-071-4/+8
|
* feat: per user featured notessyuilo2023-10-061-1/+2
|
* enhance(backend): some tweakssyuilo2023-10-061-1/+1
|
* enhance(backend): improve featured systemsyuilo2023-10-061-3/+15
|
* feat: 通知の受信設定を強化syuilo2023-09-291-2/+1
|
* refactor(backend): update directory structure for modelssyuilo2023-09-201-3/+3
|
* update deps (#11820)syuilo2023-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * fix * wip * wip * wip * Update docker-compose.yml.example * Delete reviewer-lottery.yml * Update RepositoryModule.ts * wip * wip * clean up * update deps * wip * wip
* refactor: prefix Mi for all entities (#11719)syuilo2023-08-161-9/+9
| | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * Update RepositoryModule.ts * wip * wip * wip * Revert "wip" This reverts commit c1c13b37d2aaf3c65bc148212da302b0eb7868bf.
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#11348) * chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: ↵syuilo2023-05-191-1/+6
| | | | センシティブなカスタム絵文字のリアクションを受け入れない設定を追加
* feat: ↵syuilo2023-05-181-19/+32
| | | | カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように