Commit Graph

284 Commits

Author SHA1 Message Date
MeiMei
08144dfce4 Custom reaction (#4517)
* Custom reaction

* increase limit of reactions/delete

* リアクションの場合は OS標準の絵文字を使用 を迂回する

* カスタムリアクションを無効にする設定

* fix

* disableCustomReaction --> enableEmojiReaction

* Avoid MFM rendering

* 🎨

* 🎨

* Auto accept

* custom emoji reaction

* Improve usability

* Extract emojiRegex

* Fix

* Clean up

* 🎨

* 🎨

* toDbReaction で reaction は必須に

あとフォールバックは like に

* Clean up

* Make required

* 3eb08748fe (r266241728)

* Refactor

* Allow null
2019-03-18 00:03:57 +09:00
MeiMei
d545fa9420 updatePersonを試行した時点でもlastFetchedAtを更新する (#4510) 2019-03-16 09:55:19 +09:00
MeiMei
f01e0b5cd4 Accept Article object (#4499) 2019-03-15 00:23:24 +09:00
Acid Chicken (硫酸鶏)
84d7a33067 Follow #3676 2019-03-14 22:18:31 +09:00
MeiMei
1f1d4157db Fix #4486 (#4487) 2019-03-13 11:21:16 +09:00
syuilo
e628128987 Add type annotation to avoid type error 2019-03-12 23:31:18 +09:00
MeiMei
0ec2e92ea6 Ignore 4xx references in AP (#4463)
* Ignore 4xx references

* remove unnecessary comment
2019-03-10 22:27:25 +09:00
syuilo
565c1afc20 Fix bug 2019-03-08 19:45:01 +09:00
MeiMei
a5581fda78 Implement Update Question (#4435)
* Update remote votes count

* save updatedAt

* deliver Update

* use renderNote

* use id

* fix typeof
2019-03-07 21:19:32 +09:00
Acid Chicken (硫酸鶏)
7ff7530f2e Enhance poll (#4409)
* 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
2019-03-06 22:55:47 +09:00
syuilo
7e7a9e692a Better log 2019-03-04 14:02:42 +09:00
syuilo
a44030bff2 Better logs 2019-03-03 07:47:58 +09:00
syuilo
0e5c9df3f5 Use camelCase 2019-02-24 12:53:22 +09:00
syuilo
12d125f44a Fix bug 2019-02-18 01:11:14 +09:00
syuilo
0701d0ceea ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように

* 🎨

* Increase limit

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

* Fix bug

* Fix bug

* Improve performance
2019-02-17 23:41:47 +09:00
MeiMei
ef73ff91e8 Limit the parallelism of AP object processing (#4193) 2019-02-09 13:01:21 +09:00
syuilo
c54f1928be 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
308bcef08a Refactoring: Move chart dir into services dir 2019-02-08 04:31:33 +09:00
syuilo
dd0871dd59 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
c59ca22a81 Revert 96bc17aa1014983d5e6bf8b4c05d898156995a0d 2019-02-07 21:02:33 +09:00
syuilo
4c819e29fd Improve instance stats 2019-02-07 15:00:44 +09:00
Aya Morisawa
ff80a2c934 Check config on load (#4170)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-02-06 22:44:55 +09:00
syuilo
40da658fb1 Better logs 2019-02-06 15:06:23 +09:00
syuilo
e6e3a7dd27 Add logs 2019-02-06 00:01:37 +09:00
syuilo
758d06249b Refactoring 2019-02-05 14:14:23 +09:00
syuilo
f38d7b91aa Use internal logger instead of debug/console for logging
Resolve #4104
Resolve #1966
Resolve #1937
2019-02-03 18:16:57 +09:00
syuilo
210cf78606 Better logging 2019-02-03 16:45:13 +09:00
syuilo
c304d813e2 [Server] Use logger for logging 2019-02-03 04:18:27 +09:00
Acid Chicken (硫酸鶏)
d44741e9e2 Create type definition for 'http-signature' (#4049)
* Create type definition for 'http-signature'

* Follow lint
2019-02-01 19:59:12 +09:00
MeiMei
163d2df637 send/receive user hashtags via AP (#4064) 2019-01-31 20:42:45 +09:00
Acid Chicken (硫酸鶏)
e203dab232 Create type definition for 'lookup-dns-cache' (#4051) 2019-01-31 17:53:49 +09:00
Acid Chicken (硫酸鶏)
ccf21d4e2e Create type definition for 'promise-any' (#4055) 2019-01-31 17:52:27 +09:00
MeiMei
ab7ee7a7ab 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
d034a10d54 Avoid export default 2019-01-30 16:56:27 +09:00
Aya Morisawa
277db03f0d Rename html-to-mfm to fromHtml 2019-01-30 15:00:05 +09:00
Aya Morisawa
047d4c47fe Rename html to toHtml 2019-01-30 14:57:13 +09:00
Acid Chicken (硫酸鶏)
643fc6a16b Module 'crypto' as import syntax (#4011) 2019-01-30 11:51:29 +09:00
Acid Chicken (硫酸鶏)
039e0f443b 外部サービス認証情報の配信 (#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
31d7e15caa 投票未対応インスタンス向けメッセージをわかりやすくする (#3944)
* Poll message

* fix

* fix

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

* TODO

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

* expose Question

* Note refs Question

* rename

* wip

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

* voteの実装をservicesに移動

* 投票受信

* debug

* つくる

* Revert "つくる"

This reverts commit 0c9245886680b7d3b93a0278642f4cf6a43b5cb2.

* APIの実装はもどし

* Send Update

* AP type

* Recv Update

* Revert "Recv Update"

This reverts commit ffda39c0936d8e023f64603edabeb8e0eb9fc370.

* Revert "AP type"

This reverts commit 63d8bbe29dd6f326773214346350607cc4381996.

* Revert "Send Update"

This reverts commit 171b046de549f1478e928dee3177eeefab341fcf.

* リモートで投票を見る

* 投票はDM

* Provides choices as text for AP

* 絵文字

* fix error

* revert

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

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

This reverts commit 8b5d8af9b0cc4d4ad0cf21de59827ff21df99560.

* てぬき

* めんどい

* ちっ

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

* rename
2019-01-20 03:07:12 +09:00
MeiMei
ebc899c47f Use cached and asynchronous DNS resolver for AP delivery (#3859) 2019-01-09 15:17:54 +09:00
MeiMei
2c65dec71e Fix sharedInbox recovery code (#3840) 2019-01-06 17:45:53 +09:00
syuilo
cbf50fee15 Privateの公開範囲を廃止 2018-12-29 02:55:46 +09:00
syuilo
e6c7dff838 Resolve #3758 2018-12-27 07:07:26 +09:00
MeiMei
35a4fbc668 Fix error in featuredNotes (#3730) 2018-12-23 23:23:56 +09:00
MeiMei
26207a451b Fix: can not update remote Misskey user (#3731) 2018-12-23 23:23:17 +09:00
MeiMei
726b13b3ae Fix sharedInbox location (#3711)
* Fix sharedInbox location

* Perform update Following

* Fix comment
2018-12-22 00:12:34 +09:00
Acid Chicken (硫酸鶏)
1b04b89199 Resolve #3676 (#3677) 2018-12-19 21:20:25 +09:00