Commit Graph

451 Commits

Author SHA1 Message Date
syuilo
c28639437f Fix MIME 2019-07-03 23:43:09 +09:00
syuilo
7b0651d05d リモートファイルの削除が重い問題を修正 2019-07-01 21:12:14 +09:00
syuilo
583411681f Use as const
#5089
2019-06-27 18:04:09 +09:00
syuilo
9cd8b234aa Fix #4519 2019-06-22 04:17:02 +09:00
syuilo
bc9323c360 Add index 2019-06-18 17:11:28 +09:00
syuilo
5a7e9cebdf Add chart indices 2019-06-18 17:10:28 +09:00
Aya Morisawa
81c9d66bf4 Use halfwidth space instead of fullwidth space in code (#5054) 2019-06-14 22:54:19 +09:00
syuilo
1c8c166720 サムネイル生成でエラーになってもファイルのアップロードを失敗しないように
#5050
2019-06-13 22:59:15 +09:00
syuilo
6f00143bd6 Improve drive management 2019-05-27 16:54:47 +09:00
syuilo
65c5267db3 Refactor 2019-05-23 23:46:10 +09:00
syuilo
02511b837f Fix bugs
Use Not(IsNull())
2019-05-20 21:44:16 +09:00
MeiMei
e3d880b8be Fix: Delete is not deliver (#4950)
* Fix: Delete is not deliver

* fix
2019-05-20 13:34:51 +09:00
syuilo
20c34ead23 ユーザーグループ
Resolve #3218
2019-05-18 20:36:33 +09:00
syuilo
3d1239a3b3 Fix bug 2019-05-18 00:38:33 +09:00
syuilo
468f85c059 Fix #4930 2019-05-16 12:59:09 +09:00
syuilo
4452f8378b Resolve #4928 2019-05-16 01:07:32 +09:00
syuilo
55886e3ea4 GIFのサムネイルが生成されないのを修正
#4728
2019-05-15 21:27:20 +09:00
syuilo
dff4c43bc6 Fix #4834 2019-05-03 09:16:31 +09:00
syuilo
759d2ba6fb Fix bug 2019-05-02 17:15:14 +09:00
syuilo
2c885dc8a4 Resolve #3119 2019-04-25 07:46:39 +09:00
syuilo
4a1a92257f Refactorgin 2019-04-25 04:17:03 +09:00
MeiMei
3f86541215 Fix #4704 (#4797)
*  Fix #4632

* Fix #4795
2019-04-25 04:07:39 +09:00
syuilo
41b4c81335 Cache meta 2019-04-24 08:11:19 +09:00
syuilo
493c83ef2d Refactor API (#4770)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update description.ts

* wip
2019-04-23 22:35:26 +09:00
syuilo
022bb7a5b3 Better avgColor 2019-04-17 17:13:49 +09:00
syuilo
0fd33c1172 Refactor 2019-04-17 14:32:59 +09:00
syuilo
a08a0270e7 Update delete-file.ts 2019-04-17 02:37:37 +09:00
syuilo
475e613931 Refactor 2019-04-17 02:19:49 +09:00
syuilo
8760a4195c Fix #4724 2019-04-17 02:11:22 +09:00
syuilo
0b4d7de915 チャートの数値カラムの型を拡張 2019-04-16 17:52:09 +09:00
syuilo
61a2c1b4ef Fix bug 2019-04-15 23:00:39 +09:00
Acid Chicken (硫酸鶏)
83ee6f8de3 Follow lint 2019-04-15 19:05:35 +09:00
syuilo
be9d8a679f Update read.ts 2019-04-15 12:11:32 +09:00
syuilo
50b3542074 inc/dec score 2019-04-14 20:28:57 +09:00
syuilo
a3f408fc42 Fix bug 2019-04-14 11:50:31 +09:00
syuilo
1b3848ee5d Better error handling 2019-04-14 04:17:24 +09:00
syuilo
af93cdd49f Redis必須に 2019-04-13 19:19:32 +09:00
syuilo
6240f172fe Fix bug 2019-04-13 19:08:41 +09:00
syuilo
89153efb4e Fix bug 2019-04-13 18:58:29 +09:00
syuilo
df231ff3bd Fix error 2019-04-13 18:23:32 +09:00
syuilo
fcbe004e7c Refactor 2019-04-13 18:17:27 +09:00
syuilo
8d94a6a8df strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
syuilo
dcf9421560 Better error handling 2019-04-12 13:07:56 +09:00
syuilo
610f1cec45 トランザクションを使用してアンケートレコードの挿入に失敗した場合に投稿レコードの挿入もなかったことにするように 2019-04-12 01:30:10 +09:00
syuilo
c5df8bbda0 Clean up 2019-04-12 01:01:25 +09:00
syuilo
e7b51e500b 非正規化カラムを削除
非正規化するほどの情報じゃない
2019-04-12 00:42:39 +09:00
syuilo
df280d8e19 Clean up 2019-04-10 20:07:36 +09:00
syuilo
16965eb4a1 テーブル分割 2019-04-10 15:04:27 +09:00
syuilo
b22f9412fa More puny 2019-04-10 00:59:41 +09:00
syuilo
a3549f1c9f ドメインは常にPunycodeで保存するように 2019-04-09 23:59:32 +09:00
syuilo
54667224c5 isRemote --> isLink 2019-04-09 23:07:08 +09:00
syuilo
f052760c69 Fix bug 2019-04-09 01:31:48 +09:00
syuilo
64c8a5847f Fix 2019-04-08 19:56:42 +09:00
syuilo
7557621488 Improve instance chart 2019-04-08 14:29:17 +09:00
syuilo
c625323d8d Refactor 2019-04-07 23:06:07 +09:00
syuilo
9449b19a6b Fix avgColor format 2019-04-07 22:57:30 +09:00
syuilo
2b8602bd1b Use PostgreSQL instead of MongoDB (#4572)
* wip

* Update note.ts

* Update timeline.ts

* Update core.ts

* wip

* Update generate-visibility-query.ts

* wip

* wip

* wip

* wip

* wip

* Update global-timeline.ts

* wip

* wip

* wip

* Update vote.ts

* wip

* wip

* Update create.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update files.ts

* wip

* wip

* Update CONTRIBUTING.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update read-notification.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update cancel.ts

* wip

* wip

* wip

* Update show.ts

* wip

* wip

* Update gen-id.ts

* Update create.ts

* Update id.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Docker: Update files about Docker (#4599)

* Docker: Use cache if files used by `yarn install` was not updated

This patch reduces the number of times to installing node_modules.
For example, `yarn install` step will be skipped when only ".config/default.yml" is updated.

* Docker: Migrate MongoDB to Postgresql

Misskey uses Postgresql as a database instead of Mongodb since version 11.

* Docker: Uncomment about data persistence

This patch will save a lot of databases.

* wip

* wip

* wip

* Update activitypub.ts

* wip

* wip

* wip

* Update logs.ts

* wip

* Update drive-file.ts

* Update register.ts

* wip

* wip

* Update mentions.ts

* wip

* wip

* wip

* Update recommendation.ts

* wip

* Update index.ts

* wip

* Update recommendation.ts

* Doc: Update docker.ja.md and docker.en.md (#1) (#4608)

Update how to set up misskey.

* wip

* ✌️

* wip

* Update note.ts

* Update postgre.ts

* wip

* wip

* wip

* wip

* Update add-file.ts

* wip

* wip

* wip

* Clean up

* Update logs.ts

* wip

* 🍕

* wip

* Ad notes

* wip

* Update api-visibility.ts

* Update note.ts

* Update add-file.ts

* tests

* tests

* Update postgre.ts

* Update utils.ts

* wip

* wip

* Refactor

* wip

* Refactor

* wip

* wip

* Update show-users.ts

* Update update-instance.ts

* wip

* Update feed.ts

* Update outbox.ts

* Update outbox.ts

* Update user.ts

* wip

* Update list.ts

* Update update-hashtag.ts

* wip

* Update update-hashtag.ts

* Refactor

* Update update.ts

* wip

* wip

* ✌️

* clean up

* docs

* Update push.ts

* wip

* Update api.ts

* wip

* ✌️

* Update make-pagination-query.ts

* ✌️

* Delete hashtags.ts

* Update instances.ts

* Update instances.ts

* Update create.ts

* Update search.ts

* Update reversi-game.ts

* Update signup.ts

* Update user.ts

* id

* Update example.yml

* 🎨

* objectid

* fix

* reversi

* reversi

* Fix bug of chart engine

* Add test of chart engine

* Improve test

* Better testing

* Improve chart engine

* Refactor

* Add test of chart engine

* Refactor

* Add chart test

* Fix bug

* コミットし忘れ

* Refactoring

* ✌️

* Add tests

* Add test

* Extarct note tests

* Refactor

* 存在しないユーザーにメンションできなくなっていた問題を修正

* Fix bug

* Update update-meta.ts

* Fix bug

* Update mention.vue

* Fix bug

* Update meta.ts

* Update CONTRIBUTING.md

* Fix bug

* Fix bug

* Fix bug

* Clean up

* Clean up

* Update notification.ts

* Clean up

* Add mute tests

* Add test

* Refactor

* Add test

* Fix test

* Refactor

* Refactor

* Add tests

* Update utils.ts

* Update utils.ts

* Fix test

* Update package.json

* Update update.ts

* Update manifest.ts

* Fix bug

* Fix bug

* Add test

* 🎨

* Update endpoint permissions

* Updaye permisison

* Update person.ts

#4299

* データベースと同期しないように

* Fix bug

* Fix bug

* Update reversi-game.ts

* Use a feature of Node v11.7.0 to extract a public key (#4644)

* wip

* wip

* ✌️

* Refactoring

#1540

* test

* test

* test

* test

* test

* test

* test

* Fix bug

* Fix test

* 🍣

* wip

* #4471

* Add test for #4335

* Refactor

* Fix test

* Add tests

* 🕓

* Fix bug

* Add test

* Add test

* rename

* Fix bug
2019-04-07 21:50:36 +09:00
MeiMei
c0927a24be フォローインポートで自分をスキップするように (#4614)
* skip myself in import-following

* skip owner in publishToFollowers
2019-04-06 00:07:23 +09:00
MeiMei
e389529bee Fix #4546 (#4548)
* Refactor download

* emoji type
2019-03-21 04:50:44 +09:00
MeiMei
2efb187466 Fix NoteReaction (#4547) 2019-03-20 21:39:02 +09:00
syuilo
f47bc6bced Revert "Remove deepcopy dependency"
This reverts commit cbf5663179c60abb6d9f1a612027065432500643.
2019-03-19 18:47:14 +09:00
syuilo
6e04b563dd Remove deepcopy dependency 2019-03-19 17:59:44 +09:00
MeiMei
bd1f2ba732 Content-Disposition in ObjectStrage (#4524)
* Content-Disposition in ObjectStrage

* encode filename
2019-03-18 15:23:45 +09:00
MeiMei
08144dfce4 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
f01e0b5cd4 Accept Article object (#4499) 2019-03-15 00:23:24 +09:00
Acid Chicken (硫酸鶏)
060b4454bb Follow #3676 2019-03-14 22:17:26 +09:00
MeiMei
ccc7d4a98d unFollowAll on suspend (#4490)
* unFollowAll on suspend

* use services

* silent
2019-03-14 15:16:07 +09:00
syuilo
750348bab4 Refactor 2019-03-11 19:57:50 +09:00
MeiMei
0ec2e92ea6 Ignore 4xx references in AP (#4463)
* Ignore 4xx references

* remove unnecessary comment
2019-03-10 22:27:25 +09:00
syuilo
e9e06118ac Fix import 2019-03-07 23:14:01 +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 (硫酸鶏)
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
46e1bd421a Better logs 2019-03-03 08:00:39 +09:00
syuilo
a44030bff2 Better logs 2019-03-03 07:47:58 +09:00
syuilo
3d277fe4a0 ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
d078bda2d0 Improve doc 2019-02-25 04:02:18 +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
73e84df9de Improve doc 2019-02-24 12:23:31 +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
4bfaa495ce 投稿を削除したときにお気に入りからも削除するように 2019-02-22 14:54:52 +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
syuilo
86ecc2d0ff Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
153b48fa37 Fix #4326 2019-02-20 06:44:40 +09:00
syuilo
8e164abb97 みつけるの人気のタグを第2ソートで連合含めたユーザー数にしたりユーザーのタグ以外は除外するように 2019-02-18 11:47:25 +09:00
syuilo
12d125f44a Fix bug 2019-02-18 01:11:14 +09:00
syuilo
0701d0ceea ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように

* 🎨

* Increase limit

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

* Fix bug

* Fix bug

* Improve performance
2019-02-17 23:41:47 +09:00
syuilo
09f79629c5 既にフォローされている場合はフォローリクエストを生成しないように (#4266) 2019-02-15 05:56:28 +09:00
syuilo
8826455244 Remove unused import 2019-02-11 23:39:05 +09:00
syuilo
cfd19c23a1 Fix bug 2019-02-11 23:37:15 +09:00
syuilo
47709a8deb フォロー処理のリファクタリング (#4196)
* Fix #4185

* Fix bug
2019-02-09 12:04:03 +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
c59ca22a81 Revert 96bc17aa1014983d5e6bf8b4c05d898156995a0d 2019-02-07 21:02:33 +09:00
syuilo
4c819e29fd Improve instance stats 2019-02-07 15:00:44 +09:00