summaryrefslogtreecommitdiff
path: root/packages/backend/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(backend): ↵MeiMei2024-04-151-3/+4
| | | | | | | nginx経由で/files/にRangeリクエストされた場合に正しく応答できないのを修正 (#13712) * Fix files * CHANGELOG
* enhance: クリップのノート数を表示するように (#13686)かっこかり2024-04-142-1/+9
| | | | | * enhance: クリップのノート数を表示できるように * Update Changelog
* fix(backend): incorrect logic for determining whether Quote or not (#13700)zyoshoka2024-04-148-43/+63
| | | | | | | | | * fix(backend): incorrect logic for determining whether Quote or not * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): ↵かっこかり2024-04-141-1/+5
| | | | | | | | | | | | | | | | | | FileServerServiceでレンジリクエストの場合に適切なレスポンスコードが返らない問題を修正 (#13701) * return 206 for every ranged response - fixes #494 (cherry picked from commit 92eec2178fd103e9ea2bcd646aacab1fb496a33b) * detect size of remote files - fixes #494 without this, remote files are assumed to have size 0 (even if we just downloaded them!) and the range-related code won't run (cherry picked from commit 960f4fcff78a1f019c9a9377853fcd90dbfb7575) --------- Co-authored-by: dakkar <dakkar@thenautilus.net>
* fix(backend): ↵かっこかり2024-04-131-0/+10
| | | | | | | | | | | | | 登録にメール認証が必須になっている場合、登録されているメールアドレスを削除できないように (#13703) * fix(backend): 登録にメール認証が必須になっている場合、登録されているメールアドレスを削除できないように (MisskeyIO#606) (cherry picked from commit 6b7df2bd10dc28b84f525a621b66fc49bf59cac6) * Update Changelog --------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* refactor(general): use `Date.now()` instead of creating a new `Date` ↵zyoshoka2024-04-076-7/+7
| | | | instance (#13671)
* enhance(backend): ↵かっこかり2024-03-311-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ビデオファイルにビデオトラックがあるかを確認するように (#13568) * enhance(backend): ビデオファイルにビデオトラックがあるかを確認するように (cherry picked from commit 23d38a2d6492a2b24e9b2c031d66c3e8a5d382ef) * Update Changelog * Update Changelog * Revert "Update Changelog" This reverts commit 93fd996932b87ef550c38b48bd0678060f3ed1af. * fix(test) ffmpegをインストールするように * 入れる方間違えた * fix test * 拡張子変わらなかったのでそのまま行く * ログを出力するように * msg * remove unused import * add log * attempt to fix test error * Revert "attempt to fix test error" This reverts commit d9d6524cadd655e6d8e9398b26fdfef332f30f4d. * Update FileInfoService.ts * oggも検査の対象にする
* fix(backend): better `notes/translate` error response (#13631)zyoshoka2024-03-301-4/+9
| | | | | | | | | | | * 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>
* fix: report progress out of 100% in CleanRemoteFilesProcessorService (#13633)Nila2024-03-301-1/+1
| | | | | * Report progress out of 100% in CleanRemoteFilesProcessorService * Add changelog entry
* fix(frontend): ↵かっこかり2024-03-251-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 「今日誕生日のフォロー中ユーザー」ウィジェットが正しく動作しない問題を修正 (#12835) * (fix) タイムゾーンによっては誕生日のフォロー中ユーザーが正しく読み込まれない * 文言をわかりやすく * Update Changelog * (add) reload button * Update CHANGELOG.md * run misskey-js * fix * Revert "文言をわかりやすく" This reverts commit c5ab6419563cc70ec8ba758e800c74d3469131e3. * Update packages/frontend/src/widgets/WidgetBirthdayFollowings.vue * Update packages/frontend/src/widgets/WidgetBirthdayFollowings.vue --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): fix openAPI operationId formatsyuilo2024-03-231-1/+1
|
* fix: URLプレビューの動作改善+動作設定を可能にする (#13579)おさむのひと2024-03-216-27/+158
| | | | | | | | | | | | | | | | | | | | | | | * wip * support new version * URLプレビュー無効化時、フロント側も非表示にしてリクエストをしないようにする * fix lint * fix lint * tweak preview request error handles * fix: CHANGELOG.md * fix * fix --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* enhance(antenna): Botの投稿を除外できるように (#13603)かっこかり2024-03-218-2/+22
| | | | | | | | | | | | | | | * enhance(antenna): Botの投稿を除外できるように (MisskeyIO#545) (cherry picked from commit a95ce067c6cf0a93647e358aabc984bdbe99e952) * Update Changelog * remove translations * spdx --------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix(backend): ↵かっこかり2024-03-182-3/+3
| | | | | | | | | | | | | ユーザーやノートのOGPでローカルとリモートユーザーの見分けが付かない問題を修正 (#13586) * enhance(OGP): ユーザーやノートのOGPでローカルとリモートユーザーの見分けが付かない問題を修正 (MisskeyIO#528) (cherry picked from commit 0c3de462d99c47297bebc162581bac6f78f21b49) * Update Changelog --------- Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix(backend): ↵かっこかり2024-03-181-0/+6
| | | | | | | | | | | | | | | フォローリクエストを作成する際に既存のものは削除するように (#13588) * fix: delete old follow request (if exists) before creating new (cherry picked from commit ea948ccadc7eace1fcace176c9c070b2a9b46f56) * Update Changelog * Update Changelog --------- Co-authored-by: Kaity A <kaity@atikayda.au>
* Merge branch 'develop' of https://github.com/misskey-dev/misskey into developsyuilo2024-03-177-0/+32
|\
| * fix(general): ↵zyoshoka2024-03-151-0/+2
| | | | | | | | | | | | | | | | | | `flash/create`でPlayの公開範囲を指定できない問題の修正と編集画面の調整 (#13574) * fix(backend): param `visibility` wasn't included in `flash/create` * fix(frontend): tweak flash editor ui * Update CHANGELOG.md
| * chore: add missing SPDX ID and workflow check (#13570)zyoshoka2024-03-136-0/+30
| | | | | | | | | | | | | | | | | | | | | | * 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
* | refactor(backend): refactor chart enginesyuilo2024-03-171-6/+8
|/
* refactor(backend): UserEntityService.packMany()の高速化 (#13550)おさむのひと2024-03-122-36/+201
| | | | | * refactor(backend): UserEntityService.packMany()の高速化 * 修正
* enhance(backend): antennas/updateの必須項目をantennaIdのみに (#13542)yupix2024-03-101-5/+7
| | | | | * refactor: antennas/updateの必須項目を最小限に * fix: userListIdがnullにできない
* chore(backend): validateNoteの結果Errorはそのままthrowするtamaina2024-03-091-1/+1
| | | | 理由がわからないため
* enhance(frontend): リアクションの総数を表示するように (#13532)かっこかり2024-03-062-0/+5
| | | | | | | * enhance(frontend): リアクションの総数を表示するように * Update Changelog * リアクション選択済の色をaccentに
* Revert "perf: boot.jsの調整"tamaina2024-03-061-288/+213
| | | | This reverts commit 00c1e4eb550c68f43ae44ba9f0c8da9887fc2180.
* perf: boot.jsの調整tamaina2024-03-061-213/+288
|
* fix(frontend)?: importAppScriptはimportをawaitするようにtamaina2024-03-061-2/+2
|
* enhance(frontend): ↵かっこかり2024-03-051-1/+1
| | | | | | | | | | | | | 自分のノートの添付ファイルから直接ファイルの詳細ページに飛べるようにする (#13520) * enhance(frontend): 自分のノートの添付ファイルから直接ファイルの詳細ページに飛べるようにする * 他のファイルタイプにも対応 * Update Changelog --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* fix(backend): ↵tamaina2024-03-041-7/+21
| | | | | | | | | | | | | | | | | | | | | リモートサーバーの情報が更新できなくなっていた問題を修正 (#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>
* enhance: 禁止ワードチェック強化 (#27)tamaina2024-03-015-24/+83
| | | | | | | | | | | | | | | | * enhance: 禁止ワードチェック強化 * リモートの禁止ワードチェックを添付ファイルとユーザーを登録する前に行うなど Resolve https://github.com/misskey-dev/misskey/issues/13374 * 禁止ワートの対象の見直し * performActivityで特定のエラーが出た際にDelayedに追加しないように * use IdentifiableError * NoteCreateService.checkProhibitedWords * https://github.com/misskey-dev/misskey-private/pull/27/files#r1507416135 * remove comment
* add missing license headerssyuilo2024-03-012-0/+10
|
* formatsyuilo2024-03-011-1/+0
|
* fix packedRoleCondFormulaValueAssignedRoleSchemasyuilo2024-03-011-0/+3
|
* メンションの最大数をロールごとに設定可能にする (#13343)Yuriha2024-02-294-2/+22
| | | | | | | | | | | | | | | | | | | | | * 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>
* fix(backend): ↵zyoshoka2024-02-291-0/+8
| | | | | | | | | ダイレクトなノートに対してはダイレクトでしか返信できないように (#13477) * fix(backend): ダイレクトなノートに対してはダイレクトでしか返信できないように * Update CHANGELOG.md * test(backend): `notes/create`とWebSocket関連のテストを追加
* enhance: 通知の履歴をリセットできるように (#13335)かっこかり2024-02-295-0/+50
| | | | | | | | | | | | | | | * enhance: 通知の履歴をリセットできるように * Update Changelog * 通知欄も連動して更新するように * revert some changes * Update CHANGELOG.md * Remove unused part * fix
* fix typesyuilo2024-02-291-1/+1
|
* enhance(backend): ↵taichan2024-02-285-127/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 通知がミュート・凍結を考慮するようにする (#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 b1e57e571dfd9a7d8b2430294473c2053cc3ea33. * Revert API handling * Remove unused imports * enhance: Check if notifierId is valid in NotificationEntityService * 通知作成時にpackしてnullになったらあとの処理をやめる * Remove duplication of valid notifier check * add filter notification is not null * Revert "Remove duplication of valid notifier check" This reverts commit 239a6952f717add53d52c3e701e7362eb1987645. * Improve performance * Fix packGrouped * Refactor: 判定部分を共通化 * Fix condition * use isNotNull * Update CHANGELOG.md * filterの改善 * Refactor: DONT REPEAT YOURSELF Note: GroupedNotificationはNotificationの拡張なのでその例外だけ書けば基本的に共通の処理になり複雑な個別の処理は増えにくいと思われる * Add groupedNotificationTypes * Update misskey-js typedef * Refactor: less sql calls * refactor * clean up * filter notes to mark as read * packed noteがmapなのでそちらを使う * if (notesToRead.size > 0) * if (notes.length === 0) return; * fix * Revert "if (notes.length === 0) return;" This reverts commit 22e2324f9633bddba50769ef838bc5ddb4564c88. * :art: * 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>
* fix(backend): ↵zyoshoka2024-02-281-1/+9
| | | | | | | | | | | | | | | | | リノート時のHTLへのストリーミングの意図しない挙動を修正 (#13425) * fix(backend): リノート時のストリーミングの意図しない挙動を修正 * Update CHANGELOG.md * fix: 不要な返り値 * fix: 不適切な条件分岐を修正 * test(backend): add htl tests --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* refactor(backend): ノートのエクスポート処理でStreams ↵okayurisotto2024-02-283-79/+146
| | | | | | | | | | | | | | APIを使うように (#13465) * refactor(backend): ノートのエクスポート処理でStreams APIを使うように * fixup! refactor(backend): ノートのエクスポート処理でStreams APIを使うように `await`忘れにより、ジョブがすぐに完了したことになり削除されてしまっていた。 それによって、`NoteStream`内での`updateProgress`メソッドの呼び出しで、`Missing key for job`のエラーが発生することがあった。 --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* enhance(backend): ↵zyoshoka2024-02-283-1/+11
| | | | | | | | | フォロー・フォロワー関連の通知の受信設定の強化 (#13468) * enhance(backend): 通知の受信設定に「フォロー中またはフォロワー」を追加 * fix(backend): 通知の受信設定で「相互フォロー」が正しく動作しない問題を修正 * Update CHANGELOG.md
* Enhance: ↵zawa-ch2024-02-274-8/+39
| | | | | | | コンディショナルロールの条件に「マニュアルロールへのアサイン」を追加 (#13463) * コンディショナルロールの条件に「マニュアルロールへのアサイン」を追加 * コメント修正
* fix(backend): fix incorrect schemas (#13458)zyoshoka2024-02-262-1/+7
|
* admin/emoji/updateの必須項目を減らす 等 (#13449)FineArchs2024-02-252-9/+23
| | | | | | | | | | | | | | | | | * admin/emoji/update enhancement * add CustomEmojiService.getEmojiByName * update endpoint * fix * Update update.ts * Update autogen files * type assertion * Update CHANGELOG.md
* fix: 古いキャッシュを使うのを修正 (#13453)tamaina2024-02-258-27/+27
|
* refactorsyuilo2024-02-242-1/+16
|
* enhance?: ↵tamaina2024-02-234-1/+6
| | | | DeleteAccountServiceでユーザーを削除する際にuserChangeDeletedStateを発行する (#13382)
* enhance: ↵tamaina2024-02-233-23/+52
| | | | | | | | | リモートのフォロワーから再度Followが来た場合、acceptを返してあげる (#13388) * enhance: リモートのフォロワーから再度Followが来た場合、acceptを返してあげる * nanka meccha kaeta * ブロックチェックの後にフォロー関係の存在チェックをする
* fix(backend): ↵okayurisotto2024-02-231-1/+1
| | | | より多くの人に使われているハッシュタグが検索結果上位に来るように (#11498) (#13340)
* fix: ↵tamaina2024-02-234-0/+23
| | | | | | | | | プッシュ通知の変更が1時間ほど反映されない問題を修正 (#13407) * fix: プッシュ通知の変更が1時間ほど反映されない問題を修正 * 410 to refresh * refreshCache
* refactor(backend): ↵okayurisotto2024-02-2316-18/+29
| | | | | | | `Array.prototype.filter`での非null確認では`isNotNull`関数を使うように (#13442) * `Array.prototype.filter`での非null確認では`isNotNull`関数を使うように * `{}` -> `NonNullable<unknown>`