summaryrefslogtreecommitdiff
path: root/packages/backend/test/unit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* enhance(backend): make ftt db fallback configurablesyuilo2023-11-161-0/+1
|
* enhance(backend): RedisへのTLのキャッシュをオフにできるようにsyuilo2023-10-231-0/+1
|
* fix testsyuilo2023-10-161-2/+2
|
* fix testssyuilo2023-10-164-17/+18
|
* perf(backend): createdAtをidから取得するように & ↵syuilo2023-10-162-6/+2
| | | | 無駄なDateインスタンスの生成を避けるように
* perf(backend): WebSocket接続が多い場合のパフォーマンスを向上syuilo2023-10-081-0/+88
| | | | | https: //github.com/MisskeyIO/misskey/pull/176 Co-Authored-By: KOBA789 <kobahide789@gmail.com>
* fix testsyuilo2023-10-041-0/+2
|
* fix testsyuilo2023-10-041-0/+1
|
* enhance(backend): refine moderation log (#10939)syuilo2023-09-231-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update DriveService.ts
* refactor(backend): update directory structure for modelssyuilo2023-09-201-1/+1
|
* update deps (#11820)syuilo2023-09-156-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* feat: introduce aidx and make it defaultsyuilo2023-09-063-6/+14
| | | | Co-Authored-By: MeiMei <30769358+mei23@users.noreply.github.com>
* fixessyuilo2023-09-054-49/+49
|
* update deps (#11764)syuilo2023-09-043-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * node16 * wip * wip * wip * Update test-utils.ts * wip * Update tsconfig.json * wip * Update package.json * wip * Update following.vue * Update followers.vue * Update index.vue * Update share.vue * Update MkUserPopup.vue * Update MkPostForm.vue * wip * Update MkTokenGenerateWindow.vue * Update MkPagination.vue * refactor * update deps * update deps * Update sw.ts * wip * wip * wip * Update FetchInstanceMetadataService.ts * Update FetchInstanceMetadataService.ts * update node * update deps * :art:
* feat: refine announcement (#11497)syuilo2023-08-131-0/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update read-announcement.ts * wip * wip * wip * Update index.d.ts * wip * Create 1691649257651-refine-announcement.js * wip * wip * wip * wip * wip * wip * Update announcements.vue * wip * wip * Update announcements.vue * wip * Update announcements.vue * wip * Update misskey-js.api.md * Update users.ts * Create MkAnnouncementDialog.stories.impl.ts * wip * wip * Create AnnouncementService.ts
* fix(backend/ApNoteService): try retrieving again when failed by duplication ↵Kagami Sascha Rosylight2023-08-081-0/+15
| | | | | | | | | | | (#11472) * fix(backend/ApNoteService): try retrieving again when failed by duplication * Update CHANGELOG.md --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance(backend): Improve behavior of correctFilename (#11484)tamaina2023-08-082-28/+48
| | | | | | | | | | | | | | | * enhance(backend): Improve behavior of correctFilename * :v: * 未知のファイル形式かつ拡張子がある場合は何もしない * :v: * .ext --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* chore: ↵Shun Sakai2023-07-2716-77/+157
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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(backend): allow disabling cache for sensitive files (#11245)Kagami Sascha Rosylight2023-07-151-3/+126
| | | | | | | | | | | | | * feat(backend): allow disabling cache for sensitive files * Update CHANGELOG.md * fix storybook * Update locales/ja-JP.yml --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor(backend): skip fetching notes when the data is same-origin (#11200)Kagami Sascha Rosylight2023-07-091-10/+103
| | | | | | | * refactor(backend): skip fetching notes when the data is same-origin * Update CHANGELOG.md * sentFrom
* Add unit test for FetchInstanceMetadataService (#11173)Yuriha2023-07-081-0/+109
|
* cleanup: trim trailing whitespace (#11136)okayurisotto2023-07-084-22/+22
| | | | | | | | | * cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor(backend): replace rndstr with secureRndstr (#11044)Kagami Sascha Rosylight2023-06-252-20/+20
| | | | | | | * refactor(backend): replace rndstr with secureRndstr * Update pnpm-lock.yaml * .js
* feat: ↵syuilo2023-05-181-23/+19
| | | | カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように
* perf: use slacc on check-word-mute (#10721)Acid Chicken (硫酸鶏)2023-05-051-0/+49
| | | | | | | | | | | * perf: use slacc on check-word-mute when all of specified words are single word * perf: use slacc as possible * build: avoid tarball * chore: update slacc * build: update package name
* enhance: account migration (#10592)Namekuji2023-04-301-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] .wav .flac ファイルを再生可能にする (#10686)Yuriha2023-04-261-151/+258
| | | | | | | | | | | | | | | | | | | | | | * .wav .flac ファイルを再生可能にする file-typeにより判定されたMIME TypeをHTML5 Audio/Video要素に認識されるものに書き換える * fix typecheck error * frontend側の FILE_TYPE_BROWSERSAFEも更新 * Update packages/backend/src/core/FileInfoService.ts * :v: * 後方互換を確保 * add tests * update changelog.md --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* fix(server): ↵tamaina2023-04-091-0/+44
| | | | | | | | | IdService.parseを全てのidタイプに対応させるように (#10533) * wip fix-id * :v: * fix import
* enhance(backend): improve cachesyuilo2023-04-041-2/+2
|
* fix testsyuilo2023-03-241-4/+4
|
* bump aws-sdk to v3 for s3 (#10363)YS2023-03-232-29/+107
| | | | | * indent * aws-sdk v3移行
* fix(backend/ApRendererService): allow announces with visibility: followers ↵Kagami Sascha Rosylight2023-03-121-0/+13
| | | | | | | | | | | (#10291) * fix(backend/ApRendererService): allow announces with visibility: followers * Update CHANGELOG.md --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix(backend/DriveService): gracely skip when getting NoSuchKey error from S3 ↵Kagami Sascha Rosylight2023-03-111-0/+55
| | | | | | | | | (#10292) * fix(backend/DriveService): gracely skip when getting NoSuchKey error from S3 * Update CHANGELOG.md * import type
* Merge branch 'develop' into mkusername-emptyKagami Sascha Rosylight2023-03-062-17/+100
|\
| * fix correctFilename extが.から始まる場合も考慮するtamaina2023-03-061-0/+3
| |
| * enhance(server): ↵tamaina2023-03-041-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * feat: 時限ロール (#10145)syuilo2023-03-011-17/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: 時限ロール * クライアントから期限を確認できるように * リファクタとか * fix test * fix test * fix test * clean up
* | Merge branch 'develop' into mkusername-emptyKagami Sascha Rosylight2023-02-255-1/+293
|\|
| * test(backend): restore ap-request tests (#9997)Kagami Sascha Rosylight2023-02-241-0/+56
| | | | | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
| * improve performance of some testssyuilo2023-02-224-199/+194
| |
| * fix testsyuilo2023-02-221-1/+1
| |
| * test(backend): restore emoji reaction tests (#9996)Kagami Sascha Rosylight2023-02-201-0/+90
| |
| * test(backend): restore more unit tests (#9994)Kagami Sascha Rosylight2023-02-202-0/+151
| |
* | Add testKagami Sascha Rosylight2023-02-191-28/+36
|/
* test(backend): restore AP unit tests (#9987)Kagami Sascha Rosylight2023-02-191-0/+108
|
* refactor: use testsyuilo2023-02-025-38/+38
|
* refactorsyuilo2023-02-021-18/+12
|
* improve RoleService testsyuilo2023-02-021-0/+45
|
* improve role testsyuilo2023-02-021-10/+58
|
* test: add test of RoleServicesyuilo2023-02-021-0/+145
|