Commit Graph

179 Commits

Author SHA1 Message Date
syuilo
8d94a6a8df strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
MeiMei
3f08f6cbc6 Fix: AP actor Service のサポートが不完全 (v11) (#4662) 2019-04-11 03:09:12 +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
c625323d8d Refactor 2019-04-07 23:06:07 +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
949ed1e48a Fix #4556 (#4558) 2019-04-06 00:41:08 +09:00
MeiMei
c0927a24be フォローインポートで自分をスキップするように (#4614)
* skip myself in import-following

* skip owner in publishToFollowers
2019-04-06 00:07:23 +09:00
syuilo
9f91b9ad34 Fix bug 2019-03-14 21:51:33 +09:00
MeiMei
dc96e85946 Fix #4484 (#4485)
* Fix #4484

* import order
2019-03-12 23:38:11 +09:00
syuilo
3a7523e972 Add log 2019-03-12 13:12:49 +09:00
syuilo
1719d4133f Remove unnecessary checking 2019-03-12 12:46:01 +09:00
syuilo
48da7f1792 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-03-12 00:34:30 +09:00
syuilo
997b99cafc Resolve #1736 2019-03-12 00:34:19 +09:00
MeiMei
80278a483a log failed job (#4472) 2019-03-11 22:45:07 +09:00
syuilo
7782fd72fb Refactor: Extract downloadTextFile function 2019-03-11 20:23:29 +09:00
syuilo
750348bab4 Refactor 2019-03-11 19:57:50 +09:00
syuilo
4473a8fd0a リストをインポートしたときにプロキシアカウントがフォローするように修正 2019-03-11 19:51:58 +09:00
syuilo
0599b03ee8 Resolve #4259 2019-03-11 19:43:58 +09:00
syuilo
3791fee78d リストのエクスポートをできるように
#4259
2019-03-11 09:59:07 +09:00
syuilo
f5a4c133a7 Improve redis config 2019-03-09 23:44:54 +09:00
syuilo
33b6b6f0d4 Fix log 2019-03-09 18:15:44 +09:00
syuilo
a1cdca3a2b Better logs 2019-03-09 10:18:59 +09:00
syuilo
3562210955 Make info 2019-03-09 10:10:24 +09:00
syuilo
2809b0b940 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-03-09 10:09:12 +09:00
syuilo
82b1c4a185 Rename 2019-03-09 10:09:04 +09:00
MeiMei
62f7a7c574 To retry AP deliver queue (#4457) 2019-03-09 08:57:55 +09:00
syuilo
c58033e00f Increase job attempts limit a little 2019-03-08 21:43:17 +09:00
syuilo
6946849191 Disable lifo 2019-03-08 20:58:01 +09:00
syuilo
f82fffeb58 ジョブの数を一覧できるように 2019-03-08 13:03:38 +09:00
syuilo
ac717278ea Enable lifo job 2019-03-08 05:39:59 +09:00
syuilo
ec1e9ffafb Increase job concurrency 2019-03-08 05:23:13 +09:00
syuilo
369cbbd0c0 Update job handlers 2019-03-08 05:22:14 +09:00
syuilo
d0af1798ee Clean jobs 2019-03-07 23:36:08 +09:00
syuilo
edb1db8761 Refactor 2019-03-07 23:27:38 +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 (硫酸鶏)
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
syuilo
3d277fe4a0 ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
07f545a02e Change queue db name 2019-03-02 14:32:32 +09:00
syuilo
86ecc2d0ff Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
1957128ba5 重いのでジョブキュー無効化 2019-02-10 11:44:08 +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
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
ed73ff53da Fix bug 2019-02-07 23:37:39 +09:00
syuilo
c59ca22a81 Revert 96bc17aa1014983d5e6bf8b4c05d898156995a0d 2019-02-07 21:02:33 +09:00
syuilo
e5841a2c9a Improve instance stats 2019-02-07 16:05:29 +09:00
syuilo
4c819e29fd Improve instance stats 2019-02-07 15:00:44 +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
2ab0d8d765 Fix bug 2019-02-06 21:21:49 +09:00
syuilo
0180976629 Fix file name 2019-02-06 21:10:37 +09:00
syuilo
e8ef52af32 Better file names 2019-02-06 21:10:12 +09:00
syuilo
11f442a96d Fix file ext 2019-02-06 21:07:36 +09:00
syuilo
bf7411d69a Clean up 2019-02-06 20:57:15 +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
syuilo
d71ed77019 Update queue setting 2019-02-06 14:53:02 +09:00
syuilo
f0eb26f7e8 Improve queue configuration
Resolve #4157
Resolve #4158
2019-02-06 13:51:02 +09:00
syuilo
44ac9e3363 自分の投稿情報をエクスポートできるように (#4144)
* wip

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

* データを整形
2019-02-05 19:50:14 +09:00
syuilo
758d06249b Refactoring 2019-02-05 14:14:23 +09:00
syuilo
d5c2a89c46 Fix log 2019-02-05 14:04:40 +09:00
Aya Morisawa
57423859f9 Initialize queue only if queue is enabled (#4125) 2019-02-04 16:41:53 +09:00
syuilo
cf0a71bad3 Add --disable-queue option 2019-02-04 13:37:50 +09:00
syuilo
d4c9d41f98 Enable job queue
Resolve #3216
2019-02-04 13:35:58 +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
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
Aya Morisawa
611d1e3ca6 Remove a trailing whitespace (#3261) 2018-11-16 17:04:28 +09:00
MeiMei
d94d32dad9 local only visibility (#3254)
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
syuilo
e569e70f25 Fix bug 2018-11-05 19:40:09 +09:00
syuilo
41bab2746b Improve admin dashboard 2018-11-03 11:38:00 +09:00
MeiMei
98447a21ce ActivityPubのHTTPリクエストの強化 (#2820)
* Fix error handling in AP deliver

* Set timeout to resolver

* Tune looks
2018-10-05 01:58:41 +09:00
mei23
36e85a02d5 Receive Update activity 2018-09-01 20:23:01 +09:00
mei23
1542f7efd8 Improve validation error message 2018-08-31 16:46:24 +09:00
mei23
513becbe00 Validate host in activity 2018-08-30 20:53:41 +09:00
mei23
dfc0b0475d Fix resolvePerson key 2018-08-25 22:25:40 +09:00
syuilo
6f20a2fff2 Fix bug 2018-08-10 14:15:12 +09:00
syuilo
b4f66ee925 Improve error handling 2018-08-06 21:48:23 +09:00
syuilo
c13a67b61a oops 2018-07-27 18:50:15 +09:00
syuilo
3ebbf88e9a バギーなのでジョブキュー無効化 2018-07-27 18:40:38 +09:00
syuilo
103354aa9e Update job queue setting 2018-07-26 17:15:00 +09:00
syuilo
2a6183a56f Update job queue settings 2018-07-26 17:02:34 +09:00
syuilo
b7b4b622a2 Use bee-queue instead of Kue 2018-07-26 08:11:47 +09:00
syuilo
bf7b214cf1 ✌️ 2018-07-26 05:27:27 +09:00
syuilo
bea7e21a80 Refactorng 2018-07-07 19:19:00 +09:00
syuilo
b094260f3c yatta 2018-06-18 14:28:43 +09:00
syuilo
f0687911a6 Update deliver.ts 2018-05-16 17:30:00 +09:00
syuilo
009050a8d4 Better error handling 2018-05-13 16:26:11 +09:00
syuilo
51969954c1 Fix bug 2018-05-07 18:20:15 +09:00
syuilo
df47ae863f Fix bug 2018-04-22 07:50:09 +09:00
syuilo
9c8a4d7b0f ✌️ 2018-04-22 07:34:33 +09:00
mei23
d4577307d8 Fix Misskey同士でフォローできない 2018-04-22 00:41:07 +09:00
syuilo
1e452854e6 Update index.ts 2018-04-19 08:28:24 +09:00
syuilo
ef21993199 Refactor 2018-04-17 16:05:50 +09:00
syuilo
d7fd79d774 キューのメモリ使用量を削減 2018-04-17 08:06:51 +09:00
syuilo
55392fcffc nanka iroiro 2018-04-15 17:53:25 +09:00
syuilo
1c2aaec303 Fix bug 2018-04-15 12:51:05 +09:00
syuilo
2a333bd4c6 hostLowerは廃止してhostにlowerしたものを入れるように 2018-04-14 14:39:07 +09:00
syuilo
f33b589401 Refactor 2018-04-10 02:12:17 +09:00