Commit graph

420 commits

Author SHA1 Message Date
MeiMei
f2b1cf92e1 AP CW (#3448) 2018-12-01 07:15:10 +09:00
syuilo
95ba7e43b1
Fix bug: リモートユーザーのアイコンとバナーの色が取得されていない問題を修正 2018-11-24 17:29:32 +09:00
syuilo
7e803ff9a9
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2018-11-23 08:01:29 +09:00
syuilo
246cead2b1
Improve user operations
Resolve #2197
Resolve #3367
2018-11-23 08:01:14 +09:00
MeiMei
336b45b6f7 AP quote (#3384) 2018-11-23 02:10:07 +09:00
syuilo
79ffbf95db
Improve MFM parser (#3337)
* wip

* wip

* Refactor

* Refactor

* wip

* wip

* wip

* wip

* Refactor

* Refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Clean up

* Update misskey-flavored-markdown.ts

* wip

* wip

* wip

* wip

* Update parser.ts

* wip

* Add new test

* wip

* Add new test

* Add new test

* wip

* Refactor

* Update parse.ts

* Refactor

* Update parser.ts

* wip
2018-11-21 05:11:00 +09:00
MeiMei
0bf54b3ff6 Renote visibility (#3290) 2018-11-17 03:25:48 +09:00
MeiMei
bceb02d760 local only visibility (#3254)
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
syuilo
5bcce97ff0
Fix bug 2018-11-09 22:19:43 +09:00
Aya Morisawa
3c0d2db3bc
Rename: setDifference -> difference (#3177)
* Improve setDifference

* Rename: setDifference -> difference
2018-11-09 14:14:53 +09:00
Aya Morisawa
a9436306ab Fix #3170 (#3173) 2018-11-09 11:01:55 +09:00
MeiMei
5b684c6deb On remote notes, not use content for detecting mentions (#3170)
* On remote note, detect mentioned users from to/cc

* fix
2018-11-09 08:44:19 +09:00
syuilo
a8d05cba5a
Fix #3149 2018-11-07 19:43:21 +09:00
syuilo
3abe632f06
Clean up 2018-11-05 19:29:50 +09:00
syuilo
65961bc15b
Refactoring & 設定でTwemojiを使うかどうか切り替えられるように 2018-11-05 19:20:35 +09:00
syuilo
54dcc10250
Fix bug for Mastodon(?) 2018-11-04 15:17:52 +09:00
syuilo
aadd5b95b8
Improve admin dashboard 2018-11-03 11:38:00 +09:00
MeiMei
80b5fda292 Remote custom emojis (#3074)
* Remote custom emojis

* んほおおおおお
2018-11-02 08:59:40 +09:00
syuilo
5d61c7c691
Refactor and use original image for banner 2018-11-01 09:30:51 +09:00
syuilo
1a51b98700
Refactor 2018-10-31 22:35:02 +09:00
MeiMei
d64dc45899 User blocking (Following part) (#3035)
* block wip

* UndoBlock

* UnBlock

* wip

* follow

* UI

* fix
2018-10-29 20:32:42 +09:00
syuilo
a136715111
Implement #2993 2018-10-24 06:17:55 +09:00
syuilo
7c7f32d9a6
Refactoring 2018-10-23 05:36:35 +09:00
MeiMei
72754ede4e Fix several file processings (#2968)
* Ignore image error in person

* Fix hang while processing empty file
2018-10-21 18:35:36 +09:00
syuilo
6b0d48423d
Refactor 2018-10-21 15:08:07 +09:00
syuilo
969b6dbcad
Resolve #2963 2018-10-21 09:20:11 +09:00
syuilo
ba0e57396d
Refactoring 2018-10-21 07:10:35 +09:00
syuilo
46d3293edd
Fix #2920 2018-10-16 22:21:08 +09:00
MeiMei
49dbd7f9d2 Fix following from Preroma does not complete (#2905)
* In Follow Accept/Reject, send previous received id

* In Follow Accept/Reject, send Activity.actor
2018-10-15 16:51:22 +09:00
syuilo
a7237d157a
Resolve #2600 2018-10-13 17:57:40 +09:00
syuilo
2b0a919fb5
Resolve #2894 2018-10-13 13:13:15 +09:00
MeiMei
f243ce66e7 ActivityPubのHTTPリクエストの強化 (#2820)
* Fix error handling in AP deliver

* Set timeout to resolver

* Tune looks
2018-10-05 01:58:41 +09:00
MeiMei
c09a2a37fe リモートのピン留め投稿取得対応 (#2798)
* Fetch featured

* Handle featured change

* Fix typo
2018-10-02 16:27:36 +09:00
MeiMei
cba0dd5e17 Fix AP request error message is to long (#2760) 2018-09-24 07:35:39 +09:00
MeiMei
11496d887e Publish pinned notes (#2731) 2018-09-18 13:08:27 +09:00
syuilo
62509edcbe
Refactor 2018-09-17 12:18:59 +09:00
syuilo
f97cdfaa20
Fix #2725 2018-09-17 11:59:24 +09:00
syuilo
b21b33831a
Fix bug 2018-09-17 03:36:58 +09:00
syuilo
6138a74231
Fix #2101 2018-09-17 00:20:00 +09:00
syuilo
ba05f236bd
Resolve #2101 2018-09-10 02:47:34 +09:00
MeiMei
ea4e2da58d Fix AP Announce detection (#2672) 2018-09-09 02:59:14 +09:00
MeiMei
ef62497777 ActivityPub Outboxの修正とactivity idのURLを実装 (#2662)
* Fix Outbox structure

* Implement activity endpoint

* Use in instead of or

* Use in, addition
2018-09-08 05:24:55 +09:00
syuilo
a1b82e9723 #2620 2018-09-05 19:32:46 +09:00
MeiMei
5b039a1bee Add User-Agent header (#2602) 2018-09-04 17:44:21 +09:00
mei23
0177023ead Use Tombstone for Delete 2018-09-02 08:02:43 +09:00
Aya Morisawa
291beb45fc
Use string interpolation 2018-09-01 23:12:51 +09:00
mei23
57a63d38aa Send Update activity 2018-09-01 20:23:01 +09:00
mei23
3efffbcf22 Receive Update activity 2018-09-01 20:23:01 +09:00
mei23
15eaebe522 updatePersonで再割り当てを考慮する 2018-09-01 20:23:01 +09:00
mei23
eee98358ac Add missing updatePerson properties 2018-09-01 20:23:01 +09:00
mei23
795fc5e7bc Set Person.updatedAt at first 2018-09-01 20:23:01 +09:00
mei23
dddf7834cc Add host/digest to HTTP signature 2018-08-30 20:52:35 +09:00
mei23
6e3bf26cad Validate host on Person 2018-08-29 16:10:03 +09:00
syuilo
0875460974 ユーザーのアイコンにサムネイルを使うように
Closes #2365
2018-08-25 19:44:47 +09:00
mei23
ac474f3884 Send actor in Delete 2018-08-25 14:52:35 +09:00
mei23
a39aaf6eb1 Send actor in Undo Follow 2018-08-25 14:46:47 +09:00
mei23
68a7661f08 Create Note activity にも toとcc 2018-08-25 14:23:51 +09:00
mei23
ffcb2f755c Send actor in CreateNote, Announce 2018-08-25 14:12:44 +09:00
mei23
92828028db Add Activity id if missing 2018-08-25 13:11:54 +09:00
mei23
edb61e52c5 Use resolvable ActivityPub keyId 2018-08-25 12:46:06 +09:00
mei23
1f53d1a149 Send Content-Type in ActivityPub request 2018-08-25 12:32:31 +09:00
mei23
8b51428347 ActivityPub resolve で 添付のNoteを使用しないように 2018-08-25 06:50:35 +09:00
syuilo
2536bfb5f5 #2378 2018-08-22 09:16:52 +09:00
mei23
be5a0b4794 Fix リモートにNSFWが効かない 2018-08-19 18:08:29 +09:00
syuilo
452514f7fe Fix bug 2018-08-19 05:26:34 +09:00
mei23
a89c206572 Fix Announce Activity 2018-08-17 06:40:50 +09:00
syuilo
d70e27a865 Provide id in announce activity 2018-08-17 02:37:20 +09:00
mei23
0986301788 Implement ActivityPub Followers/Following/Outbox 2018-08-14 20:13:32 +09:00
mei23
f079041827 ActivityPub visibility on send 2018-08-13 03:49:17 +09:00
mei23
c5073b33ef Fix ActivityPub followers/specified detection 2018-08-12 20:37:35 +09:00
mei23
f56ec82f6b Fix ActivityPub attachment url 2018-08-12 04:42:14 +09:00
syuilo
0df093383d Refactoring 2018-08-02 15:35:22 +09:00
syuilo
dddd760efd Fix bug 2018-07-26 17:13:55 +09:00
syuilo
adc3c16ef3 wip 2018-07-24 05:04:43 +09:00
syuilo
297a7f541e #1947 2018-07-21 19:17:15 +09:00
syuilo
ec2b1ec3f0 #1334 2018-07-20 02:40:37 +09:00
syuilo
bfa326af2c WIP: Support sharedInbox 2018-07-19 22:40:44 +09:00
mei23
8ed9e44a78 Fix can't process cancel of follow request from remote 2018-07-08 17:22:18 +09:00
mei23
a796a68e8a Fix can't process follow accept/reject from remote 2018-07-08 17:22:11 +09:00
syuilo
5fb8f5a8c7 Improve error message 2018-07-01 13:44:24 +09:00
syuilo
d63044a15e Fix #1781 2018-06-26 18:34:17 +09:00
syuilo
247f334334 Fix 2018-06-23 19:18:14 +09:00
syuilo
509cdae832 Fix bug 2018-06-23 19:16:50 +09:00
syuilo
79d1bf30a4 リモートユーザーのHTMLで表現されたプロフィールをMFMに変換するように 2018-06-21 01:21:57 +09:00
syuilo
01ff8d171a Fix bug 2018-06-19 08:03:00 +09:00
syuilo
e66d7babc5 yatta 2018-06-18 14:28:43 +09:00
syuilo
80e5645a84 wip 2018-06-18 09:54:53 +09:00
syuilo
5773a5bfa6 Refactor 2018-06-17 17:15:03 +09:00
rinsuki
20549bfdf0 Fix #1729 2018-06-17 16:45:01 +09:00
rinsuki
f0fec654ff fix #1726 2018-06-17 15:58:23 +09:00
syuilo
4d90d554f8
Merge pull request #1721 from rinsuki/activitypub/support-cw
maybe Support CW in ActivityPub
2018-06-17 14:12:50 +09:00
rinsuki
e5468713ac maybe Support CW in ActivityPub 2018-06-17 14:11:31 +09:00
syuilo
03f20599ba Add missing semicolon 2018-06-17 07:39:51 +09:00
syuilo
e11f547308 #1715 2018-06-16 10:40:53 +09:00
syuilo
80c52433cc Fix bug 2018-06-13 05:15:26 +09:00
syuilo
1472f0b141 Fix #1712 2018-06-13 05:11:55 +09:00
syuilo
94ce658ab9 ハッシュタグ検索を実装 2018-06-10 12:19:19 +09:00
syuilo
119d38ea08 Fix bug 2018-06-10 08:41:57 +09:00
syuilo
bee77afb7f Fix bug 2018-06-10 08:34:46 +09:00
syuilo
f14571dc42 wip 2018-06-02 00:38:31 +09:00
syuilo
484d17f53f wip 2018-06-02 00:15:17 +09:00
syuilo
35115607bc wip 2018-06-01 00:42:37 +09:00
syuilo
51255bb446 wip 2018-05-31 22:56:02 +09:00
syuilo
bd758a156e wip 2018-05-31 18:34:15 +09:00
syuilo
ceda2ca896 Implement delete note 2018-05-28 14:39:46 +09:00
syuilo
66437f31c0 Save remote user's endpoints 2018-05-16 17:06:12 +09:00
syuilo
f59209aaa3 Fix bug 2018-05-16 16:50:36 +09:00
syuilo
058602352c Fix #1574 2018-05-08 07:03:06 +09:00
syuilo
d305c7e401 Fix 2018-05-07 17:45:21 +09:00
syuilo
8afaca36d9 Better text parsing 2018-05-07 17:19:00 +09:00
syuilo
9950fafff7 oops 2018-05-07 17:15:20 +09:00
syuilo
8c46e5b3d9 投稿のレンダリングを改善 2018-05-07 16:31:33 +09:00
syuilo
b77cbeca22 #1427 2018-05-07 02:54:14 +09:00
syuilo
414c600356 ファイルのURLを保存するように 2018-05-04 18:32:03 +09:00
syuilo
671c5e7c12 wip 2018-04-29 04:44:58 +09:00
syuilo
47ce59d555 wip 2018-04-28 17:25:56 +09:00
syuilo
1131ce8a71 sharedInboxを提供 2018-04-23 15:37:27 +09:00
syuilo
02bb99ac02 他のMisskeyインスタンスにリアクション情報を伝えるように 2018-04-23 15:27:01 +09:00
syuilo
20e77196f2 AP: 投票をレンダリング 2018-04-22 10:44:17 +09:00
mei23
0bb59bd73b Fix Misskey同士でフォローできない 2018-04-22 00:41:07 +09:00
syuilo
5d0ded2a69 Better error handling 2018-04-19 18:58:57 +09:00
syuilo
bd207b5012 Implement suspend account 2018-04-19 18:54:34 +09:00
syuilo
02fd46f64f Fix bug 2018-04-19 09:17:42 +09:00
syuilo
0e2bb5bddc Fix #1473 2018-04-18 14:48:40 +09:00
syuilo
233e1eeeb2 Fix bug 2018-04-18 14:09:55 +09:00
syuilo
d892e66072 Fix bug 2018-04-17 22:20:25 +09:00
syuilo
d852cc2789 Fix bug 2018-04-17 16:06:55 +09:00
syuilo
aaa167fd57 Refactor 2018-04-17 16:05:50 +09:00
syuilo
ee754f83cd #1448 2018-04-17 15:30:58 +09:00
syuilo
a9ea405c0c ✌️ 2018-04-15 18:38:40 +09:00
syuilo
d81c20f163 hostLowerは廃止してhostにlowerしたものを入れるように 2018-04-14 14:39:07 +09:00
syuilo
17f4dd69a3 Refactor 2018-04-13 14:39:08 +09:00
syuilo
cb85d7cb14 再帰的にNoteをレンダリングするように 2018-04-10 04:38:02 +09:00
syuilo
805bc4b254 Refactor 2018-04-10 02:12:17 +09:00
syuilo
d90ad34924 Fix bug 2018-04-09 05:44:35 +09:00
syuilo
5093f69b08 oops 2018-04-09 05:39:18 +09:00
syuilo
94e48ba122 ✌️ 2018-04-09 05:37:50 +09:00
syuilo
6b1dc866a8 ✌️ 2018-04-09 05:34:33 +09:00
syuilo
44e5ae110e ✌️ 2018-04-09 05:30:17 +09:00
syuilo
1186b788d6 ✌️ 2018-04-09 05:27:38 +09:00
syuilo
cf5b679117 ✌️ 2018-04-09 05:23:35 +09:00
syuilo
d8a87379ca Fix bug 2018-04-09 05:14:47 +09:00
syuilo
536277122d wip 2018-04-09 05:02:52 +09:00
syuilo
08beb45935 wip 2018-04-09 04:08:56 +09:00
syuilo
ad1a86113b Fix bug 2018-04-08 23:29:27 +09:00
syuilo
a1e6bb6fa3 Provide url property 2018-04-08 18:21:02 +09:00
syuilo
e63f884bc6 Use id in uri instead of username 2018-04-08 15:15:22 +09:00
syuilo
04cdb04ee2 Fix bug 2018-04-08 07:11:29 +09:00
syuilo
6e34e77372 Implement announce
And bug fixes
2018-04-08 06:55:26 +09:00
syuilo
0004944708 Fix bug 2018-04-08 05:07:17 +09:00
syuilo
5ddb047794 Fix bugs 2018-04-08 05:02:50 +09:00
syuilo
a02ee3a08b Some bug fixes 2018-04-08 03:58:11 +09:00
syuilo
a1b490afa7 Post --> Note
Closes #1411
2018-04-08 02:30:37 +09:00
syuilo
c5f23bce78 Implement like 2018-04-07 17:05:14 +09:00
syuilo
321f61f1cb Refactor 2018-04-07 16:36:40 +09:00
syuilo
93f631e358 Refactor 2018-04-07 16:14:35 +09:00
syuilo
7dc06b3d43 Refactor 2018-04-07 15:54:11 +09:00
syuilo
81d19195cf Add todo 2018-04-07 15:52:42 +09:00
syuilo
2259747072 各種カウントを復活させたりなど 2018-04-07 15:39:40 +09:00
syuilo
ac5076c678 Ignore post that not public 2018-04-07 12:05:15 +09:00
syuilo
e68dd11ecc Support unlisted visibility type 2018-04-07 12:02:25 +09:00
syuilo
779a37c4ae Visibility support 2018-04-07 07:27:18 +09:00
syuilo
494597236c 投稿に関しては論理削除するように
処理をシンプルにするため
2018-04-07 07:19:30 +09:00
syuilo
8273a7e748 Fix bug 2018-04-07 06:59:20 +09:00
syuilo
a34710fea9 Refactor 2018-04-07 06:58:53 +09:00
syuilo
a0c6e7af1c Fix bug 2018-04-07 06:51:35 +09:00
syuilo
de620c822a Fix bug 2018-04-07 06:44:29 +09:00
syuilo
ba1a81dab1 Bug fixes and some refactors 2018-04-07 06:13:40 +09:00
syuilo
ef30390e76 Add todo 2018-04-07 00:07:30 +09:00
syuilo
2b02655a3f Fix bug 2018-04-06 22:15:31 +09:00
syuilo
bc06c66407 Add todo 2018-04-06 22:00:37 +09:00
syuilo
f640a8fd5b Resolve local Person ID 2018-04-06 20:52:38 +09:00
syuilo
a01251477e Revert "Remove silent flag"
This reverts commit 9c15c94f80.
2018-04-06 20:45:33 +09:00
syuilo
4e9ae8e8d5 Split code 2018-04-06 19:35:23 +09:00
syuilo
574e3b0bfd Fix type annotation 2018-04-06 19:26:17 +09:00
syuilo
0ecbafe5eb Add todos 2018-04-06 19:23:13 +09:00
syuilo
9c15c94f80 Remove silent flag 2018-04-06 19:18:38 +09:00
syuilo
1e8fe4c6a8 Better English 2018-04-06 14:47:00 +09:00
syuilo
b6aeacdeb9 RENAME: api --> services 2018-04-06 03:10:25 +09:00
syuilo
30bd467b71 wip 2018-04-05 23:19:47 +09:00
syuilo
5f8ab58446 wip 2018-04-05 22:49:41 +09:00
syuilo
a6abcd1aa5 wip 2018-04-05 19:23:42 +09:00
syuilo
2a80fdeafe wip 2018-04-05 19:19:00 +09:00
syuilo
fd87a63e57 wip 2018-04-05 18:50:52 +09:00
syuilo
7403f38fb4 wip 2018-04-05 18:43:06 +09:00
syuilo
06347cd71e wip 2018-04-05 18:08:51 +09:00
syuilo
c2c03a1c65 wip 2018-04-05 03:21:11 +09:00
syuilo
eb304cb5fb wip 2018-04-05 01:22:41 +09:00
syuilo
fba46b4c7f wip 2018-04-05 01:07:07 +09:00
syuilo
fd73fad148 wip 2018-04-05 00:50:57 +09:00
syuilo
77f056b4fc wip 2018-04-04 23:59:38 +09:00
syuilo
e8b42d7e16 wip 2018-04-04 23:12:35 +09:00
syuilo
b60121527d
Merge pull request #1393 from akihikodaki/duplicate
Allow to undo Create activity
2018-04-04 19:52:33 +09:00
Akihiko Odaki
783453897f Allow to undo Create activity 2018-04-04 19:51:41 +09:00
syuilo
2d4fe8c619 [wip] Implement like activity 2018-04-04 19:29:06 +09:00
Akihiko Odaki
210cb57aa5 Implement Delete activity 2018-04-04 00:22:00 +09:00
Akihiko Odaki
5bcb4b1dde Always deduplicate Activity Streams objects by id 2018-04-04 00:16:22 +09:00
Akihiko Odaki
fdc81f395d Enforce URI uniquness 2018-04-04 00:09:00 +09:00
syuilo
18f317a4ac Refactor 2018-04-03 23:59:03 +09:00
syuilo
a6f63e055a Refactor: Better variable name 2018-04-03 23:14:56 +09:00
syuilo
f79e05195b Refactor 2018-04-03 23:01:48 +09:00
Akihiko Odaki
aa0516d984 Wait for promise to resolve in Undo activity handler 2018-04-03 22:19:11 +09:00
Akihiko Odaki
c22cb37759 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
9a6d524d5a Refactor 2018-04-03 20:09:26 +09:00
syuilo
a596a960bf
Merge pull request #1383 from akihikodaki/unfollow
Add a missing semicolon
2018-04-03 17:23:41 +09:00
Akihiko Odaki
30614a3779 Add a missing semicolon 2018-04-03 17:21:59 +09:00
syuilo
c666a2b26e
Merge pull request #1382 from akihikodaki/unfollow
Implement remote account unfollow
2018-04-03 17:19:52 +09:00
Akihiko Odaki
4b507ed349 Implement remote account unfollow 2018-04-03 17:18:06 +09:00
syuilo
41d3992c52
Merge pull request #1381 from akihikodaki/unfollow
Implement unfollow by remote account
2018-04-03 16:37:42 +09:00
Akihiko Odaki
6b66ec1231 Implement unfollow by remote account 2018-04-03 16:35:07 +09:00
Akihiko Odaki
a9abc669e0 Fix ActivityStreams collection resolution 2018-04-03 16:32:54 +09:00
Akihiko Odaki
6503beecc5 Explicityly wrap objects with Create activity 2018-04-03 12:25:13 +09:00
Akihiko Odaki
cc3704c3e9 Accept remote follow 2018-04-03 12:07:29 +09:00
Akihiko Odaki
32c008d008 Deliver posts to remote followers 2018-04-03 02:10:43 +09:00
Akihiko Odaki
7942f76acb Implement Follow activity 2018-04-02 19:50:40 +09:00
Akihiko Odaki
69763ac32b Resolve account by signature in inbox 2018-04-02 18:36:47 +09:00
Akihiko Odaki
ce7efc4dbb Distribute posts from remote 2018-04-02 17:11:14 +09:00
Akihiko Odaki
3fb6834f7d Introduce config module 2018-04-02 13:15:53 +09:00
Akihiko Odaki
5b9f3701f5 Abolish common and misc directories 2018-04-02 12:58:53 +09:00
syuilo
cd2542e0fd Refactor 2018-04-02 04:15:27 +09:00