summaryrefslogtreecommitdiff
path: root/packages/backend/test/unit/activitypub.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix testssyuilo2025-05-291-5/+17
| | | | | | | | | | | | | * test * Update activitypub.ts * Update activitypub.ts * Update create.ts * Update create.ts * Update endpoints.ts
* fix(backend): fix type error(s) in security fixes (#15009)かっこかり2024-11-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix type error in security fixes (cherry picked from commit fa3cf6c2996741e642955c5e2fca8ad785e83205) * Fix error in test function calls (cherry picked from commit 1758f29364eca3cbd13dbb5c84909c93712b3b3b) * Fix style error (cherry picked from commit 23c4aa25714af145098baa7edd74c1d217e51c1a) * Fix another style error (cherry picked from commit 36af07abe28bec670aaebf9f5af5694bb582c29a) * Fix `.punyHost` misuse (cherry picked from commit 6027b516e1c82324d55d6e54d0e17cbd816feb42) * attempt to fix test: make yaml valid --------- Co-authored-by: Julia Johannesen <julia@insertdomain.name>
* 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
* 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 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 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
|
* enhance(backend): make ftt db fallback configurablesyuilo2023-11-161-0/+1
|
* enhance(backend): RedisへのTLのキャッシュをオフにできるようにsyuilo2023-10-231-0/+1
|
* fix testssyuilo2023-10-161-1/+2
|
* 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
* refactor(backend): replace rndstr with secureRndstr (#11044)Kagami Sascha Rosylight2023-06-251-5/+5
| | | | | | | * refactor(backend): replace rndstr with secureRndstr * Update pnpm-lock.yaml * .js
* 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>
* Add testKagami Sascha Rosylight2023-02-191-28/+36
|
* test(backend): restore AP unit tests (#9987)Kagami Sascha Rosylight2023-02-191-0/+108