summaryrefslogtreecommitdiff
path: root/packages/backend/test/e2e (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test(backend): Add tests for antennas (#10868)Nanashia2023-05-191-0/+653
|
* enhance: ↵syuilo2023-05-161-5/+0
| | | | | | タイムラインにフォロイーの行った他人へのリプライを含めるかどうかの設定をアカウントに保存するのをやめるように Resolve #10646
* fix typosyuilo2023-05-111-4/+4
|
* センシティブワードを正規表現、CWにも適用するように ↵nenohi2023-05-101-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#10688) * cwにセンシティブが効いてない * CWが無いときにTextを見るように * 比較演算子間違えた * とりあえずチェック * 正規表現対応 * /test/giにも対応 * matchでしなくてもいいのでは感 * レビュー修正 * Update packages/backend/src/core/NoteCreateService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update packages/backend/src/core/NoteCreateService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * 修正 * wipかも * wordsでスペース区切りのものできたかも * なんか動いたかも * test作成 * 文言の修正 * 修正 * note参照 --------- Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* fix testsyuilo2023-05-101-1/+1
|
* feat: ↵syuilo2023-05-101-0/+4
| | | | | | 投稿したコンテンツのAIによる学習を軽減するオプションを追加 Resolve #10819
* fix(test): ジョブキューをテストが終わったら停止するようにsyuilo2023-05-091-2/+3
| | | | Fix #10802 ?
* update testsyuilo2023-05-071-19/+19
|
* fix testsyuilo2023-05-071-2/+2
|
* fix testsyuilo2023-05-071-1/+1
|
* fix textsyuilo2023-05-071-2/+2
|
* fix testsyuilo2023-05-071-1/+0
|
* fix testsyuilo2023-05-061-0/+1
|
* ロールにNSFWを強制的につけるオプションを追加 (#10731)nenohi2023-05-051-0/+66
| | | | | | | | | | | | | | | | | | | | | * ロールにNSFWを強制的につけるオプションを追加 * すでにあるファイルにNSFWが付与できない * NSFWを付与しようとするとエラーに * add test * Update packages/backend/src/core/RoleService.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * spacingで怒られたので * ロール作成時のプロパティ削除 --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix #10666 ↵たーびん2023-05-051-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | チャンネル検索ですべてのチャンネルの取得/表示ができるようにする (#10667) * Update CHANGELOG.md * fix : able to search all channels * add chennel/search test * update Changelog --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com> Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com> Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com> Co-authored-by: xianon <xianon@hotmail.co.jp> Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com> Co-authored-by: YS <47836716+yszkst@users.noreply.github.com> Co-authored-by: Khsmty <me@khsmty.com> Co-authored-by: Soni L <EnderMoneyMod@gmail.com> Co-authored-by: mei23 <m@m544.net> Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com> Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com> Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
* enhance: account migration (#10592)Namekuji2023-04-303-3/+479
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * copy block and mute then create follow and unfollow jobs * copy block and mute and update lists when detecting an account has moved * no need to care promise orders * refactor updating actor and target * automatically accept if a locked account had accepted an old account * fix exception format * prevent the old account from calling some endpoints * do not unfollow when moving * adjust following and follower counts * check movedToUri when receiving a follow request * skip if no need to adjust * Revert "disable account migration" This reverts commit 2321214c98591bcfe1385c1ab5bf0ff7b471ae1d. * fix translation specifier * fix checking alsoKnownAs and uri * fix updating account * fix refollowing locked account * decrease followersCount if followed by the old account * adjust following and followers counts when unfollowing * fix copying mutings * prohibit moved account from moving again * fix move service * allow app creation after moving * fix lint * remove unnecessary field * fix cache update * add e2e test * add e2e test of accepting the new account automatically * force follow if any error happens * remove unnecessary joins * use Array.map instead of for const of * ユーザーリストの移行は追加のみを行う * nanka iroiro * fix misskey-js? * :v: * 移行を行ったアカウントからのフォローリクエストの自動許可を調整 * newUriを外に出す * newUriを外に出す2 * clean up * fix newUri * prevent moving if the destination account has already moved * set alsoKnownAs via /i/update * fix database initialization * add return type * prohibit updating alsoKnownAs after moving * skip to add to alsoKnownAs if toUrl is known * skip adding to the list if it already has * use Acct.parse instead * rename error code * :art: * 制限を5から10に緩和 * movedTo(Uri), alsoKnownAsはユーザーidを返すように * test api res * fix * 元アカウントはミュートし続ける * :art: * unfollow * fix * getUserUriをUserEntityServiceに * ? * job! * :art: * instance => server * accountMovedShort, forbiddenBecauseYouAreMigrated * accountMovedShort * fix test * import, pin禁止 * 実績を凍結する * clean up * :v: * change message * ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに * Revert "ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに" This reverts commit 3bd7be35d8aa455cb01ae58f8172a71a50485db1. * validateAlsoKnownAs * 移行後2時間以内はインポート可能なファイルサイズを拡大 * clean up * どうせactorをupdatePersonで更新するならupdatePersonしか移行処理を発行しないことにする * handle error? * リモートからの移行処理の条件を是正 * log, port * fix * fix * enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように * refactor (use checkHttps) * MISSKEY_WEBFINGER_USE_HTTP * Environment Variable readme * NEVER USE IN PRODUCTION * fix punyHost * fix indent * fix * experimental --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix(backend): アバターとバナーがリセットできない (#10643)Nanashia2023-04-161-2/+0
| | | | | * fix(backend): avatar and banner couldn't be reset * Update CHANGELOG.md
* test(backend): catching up with #10516 (#10624)Nanashia2023-04-142-3/+25
|
* feat: 自分用メモ機能 (#10516)Ebise Lutica2023-04-131-0/+80
| | | | | | | | | | | | | | | * 自分用メモを作成する機能 * 不要なCSSを削除 * メモ: デザイン調整 * デザイン崩れを修正 * fix: メモ機能のe2eテストで見つかった不具合を修正 * デザイン調整 * fix(frontend): 自分用メモtextareaにline-heightが適用されない問題を修正
* test(backend): Add tests for users (#10546)Nanashia2023-04-121-0/+868
| | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* disable flaky testsyuilo2023-04-081-34/+35
|
* fix(test): disable remote user testssyuilo2023-04-071-0/+6
| | | | #10495
* fix(users/show): ↵choco2023-03-201-2/+2
| | | | | | | ユーザーが見つからなかった場合に404ステータスコードを返す (#10344) * fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す * test(users/show): ステータスコードの期待値を修正
* fix(backend/URLPreviewService): エラーでHTTP 422を出すように (#10339)Kagami Sascha Rosylight2023-03-191-0/+8
| | | | | * fix(backend/URLPreviewService): エラーでHTTP 402を出すように * fix import
* test(backend): Add tests for clips (#10358)Nanashia2023-03-191-0/+962
|
* test(backend): Add tests for web resources (#10341)Nanashia2023-03-181-125/+383
|
* refactor(test): rename variable for INestApplicationContextsyuilo2023-03-1213-39/+39
|
* fix(backend/ApRendererService): allow announces with visibility: followers ↵Kagami Sascha Rosylight2023-03-121-0/+25
| | | | | | | | | | | (#10291) * fix(backend/ApRendererService): allow announces with visibility: followers * Update CHANGELOG.md --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* add backend 2fa test (#10289)Nanashia2023-03-111-0/+439
|
* fix(backend/DriveService): convert WebP/AVIF to WebP (#10239)Kagami Sascha Rosylight2023-03-101-1/+40
| | | | | | | | | | | | | | | | | | | | * fix(backend/DriveService): convert transparent WebP/AVIF to PNG * webpにする その希望が複数ありましたので * Update packages/backend/src/core/DriveService.ts Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * update test * webpはwebpublicにできる --------- Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* enhance(backend): restore OpenAPI endpoints (#10281)Kagami Sascha Rosylight2023-03-101-4/+14
| | | | | | | | | | | | | | | | | * enhance(backend): restore OpenAPI endpoints * Update CHANGELOG.md * version * set max-age * update redoc * follow redoc documentation --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* feat: Per-user renote mute (#10249)syuilo2023-03-084-12/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: per-user renote muting From FoundKey/c414f24a2c https://akkoma.dev/FoundKeyGang/FoundKey * Update ja-JP.yml * Delete renote-muting.ts * rename * fix ids * lint * fix * Update CHANGELOG.md * リノートをミュートしたユーザー一覧を見れるように * :art: * add test * fix test --------- Co-authored-by: Hélène <pleroma-dev@helene.moe>
* enhance(server): ↵tamaina2023-03-041-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | downloadUrlでContent-Dispositionからファイル名を取得 (#10150) * enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 Resolve #10036 Resolve #4750 * untitled * オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする * :v: * tiff * fix filename * add test * /files/でもContent-Disposition * comment * fix test
* fix(server): DriveFile related N+1 query when call note packMany (again) ↵rinsuki2023-03-041-1/+117
| | | | | | | | | | | | | | | | | | | | | (#10190) * Revert "Revert "fix(server): DriveFile related N+1 query when call note packMany (#10133)"" This reverts commit a7c82eeabcc732e76c5c358c98812cac8457d57f. * packManyByIdsMap: 存在チェックをしてなかったものは null を入れるように * Note.packMany で reply とか renote がもうあったらそのファイルも引く * テストを書く * fix test * fix test * fix test * fix test
* test(backend): APIテストの復活 (#10163)Kagami Sascha Rosylight2023-03-0311-0/+3004
* Revert 1c5291f8185651c231903129ee7c1cee263f9f03 * APIテストの復活 * apiテストの移行 * moduleNameMapper修正 * simpleGetでthrowしないように status確認しているので要らない * longer timeout * ローカルでは問題ないのになんで * case sensitive * Run Nest instance within the current process * Skip some setIntervals * wait for 5 seconds * kill them all!! * logHeapUsage: true * detectOpenHandlesがじゃましているらしい * maxWorkers=1? * restore drive api tests * workerIdleMemoryLimit: 500MB * 1024MiB * Wait what