Commit graph

1350 commits

Author SHA1 Message Date
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
MeiMei 94f2c20d35 Fix #4413 (#4417) 2019-03-05 07:56:23 +09:00
MeiMei d4ff19f013 Fix SVG detection (#4401)
* Fix SVG detection

* remove unnecessary import
2019-03-03 08:48:02 +09:00
syuilo 771f011506
Better log 2019-03-03 08:27:30 +09:00
syuilo 3c77ae7b62
Improve log api 2019-03-03 08:13:49 +09:00
syuilo 76a0d0fee9
Use dot 2019-03-03 07:48:25 +09:00
syuilo 977af0a24d
ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo 4685de88a7
Better log 2019-03-01 14:40:29 +09:00
syuilo cde6514839
Add log 2019-02-28 12:00:57 +09:00
syuilo 6f71ba376d
Improve doc 2019-02-27 05:08:42 +09:00
syuilo 9f439aabba
Fix schema 2019-02-27 05:02:46 +09:00
syuilo 33ad60b1f3
Improve doc 2019-02-27 05:02:36 +09:00
syuilo b56fed8ed5
Update notes/featured 2019-02-26 14:42:24 +09:00
syuilo 077bdbfdef
Improve doc 2019-02-26 14:21:28 +09:00
syuilo 8a9dc26419
アカウントが削除できない問題を修正 2019-02-26 11:42:21 +09:00
syuilo c4ddfef2ed
Improve doc 2019-02-25 09:37:22 +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 47d4dcfdf5
Improve doc 2019-02-25 04:02:18 +09:00
syuilo eb8d1211ba
Improve doc 2019-02-25 03:43:19 +09:00
syuilo 495aad6a2d
Improve doc 2019-02-25 03:35:45 +09:00
syuilo 77676d18c8
Improve doc 2019-02-25 03:30:22 +09:00
syuilo 68d90caab7
Fix doc 2019-02-25 03:23:19 +09:00
syuilo 31802c9749
Improve doc 2019-02-25 03:21:54 +09:00
syuilo b67f3438e9
Improve doc 2019-02-24 19:42:26 +09:00
syuilo 02e4929a97
Improve doc 2019-02-24 19:27:32 +09:00
syuilo fcc6a65e08
Improve doc 2019-02-24 18:13:11 +09:00
syuilo f4ae939124
ハイフンに統一 2019-02-24 17:57:49 +09:00
syuilo 664acb2d0e
Refactor 2019-02-24 17:48:54 +09:00
syuilo e6e7cecdb6
Refactor 2019-02-24 17:35:19 +09:00
syuilo 563d604812
Refactor 2019-02-24 17:28:51 +09:00
syuilo 9b79a411e0
Use camelCase 2019-02-24 12:53:22 +09:00
syuilo b8e0ec9edc
Improve doc 2019-02-24 12:40:17 +09:00
syuilo 5db7b2e193
Improve doc 2019-02-24 12:23:31 +09:00
MeiMei a6c5e62923 assetsのjs要求時にsaltを付けないように (#4358)
* No assets salt

* remove related code
2019-02-24 10:38:00 +09:00
syuilo ac0390fec3
Improve doc 2019-02-24 10:08:09 +09:00
syuilo 97b99867f2
Improve doc 2019-02-24 10:04:27 +09:00
syuilo a55d5516a6
Improve doc 2019-02-24 10:00:24 +09:00
syuilo b679163d01
Improve type definitions 2019-02-24 09:45:27 +09:00
syuilo 76edcdbe45 Update schemas.ts 2019-02-24 04:27:09 +09:00
syuilo d8d51519c4
Update description.ts 2019-02-24 04:11:54 +09:00
syuilo 3446969121
Refator: separate files 2019-02-24 04:08:08 +09:00
Acid Chicken (硫酸鶏) e13fe97ebb Update update.ts (#4357)
* Update update.ts

* Update update.ts

* Update update.ts

* Update update.ts
2019-02-24 03:32:30 +09:00
syuilo 7dd4180fba
Better error handling 2019-02-23 15:45:03 +09:00
syuilo 558213490a
Remove space 2019-02-23 15:42:52 +09:00
syuilo 78a69e3da8
Update doc 2019-02-23 15:35:26 +09:00
syuilo 140c78e5a7
Add operationId to more convinience 2019-02-23 14:59:37 +09:00
syuilo a8e18e0e22
Add source code link 2019-02-23 14:57:05 +09:00
syuilo 2a8bb23625
Fix type 2019-02-23 14:56:48 +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 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
Acid Chicken (硫酸鶏) 81aa21915b Fix #4329 (#4330)
* Create xml.ts

* Update well-known.ts

* Update well-known.ts

* Fix typo

* Update well-known.ts

* Update well-known.ts
2019-02-20 16:13:43 +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
MeiMei 46f1e8c599 Restore web max-age to 5 minutes (#4246) 2019-02-14 13:41:28 +09:00
syuilo 8fc170109f
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-02-14 01:13:28 +09:00
syuilo ad12d00d7e
ハッシュタグの集計期間を短くした
Resolve #4238 ?
2019-02-14 01:13:19 +09:00
Acid Chicken (硫酸鶏) 4b6c113251
Add prelude function for URL Query (#4135)
* Update string.ts

* Refactor

* Update string.ts

* Update wrap-url.ts

* Update string.ts

* Update get-static-image-url.ts

* Use querystring.stringify

* Update outbox.ts

* Back to the urlQuery

* Update followers.ts

* Update following.ts

* Update outbox.ts

* Update string.ts

* Update get-static-image-url.ts

* Update string.ts

* Update string.ts

* Separate prelude files
2019-02-13 23:45:35 +09:00
syuilo 5aa58da918
Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
Acid Chicken (硫酸鶏) a8946b0404 Update nodeinfo.ts (#4239)
* Update nodeinfo.ts

* Update nodeinfo.ts

* Update nodeinfo.ts

* Update nodeinfo.ts

* Update nodeinfo.ts
2019-02-13 15:56:45 +09:00
MeiMei f3ce8564ea よく話すユーザーからサスペンドされたユーザーを隠すなど (#4228)
* Resolve #4226

* fix

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

* fix
2019-02-12 17:19:15 +09:00
MeiMei 2c1a7f4392 Fix #4152 (#4224)
* Fix #4152

* fix

* remove unused code
2019-02-11 22:37:20 +09:00
syuilo 93c3f34813
管理画面でサイレンスされているユーザーを一覧できるように 2019-02-10 19:43:46 +09:00
MeiMei 62d17c9266 Optimize url-preview image (#4216) 2019-02-10 19:19:26 +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 41ba06a5e6
Fix bug 2019-02-06 22:27:23 +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 9835945ee1
Improve queue option 2019-02-06 15:01:43 +09:00
MeiMei 18fd39b335 proxyで400番台はそのステータスを返す (#4154) 2019-02-06 00:20:00 +09:00
syuilo 5db5bbd1cd
自分の投稿情報をエクスポートできるように (#4144)
* wip

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

* データを整形
2019-02-05 19:50:14 +09:00
Acid Chicken (硫酸鶏) 9dd06a7621
/.well-known 周りをいい感じに (#4141)
* Enhance /.well-known and their friends

* Fix bug
2019-02-05 17:42:55 +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
syuilo c4c7783691
[Server] Enable slow option 2019-02-04 10:03:49 +09:00
Acid Chicken (硫酸鶏) 99d8d0a484
Create type definition for '*/const.json' (#4118) 2019-02-04 01:47:12 +09:00
Acid Chicken (硫酸鶏) 5891135ac1
Create type definition for ./locales (#4117) 2019-02-04 01:46:59 +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 (硫酸鶏) 5049870b6e
Create type definition for 'koa-slow' (#4072) 2019-02-03 23:01:03 +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
syuilo d55277e57e
Better logging 2019-02-03 02:01:06 +09:00
syuilo 2a50997a75
Fallback en-US 2019-02-02 16:16:31 +09:00
MeiMei 3040700005 Generate video thumbnails (#4084)
* Generate video thumbnails

* import order
2019-02-02 13:22: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 (硫酸鶏) bab1dc1d97
Create type definition for 'koa-json-body' (#4056)
* Create type definition for 'koa-json-body'

* Follow lint
2019-02-01 21:08:58 +09:00
Acid Chicken (硫酸鶏) 3b30ad5404
Create type definition for 'nested-property' (#4004)
* Create type definition for 'nested-property'

* Follow lint
2019-02-01 21:08:49 +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
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 (硫酸鶏) e2bf0067b2 Module 'request-stats' as import syntax (#4071) 2019-01-31 23:46:15 +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 4ec64b4c57
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-01-23 19:25:52 +09:00
syuilo 2f0b75a882
Refactoring 2019-01-23 19:25:36 +09:00
Acid Chicken (硫酸鶏) 912ee60781
Update index.ts
refs: 67dacb7725
2019-01-23 16:53:07 +09:00
syuilo 67dacb7725
Supress log when test 2019-01-23 14:19:03 +09:00
syuilo 4d24741d48
Fix test 2019-01-23 13:35:22 +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
Acid Chicken (硫酸鶏) 81dbf64eb7 Update reversi routing (#3937) 2019-01-20 19:10:19 +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
MeiMei 22830965e3 AP Undo Like (#3933)
* AP Undo Like

* rename
2019-01-20 03:07:12 +09:00
syuilo 048b9c295e
スパム報告機能
Resolve #1970
2019-01-19 19:16:48 +09:00
syuilo ac5d798cde
Fix typo 2019-01-19 09:52:27 +09:00
syuilo d2a7c56149
Improve drive file operation
Resolve #3789
Resolve #3790
2019-01-19 09:50:38 +09:00
syuilo 8d42e94e57
Implement active users chart
Resolve #3904
2019-01-17 17:16:08 +09:00
syuilo f1e769e74d
Add footer 2019-01-17 09:42:21 +09:00
syuilo 41784de9be
🎨 2019-01-17 09:19:47 +09:00
syuilo 256c216dfb
インスタンス情報ページに各種タイムラインの有効/無効を表示 2019-01-16 14:57:01 +09:00
syuilo 13cee2b4f5
Resolve #3896 2019-01-16 14:54:14 +09:00
syuilo 519c9c4499
インスタンス情報ページにユーザー数と投稿数を追加 2019-01-16 03:36:25 +09:00
syuilo c2f6b09969
disableLocalTimeline機能を強化
* ストリームだけではなくAPIも無効に
* モデレーターは無効の場合でも見れるように
* グローバルタイムラインも無効に(連合数が少ないインスタンスではグローバルタイムラインは実質的にローカルタイムラインと同一なので)
2019-01-16 02:30:55 +09:00
syuilo 2debb0c2ca
Provide instance description in info page 2019-01-12 19:30:56 +09:00
syuilo 7ad9560f53
Implement instance info page 2019-01-12 11:27:23 +09:00
MeiMei 20ee2118ee モデレーターを凍結できないようにする (#3877) 2019-01-11 08:12:10 +09:00
MeiMei dd77a6194e Hide NSFW in Photos (#3875) 2019-01-11 08:10:39 +09:00
MeiMei 203fba0216 管理画面でユーザーを状態でフィルタできるように (#3873) 2019-01-11 08:09:44 +09:00
MeiMei 04e1e48f17 Hide invisible notes from timeline (#3852) 2019-01-08 21:02:00 +09:00
syuilo 02a27a8b12
ドライブの管理画面でファイルのオリジナルURLを表示するように 2019-01-08 17:45:16 +09:00
syuilo 35e7dca2bb
Resolve #3847 (#3849)
* Update notifications.ts

* Update notifications.ts

* Update notifications.ts

* Update notifications.ts

* Add missing semicolon

* Improve readability

* Fix typo
2019-01-08 13:32:28 +09:00
Aya Morisawa 84ea1fbd4d
Fix typo: not -> note
1344ffa67d (commitcomment-31817792)
2019-01-05 10:29:46 +09:00
syuilo b4b6e9548d
Rename 2019-01-04 03:52:50 +09:00
ibrokemypie ebf9cd18c8 Make instance logo customisable (#3829) 2019-01-04 03:02:40 +09:00
MeiMei 41e3a9a004 Tune AP URL negotiating with Accept (#3824) 2019-01-02 18:07:32 +09:00
syuilo ac423f1ef4
[API] notes/mentions にミュートを適用するように 2018-12-30 01:40:24 +09:00
Aya Morisawa 7947036af9
Make one import per line 2018-12-29 22:26:15 +09:00
syuilo a3493c4f07
Privateの公開範囲を廃止 2018-12-29 02:55:46 +09:00
syuilo 545ced7826
Make autoAcceptFollowed default 2018-12-29 02:46:57 +09:00
MeiMei 8823a6c1a1 フォローしているユーザーからのフォローを自動承認するオプション (#3780) 2018-12-28 21:36:58 +09:00
syuilo cce3e52642
通知の管理を強化
Resolve #3772
2018-12-28 05:06:25 +09:00
ibrokemypie 3d0b704af8 Add URI parameter to /api/meta (#3748)
* Add URI parameter to /api/meta
closes #3747

* Update fetch-meta.ts

* Update meta.ts
2018-12-27 04:50:35 +09:00
Aya Morisawa 21f8dbf2de
Resolve #3248
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2018-12-27 01:26:03 +09:00
MeiMei 5174e16f7b Feature to show only my posts in the user page (#3753)
* Fix #3681

* Feature to show only my posts in the user page
2018-12-26 23:11:50 +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
Aya Morisawa dfc6ef4be6
Remove trailing whitespaces 2018-12-26 19:58:04 +09:00
Acid Chicken (硫酸鶏) 4662641feb Fix #3745 (#3746) 2018-12-26 18:32:16 +09:00
Acid Chicken (硫酸鶏) fa03c172f2 Fix typo 2018-12-25 20:02:37 +09:00
syuilo b6a028a8ed
[API] Fix #3737 2018-12-24 05:31:20 +09:00
MeiMei c9c2853150 ダイレクトでメンションでもユーザーを指定できるように (#3722) 2018-12-23 03:44:18 +09:00
MeiMei e2fc7decad 本文からメンション等を展開しないオプション (#3721) 2018-12-23 03:25:33 +09:00
Acid Chicken (硫酸鶏) 1395cf89ce
Feed (#3698)
* wip

* Implement feed

* Update feed.ts

* Update index.ts

* Update feed.ts
2018-12-21 11:54:39 +09:00
MeiMei f7964da899 Fix: ap/show does not return on error (#3704) 2018-12-21 00:09:02 +09:00
MeiMei c8607ff7b6 Tune polls/recommendation (#3703) 2018-12-20 22:56:12 +09:00
Aya Morisawa e9f8897fe2
Refactor MFM
Co-authored-by: syuilo syuilotan@yahoo.co.jp
2018-12-20 19:42:10 +09:00
syuilo 454632d785
Resolve #3687 2018-12-20 04:08:13 +09:00
syuilo b545be5799
Fix wrong comment 2018-12-20 02:47:24 +09:00
Aya Morisawa 556677be7a
Refactor 2018-12-19 10:23:57 +09:00
syuilo e88ce1746d
リスト関連の操作を強化
Resolve #2069
Resolve #2051
Resolve #2807
Resolve #3647
2018-12-19 07:22:01 +09:00
syuilo b8aad35009
Fix error 2018-12-19 06:47:47 +09:00
MeiMei 5dddc75d09 Add AP emojis endpoint (#3667) 2018-12-19 04:23:08 +09:00
syuilo 7f77517fc8
[Client] Resolve #3658 2018-12-19 00:57:28 +09:00
Acid Chicken (硫酸鶏) 3bcb344ecb Re: #3457 (#3614)
* Update parser.ts

* Update user.ts

* Update search.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update mfm.ts

* Update parser.ts

* Merge branch 'develop' into 3440-mk2

* Fix typo

* Update parser.ts

* Update mfm.ts

* Update mfm.ts
2018-12-17 19:11:38 +09:00
syuilo 1670737075
[API] Resolve #3637 2018-12-17 01:43:34 +09:00
Acid Chicken (硫酸鶏) a0839de38f Add 'twitter:creator' meta data in user pages (#3618)
* Update user.pug

* Update user.pug

* Update note.pug

* Update user.pug

* Update note.pug

* Update note.pug
2018-12-16 08:49:38 +09:00
MeiMei ffb80efe21 Return 404 for invalid Object ID (#3627)
* Update activitypub.ts

* Update activitypub.ts

* Update featured.ts

* Update followers.ts

* Update following.ts

* Update outbox.ts

* Fix following, outbox
2018-12-16 01:44:59 +09:00
syuilo be1125dcb9
OGP向けにインスタンスのバナー画像を提供するように 2018-12-15 23:19:04 +09:00
syuilo ebceffba1e
Resolve #2165 2018-12-15 00:09:04 +09:00
syuilo 796237b3c6
Implement admin drive page 2018-12-14 19:09:11 +09:00
syuilo 69f246ce7f
Fix bug 2018-12-11 21:17:57 +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
Acid Chicken (硫酸鶏) 08142ead67 Resolve #3581 (#3589)
* Update ja-JP.yml

* Create 404.vue

* Update script.ts

* Update script.ts

* Update script.ts

* Update script.ts

* Update script.ts

* Update script.ts

* Update 404.vue

* Update meta.ts

* Update instance.vue

* Update update-meta.ts
2018-12-11 20:19:13 +09:00
syuilo 284df27435
Use camelCase 2018-12-09 23:10:02 +09:00
MeiMei 34393ef89f Improve custom emoji parsing (#3539)
* Use MFM parser for extracting emoji in name

* Fix custom emoji regex

* Revert "Fix custom emoji regex"

This reverts commit 4c21caf59753e7653c02f81ddf0cde8c44f48008.
2018-12-08 06:39:15 +09:00
MeiMei 4522568749 Emoji support in profile (#3514)
* Emoji in profile

* Add emojis to fields
2018-12-06 10:02:04 +09:00
syuilo 45bee7cc2f
Resolve #327 2018-12-03 20:08:18 +09:00
Aya Morisawa 184eb00133
Remove self-assignment (#3476) 2018-12-02 20:26:15 +09:00
Aya Morisawa 92701e5cec Fix #3445 (#3471) 2018-12-02 19:24:57 +09:00
Aya Morisawa 0b6b6a4f2f
Remove unneccesary casts 2018-12-02 19:05:08 +09:00
syuilo 10f466c895
Improve performance 2018-12-02 06:44:18 +09:00
MeiMei 20335e23f9 Resolve external recommended users (#3462)
* Resolve external recommended users

* Skip unresolvable users

* Fix indent

* Use original for unresolvable users
2018-12-02 03:42:45 +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
Aya Morisawa 9ef641b403
Remove consecutive blank line 2018-11-30 23:07:21 +09:00
MeiMei 6fa7819a44 Fix #3442 (#3443) 2018-11-30 18:13:55 +09:00
MeiMei 683a85ecc0 Fix SMTP (#3436) 2018-11-30 00:35:17 +09:00
syuilo 8ca27a4480
Fix #3432 2018-11-30 00:13:13 +09:00
syuilo 77d2d84e05
Fix #3434 2018-11-30 00:04:28 +09:00
MeiMei 3bde4285eb Fix SMTP (#3433)
* Fix: SMTP local relay

* Fix SMTP SSL description

* ✌️
2018-11-30 00:03:28 +09:00
syuilo 15efbfb244
Fix #3430 2018-11-29 22:05:11 +09:00
syuilo cf9f85eb2a
メールサーバーの設定がオフの場合はメール設定を表示しないように 2018-11-29 20:33:31 +09:00
syuilo 22e30b44b9
Make require password to update email 2018-11-29 20:19:02 +09:00
syuilo 1bc109b42c
Implement email config 2018-11-29 16:23:45 +09:00
syuilo 3dcf5374c2
Mark chart apis as stable 2018-11-29 06:06:07 +09:00
syuilo 4bbb7eded3
Cookieを使わないように 2018-11-28 16:19:02 +09:00
syuilo f257853906
Update signin.ts 2018-11-28 05:27:34 +09:00
MeiMei b6fd5d7282 No caching /api/ (#3411) 2018-11-27 01:16:25 +09:00
MeiMei 06124dbbd5 Return 404 for undefined .well-known (#3404) 2018-11-26 04:49:24 +09:00
MeiMei bcb04924ff Image for web publish (#3402)
* Image for Web

* Add comment

* Make main to original
2018-11-26 04:25:48 +09:00
syuilo 9e5a2e5b17
Fix lint 2018-11-24 17:19:51 +09:00
syuilo de2b0224d6
Resolve #3158 2018-11-24 07:04:29 +09:00
syuilo df8128c0b1
Update url-preview.ts 2018-11-24 06:41:22 +09:00
MeiMei f2f7bdc5a9 Do not use _replyIds (#3392) 2018-11-23 23:12:28 +09:00
syuilo 915d352505
Resolve #3366 2018-11-23 16:39:51 +09:00
syuilo 0d272b1fb0
Resolve #3376 2018-11-23 08:13:17 +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
nico 2a0b62d26d Fix #3343 (#3383)
Setting "X-Forwarded-Proto: https" in the SSL proxy is the correct way to do this
2018-11-23 02:09:04 +09:00
MeiMei 653ec0cbb0 No cache /notes/:note (#3382) 2018-11-22 23:17:58 +09:00
Aya Morisawa 08f00d4990 Remove unneccesary cast (#3355) 2018-11-22 05:07:25 +09:00
Acid Chicken (硫酸鶏) 6951f7e74a Fix #3361 (#3362)
* Update create.ts

* Update api.ts
2018-11-22 05:06:51 +09:00
Hakaba Hitoyo ac14adfd3e Feature / user recommendation config in admin ui (#3357)
* add config for external user recommendation into admin ui

* debug

* correct admin ui

* switch external user recommendation to admin ui config

* debug

* debug

* debug

* Revert "debug"

This reverts commit f4a0460e5bde21cd1f39a735f496a2d74233ef3f.

* explicit parseInt radix

* add Japanese message

* change default engine to https

* remove unused settings

* debug

* nullable externalUserRecommendationTimeout
2018-11-21 23:44:59 +09:00
MeiMei 389315e000 Fix: ap/show (#3350) 2018-11-20 21:18:14 +09:00
MeiMei e332e3c248 Explicitly set max-age (#3330) 2018-11-20 05:29:51 +09:00
MeiMei db657c2a62 Hide unused login method (#3285) 2018-11-17 02:13:01 +09:00
syuilo 8569970fbe
Update github-bot.ts 2018-11-16 23:10:48 +09:00
syuilo 713e9ad5f4
Resolve #3274 2018-11-16 23:09:33 +09:00
syuilo 59e229d962
Update github-bot.ts 2018-11-16 23:02:01 +09:00
syuilo 3c5f09cda2
Clean up 2018-11-16 23:01:14 +09:00
syuilo e42aa2530d
Update github-bot.ts
follow dvelop instead master
2018-11-16 23:00:34 +09:00
MeiMei bceb02d760 local only visibility (#3254)
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
Acid Chicken (硫酸鶏) 9d8f7b081d WIP: Add Discord auth (#3239)
* Add Discord auth

* Apply review 175263424
2018-11-15 19:15:04 +09:00
syuilo 1dba82aae5
[API] Add /instances 2018-11-15 06:21:13 +09:00
syuilo 56d571c0f0
Moderator system
Closes #2357
2018-11-15 04:15:42 +09:00
MeiMei 4ca0a22bfc Fix: default order of users/notes (#3234) 2018-11-14 20:18:47 +09:00
syuilo e509b1f488 Update github-bot.ts 2018-11-14 05:33:48 +09:00
MeiMei 9f0b8ba2f8 Fix: notes/create hangs when rejected (#3221) 2018-11-13 19:34:09 +09:00
MeiMei 81805b01cc sort user timeline by date (#3210) 2018-11-13 01:17:59 +09:00
syuilo c2038bec73
Improve streaming 2018-11-12 00:31:09 +09:00
syuilo 15a2881083
[API] Fix #3203 2018-11-11 18:26:09 +09:00
syuilo 6012e98ae6
Improve streaming API 2018-11-11 02:22:34 +09:00
syuilo 460bb21c1e
Fix bug 2018-11-09 22:02:48 +09:00
Aya Morisawa 276edd7cc2 Use sum function (#3174) 2018-11-09 11:02:23 +09:00
syuilo f05a688ac2
[API] Fix #3169 2018-11-09 03:52:03 +09:00
syuilo 25a69ec1b6
Refactoring of i18n (#3165)
Refactoring of i18n
2018-11-09 03:44:35 +09:00
syuilo e0ec56abb5
Fix bug 2018-11-08 01:42:02 +09:00
syuilo cb6f390fb6
GitHub / Twitter連携の設定をDBに保存するように 2018-11-07 13:14:52 +09:00
syuilo 5675ecead9
Fix 2018-11-07 12:30:56 +09:00
syuilo 001bb7bbcd
インスタンスの対象言語の設定を実装 2018-11-07 12:28:53 +09:00
syuilo 665fa7f2aa
[API] Improve drive/files/upload_from_url 2018-11-07 12:12:43 +09:00
syuilo 8f39655fef
Fix bug 2018-11-07 12:09:24 +09:00
syuilo 06b66f0209
メンテナ情報をDBに保存するように 2018-11-07 01:12:26 +09:00
syuilo 2de48110bb
ghostの設定をDBに保存するように 2018-11-07 00:44:56 +09:00
syuilo a6f8327aa2
reCAPTCHAの設定をDBに保存するように 2018-11-07 00:08:21 +09:00
syuilo ffdd0b7de7
[API] 文字列での真理値表現に対応
multipart/formdata では文字列しか送れないっぽい?
2018-11-06 20:53:50 +09:00
syuilo 438563b505
[API] Fix bug 2018-11-06 20:47:56 +09:00
syuilo 37999f4af7
[API] Implement notes/watching/ 2018-11-06 14:58:20 +09:00
syuilo 2a5c19cd01
リモートのファイルをキャッシュするかどうかの設定をDBに保存するように 2018-11-06 07:52:13 +09:00
syuilo 8f714b5b12
ドライブ容量の設定をDBに保存するようにしたりリファクタリングしたり 2018-11-06 07:14:43 +09:00
syuilo 06bb2a1c7c
Clean up 2018-11-06 06:25:35 +09:00
syuilo ac50bb9225
Resolve #3137 2018-11-06 06:24:31 +09:00
syuilo 64f89ba13e
Better error code 2018-11-06 01:57:31 +09:00
syuilo 1235bef038
[API] Fix bug 2018-11-06 01:51:42 +09:00
syuilo 9f5dc2c0df
[WIP] Use FontAwesome Component for Vue (#3127)
* wip

* Rename

* Clean up

* Clean up

* wip

* wip

* Enable tree shaking

* ✌️

* ✌️

* wip

* wip

* Clean up
2018-11-06 01:40:11 +09:00
syuilo c62a225542
oops 2018-11-05 13:46:46 +09:00
syuilo d5d995a3e6
Refactor 2018-11-05 13:38:50 +09:00
syuilo a22ddb1fb9
✌️ 2018-11-05 11:58:41 +09:00
Acid Chicken (硫酸鶏) 0d23ce3d45 Make /api/v1/instance and /api/v1/custom_emojis better (#3118)
* Separate commits

From commit dca110ebaa.

* Re-separate commits

From commit 9719387bee.
2018-11-05 11:57:17 +09:00
syuilo d7a3b71028
投稿の最大文字数情報を設定ファイルではなくDBに保存するように 2018-11-05 11:09:05 +09:00
Acid Chicken (硫酸鶏) a1a3ee44b5 Implement /api/v1/custom_emojis (#3116) 2018-11-05 10:45:57 +09:00
Acid Chicken (硫酸鶏) 75791981ce
Fix #3115 2018-11-05 10:34:53 +09:00
syuilo e813fe16b9
[API] Better validation of admin/emoji/add 2018-11-05 10:33:49 +09:00
syuilo 454c1e3faf
[API] Fix bug 2018-11-05 01:42:41 +09:00
syuilo 4f3c8b940e
[API] Fix #3099 2018-11-04 23:13:35 +09:00
syuilo 1855ab60f1
Resolve #3098 2018-11-04 23:00:43 +09:00
Acid Chicken (硫酸鶏) 8646a9c49c Add GitHub auth (#3095) 2018-11-04 22:03:55 +09:00
syuilo d48c25d2c9
[API] Fix #3097 2018-11-04 21:11:54 +09:00
Acid Chicken (硫酸鶏) 147ad69864 Revert "Add GitHub auth"
This reverts commit c146006476.
2018-11-04 19:22:04 +09:00
Acid Chicken (硫酸鶏) c146006476 Add GitHub auth 2018-11-04 19:17:30 +09:00
syuilo 299b91edc4
[API] Improve admin/emoji/add 2018-11-04 18:37:12 +09:00
syuilo b7a15bf6ca
絵文字を作成した/更新した時にupdateAtを更新するように 2018-11-04 10:42:16 +09:00
MeiMei 65bfa3c0d6 Fix: update_client_setting (#3086) 2018-11-04 03:33:37 +09:00
syuilo 3487ddabea
[API] Implement some Emoji APIs 2018-11-04 03:18:32 +09:00
syuilo a515c1f53e
Improve API documentation 2018-11-03 22:49:36 +09:00
syuilo d1cf0c7998
Clean up 2018-11-03 22:01:58 +09:00
syuilo c26ed1421b
[API] Increase chart limit 2018-11-03 16:43:50 +09:00
syuilo aadd5b95b8
Improve admin dashboard 2018-11-03 11:38:00 +09:00
syuilo f9f2ca51ac
Improve stats API 2018-11-03 11:37:44 +09:00
syuilo 8ae94c034d
Update hashtags.ts 2018-11-02 23:46:57 +09:00
syuilo cd9696f25e
Update src/server/api/endpoints/aggregation/hashtags.ts 2018-11-02 23:32:40 +09:00
syuilo d62a6bab41
Remove needless properties 2018-11-02 23:27:47 +09:00
syuilo 20df002746
🍕 2018-11-02 23:23:01 +09:00
syuilo 819b535ab0
[API] Implement admin/add-emoji 2018-11-02 15:04:02 +09:00
syuilo 60e95ac2ac
Clean up 2018-11-02 14:53:55 +09:00
syuilo 9b94ddff0a
Clean up 2018-11-02 13:49:09 +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 befc35a3ac
Update src/server/api/endpoints/meta.ts 2018-11-02 12:16:03 +09:00
MeiMei 80b5fda292 Remote custom emojis (#3074)
* Remote custom emojis

* んほおおおおお
2018-11-02 08:59:40 +09:00
syuilo c48cbd95f6
Fix bug 2018-11-02 03:41:09 +09:00
syuilo 931bdc6aac
Refactoring, Clean up and bug fixes 2018-11-02 03:32:24 +09:00
syuilo c21caad1c5
Custom emoji (#3061)
* wip

* wip

* wip
2018-11-01 11:51:49 +09:00
syuilo 5d61c7c691
Refactor and use original image for banner 2018-11-01 09:30:51 +09:00
syuilo 1fca8d322c
Clean up 2018-11-01 09:19:22 +09:00
syuilo 3829fe128a
Update src/server/api/endpoints/users/relation.ts 2018-11-01 00:11:52 +09:00
syuilo 649177985d
[API] Implement users/relation 2018-11-01 00:11:21 +09:00
syuilo 261a3f5d91
Better rate limitting 2018-10-31 23:03:14 +09:00
syuilo 1a51b98700
Refactor 2018-10-31 22:35:02 +09:00
syuilo de569147a5
Fix #3041 2018-10-31 17:56:21 +09:00
syuilo e23b13ec7f
[API] Include detailed user information of blocking API responses 2018-10-31 11:24:36 +09:00
syuilo f7069dcd18
良い感じに 2018-10-31 11:16:13 +09:00
mei23 560bb65384 blockings list 2018-10-31 04:59:01 +09:00
Acid Chicken (硫酸鶏) 50cd6a036e Implement /api/v1/instance (#3045)
* Update mastodon.ts

* Update types.ts

* Update mastodon.ts
2018-10-31 02:17:54 +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 8ff139fb49ee61ad55e4b42c562f8a2c3f8098ac.

* background resync
2018-10-31 02:16:13 +09:00
syuilo 0d86eef3d7
Format 2018-10-29 21:38:09 +09:00
syuilo 108dcb3e61
物理削除系の処理を削除
これらの処理はパフォーマンス的に現実的でないし、すべてのモデルの関係を把握している必要があり保守が困難
論理削除でなんとかする
2018-10-29 21:06:23 +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 b480ef669c
Fix doc 2018-10-29 19:11:01 +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 ad7258fe9c
Fix bug 2018-10-26 15:06:27 +09:00
syuilo 02b47f963c
API: Better error response 2018-10-26 14:38:34 +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 fd652b70d6
Fix: Remove unused import 2018-10-25 05:33:40 +09:00
syuilo 9f981d875a
Implement drive/folders/delete 2018-10-24 18:37:58 +09:00
syuilo 6dcc3800e0
Improve some API definitions 2018-10-24 18:32:19 +09:00
syuilo 038bd100b2
Implement federation chart API 2018-10-24 06:34:04 +09:00
MeiMei daa22d68fa Make max allowed text length configurable (#2992)
* Make max allowed text length configurable

* Fix canPost
2018-10-24 04:00:04 +09:00
syuilo 19af2d7a7b
Implement #2983 2018-10-23 07:04:00 +09:00
syuilo 8ba87443ca
Use camelCase instead of snake_case 2018-10-23 07:01:43 +09:00
syuilo 162ace2fd6
Improve some API definitions 2018-10-23 06:59:52 +09:00
syuilo 7c7f32d9a6
Refactoring 2018-10-23 05:36:35 +09:00
syuilo 1af4f94338
Implement #2961 2018-10-22 22:00:54 +09:00
syuilo 13bad106cc
Implement some chart APIs 2018-10-22 17:37:55 +09:00
syuilo 3bebf82501
Implement #2980 2018-10-22 17:36:36 +09:00
syuilo e2a79abbe0
Doc: Better parameter description 2018-10-22 17:06:53 +09:00
syuilo 3aece449e4
Improve API definitions 2018-10-22 05:16:27 +09:00
MeiMei e95845777a Fix og:image on user page (#2972) 2018-10-22 02:27:45 +09:00
syuilo 6b0d48423d
Refactor 2018-10-21 15:08:07 +09:00
syuilo 1bf8cbeb29
Clean up 2018-10-21 14:15:02 +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 c4e8cabae9
ファイル作成APIにforceオプションを実装 2018-10-20 15:50:13 +09:00
Dr. Gutfuck LLC 1729d05e8c Localized mark all as read message (#2956)
* Localized read-all message

* Fixed some weirdness:   src/client/app/init.ts

* Unfucked server api stuff (sorry lol):   src/server/api/endpoints/i/read_all_unread_notes.ts

* Clean up
2018-10-20 15:46:01 +09:00
syuilo 71c9964e19
Fix bug and clean up 2018-10-20 11:19:27 +09:00
syuilo 13f381710c
Validate param 2018-10-20 09:31:52 +09:00
syuilo 8533663b26
✌️ 2018-10-19 09:20:11 +09:00
syuilo 0a4015b8a2
Refactoring 2018-10-19 09:19:55 +09:00
syuilo fb5f6fdc10
未読の投稿をすべて既読にできるように 2018-10-19 06:36:59 +09:00
syuilo d2e0faa533
Disable secure cookie 2018-10-17 05:54:31 +09:00
syuilo 61f86dcb2b
Resolve #2923
Allow option to disable sending HSTS headers even if https:// is used in url
2018-10-17 04:15:41 +09:00
syuilo 9427a756c9
Update mongodb 2018-10-16 11:38:09 +09:00
syuilo 0162eaf826 Update signin.ts 2018-10-16 10:33:05 +09:00
MeiMei 072492c29b Implement /api/v1/instance/peers (#2913)
* Implement /api/v1/instance/peers

* Use punycode

* Remove Cache-Control

* Rename
2018-10-16 08:55:55 +09:00
syuilo 99da4f9839
Add some tests and some fixes 2018-10-16 08:54:36 +09:00
syuilo 80daf7c749
Implement API tests 2018-10-16 06:37:21 +09:00
Hakaba Hitoyo be82d845a4 expose user recommendation config in /api/meta (#2902) 2018-10-14 16:54:09 +09:00
syuilo 3961fd08c9
Fix #2901 2018-10-14 10:06:10 +09:00
syuilo 65e5cfa68e
Resolve #2853 2018-10-13 20:11:00 +09:00
syuilo 3aef5e6748
Better id 2018-10-13 19:16:47 +09:00
syuilo 2b536a7443
connectedイベントはpongパラメータがtrueの時だけ発行するように 2018-10-13 19:14:05 +09:00
syuilo 2b0a919fb5
Resolve #2894 2018-10-13 13:13:15 +09:00
MeiMei 168c773ba0 Fix user recommendation query (last activity) (#2892) 2018-10-12 13:48:26 +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 e94c73efe2
Fix 2018-10-11 23:07:20 +09:00
syuilo e85f9f4aa5
共有可能チャンネルに接続しようとしていて、かつそのチャンネルに既に接続していたら無意味なので無視するように 2018-10-11 23:01:57 +09:00
syuilo 6559197c55
Clean up 2018-10-11 18:10:41 +09:00
syuilo 05f9ad11bb
Redisがインストールされているときはイベントの共有にRedisのpub/subを使うように 2018-10-11 18:09:41 +09:00
syuilo 1117ce4b54
Redisをオプションにしたり 2018-10-11 15:50:27 +09:00
syuilo 9e4b061ed0 Fix bug 2018-10-11 05:26:51 +09:00
syuilo 1067bef7d6 Fix bug 2018-10-11 05:26:09 +09:00
syuilo 4b08677839
✌️ 2018-10-11 02:48:19 +09:00
syuilo fb1e05c2e9
ストリーミングAPIでチャンネルに接続したときにconnectedメッセージを返すように 2018-10-10 03:28:11 +09:00
syuilo aba84612a7
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2018-10-10 03:24:18 +09:00
syuilo 9bebbf4e03
Add alias 2018-10-10 03:24:09 +09:00
mei23 890dc05022 lint fix 2018-10-10 02:08:26 +09:00
mei23 375f86ec82 Fix users recommendation query 2018-10-10 02:04:16 +09:00
mei23 913385b10d / に main stream も流す 2018-10-09 03:29:11 +09:00
syuilo c6110dd996
Fix bug
Closes #2855
2018-10-09 01:50:49 +09:00
syuilo 3eafe8b87d
Better api definition 2018-10-09 01:01:48 +09:00
syuilo 1329721440
Merge pull request #2828 from hakaba-hitoyo/feature/external-user-recommendation
External user recommendation
2018-10-08 18:31:00 +09:00
syuilo 6affb4fe97
Merge pull request #2851 from mei23/mei-1008-fix-apshow2
ap/showが返ってこないことがあるのを修正
2018-10-08 17:33:46 +09:00
mei23 15395686aa ap/showが返ってこないことがあるのを修正 2018-10-08 16:01:38 +09:00
syuilo 65e46b5cec
oops 2018-10-08 09:02:11 +09:00
syuilo e00b5f11cb
互換性を追加 2018-10-08 08:58:12 +09:00
syuilo 39bdfb6e0d
Improve usability 2018-10-08 02:10:46 +09:00
syuilo 1003fd393e
Fix bug 2018-10-08 01:56:36 +09:00
syuilo 305915611e
Fix bug 2018-10-08 00:58:10 +09:00
MeiMei b9f5fca333 ActivityPubオブジェクト採番API (#2832)
* Show ActivityPub object API

* Add missing return
2018-10-07 20:20:55 +09:00
syuilo e05acb8d18
後方互換性を追加 2018-10-07 17:19:52 +09:00
syuilo 10af684804
Improve readability a little 2018-10-07 17:06:28 +09:00