Commit Graph

2422 Commits

Author SHA1 Message Date
tamaina 8c65d8d020
test(backend): e2e/timelines.ts: 非FTT時のテストを追加, 凍結のテストを追加, これにかかる幾つかのバグ修正 (#16284)
* test(backend): 非FTT時のテストを追加

* clean up

* skip test about reply

* Fix #16289

* clean up

* cherry pick

* add renote test

* Fix https://github.com/misskey-dev/misskey/issues/16293

* remove debug log
2025-07-30 21:41:46 +09:00
tamaina be688922c8 remove console.log 2025-07-21 01:26:05 +09:00
tamaina 634f16f6b0 Revert "actions fail invest: log SerrverService.dispose"
This reverts commit 6aad9299dc.
2025-07-21 01:23:42 +09:00
tamaina 03e404ce27 Revert "log fix"
This reverts commit 449fadd15a.
2025-07-21 01:23:30 +09:00
tamaina 449fadd15a log fix 2025-07-21 00:58:20 +09:00
tamaina 6aad9299dc actions fail invest: log SerrverService.dispose 2025-07-21 00:43:31 +09:00
tamaina de97a3e04b Merge branch 'issue16270' into ap-susp-update 2025-07-20 23:35:48 +09:00
tamaina 2960c2069e beforeEach → beforeAll 2025-07-20 23:28:55 +09:00
tamaina f18e44f6fa clearAllMocks 2025-07-20 23:21:00 +09:00
tamaina 761c19adbe beforeEach → beforeAll 2025-07-20 23:13:42 +09:00
tamaina 382d6567a5 Revert "Reapply "actions fail invest: skip oauth test""
This reverts commit db67e81b99.
2025-07-20 23:07:34 +09:00
tamaina ef6e3ca2ad Reapply "actions fail invest: log fastify.closed"
This reverts commit f81cc413ad.
2025-07-20 23:07:14 +09:00
tamaina f81cc413ad Revert "actions fail invest: log fastify.closed"
This reverts commit 2cc46fc331.
2025-07-20 22:58:52 +09:00
tamaina 2cc46fc331 actions fail invest: log fastify.closed 2025-07-20 22:10:41 +09:00
tamaina 89d919e4a4 Revert "actions fail invest: log fastify.closed"
This reverts commit 1c03446304.
2025-07-20 22:10:29 +09:00
tamaina 1c03446304 actions fail invest: log fastify.closed 2025-07-20 21:31:41 +09:00
tamaina db67e81b99 Reapply "actions fail invest: skip oauth test"
This reverts commit 90c4551dfe.
2025-07-20 19:53:41 +09:00
tamaina 90c4551dfe Revert "actions fail invest: skip oauth test"
This reverts commit 9447bbee44.
2025-07-19 03:03:05 +09:00
tamaina 3dac916640 actions fail invest: log test-server entry 2025-07-19 02:23:45 +09:00
tamaina 9447bbee44 actions fail invest: skip oauth test 2025-07-19 02:03:07 +09:00
tamaina d4065d5a2b actions fail invest: log jest setup 2025-07-19 01:24:31 +09:00
tamaina 4bac864b07 Revert "actions fail invest: skip test apdeliveerman"
This reverts commit 090ab19f28.
2025-07-19 01:24:14 +09:00
tamaina 090ab19f28 actions fail invest: skip test apdeliveerman 2025-07-19 01:00:55 +09:00
tamaina 002e69d8c8 clean up 2025-07-19 00:31:36 +09:00
tamaina 5a756c077d Merge branch 'develop' into issue16270 2025-07-17 15:01:47 +09:00
tamaina 306fe94092 Merge branch 'develop' into ap-susp-update 2025-07-17 15:01:33 +09:00
tamaina bbdfb421f5 fix unit test 2025-07-17 14:55:52 +09:00
tamaina a6cdcfb2cf around ApDeliverManagerService 2025-07-17 13:29:53 +09:00
かっこかり e5c2be15f7
fix(deps): Node.jsの最小バージョンを引き上げ (#16296)
* Update package.json

* Update min.node-version

* Update CHANGELOG.md
2025-07-17 13:20:43 +09:00
tamaina a24c4951dd wip 2025-07-17 11:06:14 +09:00
tamaina 1fc2ae025c wip: addAllKnowingSharedInbox 2025-07-17 11:00:58 +09:00
tamaina bb4af983b7 clean up 2025-07-17 10:45:26 +09:00
tamaina f7f4cff66a Merge branch 'no-ftt-test' into issue16270 2025-07-16 23:16:26 +09:00
tamaina 4e69755afa remove debug log 2025-07-16 23:09:56 +09:00
tamaina 3f4e80f5bf Fix https://github.com/misskey-dev/misskey/issues/16293 2025-07-16 23:09:35 +09:00
tamaina 25d2121aa7 Merge branch 'no-ftt-test' into issue16270 2025-07-16 22:33:05 +09:00
tamaina 7476dda563 add renote test 2025-07-16 22:32:50 +09:00
tamaina eee0aba8af cherry pick 2025-07-16 22:18:11 +09:00
tamaina 537a49a448 fixed 2025-07-16 21:53:19 +09:00
tamaina f50364b100 update test 2025-07-16 21:33:39 +09:00
tamaina 399e527cc2 ??? 2025-07-16 20:18:06 +09:00
tamaina 90eccd4d95 fix 2025-07-16 19:25:55 +09:00
tamaina 9961eca0b8 Merge branch 'no-ftt-test' into issue16270 2025-07-16 19:10:53 +09:00
tamaina 5164a94e96 clean up 2025-07-16 19:10:40 +09:00
tamaina 85f4730308 update test 2025-07-16 19:10:20 +09:00
tamaina f5d4b2744b fix migration 2025-07-16 18:36:43 +09:00
tamaina 7e648b57b7 Merge branch 'no-ftt-test' into issue16270 2025-07-16 18:28:14 +09:00
tamaina 5828e6d9f8 Merge branch 'develop' into no-ftt-test 2025-07-16 18:27:12 +09:00
anatawa12 6f6fdfe28e
Migration cleanup (#16288)
* chore: apply several @Index and @ManyToOne to match actual migration code

* chore: several decorator updates with typeorm bug workaround with patches

* feat: add final cleanup migration

* dev: add .editorconfig settings for generated migrations

* chore: update dockerfile to build package with patches

* chore: update federation test compose to include patches

* chore: revert few dependency update

* chore: don't check disableRegistration on test env

* test: add test for checking migration script

* chore: set proxyRemoteFiles true in test config

* chore: enter invitation code in signup test

* fix: register send button is not disabled when invitationCode is not input
2025-07-16 15:49:05 +09:00
tamaina 37b4340619 Merge branch 'no-ftt-test' into issue16270 2025-07-15 13:34:14 +09:00
tamaina 26e6c148cb Fix #16289 2025-07-15 12:01:41 +09:00
tamaina c5928980f8 skip test about reply 2025-07-15 10:13:15 +09:00
tamaina 4a4a57dea5 Merge branch 'develop' into no-ftt-test 2025-07-15 09:49:13 +09:00
tamaina ad7bf096e1
enhance(backend): usernameに対してもprohibitedWordsForNameOfUserを適用 (#16282)
* enhance(backend): usernameに対してもprohibitedWordsForNameOfUserを適用
Resolve #16281

* fix locales/index/d.ts
2025-07-15 09:32:46 +09:00
anatawa12 08cc5a99bb
Don't remove notes when reply / renote is removed (#16287)
* chore: make NO ACTION on channel/reply/renote removal

* chore(docs): add description to show a possibility of reply null with replyId non-null

* fix: packing NoteDraft fails when reply / renote is removed

* feat: show drafts targeting removed renote / reply as "削除された投稿への投稿"
2025-07-15 09:20:48 +09:00
tamaina 16cb881fa2 clean up 2025-07-14 14:36:32 +09:00
tamaina 6ad3f07d48 revert 2025-07-14 14:36:07 +09:00
tamaina 08e4fedf6c Merge branch 'no-ftt-test' into issue16270 2025-07-14 14:21:52 +09:00
tamaina 479525a71d clean up 2025-07-14 14:21:23 +09:00
tamaina 4da98fe394 test(backend): 非FTT時のテストを追加 2025-07-14 14:20:44 +09:00
tamaina cbc85eef3e wip 2025-07-14 14:15:29 +09:00
tamaina 3a5870b9a5 add migration; copy suspended state from user table 2025-07-13 23:54:16 +09:00
tamaina 77a11e369f add test 2025-07-13 23:48:39 +09:00
tamaina e5a0d2775a add migration 2025-07-13 21:52:33 +09:00
tamaina 02ac7d0029 wip 2025-07-13 20:24:31 +09:00
syuilo 5ecaf5095e enhance: ウォーターマーク機能をロールで制御可能に 2025-07-12 15:13:35 +09:00
syuilo e6ec15e397 feat: 特定のドライブファイルを添付しているチャットメッセージを一覧できるように 2025-07-06 09:54:49 +09:00
Souma abde15979b
enhance(backend): Add display name to email (#16256)
* feat(backend): Add display name to email

Make it clear who sent emails.

* docs(changelog): Add a description about this change

Users can notice what's changed by this PR.
2025-07-05 18:22:08 +09:00
syuilo f128682200 fix type errors 2025-07-05 17:13:29 +09:00
syuilo a45ccc18b4 refactor 2025-07-04 18:33:41 +09:00
syuilo c29a4d9503 fix(test): Play検索機能でBackend Unit Testが壊れている 2025-07-04 18:31:34 +09:00
syuilo 5caf2b27cf fix(test): Play検索機能でBackend Unit Testが壊れている
Fix #16248
2025-07-04 16:32:56 +09:00
syuilo dd87d26bdc feat: Playを検索できるように
#13115
2025-07-04 10:20:00 +09:00
4ster1sk 7c44881ca8
enhance(backend): avatarUrlの上限文字数の引き上げ (#16235) 2025-07-03 18:03:02 +09:00
syuilo 8bc822d829 feat(backend): クリップ内でノートを検索できるように 2025-06-29 15:10:51 +09:00
syuilo 3c6f07fc8c feat: モデログを検索できるように 2025-06-28 21:38:54 +09:00
syuilo b8e8f3ad25 enhance: ページネーション(一覧表示)の基準日時を指定できるように sinceId/untilIdが指定可能なエンドポイントにおいて、sinceDate/untilDateも指定可能に 2025-06-28 20:21:21 +09:00
syuilo 525a330637 tweak eslint config 2025-06-26 10:49:41 +09:00
keito c424554d4a
ジョブキューの`Progress`の値を正しく計算する (#16218)
* fix: ジョブキューのProgressの値の範囲を 0~100 に統一

* fix(backend): ジョブキューのProgressの計算に用いる総数を最初に一度だけ取得する
2025-06-25 20:30:17 +09:00
taichan b752dc72e5
feat: ノートの下書き(draft of note) (#15298)
* WIp (backend)

* Remove unused

* 下書きbackend 続き

* fix(backedn): visibilityが下書きに反映されない

* Update packages/backend/src/postgres.ts

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>

* Fix : import order

* fix(backend) : createでcwが効かない

* FIX FOREGIN KEY

* wip: frontend(既存の下書きを挿入)

まだ:チャンネル表示、下書きの作成、削除

* WIP: ノート選択ダイアログ
投稿時に下書きを削除

* Promiseに変更

* 連合なし、チャンネルも表示

* Hashtagの値抜け漏れ

* hasthagを0文字でも作成可能に

* 下書きの保存機構

* chore(misskey-js): build types

* localOnly抜け漏れ

* チャンネル情報の書き換え

* enhance(frontend): ヘッダ部の表示改善

* fix(frontend): ファイル添付できない

* fix: no file

* fix(frontend): 投票が反映されない

* ハッシュタグの展開(コメントアウト外し忘れ)

* fix: visibleUserIdsが反映されない

* enhance: APIの型を整備

* refactor: 型が整備できたのでasを削除

* Add userhost

* fix

* enhance: paginationを使う

* fix

* fix: 自分のアカウントでの投稿でしか下書きを利用できないように

完全に塞ぐことはできないが一応

* 🎨

* APIのエラーIDを追加

* enhance: スタイル調整

* remove unused code

* 🎨

* fix: ロールポリシーの型

* ロールの編集画面

* ダイアログの挙動改善

* 下書き機能が利用できない場合は表示しないように

* refactor

* fix: ダブルクリックが効かない問題を修正

* add comments

* fix

* fix: 保存時のエラーの種別にかかわらずmodalを閉じないように

* fix()backend: NoteDraftのreply, renoteの型が間違ってたので修正 (migtrationはあってた)

* fix: 投稿フォームを空白にして通常リノートできるやつは下書きとしては弾くように

* fix(backend): テキストが0文字でも下書きは保存できるように

* Fix(backend): replyIdの型定義がミスっているのを修正

* chore(misskey-js): update types

* Add CHANGELOG

* lint

* 常にサーバー下書きに保存し、上限を超えた場合のみ尋ねるように

* NoteDraftServiceにcreate, updateの処理を移譲

* Fix typeerror

* remove tooltip

* Remove Mkbutton:short and use iconOnly

* 不要なコメントの削除

* Remove Short Completely

* wip

* escキーまわりの挙動を改善

* 下書き選択時に下書き可能数と現在の量が分かるように

* cleanUp

* wip

* wi

* wip

* Update MkPostForm.vue

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-06-25 17:09:23 +09:00
renovate[bot] b16a05b9a7
fix(deps): update [backend] update dependencies (#16143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-11 09:56:29 +09:00
zyoshoka b5767c315a
fix(backend): correct outbox pagination (#16176) 2025-06-08 09:12:59 +09:00
zyoshoka 65ba33867b
fix(backend): avoid deadlock when deleting account (#16162) 2025-06-04 19:14:11 +09:00
syuilo b7aa013a41 feat: 全てのチャットメッセージを既読にできるように 2025-06-03 21:06:37 +09:00
syuilo 8f025c447b fix(backend): ログインできなくなるため、ugcVisibilityForVisitorがnoneでもusers/showは許可するように 2025-06-02 08:37:22 +09:00
おさむのひと 0c2d799acd
fix(backend): ジョブキュー画面のPausedタブをアクティブにすると400エラーが返ってくるのを修正 (#16124)
* fix(backend): ジョブキュー画面のPausedタブをアクティブにすると400エラーが返ってくるのを修正

* fix CHANGELOG.md
2025-05-31 16:34:25 +09:00
syuilo 0f6b28f970 enhance(backend): tweak default maxFileSizeMb value
ref: #15988
2025-05-29 17:35:10 +09:00
syuilo 85c28d5cb7 enhance(backend): 外部サイトのOGPのキャッシュ期間を調整 2025-05-29 13:53:33 +09:00
anatawa12 1214d1d8fc
Export/Import withReplies (#15986)
* feat: export withReplies of UserList

* feat: export withReplies of following

* import following時のwithRepliesがデフォルト値であることを明示する

* changelog

* update index.d.ts

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-05-29 13:15:41 +09:00
anatawa12 367dac4edd
Fix: ミュート対象ユーザーが引用されているノートがRNされたときにミュートを貫通してしまう問題 (#16009)
* chore: change 3rd parameter of generateMutedUserQueryForNotes to options

* chore: allow specifying note column for note/block query

* chore: check for mute / block for renote of note with DB query

* chore: check for mute / block for renote of note with FTT

* refactor: ミュート・ブロックのためのクエリ呼び出しを一つの関数にまとめる

* docs(changelog): ミュート対象ユーザーが引用されているノートがRNされたときにミュートを貫通してしまう問題を修正

* fix missing default parameter

* Update is-user-related.ts

* test: add tests for mutes

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-05-29 13:13:07 +09:00
syuilo e4b7a1f4e1
fix tests
* test

* Update activitypub.ts

* Update activitypub.ts

* Update create.ts

* Update create.ts

* Update endpoints.ts
2025-05-29 12:41:27 +09:00
syuilo 825c337cf4 improve log 2025-05-28 19:01:21 +09:00
おさむのひと 9bbc2028ad
feat: URLプレビューのリダイレクトを受け入れるかどうかを設定できるようにする (#16112)
* feat: URLプレビューのリダイレクトを受け入れるかどうかを設定できるようにする

* fix CHANGELOG.md

* fix lang
2025-05-27 20:46:22 +09:00
anatawa12 e078cd9296
fix: jest.js exits with zero value even if underlying jest exited with non-zero value (#16111) 2025-05-27 15:07:47 +09:00
かっこかり 1276e65049
fix(backend): follow-up of #16105 (#16109) 2025-05-27 14:42:48 +09:00
かっこかり 07c2de3749
fix(backend): typeormのbreaking changeに対応 (#16105)
* fix(backend): typeormのbreaking changeに対応

* attempt to fix test
2025-05-27 13:50:45 +09:00
renovate[bot] 47f4f11e3e
fix(deps): update [backend] update dependencies (#16087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-27 13:18:59 +09:00
zyoshoka d27075c5f5
fix(backend): correct invalid schema format specifying only `required` for `anyOf` (#16089)
* fix(backend): correct invalid schema format specifying only `required` for `anyOf`

* refactor(backend): make types derived from `allOf` or `anyOf` more strong
2025-05-27 08:57:09 +09:00
zyoshoka ed3a844f5d
fix(backend): add response schema for `notes/show-partial-bulk` endpoint (#16093) 2025-05-25 08:38:45 +09:00
syuilo 4fcb80bcf2 enhance(backend): ファイル種別が判定できない場合、拡張子を参照するように 2025-05-24 14:28:49 +09:00