Commit Graph

158 Commits

Author SHA1 Message Date
syuilo
4a43415ff8 feat(server): Fetch icon url of an instance (#6591)
* feat(server): Fetch icon url of an instance

Resolve #6589

* chore: Rename the function
2020-07-26 11:04:07 +09:00
MeiMei
4395af5b28 Ignore Activities from deleted actors on both ends Fix #6553 (#6554) 2020-07-17 22:47:22 +09:00
MeiMei
507602596e 署名検証失敗はリトライしないように (#6437) 2020-06-03 09:12:54 +09:00
MeiMei
e133392d04 Apply blocked instance to LD-Signature host (#6355) 2020-05-15 20:50:28 +09:00
MeiMei
fe841db55a pub-relay (#6341)
* pub-relay

* relay actorをApplicationにする

* Disable koa-compress

* Homeはリレーに送らない

* Disable debug

* UI

* cleanupなど
2020-05-10 18:42:31 +09:00
MeiMei
328daa125e Fix inbox bug (#6334) 2020-05-09 17:08:54 +09:00
MeiMei
ed29826df2 APリファクタとLD-Signatureの検証に対応 (#6300)
* DbResolver

* inbox types

* 認証順を変更

* User/Keyあたりをまとめる

* LD-Signatue

* Validate contexts url

* LD-Signature DocumentLoaderにProxyとTimeout
2020-05-09 08:21:42 +09:00
MeiMei
70dc0ac932 AP inboxの最小リトライ間隔 1秒→1分 (#5818) 2020-02-03 21:05:38 +09:00
syuilo
cb615f633c isMarkedAsClosed --> isSuspended 2020-01-30 05:56:14 +09:00
syuilo
e24ca1e51f v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2020-01-30 04:37:25 +09:00
MeiMei
dea1188714 APの流量制限とリトライ期間の変更 (#5734)
* AP rate limit

* AP Job attempts

* fix
2020-01-20 14:14:09 +09:00
MeiMei
ab636cd5df Fix #5728 (#5731) 2020-01-20 01:52:35 +09:00
MeiMei
710d33b658 Fix #5611 (#5612) 2019-12-12 00:46:10 +09:00
MeiMei
37cd41e0c9 APの統計とログの修正と強化 (#5585)
* Fix #5580

* Improve AP logging
2019-11-07 00:02:18 +09:00
syuilo
25dedfb911 Store nodeinfo per federated instances (#5578)
* Store nodeinfo per federated instances

* Update fetch-nodeinfo.ts

* Update fetch-nodeinfo.ts

* update
2019-11-05 22:14:42 +09:00
MeiMei
cbb354ad75 Tune worker/job counts (#5346)
* デフォルトのワーカー数を1に

* Tune default job count
2019-08-27 05:33:24 +09:00
syuilo
7b0651d05d リモートファイルの削除が重い問題を修正 2019-07-01 21:12:14 +09:00
syuilo
66c25b545a Set job concurrency to reduce performance issue 2019-07-01 20:37:26 +09:00
syuilo
c43d10aa3c Use WHATWG API
> New application code should use the WHATWG API.
2019-06-18 15:27:13 +09:00
syuilo
6f00143bd6 Improve drive management 2019-05-27 16:54:47 +09:00
MeiMei
ddc3ef4cad Some import and export fixes (#4842)
* Fix: Mastodon v2.8.0 のフォローリストがインポートできない

* Fix: エクスポートリクエストに失敗してもエラーが出ない (#4821)

* エクスポートファイルでは同一ハッシュチェックをしないように
2019-05-03 18:33:25 +09:00
syuilo
41b4c81335 Cache meta 2019-04-24 08:11:19 +09:00
syuilo
9890b3ffa8 Improve readability 2019-04-18 00:57:06 +09:00
syuilo
0273a18ae4 Remove unused imports 2019-04-18 00:56:10 +09:00
MeiMei
0cb8480117 Fix: v11で未認知ユーザーからActivityが飛んできた場合に処理できない (#4733)
* Fix: inboxに未知のユーザーが来ると処理できない

* こうかな
2019-04-18 00:53:00 +09:00
Acid Chicken (硫酸鶏)
f3cb1fd248 リファクタリング (#4587)
* Use I cap

* Avoid _

* Use default value instead of optional boolean

* Bye useless variable

* Bye verbose try-catch
2019-04-14 17:18:17 +09:00
syuilo
4ec3e35dfa Better error handling 2019-04-14 11:53:47 +09:00
syuilo
ede51f7e59 Improve error handling 2019-04-14 02:19:59 +09:00
syuilo
a61287194c Fix bug 2019-04-13 16:54:21 +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
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