Commit Graph

1053 Commits

Author SHA1 Message Date
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
Acid Chicken (硫酸鶏) 1f63f50343
Create robots.txt (#4439)
* Create robots.txt

* Update index.ts
2019-03-07 20:11:04 +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
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