Commit graph

349 commits

Author SHA1 Message Date
mei23
a90d6044fe Use Tombstone for Delete 2018-09-02 08:02:43 +09:00
Aya Morisawa
36e10e2bbf Use string interpolation 2018-09-01 23:12:51 +09:00
mei23
036e94c368 Send Update activity 2018-09-01 20:23:01 +09:00
mei23
36e85a02d5 Receive Update activity 2018-09-01 20:23:01 +09:00
mei23
22c7d953f4 updatePersonで再割り当てを考慮する 2018-09-01 20:23:01 +09:00
mei23
fd4566b9e7 Add missing updatePerson properties 2018-09-01 20:23:01 +09:00
mei23
3dfdab9aba Set Person.updatedAt at first 2018-09-01 20:23:01 +09:00
mei23
8852c9eebf Add host/digest to HTTP signature 2018-08-30 20:52:35 +09:00
mei23
1029eebc6a Validate host on Person 2018-08-29 16:10:03 +09:00
syuilo
7c463c7c3c ユーザーのアイコンにサムネイルを使うように
Closes #2365
2018-08-25 19:44:47 +09:00
mei23
dbd13a2663 Send actor in Delete 2018-08-25 14:52:35 +09:00
mei23
63a2ef73f8 Send actor in Undo Follow 2018-08-25 14:46:47 +09:00
mei23
5d6ea188aa Create Note activity にも toとcc 2018-08-25 14:23:51 +09:00
mei23
f80193c41a Send actor in CreateNote, Announce 2018-08-25 14:12:44 +09:00
mei23
43062ab43a Add Activity id if missing 2018-08-25 13:11:54 +09:00
mei23
5a8f47e995 Use resolvable ActivityPub keyId 2018-08-25 12:46:06 +09:00
mei23
4f90dfb3d4 Send Content-Type in ActivityPub request 2018-08-25 12:32:31 +09:00
mei23
aff4ab9576 ActivityPub resolve で 添付のNoteを使用しないように 2018-08-25 06:50:35 +09:00
rinsuki
ccea661b4f https://misskey.xyz/notes/5b7e20bd248403003019b860 の修正 2018-08-23 11:58:44 +09:00
syuilo
0287ced18e #2378 2018-08-22 09:16:52 +09:00
mei23
a135dad7b5 Fix リモートにNSFWが効かない 2018-08-19 18:08:29 +09:00
syuilo
6a109bd251 Fix bug 2018-08-19 05:26:34 +09:00
mei23
63a6e0a24d Fix Announce Activity 2018-08-17 06:40:50 +09:00
syuilo
258193008f Provide id in announce activity 2018-08-17 02:37:20 +09:00
mei23
fc546f3a2e Implement ActivityPub Followers/Following/Outbox 2018-08-14 20:13:32 +09:00
mei23
dfafbbceb7 ActivityPub visibility on send 2018-08-13 03:49:17 +09:00
mei23
6837574f55 Fix ActivityPub followers/specified detection 2018-08-12 20:37:35 +09:00
mei23
e91174615c Fix ActivityPub attachment url 2018-08-12 04:42:14 +09:00
syuilo
d5e7a062b8 Refactoring 2018-08-02 15:35:22 +09:00
syuilo
f433c61ee4 Fix bug 2018-07-26 17:13:55 +09:00
syuilo
e730860f88 wip 2018-07-24 05:04:43 +09:00
syuilo
792d9233e2 #1947 2018-07-21 19:17:15 +09:00
syuilo
be05309ca4 #1334 2018-07-20 02:40:37 +09:00
syuilo
3dc93996d9 WIP: Support sharedInbox 2018-07-19 22:40:44 +09:00
mei23
70c17f087b Fix can't process cancel of follow request from remote 2018-07-08 17:22:18 +09:00
mei23
88c522a2a5 Fix can't process follow accept/reject from remote 2018-07-08 17:22:11 +09:00
syuilo
639aa8197a Improve error message 2018-07-01 13:44:24 +09:00
syuilo
87a3983c29 Fix #1781 2018-06-26 18:34:17 +09:00
syuilo
7b837d2ca4 Fix 2018-06-23 19:18:14 +09:00
syuilo
18464a2b85 Fix bug 2018-06-23 19:16:50 +09:00
syuilo
899b69c2a9 リモートユーザーのHTMLで表現されたプロフィールをMFMに変換するように 2018-06-21 01:21:57 +09:00
syuilo
25b96800bb Fix bug 2018-06-19 08:03:00 +09:00
syuilo
b094260f3c yatta 2018-06-18 14:28:43 +09:00
syuilo
a640a1e4d4 wip 2018-06-18 09:54:53 +09:00
syuilo
f0b9703a77 Refactor 2018-06-17 17:15:03 +09:00
rinsuki
11161004ab Fix #1729 2018-06-17 16:45:01 +09:00
rinsuki
f7c6d724a2 fix #1726 2018-06-17 15:58:23 +09:00
syuilo
ec34782ada Merge pull request #1721 from rinsuki/activitypub/support-cw
maybe Support CW in ActivityPub
2018-06-17 14:12:50 +09:00
rinsuki
293ac35f14 maybe Support CW in ActivityPub 2018-06-17 14:11:31 +09:00
syuilo
68d7c4de0d Add missing semicolon 2018-06-17 07:39:51 +09:00
syuilo
d053005559 #1715 2018-06-16 10:40:53 +09:00
syuilo
a6aa011b19 Fix bug 2018-06-13 05:15:26 +09:00
syuilo
1475eccab2 Fix #1712 2018-06-13 05:11:55 +09:00
syuilo
15dcfe1627 ハッシュタグ検索を実装 2018-06-10 12:19:19 +09:00
syuilo
6093d0399d Fix bug 2018-06-10 08:41:57 +09:00
syuilo
e5e968104e Fix bug 2018-06-10 08:34:46 +09:00
syuilo
bf64cc2ccb wip 2018-06-02 00:38:31 +09:00
syuilo
89b726c4b2 wip 2018-06-02 00:15:17 +09:00
syuilo
8cb8c9242c wip 2018-06-01 00:42:37 +09:00
syuilo
f3d2274ce4 wip 2018-05-31 22:56:02 +09:00
syuilo
9250a0076f wip 2018-05-31 18:34:15 +09:00
syuilo
c800477f70 Implement delete note 2018-05-28 14:39:46 +09:00
syuilo
0ef593999f Save remote user's endpoints 2018-05-16 17:06:12 +09:00
syuilo
06179301bc Fix bug 2018-05-16 16:50:36 +09:00
syuilo
17e53d2ebf Fix #1574 2018-05-08 07:03:06 +09:00
syuilo
e087c7032c Fix 2018-05-07 17:45:21 +09:00
syuilo
54b46c5d00 Better text parsing 2018-05-07 17:19:00 +09:00
syuilo
d1fd3adcc9 oops 2018-05-07 17:15:20 +09:00
syuilo
c986c4e503 投稿のレンダリングを改善 2018-05-07 16:31:33 +09:00
syuilo
3bb9d54eb1 oops 2018-05-07 04:26:45 +09:00
syuilo
59e47b1f52 良い感じに 2018-05-07 04:08:39 +09:00
syuilo
fa11c10133 メンションを処理 2018-05-07 03:19:24 +09:00
syuilo
cab573c288 #1427 2018-05-07 02:54:14 +09:00
syuilo
1260e3bc52 ファイルのURLを保存するように 2018-05-04 18:32:03 +09:00
syuilo
5aefaa1246 wip 2018-04-29 04:44:58 +09:00
syuilo
1d38c0c326 wip 2018-04-28 17:25:56 +09:00
syuilo
a01cbf026c sharedInboxを提供 2018-04-23 15:37:27 +09:00
syuilo
aaf138f020 他のMisskeyインスタンスにリアクション情報を伝えるように 2018-04-23 15:27:01 +09:00
syuilo
433816e767 AP: 投票をレンダリング 2018-04-22 10:44:17 +09:00
mei23
d4577307d8 Fix Misskey同士でフォローできない 2018-04-22 00:41:07 +09:00
syuilo
56fd258ef0 Better error handling 2018-04-19 18:58:57 +09:00
syuilo
9982d13930 Implement suspend account 2018-04-19 18:54:34 +09:00
syuilo
8ba13e2c04 Fix bug 2018-04-19 09:17:42 +09:00
syuilo
cee5313ed2 Fix #1473 2018-04-18 14:48:40 +09:00
syuilo
3348094e5f Fix bug 2018-04-18 14:09:55 +09:00
syuilo
6d83f02979 Fix bug 2018-04-17 22:20:25 +09:00
syuilo
c2207d78ff Fix bug 2018-04-17 16:06:55 +09:00
syuilo
ef21993199 Refactor 2018-04-17 16:05:50 +09:00
syuilo
19e9d71316 #1448 2018-04-17 15:30:58 +09:00
syuilo
696a8c80f7 ✌️ 2018-04-15 18:38:40 +09:00
syuilo
2a333bd4c6 hostLowerは廃止してhostにlowerしたものを入れるように 2018-04-14 14:39:07 +09:00
syuilo
4675a99d49 Refactor 2018-04-13 14:39:08 +09:00
syuilo
75508f5e6f 再帰的にNoteをレンダリングするように 2018-04-10 04:38:02 +09:00
syuilo
f33b589401 Refactor 2018-04-10 02:12:17 +09:00
syuilo
c44b26f296 Fix bug 2018-04-09 05:44:35 +09:00
syuilo
40f482cc6b oops 2018-04-09 05:39:18 +09:00
syuilo
4de3c26e56 ✌️ 2018-04-09 05:37:50 +09:00
syuilo
0831159853 ✌️ 2018-04-09 05:34:33 +09:00
syuilo
8e6a772701 ✌️ 2018-04-09 05:30:17 +09:00
syuilo
0b4b9a2ef4 ✌️ 2018-04-09 05:27:38 +09:00
syuilo
ce81f4953b ✌️ 2018-04-09 05:23:35 +09:00
syuilo
d45e2661aa Fix bug 2018-04-09 05:14:47 +09:00
syuilo
d760f41da9 wip 2018-04-09 05:02:52 +09:00
syuilo
8089200d69 wip 2018-04-09 04:08:56 +09:00
syuilo
15ea610f95 Fix bug 2018-04-08 23:29:27 +09:00
syuilo
70214c45ce Provide url property 2018-04-08 18:21:02 +09:00
syuilo
1078dd6d65 ✌️ 2018-04-08 15:25:17 +09:00
syuilo
3c6eef8643 Use id in uri instead of username 2018-04-08 15:15:22 +09:00
syuilo
37afa07c8d Fix bug 2018-04-08 07:11:29 +09:00
syuilo
d482ca7f9f Implement announce
And bug fixes
2018-04-08 06:55:26 +09:00
syuilo
5e5c46545c Fix bug 2018-04-08 05:07:17 +09:00
syuilo
b288304ac3 Fix bugs 2018-04-08 05:02:50 +09:00
syuilo
9739dc4ac2 Some bug fixes 2018-04-08 03:58:11 +09:00
syuilo
2ebbb70356 Post --> Note
Closes #1411
2018-04-08 02:30:37 +09:00
syuilo
f79dc2cbc0 Implement like 2018-04-07 17:05:14 +09:00
syuilo
a85c9b8e6f Refactor 2018-04-07 16:36:40 +09:00
syuilo
7fd7751c08 Refactor 2018-04-07 16:14:35 +09:00
syuilo
6113f7260c Refactor 2018-04-07 15:54:11 +09:00
syuilo
8e8a9175ad Add todo 2018-04-07 15:52:42 +09:00
syuilo
5a7e706cab 各種カウントを復活させたりなど 2018-04-07 15:39:40 +09:00
syuilo
ac660e3170 oops 2018-04-07 13:05:10 +09:00
syuilo
68311019bf Merge branch 'master' into refactor 2018-04-07 13:03:19 +09:00
syuilo
20ae8012cf Ignore post that not public 2018-04-07 12:05:15 +09:00
syuilo
ad4378bda8 Support unlisted visibility type 2018-04-07 12:02:25 +09:00
syuilo
32516b1d8e Visibility support 2018-04-07 07:27:18 +09:00
syuilo
c2cced0a45 投稿に関しては論理削除するように
処理をシンプルにするため
2018-04-07 07:19:30 +09:00
syuilo
2311f3017e Fix bug 2018-04-07 06:59:20 +09:00
syuilo
3f85ae0fbf Refactor 2018-04-07 06:58:53 +09:00
syuilo
e1649f21a9 Fix bug 2018-04-07 06:51:35 +09:00
syuilo
3e96070371 Fix bug 2018-04-07 06:44:29 +09:00
syuilo
efb172bce8 Bug fixes and some refactors 2018-04-07 06:13:40 +09:00
syuilo
2057fdde4a Add todo 2018-04-07 00:07:30 +09:00
syuilo
85f1857d13 Merge pull request #1410 from akihikodaki/objec
Resolve local Object ID
2018-04-06 23:56:43 +09:00
syuilo
88e11c7b0c Fix bug 2018-04-06 22:15:31 +09:00
syuilo
24cfde31ab Add todo 2018-04-06 22:00:37 +09:00
syuilo
d2abfa5f2e Resolve local Person ID 2018-04-06 20:52:38 +09:00
syuilo
20956d46c0 Revert "Remove silent flag"
This reverts commit 9c15c94f801de7019f014446aa3b8ea42980a1da.
2018-04-06 20:45:33 +09:00
syuilo
5974e64f06 Split code 2018-04-06 19:35:23 +09:00
syuilo
0c1337905a Fix type annotation 2018-04-06 19:26:17 +09:00
syuilo
aeae5aa9ff Add todos 2018-04-06 19:23:13 +09:00
syuilo
38dab6704b Remove silent flag 2018-04-06 19:18:38 +09:00
syuilo
9de6408557 Better English 2018-04-06 14:47:00 +09:00
Akihiko Odaki
0c4c15fc7d Resolve local Object ID 2018-04-06 12:55:48 +09:00
Akihiko Odaki
26b5b5b520 Resolve local Person ID 2018-04-06 12:54:34 +09:00
syuilo
7961ef33b2 RENAME: api --> services 2018-04-06 03:10:25 +09:00
syuilo
925815d67e wip 2018-04-05 23:19:47 +09:00
syuilo
207332d71f wip 2018-04-05 22:49:41 +09:00
syuilo
fa2d8a94ab Merge pull request #1403 from akihikodaki/duplicate
Add a missing await expression
2018-04-05 21:17:47 +09:00
Akihiko Odaki
b7d72b6bb4 Add a missing await expression 2018-04-05 21:16:19 +09:00
syuilo
504d845a01 wip 2018-04-05 19:23:42 +09:00
syuilo
2468b34d93 wip 2018-04-05 19:19:00 +09:00
syuilo
00dd472ebe wip 2018-04-05 18:50:52 +09:00
syuilo
e20e321a82 wip 2018-04-05 18:43:06 +09:00
syuilo
9c9b09c570 wip 2018-04-05 18:08:51 +09:00
syuilo
074ea114ab wip 2018-04-05 03:21:11 +09:00
syuilo
7f8fdc07a7 Merge pull request #1400 from akihikodaki/duplicate
Handle inReplyTo property
2018-04-05 01:59:10 +09:00
Akihiko Odaki
1c7e35c001 Handle inReplyTo property 2018-04-05 01:57:18 +09:00
syuilo
ff4f74e989 Merge pull request #1399 from akihikodaki/duplicate
Implement Hashtag object
2018-04-05 01:32:03 +09:00
Akihiko Odaki
c5882f9966 Implement Hashtag object 2018-04-05 01:29:56 +09:00
syuilo
aecc8ddbdb Merge pull request #1398 from akihikodaki/duplicate
Implement Mention object
2018-04-05 01:25:53 +09:00
Akihiko Odaki
5218c75f80 Implement Mention object 2018-04-05 01:24:39 +09:00
syuilo
cb8a504362 wip 2018-04-05 01:22:41 +09:00
syuilo
6bb258f6f0 wip 2018-04-05 01:07:07 +09:00
syuilo
e850c99418 wip 2018-04-05 00:50:57 +09:00
syuilo
de40762ee8 wip 2018-04-04 23:59:38 +09:00
syuilo
bddcd13f58 wip 2018-04-04 23:12:35 +09:00
syuilo
25d3bfde6d Merge pull request #1394 from akihikodaki/duplicate
Retry HTTP requests
2018-04-04 22:48:27 +09:00
Akihiko Odaki
6cafb15636 Retry HTTP requests 2018-04-04 22:45:55 +09:00
syuilo
b81e80a3fe Merge pull request #1393 from akihikodaki/duplicate
Allow to undo Create activity
2018-04-04 19:52:33 +09:00
Akihiko Odaki
cc45e0c3d4 Allow to undo Create activity 2018-04-04 19:51:41 +09:00
syuilo
a3f8a48ddf [wip] Implement like activity 2018-04-04 19:29:06 +09:00
Akihiko Odaki
6d07ce46dc Implement Delete activity 2018-04-04 00:22:00 +09:00
Akihiko Odaki
7ca7c5e6be Always deduplicate Activity Streams objects by id 2018-04-04 00:16:22 +09:00
Akihiko Odaki
6cdce579fa Enforce URI uniquness 2018-04-04 00:09:00 +09:00
syuilo
5c2978d1f6 Refactor 2018-04-03 23:59:03 +09:00
syuilo
5f0e25be66 Refactor: Better variable name 2018-04-03 23:14:56 +09:00
syuilo
889c9afbb5 Refactor 2018-04-03 23:01:48 +09:00
Akihiko Odaki
562ae599f6 Wait for promise to resolve in Undo activity handler 2018-04-03 22:19:11 +09:00
Akihiko Odaki
4c3c87fb99 Remove resolveRemoteUserObjects method of remote/activitypub/resolver
The value of the value returned by resolveRemoteUserObjects method of
remote/activitypub/resolver was inconsistent.
2018-04-03 20:41:54 +09:00
syuilo
e8e1b8fc58 Refactor 2018-04-03 20:09:26 +09:00
syuilo
d0b75e7403 Merge pull request #1383 from akihikodaki/unfollow
Add a missing semicolon
2018-04-03 17:23:41 +09:00
Akihiko Odaki
99ef1512c5 Add a missing semicolon 2018-04-03 17:21:59 +09:00
syuilo
fe6a47b9b6 Merge pull request #1382 from akihikodaki/unfollow
Implement remote account unfollow
2018-04-03 17:19:52 +09:00
Akihiko Odaki
749f0fd6cb Implement remote account unfollow 2018-04-03 17:18:06 +09:00
syuilo
c93f4961a2 Merge pull request #1381 from akihikodaki/unfollow
Implement unfollow by remote account
2018-04-03 16:37:42 +09:00
Akihiko Odaki
bd935c5696 Implement unfollow by remote account 2018-04-03 16:35:07 +09:00
Akihiko Odaki
54e128df4f Fix ActivityStreams collection resolution 2018-04-03 16:32:54 +09:00
Akihiko Odaki
634a1be950 Invoke a constructor with parentheses 2018-04-03 12:28:34 +09:00
Akihiko Odaki
655846f5cf Explicityly wrap objects with Create activity 2018-04-03 12:25:13 +09:00
Akihiko Odaki
c8077538f2 Accept remote follow 2018-04-03 12:07:29 +09:00
Akihiko Odaki
1d62b15889 Deliver posts to remote followers 2018-04-03 02:10:43 +09:00
syuilo
1d393b9fb0 Merge pull request #1373 from akihikodaki/misc
Implement Follow activity
2018-04-02 19:53:04 +09:00
Akihiko Odaki
00253eb355 Implement Follow activity 2018-04-02 19:50:40 +09:00
Akihiko Odaki
cf195b8e92 Improve WebFinger verification 2018-04-02 19:37:00 +09:00
Akihiko Odaki
00110e37f2 Resolve account by signature in inbox 2018-04-02 18:36:47 +09:00
Akihiko Odaki
ebae97a1fe Distribute posts from remote 2018-04-02 17:11:14 +09:00
Akihiko Odaki
8b3407e16c Introduce config module 2018-04-02 13:15:53 +09:00
Akihiko Odaki
a9c0dd5e53 Abolish common and misc directories 2018-04-02 12:58:53 +09:00
syuilo
057c1e3c07 Refactor 2018-04-02 04:15:27 +09:00