summaryrefslogtreecommitdiff
path: root/packages/backend/test/unit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)stableFreya Murphy15 hours1-8/+8
|
* merge: Improve URL validation *FOR STABLE* (!1191)dakkar2025-07-283-19/+188
|\ | | | | | | | | View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1191 Approved-by: Hazelnoot <acomputerdog@gmail.com>
| * fix DI error in HttpRequestService.tsHazelnoot2025-07-271-1/+0
| |
| * resolve domain names when checking for private URLsHazelnoot2025-07-271-17/+43
| |
| * allow HTTP connections to private IPsHazelnoot2025-07-271-2/+24
| |
| * refactor actor validation to reduce code duplicationHazelnoot2025-07-272-1/+113
| |
| * validate all URLs before fetchHazelnoot2025-07-271-10/+20
| |
* | scale rate limit dripRate with factorHazelnoot2025-07-271-10/+26
|/
* merge: fix(backend): Send Abuse Reports To Set Maintainer E-Mail (!1127)dakkar2025-06-191-0/+72
|\ | | | | | | | | | | | | | | View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1127 Closes #1069 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Hazelnoot <acomputerdog@gmail.com>
| * refactor(backend): Remove Useless VariableLilly Schramm2025-06-181-2/+1
| |
| * fix(backend): Send Abuse Reports To Set Maintainer E-MailLilly Schramm2025-06-181-0/+73
| |
* | fold renderUpNote into renderNoteHazelnoot2025-06-181-53/+0
|/
* use pnpm package alias for @transfem-org/sfm-jsHazelnoot2025-06-122-2/+2
|
* pcleanup dependencies:Hazelnoot2025-06-121-1/+1
| | | | | | | * Consolidate multiple different HTML/XML/RSS libraries to use the Cheerio stack * Remove unused deps * Move dev dependencies to correct section * Pin versions where missing
* merge: Emit log messages with correct level (!1097)Hazelnoot2025-06-121-3/+1
|\ | | | | | | | | | | View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1097 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
| * fix type errors with JsonLdService and remove unused factory patternHazelnoot2025-06-091-3/+1
| |
* | normalize userFollowingsCache / userFollowersCache and add ↵Hazelnoot2025-06-091-65/+268
| | | | | | | | hibernatedUserCache to reduce the number of cache-clears and allow use of caching in many more places
* | move QuantumKVCache to a separate fileHazelnoot2025-06-091-2/+1
| |
* | disable caches in unit testsHazelnoot2025-06-094-17/+44
| |
* | implement QuantumKVCache.add and QuantumKVCache.addManyHazelnoot2025-06-091-0/+62
| |
* | implement QuantumKVCache.setMany and QuantumKVCache.seleteManyHazelnoot2025-06-091-21/+125
| |
* | implement QuantumKVCacheHazelnoot2025-06-091-0/+431
|/
* more use of identifiable errors, improvements to inner error rendering, and ↵Hazelnoot2025-06-061-0/+75
| | | | more heuristics for is-retryable-error
* remove unused fields from WebhookTestService.tsHazelnoot2025-06-041-3/+0
|
* fix unit testsHazelnoot2025-06-041-0/+5
|
* fix testsHazelnoot2025-05-284-6/+58
|
* add function diffArraysSimple for more efficient change detectionHazelnoot2025-05-281-1/+39
|
* minor optimization to diff-arraysHazelnoot2025-05-281-3/+3
|
* fix type errors caused by new User, Note, and Instance fieldsHazelnoot2025-05-282-0/+6
|
* add diff-arrays utility for efficient array diffsHazelnoot2025-05-281-0/+53
|
* fix unit tests for HttpRequestService.tsHazelnoot2025-05-131-2/+12
|
* allow private IP ranges to specify allowed portsHazelnoot2025-05-121-0/+103
|
* refactor: ファイルアップロード時のテストを追加 (#15928)おさむのひと2025-05-081-0/+164
| | | | | | * refactor: ファイルアップロード時のテストを追加 * なぜかsemverが消えてた
* Revert "fix: ↵おさむのひと2025-05-081-108/+0
| | | | | | | | | | 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896)" (#15927) * Revert "fix: 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896)" This reverts commit 7e8cc4d7c0a86ad0bf71a727fb16132e8bc180a8. * fix CHANGELOG.md
* Merge branch 'develop' into merge/2025-03-24Hazelnoot2025-05-061-0/+21
|\
| * make `toPuny` work better in testingdakkar2025-04-211-0/+21
| |
* | Merge branch 'misskey-develop' into merge/2025-03-24Hazelnoot2025-04-291-0/+108
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # .github/workflows/api-misskey-js.yml # .github/workflows/changelog-check.yml # .github/workflows/check-misskey-js-autogen.yml # .github/workflows/get-api-diff.yml # .github/workflows/lint.yml # .github/workflows/locale.yml # .github/workflows/on-release-created.yml # .github/workflows/storybook.yml # .github/workflows/test-backend.yml # .github/workflows/test-federation.yml # .github/workflows/test-frontend.yml # .github/workflows/test-misskey-js.yml # .github/workflows/test-production.yml # .github/workflows/validate-api-json.yml # package.json # packages/backend/package.json # packages/backend/src/server/api/ApiCallService.ts # packages/backend/src/server/api/endpoints/drive/files/create.ts # packages/frontend-shared/js/url.ts # packages/frontend/package.json # packages/frontend/src/components/MkFileCaptionEditWindow.vue # packages/frontend/src/components/MkInfo.vue # packages/frontend/src/components/MkLink.vue # packages/frontend/src/components/MkNote.vue # packages/frontend/src/components/MkNotes.vue # packages/frontend/src/components/MkPageWindow.vue # packages/frontend/src/components/MkReactionsViewer.vue # packages/frontend/src/components/MkTimeline.vue # packages/frontend/src/components/MkUrlPreview.vue # packages/frontend/src/components/MkUserPopup.vue # packages/frontend/src/components/global/MkPageHeader.vue # packages/frontend/src/components/global/MkUrl.vue # packages/frontend/src/components/global/PageWithHeader.vue # packages/frontend/src/pages/about-misskey.vue # packages/frontend/src/pages/announcements.vue # packages/frontend/src/pages/antenna-timeline.vue # packages/frontend/src/pages/channel.vue # packages/frontend/src/pages/instance-info.vue # packages/frontend/src/pages/note.vue # packages/frontend/src/pages/page.vue # packages/frontend/src/pages/role.vue # packages/frontend/src/pages/tag.vue # packages/frontend/src/pages/timeline.vue # packages/frontend/src/pages/user-list-timeline.vue # packages/frontend/src/pages/user/followers.vue # packages/frontend/src/pages/user/following.vue # packages/frontend/src/pages/user/home.vue # packages/frontend/src/pages/user/index.vue # packages/frontend/src/ui/deck.vue # packages/misskey-js/generator/package.json # pnpm-lock.yaml # scripts/changelog-checker/package-lock.json # scripts/changelog-checker/package.json
| * | fix: ↵おさむのひと2025-04-291-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 添付ファイルのあるリクエストを受けたときの初動を改善 (#15896) * wip * ロールポリシーの値も参照するように * エンドポイントのテストを追加 * fix review * add spdx * fix CHANGELOG.md * fix test * regenerate * add log * Revert "add log" This reverts commit 4b2bf59a609b85ca0bfcc9b71438db782f11983d. * add log * fix * Revert "add log" This reverts commit c5a73d57da0f30ec5215e08a8b4d78785cce48d1.
* | | merge upstream againHazelnoot2025-04-243-4/+4
|\| |
| * | fix: resolve with non-lowercased acct is broken (#15813)anatawa122025-04-133-5/+5
| | | | | | | | | | | | | | | * fix: resolve with non-lowercased acct is broken * docs(changelog): Fix: 大文字を含むユーザの URL で紹介された場合に 404 エラーを返す問題
* | | fix backend lint errorsHazelnoot2025-04-021-1/+1
| | |
* | | fix test errors in MfmService.tsHazelnoot2025-04-021-2/+2
| | |
* | | Merge branch 'misskey-develop' into merge/2025-03-24Hazelnoot2025-03-301-10/+10
|\| |
| * | test fixessyuilo2025-03-271-10/+10
| | |
* | | remerge: remove FetchAllowSoftFailMask in favor of our same-authority checksHazelnoot2025-03-252-3/+3
| | |
* | | merge upstreamHazelnoot2025-03-2512-37/+157
|\| | | |/ |/|
| * Feat: Chat (#15686)syuilo2025-03-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * Update types.ts * Create 1742203321812-chat.js * wip * wip * Update room.vue * Update home.vue * Update home.vue * Update ja-JP.yml * Update index.d.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update CHANGELOG.md * wip * Update home.vue * clean up * Update misskey-js.api.md * wip * wip * wip * wip * wip * wip * wip * wip * wip * lint fixes * lint * Update UserEntityService.ts * search * wip * 🎨 * wip * Update home.ownedRooms.vue * wip * Update CHANGELOG.md * Update style.scss * wip * improve performance * improve performance * Update timeline.test.ts
| * fix(backend): mismatch in `emojis` param of test WebHook payload (#15675)zyoshoka2025-03-201-0/+6
| | | | | | | | | | | | | | * fix(backend): mismatch in `emojis` param of test WebHook payload * fix: test * fix: type
| * fix(backend): tighten an overly relaxed criteria and remove capability of ↵饺子w (Yumechi)2025-03-121-45/+30
| | | | | | | | | | matching multiple final URLs in URL authority checking (#15655) Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
| * enhance(backend): refine system account (#15530)syuilo2025-03-029-37/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * Update SystemAccountService.ts * Update 1740121393164-system-accounts.js * Update DeleteAccountService.ts * wip * wip * wip * wip * Update 1740121393164-system-accounts.js * Update RepositoryModule.ts * wip * wip * wip * Update ApRendererService.ts * wip * wip * Update SystemAccountService.ts * fix tests * fix tests * fix tests * fix tests * fix tests * fix tests * add print logs * ログが長すぎて出てないかもしれない * fix migration * refactor * fix fed-tests * Update RelayService.ts * merge * Update user.test.ts * chore: emit log * fix: tweak sleep duration * fix: exit 1 * fix: wait for misskey processes to become healthy * fix: longer sleep for user deletion * fix: make sleep longer again * デッドロック解消の試み https://github.com/misskey-dev/misskey/issues/15005 * Revert "デッドロック解消の試み" This reverts commit 266141f66fb584371bbb56ef7eba04e14bcff94d. * wip * Update SystemAccountService.ts --------- Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com> Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>