summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/kernel (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactoringsyuilo2021-11-1226-799/+0
| | | | Resolve #7779
* perf: delete-account処理を軽くする (#7958)シアノン2021-11-061-4/+1
| | | | | | | | | | | * Revert "#7892" This reverts commit 71d9c2a53d116a61f4c9b21ff98712a0000412b8. * アカウント削除処理でノート削除を重複して行なわないようにする * ドライブファイル削除時に参照しているノートを削除しないようにする * 不要となったコードを削除する
* #7892syuilo2021-11-051-1/+4
|
* fix(activitypub): not reacted な Undo.Like がinboxに滞留するのを修正syuilo2021-10-211-1/+5
| | | | | https: //github.com/mei23/misskey/commit/1cfb5e09a44819b82333df26409ec9d9657bdcfc Co-Authored-By: MeiMei <30769358+mei23@users.noreply.github.com>
* Refactor request (#7814)MeiMei2021-10-162-2/+4
| | | | | | | | | * status code * Test ap-request.ts https://github.com/mei23/crytest/blob/4397fc5e70536e4175fe56e974ca83b8047bef3a/test/ap-request.ts * tune
* feat: ↵MeiMei2021-09-052-1/+28
| | | | | | | | | | | リモートからユーザー削除が飛んできたら削除するように (#7768) * Delete Actor * Update src/remote/activitypub/kernel/delete/actor.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: use path alias to improve readabilitysyuilo2021-08-193-3/+3
|
* fix: mochaが動かないため拡張子なしに戻したsyuilo2021-08-1924-138/+138
|
* refactor: refactoring importssyuilo2021-08-1924-138/+138
| | | | | | | | 将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
* Supports Array ActivityStreams type (#7536)MeiMei2021-05-316-47/+26
| | | | | | | | | | | * Supports Array type * Fix * Fix Service to Note * Update type.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Fix #7431 (#7432)MeiMei2021-05-111-2/+7
| | | | | * Fix #7431 * fix
* refactor: Use path aliassyuilo2021-03-235-9/+9
|
* メッセージ (トーク/チャット) 削除の連合 (#6789)MeiMei2020-11-011-2/+12
|
* Resolve #6087syuilo2020-10-191-1/+3
|
* chore: better error textsyuilo2020-09-171-1/+1
|
* 自分のノートにリアクションを押せるように (#6506)Xeltica2020-07-301-2/+0
| | | | | * resolve #6468 * リモートから来たセルフリアクションの対応
* AP Delate Activityの修正 (#6512)MeiMei2020-07-111-10/+32
|
* pub-relay (#6341)MeiMei2020-05-102-0/+14
| | | | | | | | | | | | | | | * pub-relay * relay actorをApplicationにする * Disable koa-compress * Homeはリレーに送らない * Disable debug * UI * cleanupなど
* Receive Flag (#6331)MeiMei2020-05-092-1/+32
|
* APリファクタとLD-Signatureの検証に対応 (#6300)MeiMei2020-05-099-118/+112
| | | | | | | | | | | | | | | * DbResolver * inbox types * 認証順を変更 * User/Keyあたりをまとめる * LD-Signatue * Validate contexts url * LD-Signature DocumentLoaderにProxyとTimeout
* リモートのカスタム絵文字リアクションを表示できるよ ↵MeiMei2020-04-141-1/+3
| | | | | | | | | | | | | | | | | | | に (#6239) * リモートのカスタム絵文字リアクションを表示できるように * AP * DBマイグレーション * ローカルのリアクションの. * fix * fix * fix * space
* refactor: Use ===syuilo2020-04-045-5/+5
|
* Create ↵MeiMei2020-02-082-1/+18
| | | | | | | | | | | | | | ActivityでattributedToの補完とaudienceのコピーを行うように (#5873) * attributedTo * Create * copy audiences between activity <=> object * やっぱり匿名GETのpublicは必要 * fix
* EmojiReaction => EmojiReact (#5877)MeiMei2020-02-071-0/+1
|
* リモート投稿にリモートでされたリアクションが表示さ ↵MeiMei2020-02-042-25/+14
| | | | | | | | | | | | | | | | | | るように (#5817) * 第3インスタンスへのLikeも受け入れるように * リアクション済みだったらエラーにせずに置き換えるように * Likeを第3インスタンスにdeliverするように * fix * fix * 同じリアクションがすでにされていたら何もしない * リモートから自身の投稿へリアクションした場合にエラーにならないように
* AP audience (visibility) パースの修正 (#5783)MeiMei2020-01-303-36/+10
| | | | | | | | | | | | | | | | | | | * Refactor audience * audienceのないAP Object 対応 * fix * Update src/remote/activitypub/audience.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update src/remote/activitypub/audience.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Handle EmojiReaction activitiy (#5492)MeiMei2020-01-302-1/+2
| | | | | | | | | | * Handle some additional reaction activities * Revert "Handle some additional reaction activities" This reverts commit 1462ff12de08e8810023658e8ff7b5ee8bd7965b. * EmojiReaction
* Implement Talk has read federation (#5636)MeiMei2019-12-152-1/+31
| | | | | | | | | | * Talk read * fix * 複数のRead ActivityはCollectionとして送るように * あ
* Fix AP inbox Announce (#5641)MeiMei2019-12-152-15/+8
|
* Refactorsyuilo2019-11-185-30/+10
|
* Add ssl to elasticsearch config settings (#5527)Takeshi Umeda2019-10-211-0/+0
|
* AP featured collectionの修正 / Collection Activityの対応 / ↵MeiMei2019-09-275-59/+43
| | | | | | | | | | | | | | typeの修正など (#5460) * resolver type / fix updateFeatured * type ApObject * fix strange type * AP Activity * Collection Activityが失敗したらとりあえず無視
* AP Lock (#5410)MeiMei2019-09-092-35/+52
|
* AP Undo Announce (#5400)MeiMei2019-09-082-1/+21
| | | | | | * AP Undo Announce * Use activity id
* Fix: AP object / actor type (#5086)MeiMei2019-06-285-59/+21
| | | | | | | | | | | | | | | | | | * attributedToがArrayの場合などに対応 * attachment以外で来るDocument系のObjectに対応 * Renote, Reply 対応 * 表示をいい感じに * fix type * revert as const * Fix Note / Question type * attributedToのtypeで複合配列を想定する
* Block all activities from suspended users (#5076)MeiMei2019-06-211-0/+2
|
* Cache metasyuilo2019-04-241-2/+1
|
* Fix indentsyuilo2019-04-181-14/+14
|
* Better error handlingsyuilo2019-04-181-1/+3
|
* Better error handlingsyuilo2019-04-148-9/+9
|
* strictNullChecks (#4666)syuilo2019-04-1313-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
* Use PostgreSQL instead of MongoDB (#4572)syuilo2019-04-0722-80/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update note.ts * Update timeline.ts * Update core.ts * wip * Update generate-visibility-query.ts * wip * wip * wip * wip * wip * Update global-timeline.ts * wip * wip * wip * Update vote.ts * wip * wip * Update create.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update files.ts * wip * wip * Update CONTRIBUTING.md * wip * wip * wip * wip * wip * wip * wip * wip * Update read-notification.ts * wip * wip * wip * wip * wip * wip * wip * Update cancel.ts * wip * wip * wip * Update show.ts * wip * wip * Update gen-id.ts * Update create.ts * Update id.ts * wip * wip * wip * wip * wip * wip * wip * Docker: Update files about Docker (#4599) * Docker: Use cache if files used by `yarn install` was not updated This patch reduces the number of times to installing node_modules. For example, `yarn install` step will be skipped when only ".config/default.yml" is updated. * Docker: Migrate MongoDB to Postgresql Misskey uses Postgresql as a database instead of Mongodb since version 11. * Docker: Uncomment about data persistence This patch will save a lot of databases. * wip * wip * wip * Update activitypub.ts * wip * wip * wip * Update logs.ts * wip * Update drive-file.ts * Update register.ts * wip * wip * Update mentions.ts * wip * wip * wip * Update recommendation.ts * wip * Update index.ts * wip * Update recommendation.ts * Doc: Update docker.ja.md and docker.en.md (#1) (#4608) Update how to set up misskey. * wip * :v: * wip * Update note.ts * Update postgre.ts * wip * wip * wip * wip * Update add-file.ts * wip * wip * wip * Clean up * Update logs.ts * wip * :pizza: * wip * Ad notes * wip * Update api-visibility.ts * Update note.ts * Update add-file.ts * tests * tests * Update postgre.ts * Update utils.ts * wip * wip * Refactor * wip * Refactor * wip * wip * Update show-users.ts * Update update-instance.ts * wip * Update feed.ts * Update outbox.ts * Update outbox.ts * Update user.ts * wip * Update list.ts * Update update-hashtag.ts * wip * Update update-hashtag.ts * Refactor * Update update.ts * wip * wip * :v: * clean up * docs * Update push.ts * wip * Update api.ts * wip * :v: * Update make-pagination-query.ts * :v: * Delete hashtags.ts * Update instances.ts * Update instances.ts * Update create.ts * Update search.ts * Update reversi-game.ts * Update signup.ts * Update user.ts * id * Update example.yml * :art: * objectid * fix * reversi * reversi * Fix bug of chart engine * Add test of chart engine * Improve test * Better testing * Improve chart engine * Refactor * Add test of chart engine * Refactor * Add chart test * Fix bug * コミットし忘れ * Refactoring * :v: * Add tests * Add test * Extarct note tests * Refactor * 存在しないユーザーにメンションできなくなっていた問題を修正 * Fix bug * Update update-meta.ts * Fix bug * Update mention.vue * Fix bug * Update meta.ts * Update CONTRIBUTING.md * Fix bug * Fix bug * Fix bug * Clean up * Clean up * Update notification.ts * Clean up * Add mute tests * Add test * Refactor * Add test * Fix test * Refactor * Refactor * Add tests * Update utils.ts * Update utils.ts * Fix test * Update package.json * Update update.ts * Update manifest.ts * Fix bug * Fix bug * Add test * :art: * Update endpoint permissions * Updaye permisison * Update person.ts #4299 * データベースと同期しないように * Fix bug * Fix bug * Update reversi-game.ts * Use a feature of Node v11.7.0 to extract a public key (#4644) * wip * wip * :v: * Refactoring #1540 * test * test * test * test * test * test * test * Fix bug * Fix test * :sushi: * wip * #4471 * Add test for #4335 * Refactor * Fix test * Add tests * :clock4: * Fix bug * Add test * Add test * rename * Fix bug
* Custom reaction (#4517)MeiMei2019-03-181-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Custom reaction * increase limit of reactions/delete * リアクションの場合は OS標準の絵文字を使用 を迂回する * カスタムリアクションを無効にする設定 * fix * disableCustomReaction --> enableEmojiReaction * Avoid MFM rendering * :art: * :art: * Auto accept * custom emoji reaction * Improve usability * Extract emojiRegex * Fix * Clean up * :art: * :art: * toDbReaction で reaction は必須に あとフォールバックは like に * Clean up * Make required * https://github.com/syuilo/misskey/pull/4517/commits/3eb08748feeaab9ee5c5b505c870f97d7edbeb0d#r266241728 * Refactor * Allow null
* Accept Article object (#4499)MeiMei2019-03-153-9/+3
|
* Fix #4486 (#4487)MeiMei2019-03-131-0/+7
|
* Ignore 4xx references in AP (#4463)MeiMei2019-03-101-1/+13
| | | | | | * Ignore 4xx references * remove unnecessary comment
* Implement Update Question (#4435)MeiMei2019-03-072-0/+33
| | | | | | | | | | | | | | * Update remote votes count * save updatedAt * deliver Update * use renderNote * use id * fix typeof
* Enhance poll (#4409)Acid Chicken (硫酸鶏)2019-03-063-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start working * WIP: Enhance poll * Fix bug * Use `name` in voting note refs: https://github.com/syuilo/misskey/issues/4407#issuecomment-469057296 * Fix style * Refactor Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com> * WIP: Update poll editor * Fix bug * Fix bug refs: https://github.com/syuilo/misskey/pull/4409#discussion_r * Fix typo * Better design * Beautify poll editor * Fix UI * Fix bug refs: https://github.com/syuilo/misskey/pull/4409#discussion_r262217524 * Add debug logging * Fix bug * Log deliver * fix vote * Update ap/show refs: https://github.com/syuilo/misskey/pull/4409#issuecomment-469652386 * Update poll view * Maybe done * Add tests * Fix path * Fix test * Fix test * Fix test * Fix expired check on AP * Update note.ts * Squashed commit of the following: commit d9a4beabf851893b8992a0f4568265eb9d4f0b8e Author: mei23 <m@m544.net> Date: Wed Mar 6 05:16:14 2019 +0900 tune commit 83ff421a6e978243f80ba9ec820189bc897e6e3b Author: mei23 <m@m544.net> Date: Wed Mar 6 05:01:14 2019 +0900 fallback commit 0b566af973b115ade9e75ea4b8094ee2b329dabc Author: mei23 <m@m544.net> Date: Wed Mar 6 04:40:12 2019 +0900 Note commit cc0296dd6127580ac584c40398db3f762a311f8b Author: mei23 <m@m544.net> Date: Wed Mar 6 04:33:58 2019 +0900 createで送る * Squashed commit of the following: commit ae696b1ed12568b27c27367ac5a77035c97c9a1f Author: mei23 <m@m544.net> Date: Wed Mar 6 06:11:17 2019 +0900 fix commit b735e354e7a9e64534c4f17d04ecbc65fb735c21 Author: mei23 <m@m544.net> Date: Wed Mar 6 06:08:33 2019 +0900 messge commit d9a4beabf851893b8992a0f4568265eb9d4f0b8e Author: mei23 <m@m544.net> Date: Wed Mar 6 05:16:14 2019 +0900 tune commit 83ff421a6e978243f80ba9ec820189bc897e6e3b Author: mei23 <m@m544.net> Date: Wed Mar 6 05:01:14 2019 +0900 fallback commit 0b566af973b115ade9e75ea4b8094ee2b329dabc Author: mei23 <m@m544.net> Date: Wed Mar 6 04:40:12 2019 +0900 Note commit cc0296dd6127580ac584c40398db3f762a311f8b Author: mei23 <m@m544.net> Date: Wed Mar 6 04:33:58 2019 +0900 createで送る * Fix typo * Update vote.ts * Update vote.ts * Update poll-editor.vue * Update tslint.json * Fix layout * Add note * Fix bug * Rename text key * 投票するときに投稿として扱わないように (#4425) * wip * 形式をMastodonと合わせた * Bye something * Use - instead of ~ * Redundancy * Yes! * Refactor * Use moment instead of Date * Fix indent * Refactor if (votes.length) は必要なさそう * Clean up * Bye Date * Clean * Fix timer is not displayed * Fix リモートから無期限pollにvoteできない * Fix vote actor
* Use internal logger instead of debug/console for loggingsyuilo2019-02-0311-47/+42
| | | | | | Resolve #4104 Resolve #1966 Resolve #1937
* AP Undo Like (#3933)MeiMei2019-01-202-1/+26
| | | | | | * AP Undo Like * rename