Commit Graph

175 Commits

Author SHA1 Message Date
syuilo
d9780606b3
Refactor 2019-04-07 23:06:07 +09:00
syuilo
f0a29721c9
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
63b1689155 Fix #4556 (#4558) 2019-04-06 00:41:08 +09:00
MeiMei
59dc929431 フォローインポートで自分をスキップするように (#4614)
* skip myself in import-following

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

* import order
2019-03-12 23:38:11 +09:00
syuilo
5bc30c5493
Add log 2019-03-12 13:12:49 +09:00
syuilo
f19ac5320e
Remove unnecessary checking 2019-03-12 12:46:01 +09:00
syuilo
969435cfe9
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-03-12 00:34:30 +09:00
syuilo
c932f7a25b
Resolve #1736 2019-03-12 00:34:19 +09:00
MeiMei
42d164dc57 log failed job (#4472) 2019-03-11 22:45:07 +09:00
syuilo
a7e60f80bd
Refactor: Extract downloadTextFile function 2019-03-11 20:23:29 +09:00
syuilo
e47c354916
Refactor 2019-03-11 19:57:50 +09:00
syuilo
496f42805d
リストをインポートしたときにプロキシアカウントがフォローするように修正 2019-03-11 19:51:58 +09:00
syuilo
c3d34bda37
Resolve #4259 2019-03-11 19:43:58 +09:00
syuilo
ce0d4f77fa
リストのエクスポートをできるように
#4259
2019-03-11 09:59:07 +09:00
syuilo
5a0a297634
Improve redis config 2019-03-09 23:44:54 +09:00
syuilo
948a133b7b
Fix log 2019-03-09 18:15:44 +09:00
syuilo
539409faf8
Better logs 2019-03-09 10:18:59 +09:00
syuilo
606e46e4d7
Make info 2019-03-09 10:10:24 +09:00
syuilo
a179cfd69a
Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2019-03-09 10:09:12 +09:00
syuilo
d8379253d4
Rename 2019-03-09 10:09:04 +09:00
MeiMei
c3344fbd68 To retry AP deliver queue (#4457) 2019-03-09 08:57:55 +09:00
syuilo
4cebd6e84a
Increase job attempts limit a little 2019-03-08 21:43:17 +09:00
syuilo
8c90cbcbfb
Disable lifo 2019-03-08 20:58:01 +09:00
syuilo
78a8293520
ジョブの数を一覧できるように 2019-03-08 13:03:38 +09:00
syuilo
144345a359
Enable lifo job 2019-03-08 05:39:59 +09:00
syuilo
fd2c01515e
Increase job concurrency 2019-03-08 05:23:13 +09:00
syuilo
219570e08b
Update job handlers 2019-03-08 05:22:14 +09:00
syuilo
8cc236daf8
Clean jobs 2019-03-07 23:36:08 +09:00
syuilo
d283ec69f7
Refactor 2019-03-07 23:27:38 +09:00
syuilo
c934987b14
Resolve #4444 2019-03-07 23:07:21 +09:00
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 (硫酸鶏)
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
syuilo
977af0a24d
ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
f3ceb32a7c
Change queue db name 2019-03-02 14:32:32 +09:00
syuilo
3409a51cca
Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
310371658b
重いのでジョブキュー無効化 2019-02-10 11:44:08 +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
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
9d50a06d9c
Fix bug 2019-02-07 23:37:39 +09:00
syuilo
5448c22031
Revert 96bc17aa10 2019-02-07 21:02:33 +09:00
syuilo
7275bc6d3b
Improve instance stats 2019-02-07 16:05:29 +09:00
syuilo
336912e442
Improve instance stats 2019-02-07 15:00:44 +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
f4c4d53bbb
Fix bug 2019-02-06 21:21:49 +09:00
syuilo
0ed43e1bdf
Fix file name 2019-02-06 21:10:37 +09:00
syuilo
d25bd876cb
Better file names 2019-02-06 21:10:12 +09:00
syuilo
b9782397c2
Fix file ext 2019-02-06 21:07:36 +09:00
syuilo
ea0abc9f71
Clean up 2019-02-06 20:57:15 +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
syuilo
4f2d52697d Update queue setting 2019-02-06 14:53:02 +09:00
syuilo
e26bec6ab4
Improve queue configuration
Resolve #4157
Resolve #4158
2019-02-06 13:51:02 +09:00
syuilo
5db5bbd1cd
自分の投稿情報をエクスポートできるように (#4144)
* wip

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

* データを整形
2019-02-05 19:50:14 +09:00
syuilo
8129d4dc23
Refactoring 2019-02-05 14:14:23 +09:00
syuilo
9b780dff04
Fix log 2019-02-05 14:04:40 +09:00
Aya Morisawa
6cd41f9860 Initialize queue only if queue is enabled (#4125) 2019-02-04 16:41:53 +09:00
syuilo
0ae1190c08
Add --disable-queue option 2019-02-04 13:37:50 +09:00
syuilo
d3b3426ebe
Enable job queue
Resolve #3216
2019-02-04 13:35:58 +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
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
Aya Morisawa
81312f5a93 Remove a trailing whitespace (#3261) 2018-11-16 17:04:28 +09:00
MeiMei
bceb02d760 local only visibility (#3254)
* local only visibility

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

* Set timeout to resolver

* Tune looks
2018-10-05 01:58:41 +09:00
mei23
3efffbcf22 Receive Update activity 2018-09-01 20:23:01 +09:00
mei23
18b4f74cdb Improve validation error message 2018-08-31 16:46:24 +09:00
mei23
48223c1c76 Validate host in activity 2018-08-30 20:53:41 +09:00
mei23
a09a244242 Fix resolvePerson key 2018-08-25 22:25:40 +09:00
syuilo
6372451d17 Fix bug 2018-08-10 14:15:12 +09:00
syuilo
4260ec713f Improve error handling 2018-08-06 21:48:23 +09:00
syuilo
08e1c87fa6 oops 2018-07-27 18:50:15 +09:00
syuilo
8a57f490ce バギーなのでジョブキュー無効化 2018-07-27 18:40:38 +09:00
syuilo
ac07f04ad8 Update job queue setting 2018-07-26 17:15:00 +09:00
syuilo
e1e1cd0574 Update job queue settings 2018-07-26 17:02:34 +09:00
syuilo
77b493c9b0 Use bee-queue instead of Kue 2018-07-26 08:11:47 +09:00
syuilo
f778696a76 ✌️ 2018-07-26 05:27:27 +09:00
syuilo
aa4ef6745a Refactorng 2018-07-07 19:19:00 +09:00
syuilo
e66d7babc5 yatta 2018-06-18 14:28:43 +09:00
syuilo
161bce1a42
Update deliver.ts 2018-05-16 17:30:00 +09:00
syuilo
7af9ad9869 Better error handling 2018-05-13 16:26:11 +09:00
syuilo
79640d6861 Fix bug 2018-05-07 18:20:15 +09:00
syuilo
7ee0cad010 Fix bug 2018-04-22 07:50:09 +09:00
syuilo
40849a5aa8 ✌️ 2018-04-22 07:34:33 +09:00
mei23
0bb59bd73b Fix Misskey同士でフォローできない 2018-04-22 00:41:07 +09:00
syuilo
dfb6e717e4
Update index.ts 2018-04-19 08:28:24 +09:00
syuilo
aaa167fd57 Refactor 2018-04-17 16:05:50 +09:00
syuilo
06535a37b5 キューのメモリ使用量を削減 2018-04-17 08:06:51 +09:00
syuilo
10e3411020 nanka iroiro 2018-04-15 17:53:25 +09:00
syuilo
eebd5f62b3 Fix bug 2018-04-15 12:51:05 +09:00
syuilo
d81c20f163 hostLowerは廃止してhostにlowerしたものを入れるように 2018-04-14 14:39:07 +09:00
syuilo
805bc4b254 Refactor 2018-04-10 02:12:17 +09:00
syuilo
2a5016865a Fix bug 2018-04-09 17:38:22 +09:00
syuilo
08beb45935 wip 2018-04-09 04:08:56 +09:00
syuilo
a02ee3a08b Some bug fixes 2018-04-08 03:58:11 +09:00
syuilo
a1b490afa7 Post --> Note
Closes #1411
2018-04-08 02:30:37 +09:00