Commit Graph

405 Commits

Author SHA1 Message Date
MeiMei
16a62e7c41 Create ActivityでattributedToの補完とaudienceのコピーを行うように (#5873)
* attributedTo

* Create

* copy audiences between activity <=> object

* やっぱり匿名GETのpublicは必要

* fix
2020-02-08 21:40:06 +09:00
MeiMei
f21651db77 EmojiReaction => EmojiReact (#5877) 2020-02-07 21:37:24 +09:00
MeiMei
65e246438d Fix #5848 (#5853) 2020-02-06 17:11:02 +09:00
MeiMei
aa8aa3b4dc Correct Like id generation (#5852) 2020-02-06 17:07:37 +09:00
MeiMei
5a8577957c リモート投稿にリモートでされたリアクションが表示されるように (#5817)
* 第3インスタンスへのLikeも受け入れるように

* リアクション済みだったらエラーにせずに置き換えるように

* Likeを第3インスタンスにdeliverするように

* fix

* fix

* 同じリアクションがすでにされていたら何もしない

* リモートから自身の投稿へリアクションした場合にエラーにならないように
2020-02-04 08:26:00 +09:00
syuilo
d06ed48008 Resolve #1669 2020-02-01 07:16:52 +09:00
syuilo
e7afe613dc Fix 2020-01-30 19:00:08 +09:00
MeiMei
d6ec67d5f9 AP audience (visibility) パースの修正 (#5783)
* 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>
2020-01-30 18:58:13 +09:00
MeiMei
4f3ead3b3a Handle EmojiReaction activitiy (#5492)
* Handle some additional reaction activities

* Revert "Handle some additional reaction activities"

This reverts commit 1462ff12de08e8810023658e8ff7b5ee8bd7965b.

* EmojiReaction
2020-01-30 08:03:50 +09:00
syuilo
e24ca1e51f v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2020-01-30 04:37:25 +09:00
MeiMei
06f2557df5 Add Event activity-type support (#5785) 2020-01-30 01:38:05 +09:00
Takeshi Umeda
c17bb905fd Add Group and Organization to validActor (#5784) 2020-01-30 01:36:44 +09:00
MeiMei
0d21645e73 AP Actorの鍵とkeyIdのフォーマットの変更 (#5733)
* Node PKCS#8

* keyIdを#main-key形式に
2020-01-20 04:51:44 +09:00
MeiMei
ab62dfbf90 AP引用でquoteUrlに対応 (#5632)
* Supports quoteUrl

* Quote resolveをリトライする

* Update src/remote/activitypub/models/note.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update src/remote/activitypub/models/note.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update src/remote/activitypub/models/note.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update src/remote/activitypub/models/note.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2019-12-15 03:37:54 +09:00
MeiMei
93ba6b9e2b Implement Talk has read federation (#5636)
* Talk read

* fix

* 複数のRead ActivityはCollectionとして送るように

* あ
2019-12-15 03:37:19 +09:00
MeiMei
6ecc7f8f25 Fix AP inbox Announce (#5641) 2019-12-15 03:32:48 +09:00
MeiMei
1a98dafc27 Resolve syuilo#5548 (#5607) 2019-12-12 00:41:26 +09:00
MeiMei
dc5b2bf02c AP Signatureヘッダの特殊処理を削除 (#5628) 2019-12-11 23:14:51 +09:00
syuilo
d1550cf9e6 Update dependencies 🚀 2019-11-24 17:09:32 +09:00
syuilo
83fb424471 Remove unused import 2019-11-18 06:30:58 +09:00
syuilo
bd4fd5efe0 Fix bug 2019-11-18 06:27:22 +09:00
syuilo
d504afa9d1 Refactor 2019-11-18 06:25:47 +09:00
syuilo
59ba7e2b34 Refactor 2019-11-18 06:23:44 +09:00
MeiMei
007f4bcef0 無駄なAP deliverをしないように (#5589)
* DeliverManager, note/create

* recipe

* followers delivers

* comment

* rename

* fix

* cleanup
2019-11-09 18:51:54 +09:00
MeiMei
37cd41e0c9 APの統計とログの修正と強化 (#5585)
* Fix #5580

* Improve AP logging
2019-11-07 00:02:18 +09:00
syuilo
25dedfb911 Store nodeinfo per federated instances (#5578)
* Store nodeinfo per federated instances

* Update fetch-nodeinfo.ts

* Update fetch-nodeinfo.ts

* update
2019-11-05 22:14:42 +09:00
MeiMei
125936baa3 Preserve the attached order in AP (#5561)
* Preserve the attached order in AP

* Revert "Preserve the attached order in AP"

This reverts commit 8ac09cc81b1c216edccd2eba4bbdf0a194320883.

* use IN
2019-11-01 05:46:20 +09:00
MeiMei
d365b9d5f1 Talk federation (#5534) 2019-10-29 06:01:14 +09:00
MeiMei
1868e2eb95 Fix #5539 (#5542) 2019-10-28 20:34:01 +09:00
Takeshi Umeda
f1a5b1ebf7 Add ssl to elasticsearch config settings (#5527) 2019-10-21 00:41:12 +09:00
MeiMei
7fbab77ef9 Fix #5508 (#5509) 2019-10-16 04:03:51 +09:00
syuilo
2fe704bb71 Decrease tag limit 2019-09-27 05:18:09 +09:00
Acid Chicken (硫酸鶏)
ca02c57625 Limit the tag counts to 100 (#5263)
* Limit the tag counts to 256

* Update create.ts

* Update create.ts

* Update create.ts

* Limit the user tag
2019-09-27 05:16:59 +09:00
MeiMei
f1753c3958 AP featured collectionの修正 / Collection Activityの対応 / typeの修正など (#5460)
* resolver type / fix updateFeatured

* type ApObject

* fix strange type

* AP Activity

* Collection Activityが失敗したらとりあえず無視
2019-09-27 04:58:28 +09:00
MeiMei
f9f41c67bf Fix typo - invalied (#5433)
* Fix typo - invelied

* fix Valied
2019-09-15 23:27:33 +09:00
MeiMei
ee02bf6b32 AP Lock (#5410) 2019-09-09 22:46:45 +09:00
MeiMei
5fbf30e00d AP Undo Announce (#5400)
* AP Undo Announce

* Use activity id
2019-09-08 11:30:44 +09:00
MeiMei
87d3f36f21 excludeNsfwやCWのNSFW扱いなど (#5341)
* NoteにisSensitive

* Revert "NoteにisSensitive"

This reverts commit 3d5bcfbaf078ff91257a508f817dd1ef4ea31d7b.

* query excludeNsfw

* AP deliverでCW付きはsensitiveにするように

* excludeNsfwでCW付きも除くように
2019-08-27 17:33:07 +09:00
Satsuki Yanagi
879ea73909 Resolve #2716 (#5340)
* Resolve #2716

* Update ja-JP.yml
2019-08-25 16:11:20 +09:00
MeiMei
08d9a6a720 updateHashtagを並列で行わないように (#5284) 2019-08-18 12:47:45 +09:00
Satsuki Yanagi
112f1e1ae4 uuid() と lint (#5288)
* Import only v4 uuid, uuid() without version is deprecated

* Add Missing semicolon
2019-08-18 12:42:58 +09:00
MeiMei
40dc468a99 HTTPリクエストのKeep-AliveとPrxoy対応など (#5226)
* DriveのKeep-Alive, Proxy と APのProxy対応

* request系でKeep-Aliveするように

* fix lookup-dns-cache.d.ts

* remove debug output
2019-07-28 09:49:02 +09:00
MeiMei
f2fec97287 AP Emojiのupdatedは採用しないように (#5220)
* AP Emojiのupdatedは採用しない

* updated判定は残す
2019-07-28 05:32:40 +09:00
MeiMei
f69a404588 Fix question (#5197) 2019-07-20 03:20:06 +09:00
MeiMei
915145ee64 Mastodonのリンクの所有者認証に対応 (#5161)
* Profile metadata を設定できるように

* API desc
2019-07-18 00:11:39 +09:00
MeiMei
2bcbe47cd6 Fix: AP object / actor type (#5086)
* attributedToがArrayの場合などに対応

* attachment以外で来るDocument系のObjectに対応

* Renote, Reply 対応

* 表示をいい感じに

* fix type

* revert as const

* Fix Note / Question type

* attributedToのtypeで複合配列を想定する
2019-06-28 18:54:09 +09:00
MeiMei
90ce12f99b Block all activities from suspended users (#5076) 2019-06-21 15:42:07 +09:00
syuilo
c43d10aa3c Use WHATWG API
> New application code should use the WHATWG API.
2019-06-18 15:27:13 +09:00
MeiMei
a002f0262c 閉鎖しているホストにはAP deliverしないように (#5057)
* 閉鎖しているホストにはAP deliverしないように

* fix case
2019-06-15 17:09:59 +09:00
syuilo
9c2bad300a Resolve #365 2019-06-15 00:07:41 +09:00