summaryrefslogtreecommitdiff
path: root/packages/backend/test/unit/misc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
* 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-281-0/+3
|
* add diff-arrays utility for efficient array diffsHazelnoot2025-05-281-0/+53
|
* remove assertActivityMatchesUrls in favor of three-way same-authority checksHazelnoot2025-03-021-55/+0
|
* cover more retryable errors for quote resolutionHazelnoot2025-02-201-0/+73
|
* fix type errors in is-renote unit testsHazelnoot2025-02-201-0/+1
|
* factor out common append-content-warning routine for use in both frontend ↵Hazelnoot2025-02-161-0/+92
| | | | and backend
* use fraction seconds for rate limit headersHazelnoot2024-12-081-0/+62
|
* normalize AP IDs during verificationHazelnoot2024-11-231-21/+25
|
* merge: Add filter options to following feed (resolves #726) (!671)Hazelnoot2024-10-151-1/+21
|\ | | | | | | | | | | | | | | View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/671 Closes #726 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
| * fix is-renote testsHazelnoot2024-10-151-4/+3
| |
| * add filters for following feedHazel K2024-10-151-1/+22
| |
* | factor out tuple logic into from-tuple.tsHazelnoot2024-10-151-0/+13
|/
* check for hostHazel K2024-10-071-13/+24
|
* prevent deletion or suspension of system accountsHazel K2024-10-071-0/+36
|
* fix types in my testdakkar2024-05-311-18/+18
|
* Merge branch 'develop' into futuredakkar2024-05-311-0/+51
|\
| * look inside `url` when checking activity origin - #512dakkar2024-05-181-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous assertion that: > if it's a complicated thing and the `activity.id` doesn't match, I > think we're fine rejecting the activity was wrong: at least peertube sends activities that have `url` as an array of objects. Notice that this does *not*, in fact, fix #512: the peertube activity does not contain its short URL (`https://example.com/w/someid`), so there's no way to confirm that it is the activity we requested.
* | fix backend testsdakkar2024-04-251-0/+1
| |
* | fix(backend): incorrect logic for determining whether Quote or not (#13700)zyoshoka2024-04-141-0/+88
| | | | | | | | | | | | | | | | | | * fix(backend): incorrect logic for determining whether Quote or not * Update CHANGELOG.md --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* | chore: add missing SPDX ID and workflow check (#13570)zyoshoka2024-03-131-0/+5
|/ | | | | | | | | | | * 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
* (re) update SPDX-FileCopyrightTexttamaina2024-02-134-4/+4
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-134-4/+4
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-124-4/+4
|
* enhance(backend): テストの高速化 (#12939)おさむのひと2024-01-082-3/+3
| | | | | | | | | | | * enhance(backend): テストの高速化 * add ls * 自動的にマージされるようなので不要 * 起動方法を揃える * fix test
* fix testssyuilo2023-10-161-13/+13
|
* perf(backend): WebSocket接続が多い場合のパフォーマンスを向上syuilo2023-10-081-0/+88
| | | | | https: //github.com/MisskeyIO/misskey/pull/176 Co-Authored-By: KOBA789 <kobahide789@gmail.com>
* feat: introduce aidx and make it defaultsyuilo2023-09-061-0/+8
| | | | Co-Authored-By: MeiMei <30769358+mei23@users.noreply.github.com>
* fixessyuilo2023-09-051-36/+36
|
* 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-273-65/+80
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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>
* 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
* fix(server): ↵tamaina2023-04-091-0/+44
| | | | | | | | | IdService.parseを全てのidタイプに対応させるように (#10533) * wip fix-id * :v: * fix import
* 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