Commit Graph

179 Commits

Author SHA1 Message Date
MeiMei
98d17585f5 Refactor request (#7814)
* status code

* Test ap-request.ts

4397fc5e70/test/ap-request.ts

* tune
2021-10-16 17:16:24 +09:00
syuilo
fb54b347a0 server: コマンドラインオプション廃止
Resolve #7863
Resolve #6337
2021-10-08 21:24:05 +09:00
MeiMei
ee0ea8724b Update index.ts (#7830) 2021-09-23 22:41:02 +09:00
syuilo
d8e4d8eb91 feat(server): 管理者用アカウント削除API実装
動作確認済み
Resolve #7735
2021-09-22 17:34:48 +09:00
MeiMei
ad9c2e09e5 chore, perf: Reduce redis memory (#7816)
* Reduce redis memory

* CHANGELOG

* a
2021-09-20 21:55:19 +09:00
syuilo
c0d3393461 fix(server): fix #7786 2021-09-18 03:26:36 +09:00
syuilo
249d7c7a0a enhance: Improve account deletion experience 2021-08-21 12:48:50 +09:00
syuilo
edd213e72f enhance(server): Use job queue for account delete (#7668)
* enhance(server): Use job queue for account delete

Fix #5336

* ジョブをひとつに

* remove done call

* clean up

* add User.isDeleted

* コミット忘れ

* Update 1629512953000-user-is-deleted.ts

* show dialog

* lint

* Update 1629512953000-user-is-deleted.ts
2021-08-21 12:41:56 +09:00
MeiMei
8333a5f8ce perf: Tune AP job queue timings (#7635)
* perf: Tune AP job queue timings

* CHANGELOG

* chore: add reference

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-08-20 21:59:03 +09:00
syuilo
aaef4f50e0 fix: mochaが動かないため拡張子なしに戻した 2021-08-19 21:55:45 +09:00
syuilo
d2b5b67b44 refactor: refactoring imports
将来ESMに移行しやすいように
Related: #7658

なんかmochaが起動しなくなってるけど理由不明
すぐ直したい
2021-08-19 18:33:41 +09:00
syuilo
f6ccab9950 Refactoring 2021-07-15 20:45:32 +09:00
MeiMei
ee553726c1 AP Actorの修正 (#7573)
* AP Actorの修正

* Add ActivityPub test

* Fix person

* Test

* ap test

* Revert "Test"

This reverts commit 3c493eff4e89f94fd33f25189ba3bc96ef4366b3.

* Test comment

* fix

* fix

* Update inbox

* indent

* nl

* indent

* TODO

* Fix inbox

* Update test
2021-07-10 23:14:57 +09:00
MeiMei
634f4eeb16 Add queue timeout (#7519) 2021-05-19 16:12:31 +09:00
MeiMei
0965a23c03 Add queue types (#7504) 2021-05-08 18:56:21 +09:00
syuilo
4d341c5918 Refactor (#7394)
* wip

* wip

* wip

* wip

* wip

* Update define.ts

* Update update.ts

* Update user.ts

* wip

* wip

* Update request.ts

* URL

* wip

* wip

* wip

* wip

* Update invite.ts

* Update create.ts
2021-03-24 11:05:37 +09:00
syuilo
0db09532b2 refactor: Use path alias 2021-03-23 17:43:07 +09:00
syuilo
f3e0cedef6 Improve chart performance (#7360)
* wip

* wip

* wip

* wip

* wip

* Update chart.ts

* wip

* Improve server performance

* wip

* wip
2021-03-18 11:17:05 +09:00
syuilo
84b87bcd30 add note 2021-03-18 11:03:38 +09:00
syuilo
7836dfae4f Improve server performance 2021-03-18 10:52:54 +09:00
syuilo
b8a1810960 refactor: resolve #7139 2021-02-13 15:33:38 +09:00
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