Commit graph

406 commits

Author SHA1 Message Date
syuilo 977af0a24d
ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo 9b79a411e0
Use camelCase 2019-02-24 12:53:22 +09:00
syuilo e8db63e788
Fix bug 2019-02-18 01:11:14 +09:00
syuilo 1d5a54ff6f
ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように

* 🎨

* Increase limit

* リモートユーザーも表示

* Fix bug

* Fix bug

* Improve performance
2019-02-17 23:41:47 +09:00
MeiMei 757312ba52 Limit the parallelism of AP object processing (#4193) 2019-02-09 13:01:21 +09:00
syuilo 56275bcfcb
Introduce per-instance chart (#4183)
* Introduce per-instance chart

* Implement chart view in client

* Handle note deleting

* More chart srcs

* Add drive stats

* Improve drive stats

* Fix bug

* Add icon
2019-02-08 16:58:57 +09:00
syuilo aba85b977d
Refactoring: Move chart dir into services dir 2019-02-08 04:31:33 +09:00
syuilo e6612f610c
Implement instance blocking (#4182)
* Implement instance blocking

* Add missing text

* Delete unnecessary file

* Covert Punycode to Unicode
2019-02-08 04:26:43 +09:00
syuilo 5448c22031
Revert 96bc17aa10 2019-02-07 21:02:33 +09:00
syuilo 336912e442
Improve instance stats 2019-02-07 15:00:44 +09:00
Aya Morisawa 96bc17aa10 Check config on load (#4170)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-02-06 22:44:55 +09:00
syuilo 71ba72e796
Better logs 2019-02-06 15:06:23 +09:00
syuilo 4a41d2fddc
Add logs 2019-02-06 00:01:37 +09:00
syuilo 8129d4dc23
Refactoring 2019-02-05 14:14:23 +09:00
syuilo 11101a6aca
Better error log of WebFinger 2019-02-04 09:06:13 +09:00
syuilo 874c0eae6a
Better error log of WebFinger 2019-02-04 09:02:23 +09:00
syuilo 0868c3517f
Use internal logger instead of debug/console for logging
Resolve #4104
Resolve #1966
Resolve #1937
2019-02-03 18:16:57 +09:00
syuilo 75558add17
Better logging 2019-02-03 16:45:13 +09:00
syuilo 6071fc7077
Better log 2019-02-03 04:43:43 +09:00
syuilo 15eca04bc4
🎨 2019-02-03 04:20:35 +09:00
syuilo 238c6a428b
[Server] Use logger for logging 2019-02-03 04:18:27 +09:00
syuilo 278e43e9ba
[Server] Use logger for logging 2019-02-03 04:04:57 +09:00
syuilo d692d531d1
Fix indent 2019-02-02 13:57:26 +09:00
Acid Chicken (硫酸鶏) 40e177fa96 Create type definition for 'http-signature' (#4049)
* Create type definition for 'http-signature'

* Follow lint
2019-02-01 19:59:12 +09:00
MeiMei a6e7bbc306 send/receive user hashtags via AP (#4064) 2019-01-31 20:42:45 +09:00
Acid Chicken (硫酸鶏) 76569bfb08
Create type definition for 'lookup-dns-cache' (#4051) 2019-01-31 17:53:49 +09:00
Acid Chicken (硫酸鶏) bbcdf1bb8a
Create type definition for 'promise-any' (#4055) 2019-01-31 17:52:27 +09:00
Acid Chicken (硫酸鶏) 6439a6c63f
Create type definition for 'webfinger.js' (#4054) 2019-01-31 17:52:17 +09:00
MeiMei b8a7468c4a Do not import as pack from AP renderer (#4048)
* Do not import as pack from AP renderer

* rename
2019-01-31 02:29:35 +09:00
Aya Morisawa 28bfb45426
Avoid export default 2019-01-30 16:56:27 +09:00
Aya Morisawa ca26edbfce
Rename html-to-mfm to fromHtml 2019-01-30 15:00:05 +09:00
Aya Morisawa 3058e8f354
Rename html to toHtml 2019-01-30 14:57:13 +09:00
Acid Chicken (硫酸鶏) 5bbf4187e6 Module 'crypto' as import syntax (#4011) 2019-01-30 11:51:29 +09:00
Acid Chicken (硫酸鶏) e2f7e82cac 外部サービス認証情報の配信 (#3975)
* Update person.ts

* Update person.ts

* Update person.ts

* Update person.ts

* Create original model

* Make type formal

* Update person.ts

* Follow @mei23's review

refs: https://github.com/syuilo/misskey/pull/3975#pullrequestreview-195770172
2019-01-24 17:33:39 +09:00
MeiMei 5b32b900e4 投票未対応インスタンス向けメッセージをわかりやすくする (#3944)
* Poll message

* fix

* fix

* とりあえず日本語にしちゃう

* TODO

* fix
2019-01-21 16:34:17 +09:00
MeiMei 4a57482216 リモートで投票を見たりしたりできるように (#3940)
* fix type

* expose Question

* Note refs Question

* rename

* wip

* リモート投票の場合リプライ送信

* voteの実装をservicesに移動

* 投票受信

* debug

* つくる

* Revert "つくる"

This reverts commit 0c92458866.

* APIの実装はもどし

* Send Update

* AP type

* Recv Update

* Revert "Recv Update"

This reverts commit ffda39c093.

* Revert "AP type"

This reverts commit 63d8bbe29d.

* Revert "Send Update"

This reverts commit 171b046de5.

* リモートで投票を見る

* 投票はDM

* Provides choices as text for AP

* 絵文字

* fix error

* revert

* APからには不要な処理を削除

* Revert "APからには不要な処理を削除"

This reverts commit 8b5d8af9b0.

* てぬき

* めんどい

* ちっ

* remove unused code
2019-01-21 13:27:19 +09:00
syuilo 4000da6be8
[Server] Fix bug 2019-01-21 11:15:36 +09:00
MeiMei 22830965e3 AP Undo Like (#3933)
* AP Undo Like

* rename
2019-01-20 03:07:12 +09:00
MeiMei e1cc2394fa Use cached and asynchronous DNS resolver for AP delivery (#3859) 2019-01-09 15:17:54 +09:00
MeiMei cd4be4116b Fix sharedInbox recovery code (#3840) 2019-01-06 17:45:53 +09:00
syuilo a3493c4f07
Privateの公開範囲を廃止 2018-12-29 02:55:46 +09:00
syuilo bfc458e935
Resolve #3758 2018-12-27 07:07:26 +09:00
MeiMei a53e0d9f73 Fix error in featuredNotes (#3730) 2018-12-23 23:23:56 +09:00
MeiMei 49921f2dcf Fix: can not update remote Misskey user (#3731) 2018-12-23 23:23:17 +09:00
MeiMei be0cb88b6c Fix sharedInbox location (#3711)
* Fix sharedInbox location

* Perform update Following

* Fix comment
2018-12-22 00:12:34 +09:00
Acid Chicken (硫酸鶏) c81a94ff75 Resolve #3676 (#3677) 2018-12-19 21:20:25 +09:00
MeiMei acc6f54557 Update remote Emoji (#3680) 2018-12-19 21:19:43 +09:00
MeiMei 5417e40f59 Send original URL for quote (#3668) 2018-12-19 05:07:54 +09:00
MeiMei 7645c212a3
No @ for account name (#3586)
* No @ for account name

* Use @ for GitHub
2018-12-12 17:33:08 +09:00
MeiMei 638d81b66e Show user fields (#3590) 2018-12-11 20:18:12 +09:00
MeiMei 1d8fb65959 Fix follow duplicate (#3548)
* フォローとリクエスト両方存在しても解除する

* 既にフォローしてても承認できるように
2018-12-08 18:55:00 +09:00
MeiMei 008432e156 lint fix (#3522) 2018-12-06 19:15:09 +09:00
syuilo 3555213155
Resolve #3519 2018-12-06 16:30:28 +09:00
MeiMei 4522568749 Emoji support in profile (#3514)
* Emoji in profile

* Add emojis to fields
2018-12-06 10:02:04 +09:00
Acid Chicken (硫酸鶏) fe891da886 外部サービス連携情報をPersonのfieldsに乗せて配信する (#3499)
* Update person.ts

* Update person.ts

refs: https://github.com/syuilo/misskey/pull/3499#issuecomment-444484557

* Update person.ts

refs: https://github.com/syuilo/misskey/pull/3499#pullrequestreview-181755475
2018-12-06 00:37:59 +09:00
Aya Morisawa 03588b3fd6
Merge if-statements (#3478) 2018-12-02 22:32:09 +09:00
nico 2633873fcc Fix syntax error (#3477)
src/remote/activitypub/models/person.ts(326,4): error TS1005: ',' expected.
2018-12-02 21:19:28 +09:00
Aya Morisawa a0d9def98a
Simplify expressions (#3473) 2018-12-02 19:35:41 +09:00
MeiMei 3a2dc95850 No MFM parsing when remote note (#3470)
* Use tag for hashtag detection of remote note

* No MFM parsing when remote note
2018-12-02 18:05:33 +09:00
Acid Chicken (硫酸鶏) 53c559c001 Allow hyphens in the middle of remote usernames (#3440)
* Allow hyphens in the middle of remote usernames

refs: d797c29db462de4a3d69a5077a1ae4d03195b6f2

* Make options fallback better

* Make options flat
2018-12-01 07:19:17 +09:00
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
MeiMei 16136c252a fix self host detection (#3201) 2018-11-11 13:11:16 +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 441ab2b5f8 Fix: can't recognize rebirthed instance user (#3046)
* resync uri from WebFinger

* trigger resync on user page

* allways update on resync

* Revert "trigger resync on user page"

This reverts commit 8ff139fb49.

* background resync
2018-10-31 02:16:13 +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
MeiMei 518646b925 Fix: Unexpected remote user is selected (#3032) 2018-10-28 07:49:58 +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
rinsuki 4fb7ee760a
https://misskey.xyz/notes/5b7e20bd248403003019b860 の修正 2018-08-23 11:58:44 +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