Commit graph

207 commits

Author SHA1 Message Date
MeiMei 1c79e30436 Fix NoteReaction (#4547) 2019-03-20 21:39:02 +09:00
MeiMei 2684541693 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 5eb02b4901 Resolve #4458 (#4476) 2019-03-12 09:50:20 +09:00
MeiMei 7325d66c52 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
syuilo f02125dd47
Resolve #4437 2019-03-07 13:03:46 +09:00
syuilo a24a20a83d
Clean up 2019-03-06 23:19:15 +09:00
Acid Chicken (硫酸鶏) 725600da8f 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 6f71ba376d
Improve doc 2019-02-27 05:08:42 +09:00
syuilo b56fed8ed5
Update notes/featured 2019-02-26 14:42:24 +09:00
syuilo 28086111e1
Resolve #4325 2019-02-25 04:20:42 +09:00
syuilo 60c9a6528f
Improve doc 2019-02-25 04:18:09 +09:00
syuilo f4ae939124
ハイフンに統一 2019-02-24 17:57:49 +09:00
syuilo b679163d01
Improve type definitions 2019-02-24 09:45:27 +09:00
syuilo 52774bbe64
Introduce OpenAPI specs (#4351)
* wip

* wip

* wip

* Update index.ts

* Update gen-openapi-spec.ts

* Update api.ja-JP.md

* Fix

* Improve doc

* Update gen-openapi-spec.ts

* Update redoc.html

* Improve doc

* Update gen-openapi-spec.ts

* Improve doc

* Update CHANGELOG.md
2019-02-23 11:20:58 +09:00
syuilo 13e43a4f74
Refactor 2019-02-22 14:53:03 +09:00
syuilo be3298639d
Refactor 2019-02-22 14:02:56 +09:00
syuilo 2756f553c6
Improve error handling of API (#4345)
* wip

* wip

* wip

* Update attached_notes.ts

* wip

* Refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update call.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* ✌️

* Fix
2019-02-22 11:46:58 +09:00
syuilo 6656a59402
Fix error 2019-02-21 00:32:49 +09:00
syuilo fe00cb9ad5
ハイライトでミュートしているユーザーの投稿が含まれる問題を修正 2019-02-20 22:31:21 +09:00
syuilo 414cac49c3
Improve featured api 2019-02-15 06:31:22 +09:00
syuilo 5aa58da918
Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
syuilo aba85b977d
Refactoring: Move chart dir into services dir 2019-02-08 04:31:33 +09:00
syuilo 8129d4dc23
Refactoring 2019-02-05 14:14:23 +09:00
Acid Chicken (硫酸鶏) bcc549fd8e
Fix style 2019-02-05 11:48:08 +09:00
syuilo 1d814ba0e1
個別に投稿のウォッチ/ウォッチ解除をできるように
Resolve #161
2019-02-05 01:24:44 +09:00
syuilo c107333f56
[API] お気に入り状態は投稿情報に含めないように統一 2019-02-05 01:11:06 +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
Acid Chicken (硫酸鶏) da1a238be3 Create new type definition for 'ms' (#4057)
* Create new type definition for 'ms'

* Follow lint
2019-02-02 00:16:27 +09:00
MeiMei c7ebf6f990 Hide suspended users (#4075) 2019-02-01 09:57:51 +09:00
MeiMei c34a278533 おすすめのアンケートでミュートユーザーのものは表示しない (#4067) 2019-01-31 23:14:45 +09:00
MeiMei 2ed9e26a4f リプライ/メンションされていれば非フォロワーへのフォロワー限定でも参照可能に (#4033)
* 非メンション/リプライ投稿がmentionsにあるかどうかはvisibilityと関係ないので削除

* リプライ/メンションされていれば非フォロワーでも参照可能に
2019-01-29 17:34:43 +09:00
MeiMei 5eca0a31f7 Filter hidden replies / mentions (#3981)
* Fix: 非公開投稿が返信一覧に出てくる

* Fix: 非公開投稿がメンション一覧に出てくる

* 非公開投稿は通知/メンション通知しない

* repliesにフォロワー限定がかからなかったのを修正

* Fix: ホームにフォロワー限定投稿が表示されない

* 認証必須エンドポイントで user == null にはならない

* mentionsにフォロワー限定がかからなかったのを修正
2019-01-25 00:06:20 +09:00
syuilo d5e80caac8
[Server] Fix #3958 2019-01-22 21:21:47 +09:00
syuilo 129d74b463
[Server] ストリームで流れてくる投稿とAPIでタイムラインを取得したときとの不一致を修正 2019-01-21 15:31:19 +09:00
MeiMei 4a57482216 リモートで投票を見たりしたりできるように (#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 977a4373c5
[Server] Fix #2745 2019-01-21 00:32:54 +09:00
syuilo e559417cab
ソーシャルタイムラインにフォロワー限定投稿が含まれていない問題を修正 2019-01-20 23:55:32 +09:00
syuilo b39d12f01a
関係のない返信がタイムラインに流れる問題を修正
Resolve #1910
2019-01-20 13:14:31 +09:00
syuilo 6909add1ec
Drop stalk feature
Resolve #3935
Closes #2226
Closes #1946
2019-01-20 12:25:00 +09:00
MeiMei 22830965e3 AP Undo Like (#3933)
* AP Undo Like

* rename
2019-01-20 03:07:12 +09:00
syuilo 8d42e94e57
Implement active users chart
Resolve #3904
2019-01-17 17:16:08 +09:00
syuilo 13cee2b4f5
Resolve #3896 2019-01-16 14:54:14 +09:00
syuilo c2f6b09969
disableLocalTimeline機能を強化
* ストリームだけではなくAPIも無効に
* モデレーターは無効の場合でも見れるように
* グローバルタイムラインも無効に(連合数が少ないインスタンスではグローバルタイムラインは実質的にローカルタイムラインと同一なので)
2019-01-16 02:30:55 +09:00
MeiMei 04e1e48f17 Hide invisible notes from timeline (#3852) 2019-01-08 21:02:00 +09:00
Aya Morisawa 84ea1fbd4d
Fix typo: not -> note
1344ffa67d (commitcomment-31817792)
2019-01-05 10:29:46 +09:00
syuilo ac423f1ef4
[API] notes/mentions にミュートを適用するように 2018-12-30 01:40:24 +09:00
syuilo a3493c4f07
Privateの公開範囲を廃止 2018-12-29 02:55:46 +09:00
Aya Morisawa 9b746f3eb5
Make reactions removable
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>

Resolve #367, resolve #2260, close #3503
2018-12-26 23:05:47 +09:00
MeiMei c9c2853150 ダイレクトでメンションでもユーザーを指定できるように (#3722) 2018-12-23 03:44:18 +09:00
MeiMei e2fc7decad 本文からメンション等を展開しないオプション (#3721) 2018-12-23 03:25:33 +09:00
MeiMei c8607ff7b6 Tune polls/recommendation (#3703) 2018-12-20 22:56:12 +09:00
syuilo 1670737075
[API] Resolve #3637 2018-12-17 01:43:34 +09:00
Aya Morisawa 125849673a
Use for-of instead of forEach (#3583)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2018-12-11 20:36:55 +09:00
MeiMei f2f7bdc5a9 Do not use _replyIds (#3392) 2018-11-23 23:12:28 +09:00
Acid Chicken (硫酸鶏) 6951f7e74a Fix #3361 (#3362)
* Update create.ts

* Update api.ts
2018-11-22 05:06:51 +09:00
MeiMei bceb02d760 local only visibility (#3254)
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
syuilo 56d571c0f0
Moderator system
Closes #2357
2018-11-15 04:15:42 +09:00
MeiMei 9f0b8ba2f8 Fix: notes/create hangs when rejected (#3221) 2018-11-13 19:34:09 +09:00
syuilo f05a688ac2
[API] Fix #3169 2018-11-09 03:52:03 +09:00
syuilo 37999f4af7
[API] Implement notes/watching/ 2018-11-06 14:58:20 +09:00
syuilo 8f714b5b12
ドライブ容量の設定をDBに保存するようにしたりリファクタリングしたり 2018-11-06 07:14:43 +09:00
syuilo d7a3b71028
投稿の最大文字数情報を設定ファイルではなくDBに保存するように 2018-11-05 11:09:05 +09:00
syuilo a515c1f53e
Improve API documentation 2018-11-03 22:49:36 +09:00
syuilo 174f8022eb
Refactor 2018-11-02 13:47:44 +09:00
syuilo a7e6b766be
Resolve #2623 2018-11-02 12:49:08 +09:00
syuilo 931bdc6aac
Refactoring, Clean up and bug fixes 2018-11-02 03:32:24 +09:00
syuilo 83d168ece3
Fix API definition 2018-10-29 19:04:58 +09:00
syuilo ae44fe7818
Refactor 2018-10-29 15:09:03 +09:00
syuilo f8981b3acb
Update src/server/api/endpoints/notes/reactions.ts 2018-10-29 15:07:50 +09:00
syuilo e74c0df6c6
Fix #3034 2018-10-29 10:52:36 +09:00
syuilo 5b1cd3bd3c
Fix bug 2018-10-26 08:36:50 +09:00
syuilo 380f5a972c
Implement featured note API 2018-10-25 07:04:15 +09:00
syuilo 3aece449e4
Improve API definitions 2018-10-22 05:16:27 +09:00
MeiMei 1a689f6641 削除された投稿はタイムライン上で表示しないようにする (#2887)
* Excepts deleted notes on query

* Hide deleted notes

* Use v-show
2018-10-12 05:10:40 +09:00
syuilo d0570d7fe3
V10 (#2826)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* Update CHANGELOG.md

* wip

* Update CHANGELOG.md

* wip

* wip

* wip

* wip
2018-10-07 11:06:17 +09:00
syuilo baad11288a
ドキュメントが見つからなくてもエラーにせずnullを返すように 2018-10-04 00:39:11 +09:00
syuilo afdacf14b7
Add excludeNsfw option 2018-09-25 21:09:38 +09:00
syuilo 59d67d3140
ピン留めを解除することができるようにしたり 2018-09-24 16:26:12 +09:00
syuilo 49e82adc6c
mentionsを読み込むときも既読にするように 2018-09-23 16:05:46 +09:00
syuilo ecc235c545
Fix bug 2018-09-21 16:43:46 +09:00
syuilo faf29b768f
Make admin can delete any note 2018-09-19 17:29:03 +09:00
syuilo ab83e08bc7
メッセージタイムラインを追加 2018-09-18 02:14:12 +09:00
syuilo 67ec10e86d
Add untilId param 2018-09-17 11:43:53 +09:00
syuilo 109738ccb9
ハッシュタグタイムラインを実装 2018-09-17 09:00:20 +09:00
syuilo 32afe77a26
自分宛ての投稿をタイムラインで見れるように 2018-09-16 22:48:57 +09:00
syuilo 23efaae85e
lint 2018-09-10 03:39:00 +09:00
syuilo a32071541a
Clean up 2018-09-10 02:20:09 +09:00
syuilo e32884f07f
Fix #1740 2018-09-10 01:57:19 +09:00
syuilo 1344ffa67d
削除された投稿にリアクションできないように
Closes #1778
2018-09-10 01:55:14 +09:00
syuilo fd06fd4dc1
Resolve #2560 2018-09-10 01:51:46 +09:00
Aya Morisawa 00d79487cd Add erase function (#2641) 2018-09-07 00:02:55 +09:00
syuilo ccf8e44acc
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2018-09-06 04:28:42 +09:00
syuilo e2c6227f47
Improve local timeline API 2018-09-06 04:28:22 +09:00
Aya Morisawa 395cfa6108 Resolve #2625 (#2627) 2018-09-06 02:16:08 +09:00
syuilo b5ff2abdb9
互換性のためのコードを追加 & #2623 2018-09-05 23:55:51 +09:00
syuilo 37058e3480 Fix parameter name 2018-09-05 19:35:57 +09:00
syuilo a1b82e9723 #2620 2018-09-05 19:32:46 +09:00
syuilo 2de8e8c358 Fix bug 2018-08-29 06:59:43 +09:00
syuilo 45b55a8c98 Update rate limit setting 2018-08-18 04:21:49 +09:00
syuilo 22e79675ad #2263 2018-08-16 23:59:22 +09:00