Commit graph

757 commits

Author SHA1 Message Date
syuilo b7d62d09ec
Refactor 2019-02-22 14:46:49 +09:00
syuilo a44ac3306e
Fix error response format 2019-02-22 14:22:40 +09:00
syuilo cc8a7dd588
Fix bug 2019-02-22 14:09:24 +09:00
syuilo 813c52f51e
Remove unused imports 2019-02-22 14:06:17 +09:00
syuilo be3298639d
Refactor 2019-02-22 14:02:56 +09:00
syuilo bd792d7661
Fix type annotation 2019-02-22 13:39:06 +09:00
syuilo 4920983f23
Refactoring 2019-02-22 13:38:12 +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
MeiMei bae874eb45 /api/v1/instance/peers 復活 (#4339)
* /api/v1/instance/peers 復活

* use Instance
2019-02-21 23:20:25 +09:00
syuilo 372138dfea
アカウント削除時にサインイン履歴も削除するように 2019-02-21 01:49:00 +09:00
syuilo 922a657c7e
アカウント削除時にメッセージも削除するように 2019-02-21 01:47:10 +09:00
syuilo 3409a51cca
Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo 6656a59402
Fix error 2019-02-21 00:32:49 +09:00
syuilo 91ef328b6b
「みつける」でミュートしているユーザーが含まれる問題を修正 2019-02-20 22:34:52 +09:00
syuilo 5a9d9dc41d
Fix indent 2019-02-20 22:33:22 +09:00
syuilo a48e503caa
Fix indent 2019-02-20 22:33:13 +09:00
syuilo fe00cb9ad5
ハイライトでミュートしているユーザーの投稿が含まれる問題を修正 2019-02-20 22:31:21 +09:00
syuilo b31d1ce61d
フォローリクエスト数がおかしい場合の応急処置APIを追加 2019-02-18 20:52:41 +09:00
syuilo 0e046faf4a
みつけるの人気のタグを第2ソートで連合含めたユーザー数にしたりユーザーのタグ以外は除外するように 2019-02-18 11:47:25 +09:00
syuilo efd0368e56
Resolve #4305 2019-02-18 04:52:40 +09:00
syuilo e8db63e788
Fix bug 2019-02-18 01:11:14 +09:00
syuilo 18dd172c97
Chore: Fix type definition 2019-02-18 00:20:14 +09:00
syuilo 1d5a54ff6f
ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように

* 🎨

* Increase limit

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

* Fix bug

* Fix bug

* Improve performance
2019-02-17 23:41:47 +09:00
Acid Chicken (硫酸鶏) 357528d139 Use object instead of if chain (#4212) 2019-02-17 21:40:53 +09:00
syuilo 88dc4c83cb
Improve UI 2019-02-16 10:58:44 +09:00
syuilo c2b1bbeec5
Exploreページを実装 2019-02-16 06:50:58 +09:00
MeiMei 04553de230 Fix #4276 (#4278) 2019-02-15 23:43:49 +09:00
MeiMei e4f799bf1d Hide localOnly from welcome TL (#4257) 2019-02-15 08:38:59 +09:00
syuilo 414cac49c3
Improve featured api 2019-02-15 06:31:22 +09:00
MeiMei caea0f0376 Change minimum allowed maxNoteTextLength to 0 (#4256) 2019-02-14 16:30:20 +09:00
syuilo ad12d00d7e
ハッシュタグの集計期間を短くした
Resolve #4238 ?
2019-02-14 01:13:19 +09:00
syuilo 5aa58da918
Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
MeiMei f3ce8564ea よく話すユーザーからサスペンドされたユーザーを隠すなど (#4228)
* Resolve #4226

* fix

* Fix: anonymousでアクセスするとサスペンドユーザーが隠れない

* fix
2019-02-12 17:19:15 +09:00
syuilo 93c3f34813
管理画面でサイレンスされているユーザーを一覧できるように 2019-02-10 19:43:46 +09:00
syuilo 5e0eda9526
Improve instances manegement
Resolve #4187
2019-02-08 20:56:16 +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 dd7bf9b2a3
Remove unused import 2019-02-07 23:32:39 +09:00
syuilo c463284c2f
Fix bug 2019-02-07 23:27:42 +09:00
syuilo e43c9c0e21
特定インスタンスからのフォローを全解除できるように 2019-02-07 21:59:18 +09:00
syuilo 5448c22031
Revert 96bc17aa10 2019-02-07 21:02:33 +09:00
syuilo c3140f57b9
連合しているインスタンスを一覧できるように 2019-02-07 18:11:20 +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 27d16c6a12
Resolve #4151 2019-02-06 20:56:48 +09:00
syuilo 20ee57931f
Resolve #4165 2019-02-06 15:24:59 +09:00
syuilo 5db5bbd1cd
自分の投稿情報をエクスポートできるように (#4144)
* wip

* 正しいJSONを生成するように

* データを整形
2019-02-05 19:50:14 +09:00
syuilo 8129d4dc23
Refactoring 2019-02-05 14:14:23 +09:00
Acid Chicken (硫酸鶏) 8961dab137
Fix comment 2019-02-05 11:49:03 +09:00
Acid Chicken (硫酸鶏) bcc549fd8e
Fix style 2019-02-05 11:48:08 +09:00
syuilo 861302f0fd
アニメーション画像を無効にする際、サーバーサイドではなくクライアントサイドでURLを変更するように 2019-02-05 03:51:54 +09:00
MeiMei f014b7ae0e アニメーションを自動再生しないオプション (#4131)
* Refactor

* settings

* Media Proxy

* Replace API response
2019-02-05 03:01:36 +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
Acid Chicken (硫酸鶏) 68ee9a008e Resolve #4121 (#4122)
* Resolve #4121

* Update tslint.json
2019-02-04 18:27:45 +09:00
Acid Chicken (硫酸鶏) fe13c17fcb Create type definition for 'langmap' (#4059)
* Create type definition for 'langmap'

* Follow lint
2019-02-03 23:41:05 +09:00
Acid Chicken (硫酸鶏) ce576dea8f
Create type definition for 'recaptcha-promise' (#4068) 2019-02-03 22:21:55 +09:00
Acid Chicken (硫酸鶏) ceda3dd72a
Create new type definition for 'escape-regexp' (#4058) 2019-02-03 22:21:47 +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 110eeb89f1
Clean up 2019-02-03 04:18:09 +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
Acid Chicken (硫酸鶏) 2dc4696b0a Module '@koa/cors' as import syntax (#4060) 2019-02-01 19:46:18 +09:00
syuilo 5fe9f2baee
Improve performance 2019-02-01 10:00:36 +09:00
MeiMei c7ebf6f990 Hide suspended users (#4075) 2019-02-01 09:57:51 +09:00
syuilo 9bf9519b8f
Fix path 2019-02-01 00:17:15 +09:00
Acid Chicken (硫酸鶏) ba4dcc40da Create type definition for '*/meta.json' (#4073) 2019-02-01 00:00:54 +09:00
Acid Chicken (硫酸鶏) 6d004fde7c Module 'uuid' as import syntax (#4070) 2019-01-31 23:45:12 +09:00
Acid Chicken (硫酸鶏) f35547f3b8 API modules as import syntax (#4069) 2019-01-31 23:32:58 +09:00
MeiMei c34a278533 おすすめのアンケートでミュートユーザーのものは表示しない (#4067) 2019-01-31 23:14:45 +09:00
MeiMei a6e7bbc306 send/receive user hashtags via AP (#4064) 2019-01-31 20:42:45 +09:00
Acid Chicken (硫酸鶏) 960d4e2e7b
Close #3380 (#4061)
* Delete index.ts

* Delete emoji.ts

* Update index.ts
2019-01-31 17:30:56 +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
Acid Chicken (硫酸鶏) e220ef3e75
Re-fix path
refs: 4bb4903ee5, 7e3a8d56e6
2019-01-31 01:38:52 +09:00
Acid Chicken (硫酸鶏) 4bb4903ee5
Fix path
refs: 7e3a8d56e6
2019-01-31 01:26:11 +09:00
Acid Chicken (硫酸鶏) 7e3a8d56e6
Update index.ts 2019-01-31 01:09:36 +09:00
Acid Chicken (硫酸鶏) e909eac296
Create type definition for '*/package.json' (#4014)
* Create type definition for '*/package.json'

* Update tsconfig.json
2019-01-31 01:08:43 +09:00
syuilo 00b134ce1e
Introduce silence (#4043)
* Introduce silence

* Fix icon
2019-01-30 17:25:56 +09:00
Aya Morisawa 28bfb45426
Avoid export default 2019-01-30 16:56:27 +09:00
Aya Morisawa e3b1d00e4c
Extract parsePlain function 2019-01-30 15:27:54 +09:00
Acid Chicken (硫酸鶏) 5bbf4187e6 Module 'crypto' as import syntax (#4011) 2019-01-30 11:51:29 +09:00
MeiMei 2ed9e26a4f リプライ/メンションされていれば非フォロワーへのフォロワー限定でも参照可能に (#4033)
* 非メンション/リプライ投稿がmentionsにあるかどうかはvisibilityと関係ないので削除

* リプライ/メンションされていれば非フォロワーでも参照可能に
2019-01-29 17:34:43 +09:00
syuilo d906d90010
[Server] Introduce admin stream channel 2019-01-27 14:55:02 +09:00
MeiMei 0854f2e180 管理画面からリモートユーザー情報を更新できるように (#3992) 2019-01-26 17:53:35 +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 ad66c8478a
Refactoring 2019-01-23 19:33:29 +09:00
syuilo 2f0b75a882
Refactoring 2019-01-23 19:25:36 +09:00
syuilo 8bf9e87117
Fix types 2019-01-22 21:42:05 +09:00
syuilo d5e80caac8
[Server] Fix #3958 2019-01-22 21:21:47 +09:00
syuilo 4339f9af29
[Server] Fix #3947 2019-01-21 21:51:58 +09:00
syuilo c93fe423ea
[API] Fix bug 2019-01-21 21:01:04 +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 3c194142a8
[Server] Fix #3928 2019-01-20 19:22:13 +09:00
syuilo ff4cb3555b
Remove unused import 2019-01-20 17:49:52 +09:00
Acid Chicken (硫酸鶏) 11689e6d18
Better version format 2019-01-20 13:40:41 +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