summaryrefslogtreecommitdiff
path: root/packages/backend/test/unit/activitypub.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)stableFreya Murphy12 hours1-8/+8
|
* fold renderUpNote into renderNoteHazelnoot2025-06-181-53/+0
|
* 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
| |
* | disable caches in unit testsHazelnoot2025-06-091-2/+8
|/
* fix testsHazelnoot2025-05-281-0/+19
|
* remerge: remove FetchAllowSoftFailMask in favor of our same-authority checksHazelnoot2025-03-251-1/+0
|
* fix unit tests in activitypub.tsHazelnoot2025-03-211-1/+0
|
* fix lint errors in mock-resolver.ts and activitypub.tsHazelnoot2025-03-211-0/+2
|
* implement replies collection for postsHazelnoot2025-03-191-0/+141
|
* fix lint errors in activitypub.tsHazelnoot2025-03-161-5/+3
|
* convert Authorized Fetch to a setting and add support for hybrid mode ↵Hazelnoot2025-03-161-4/+80
| | | | (essential metadata only)
* use padEnd to shorten long line in activitypub.tsHazelnoot2025-02-251-1/+2
|
* trim padded Actor keys to avoid `value too long` errorHazelnoot2025-02-251-1/+69
|
* document "special character" as zero-width space in activitypub unit testsHazelnoot2025-02-161-2/+2
|
* append mandatory CW in `Update(Note)` activitiesHazelnoot2025-02-161-29/+82
|
* append default CW when rendering AP `Note` objectsHazelnoot2025-02-161-1/+91
|
* Fix error in test function callsJulia Johannesen2024-11-201-2/+2
|
* fix lint errors in backend unit testsHazelnoot2024-10-151-2/+2
|
* Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-9/+12
|\
| * refactor/perf(backend): provide metadata statically (#14601)syuilo2024-09-221-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commit a27d4be764b78c1b5a9eac685e261fee49331d89. * Revert "Update UtilityService.ts" This reverts commit e5fd9e004c482cf099252201c0c1aa888e001430. * vuwa- * Revert "vuwa-" This reverts commit 0c3bd12472b4b9938cdff2d6f131e6800bc3724c. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
* | Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8dakkar2024-08-301-1/+52
|\|
| * fix(backend): check visibility of following/followers of remote users / ↵Daiki Mizukami2024-08-091-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feat: moderators can see following/followers of all users (#14375) * fix(backend): check visibility of following/followers of remote users Resolves https://github.com/misskey-dev/misskey/issues/13362. * test(backend): add tests for visibility of following/followers of remote users * docs(changelog): update CHANGELOG.md * feat: moderators can see following/followers of all users * docs(changelog): update CHANGELOG.md * refactor(backend): minor refactoring `createPerson`と`if`の条件を統一するとともに、異常系の 処理をearly returnに追い出すための変更。 * feat(backend): moderators can see following/followers count of all users As per https://github.com/misskey-dev/misskey/pull/14375#issuecomment-2275044908.
* | Merge remote-tracking branch 'misskey/release/2024.5.0' into ↵dakkar2024-05-111-7/+61
|\| | | | | | | future-2024-04-25-post
| * Merge pull request from GHSA-2vxv-pv3m-3wvjDaiki Mizukami2024-05-011-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | * fix: normalize incoming signed activities * Tweak style * Update CHANGELOG.md * Log compacted activity as well --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * AP Link等は添付ファイル扱いしないようになど (#13754)MeiMei2024-04-281-7/+19
| | | | | | | | | | * Linkは添付ファイルではない * CHANGELOG
* | merge upstream for 2024.2.1dakkar2024-03-021-2/+2
| |
* | merge: upstreamMarie2024-02-191-1/+2
|\|
| * Merge pull request from GHSA-qqrm-9grj-6v32tamaina2024-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maybe ok * fix * test wip * :v: * fix * if (res.ok) * validateContentTypeSetAsJsonLD * 条件を考慮し直す * その他の+json接尾辞が付いているメディアタイプも受け容れる * https://github.com/misskey-dev/misskey-ghsa-qqrm-9grj-6v32/pull/1#discussion_r1490999009 * add `; profile="https://www.w3.org/ns/activitystreams"` * application/ld+json;
| * (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | | | | | Fix #13290
| * Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | | | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
| * enhance: 禁止ワードはリモートノートも対象に (#13280)tamaina2024-02-131-0/+1
| | | | | | Resolve #13279
| * update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
| |
* | Merge pull request from GHSA-qqrm-9grj-6v32tamaina2024-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maybe ok * fix * test wip * :v: * fix * if (res.ok) * validateContentTypeSetAsJsonLD * 条件を考慮し直す * その他の+json接尾辞が付いているメディアタイプも受け容れる * https://github.com/misskey-dev/misskey-ghsa-qqrm-9grj-6v32/pull/1#discussion_r1490999009 * add `; profile="https://www.w3.org/ns/activitystreams"` * application/ld+json;
* | merge: upstreamMar0xy2023-11-221-0/+1
|\|
| * enhance(backend): make ftt db fallback configurablesyuilo2023-11-161-0/+1
| |
* | merge: upstreamMar0xy2023-10-311-0/+1
|\|
| * enhance(backend): RedisへのTLのキャッシュをオフにできるようにsyuilo2023-10-231-0/+1
| |
* | merge: upstream performance changes & instance silencingMar0xy2023-10-161-1/+2
|\|
| * fix testssyuilo2023-10-161-1/+2
| |
* | upd: increase default cache max valuesMar0xy2023-10-141-3/+3
|/
* fix testsyuilo2023-10-041-0/+2
|
* fix testsyuilo2023-10-041-0/+1
|
* refactor(backend): update directory structure for modelssyuilo2023-09-201-1/+1
|
* update deps (#11820)syuilo2023-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fixessyuilo2023-09-051-6/+6
|
* 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>
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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