Commit Graph

1055 Commits

Author SHA1 Message Date
syuilo
e9e06118ac Fix import 2019-03-07 23:14:01 +09:00
syuilo
597837bc6b Resolve #4444 2019-03-07 23:07:21 +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 (硫酸鶏)
ed532b51a6 Create robots.txt (#4439)
* Create robots.txt

* Update index.ts
2019-03-07 20:11:04 +09:00
syuilo
13205d11ac Resolve #4437 2019-03-07 13:03:46 +09:00
syuilo
0058e041c3 Clean up 2019-03-06 23:19:15 +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
MeiMei
36fb277cf2 Fix #4413 (#4417) 2019-03-05 07:56:23 +09:00
MeiMei
c6055b3fd3 Fix SVG detection (#4401)
* Fix SVG detection

* remove unnecessary import
2019-03-03 08:48:02 +09:00
syuilo
a2cde9731e Better log 2019-03-03 08:27:30 +09:00
syuilo
d3e5adfb3d Improve log api 2019-03-03 08:13:49 +09:00
syuilo
4574cc2923 Use dot 2019-03-03 07:48:25 +09:00
syuilo
3d277fe4a0 ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
ad024e057b Better log 2019-03-01 14:40:29 +09:00
syuilo
c7e02c4298 Add log 2019-02-28 12:00:57 +09:00
syuilo
d6acb1eff1 Improve doc 2019-02-27 05:08:42 +09:00
syuilo
21e51b537f Fix schema 2019-02-27 05:02:46 +09:00
syuilo
350c4f191f Improve doc 2019-02-27 05:02:36 +09:00
syuilo
0ce087c244 Update notes/featured 2019-02-26 14:42:24 +09:00
syuilo
a8f776545d Improve doc 2019-02-26 14:21:28 +09:00
syuilo
47ef8f1ac8 アカウントが削除できない問題を修正 2019-02-26 11:42:21 +09:00
syuilo
113621087c Improve doc 2019-02-25 09:37:22 +09:00
syuilo
fc4664ab60 Resolve #4325 2019-02-25 04:20:42 +09:00
syuilo
a4db6555d0 Improve doc 2019-02-25 04:18:09 +09:00
syuilo
d078bda2d0 Improve doc 2019-02-25 04:02:18 +09:00
syuilo
fa763803f9 Improve doc 2019-02-25 03:43:19 +09:00
syuilo
5183c49eb6 Improve doc 2019-02-25 03:35:45 +09:00
syuilo
40f9a74933 Improve doc 2019-02-25 03:30:22 +09:00
syuilo
9d18725a26 Fix doc 2019-02-25 03:23:19 +09:00
syuilo
fce12f9258 Improve doc 2019-02-25 03:21:54 +09:00
syuilo
119b97384b Improve doc 2019-02-24 19:42:26 +09:00
syuilo
46f0d36345 Improve doc 2019-02-24 19:27:32 +09:00
syuilo
51c7a38925 Improve doc 2019-02-24 18:13:11 +09:00
syuilo
8e9ce3a763 ハイフンに統一 2019-02-24 17:57:49 +09:00
syuilo
b2837e0806 Refactor 2019-02-24 17:48:54 +09:00
syuilo
1e4dcf0bbb Refactor 2019-02-24 17:35:19 +09:00
syuilo
49003e865c Refactor 2019-02-24 17:28:51 +09:00
syuilo
0e5c9df3f5 Use camelCase 2019-02-24 12:53:22 +09:00
syuilo
7874c4ed20 Improve doc 2019-02-24 12:40:17 +09:00
syuilo
73e84df9de Improve doc 2019-02-24 12:23:31 +09:00
MeiMei
d5f05619b9 assetsのjs要求時にsaltを付けないように (#4358)
* No assets salt

* remove related code
2019-02-24 10:38:00 +09:00
syuilo
d28f9152d9 Improve doc 2019-02-24 10:08:09 +09:00
syuilo
799adcae99 Improve doc 2019-02-24 10:04:27 +09:00
syuilo
be64a937c7 Improve doc 2019-02-24 10:00:24 +09:00
syuilo
f42d9b847d Improve type definitions 2019-02-24 09:45:27 +09:00
syuilo
e539ceb716 Update schemas.ts 2019-02-24 04:27:09 +09:00
syuilo
4b523c8dca Update description.ts 2019-02-24 04:11:54 +09:00
syuilo
c3db1423fd Refator: separate files 2019-02-24 04:08:08 +09:00
Acid Chicken (硫酸鶏)
9589886d3f 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
3a33b82ed3 Better error handling 2019-02-23 15:45:03 +09:00
syuilo
cc21302224 Remove space 2019-02-23 15:42:52 +09:00
syuilo
117b8b2816 Update doc 2019-02-23 15:35:26 +09:00
syuilo
9979f71441 Add operationId to more convinience 2019-02-23 14:59:37 +09:00
syuilo
f614a32c57 Add source code link 2019-02-23 14:57:05 +09:00
syuilo
bc5c7264c5 Fix type 2019-02-23 14:56:48 +09:00
syuilo
4e15337a64 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
8a809d771c Refactor 2019-02-22 14:53:03 +09:00
syuilo
9ac255699f Refactor 2019-02-22 14:46:49 +09:00
syuilo
fc6b5d2503 Fix error response format 2019-02-22 14:22:40 +09:00
syuilo
8e59da66d5 Fix bug 2019-02-22 14:09:24 +09:00
syuilo
5911858b03 Remove unused imports 2019-02-22 14:06:17 +09:00
syuilo
b00d0c9aae Refactor 2019-02-22 14:02:56 +09:00
syuilo
13e82d1e5e Fix type annotation 2019-02-22 13:39:06 +09:00
syuilo
9b02d973dd Refactoring 2019-02-22 13:38:12 +09:00
syuilo
6de16eb71e 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
1ce031a625 /api/v1/instance/peers 復活 (#4339)
* /api/v1/instance/peers 復活

* use Instance
2019-02-21 23:20:25 +09:00
syuilo
8f6b8d2f78 アカウント削除時にサインイン履歴も削除するように 2019-02-21 01:49:00 +09:00
syuilo
472b9aee5f アカウント削除時にメッセージも削除するように 2019-02-21 01:47:10 +09:00
syuilo
86ecc2d0ff Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
b6c957af27 Fix error 2019-02-21 00:32:49 +09:00
syuilo
a0be4e3b77 「みつける」でミュートしているユーザーが含まれる問題を修正 2019-02-20 22:34:52 +09:00
syuilo
b6bcdb2d64 Fix indent 2019-02-20 22:33:22 +09:00
syuilo
29281f9cad Fix indent 2019-02-20 22:33:13 +09:00
syuilo
be23704d21 ハイライトでミュートしているユーザーの投稿が含まれる問題を修正 2019-02-20 22:31:21 +09:00
Acid Chicken (硫酸鶏)
382def22d7 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
c0ff8e5da2 フォローリクエスト数がおかしい場合の応急処置APIを追加 2019-02-18 20:52:41 +09:00
syuilo
8e164abb97 みつけるの人気のタグを第2ソートで連合含めたユーザー数にしたりユーザーのタグ以外は除外するように 2019-02-18 11:47:25 +09:00
syuilo
0955a0e1b5 Resolve #4305 2019-02-18 04:52:40 +09:00
syuilo
12d125f44a Fix bug 2019-02-18 01:11:14 +09:00
syuilo
4fe0110bbf Chore: Fix type definition 2019-02-18 00:20:14 +09:00
syuilo
0701d0ceea ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように

* 🎨

* Increase limit

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

* Fix bug

* Fix bug

* Improve performance
2019-02-17 23:41:47 +09:00
Acid Chicken (硫酸鶏)
fccdef845d Use object instead of if chain (#4212) 2019-02-17 21:40:53 +09:00
syuilo
14e858cc72 Improve UI 2019-02-16 10:58:44 +09:00
syuilo
d1513e97e1 Exploreページを実装 2019-02-16 06:50:58 +09:00
MeiMei
762017e486 Fix #4276 (#4278) 2019-02-15 23:43:49 +09:00
MeiMei
ddb171b8b0 Hide localOnly from welcome TL (#4257) 2019-02-15 08:38:59 +09:00
syuilo
29638166dc Improve featured api 2019-02-15 06:31:22 +09:00
MeiMei
e3bbfb2649 Change minimum allowed maxNoteTextLength to 0 (#4256) 2019-02-14 16:30:20 +09:00
MeiMei
03ec2be5c1 Restore web max-age to 5 minutes (#4246) 2019-02-14 13:41:28 +09:00
syuilo
23255aad0c Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-02-14 01:13:28 +09:00
syuilo
d24b8c0f49 ハッシュタグの集計期間を短くした
Resolve #4238 ?
2019-02-14 01:13:19 +09:00
Acid Chicken (硫酸鶏)
7f700b8429 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
b6f7aa7d65 Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
Acid Chicken (硫酸鶏)
4f40a76164 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
9783d09ee4 よく話すユーザーからサスペンドされたユーザーを隠すなど (#4228)
* Resolve #4226

* fix

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

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

* fix

* remove unused code
2019-02-11 22:37:20 +09:00
syuilo
9151d401f4 管理画面でサイレンスされているユーザーを一覧できるように 2019-02-10 19:43:46 +09:00
MeiMei
95bbb190a6 Optimize url-preview image (#4216) 2019-02-10 19:19:26 +09:00
syuilo
3ecc84c514 Improve instances manegement
Resolve #4187
2019-02-08 20:56:16 +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
fa23593ee8 Remove unused import 2019-02-07 23:32:39 +09:00
syuilo
fcc7466c11 Fix bug 2019-02-07 23:27:42 +09:00
syuilo
3b6bbbd6b4 特定インスタンスからのフォローを全解除できるように 2019-02-07 21:59:18 +09:00
syuilo
c59ca22a81 Revert 96bc17aa1014983d5e6bf8b4c05d898156995a0d 2019-02-07 21:02:33 +09:00
syuilo
708b990954 連合しているインスタンスを一覧できるように 2019-02-07 18:11:20 +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
ffcb479b3a Fix bug 2019-02-06 22:27:23 +09:00
syuilo
de7d50b8c0 Resolve #4151 2019-02-06 20:56:48 +09:00
syuilo
e8f1bcbb1b Resolve #4165 2019-02-06 15:24:59 +09:00
syuilo
284d9ab21b Improve queue option 2019-02-06 15:01:43 +09:00
MeiMei
93eecddee9 proxyで400番台はそのステータスを返す (#4154) 2019-02-06 00:20:00 +09:00
syuilo
44ac9e3363 自分の投稿情報をエクスポートできるように (#4144)
* wip

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

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

* Fix bug
2019-02-05 17:42:55 +09:00
syuilo
758d06249b Refactoring 2019-02-05 14:14:23 +09:00
Acid Chicken (硫酸鶏)
87bf27a47b Fix comment 2019-02-05 11:49:03 +09:00
Acid Chicken (硫酸鶏)
8f38bd4f24 Fix style 2019-02-05 11:48:08 +09:00
syuilo
b76aed4c59 アニメーション画像を無効にする際、サーバーサイドではなくクライアントサイドでURLを変更するように 2019-02-05 03:51:54 +09:00
MeiMei
0a8cff4f3c アニメーションを自動再生しないオプション (#4131)
* Refactor

* settings

* Media Proxy

* Replace API response
2019-02-05 03:01:36 +09:00
syuilo
f7f525acbf 個別に投稿のウォッチ/ウォッチ解除をできるように
Resolve #161
2019-02-05 01:24:44 +09:00
syuilo
4a585e50cf [API] お気に入り状態は投稿情報に含めないように統一 2019-02-05 01:11:06 +09:00
Acid Chicken (硫酸鶏)
1d9ef8cc99 Resolve #4121 (#4122)
* Resolve #4121

* Update tslint.json
2019-02-04 18:27:45 +09:00
syuilo
6abd281cd9 [Server] Enable slow option 2019-02-04 10:03:49 +09:00
Acid Chicken (硫酸鶏)
c25982a863 Create type definition for '*/const.json' (#4118) 2019-02-04 01:47:12 +09:00
Acid Chicken (硫酸鶏)
97db296887 Create type definition for ./locales (#4117) 2019-02-04 01:46:59 +09:00
Acid Chicken (硫酸鶏)
273d1a416a Create type definition for 'langmap' (#4059)
* Create type definition for 'langmap'

* Follow lint
2019-02-03 23:41:05 +09:00
Acid Chicken (硫酸鶏)
5a8660cb76 Create type definition for 'koa-slow' (#4072) 2019-02-03 23:01:03 +09:00
Acid Chicken (硫酸鶏)
1b8a35fa1a Create type definition for 'recaptcha-promise' (#4068) 2019-02-03 22:21:55 +09:00
Acid Chicken (硫酸鶏)
23f58bb6a4 Create new type definition for 'escape-regexp' (#4058) 2019-02-03 22:21:47 +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
0e07aebb7f Clean up 2019-02-03 04:18:09 +09:00
syuilo
eb58b878b9 Better logging 2019-02-03 02:01:06 +09:00
syuilo
63f7d791a8 Fallback en-US 2019-02-02 16:16:31 +09:00
MeiMei
765980c4d5 Generate video thumbnails (#4084)
* Generate video thumbnails

* import order
2019-02-02 13:22:09 +09:00
Acid Chicken (硫酸鶏)
51125b4c84 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 (硫酸鶏)
64884ae867 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 (硫酸鶏)
e68d38012f 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 (硫酸鶏)
d44741e9e2 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 (硫酸鶏)
ac6ce5c7d9 Module '@koa/cors' as import syntax (#4060) 2019-02-01 19:46:18 +09:00
syuilo
4856718aa0 Improve performance 2019-02-01 10:00:36 +09:00
MeiMei
1402b020e2 Hide suspended users (#4075) 2019-02-01 09:57:51 +09:00
syuilo
df8faa7080 Fix path 2019-02-01 00:17:15 +09:00
Acid Chicken (硫酸鶏)
c6032c6d36 Create type definition for '*/meta.json' (#4073) 2019-02-01 00:00:54 +09:00
Acid Chicken (硫酸鶏)
c1f4cfadca Module 'request-stats' as import syntax (#4071) 2019-01-31 23:46:15 +09:00
Acid Chicken (硫酸鶏)
9df3ccbab6 Module 'uuid' as import syntax (#4070) 2019-01-31 23:45:12 +09:00
Acid Chicken (硫酸鶏)
e437cf5ec3 API modules as import syntax (#4069) 2019-01-31 23:32:58 +09:00
MeiMei
bc07cf24d7 おすすめのアンケートでミュートユーザーのものは表示しない (#4067) 2019-01-31 23:14:45 +09:00
MeiMei
163d2df637 send/receive user hashtags via AP (#4064) 2019-01-31 20:42:45 +09:00