Commit graph

175 commits

Author SHA1 Message Date
MeiMei
388de9dc96
chore, perf: Reduce redis memory (#7816)
* Reduce redis memory

* CHANGELOG

* a
2021-09-20 21:55:19 +09:00
syuilo
4ea7b2dd63 fix(server): fix #7786 2021-09-18 03:26:36 +09:00
syuilo
a53e1e4ec3 enhance: Improve account deletion experience 2021-08-21 12:48:50 +09:00
syuilo
fd1ef4a62d
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
bb2db1cf76
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
42cc93dd0f fix: mochaが動かないため拡張子なしに戻した 2021-08-19 21:55:45 +09:00
syuilo
b9cb6d1c10 refactor: refactoring imports
将来ESMに移行しやすいように
Related: #7658

なんかmochaが起動しなくなってるけど理由不明
すぐ直したい
2021-08-19 18:33:41 +09:00
syuilo
dc69490e3a Refactoring 2021-07-15 20:45:32 +09:00
MeiMei
1772af9583
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
4b33c42da7
Add queue timeout (#7519) 2021-05-19 16:12:31 +09:00
MeiMei
591a5c277c
Add queue types (#7504) 2021-05-08 18:56:21 +09:00
syuilo
ce340aba7a
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
c74fe3c6e2 refactor: Use path alias 2021-03-23 17:43:07 +09:00
syuilo
4f249159d3
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
0d19c2d42e add note 2021-03-18 11:03:38 +09:00
syuilo
8aa089178a Improve server performance 2021-03-18 10:52:54 +09:00
syuilo
91172654e4 refactor: resolve #7139 2021-02-13 15:33:38 +09:00
syuilo
f1ef85b636
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
0a4499fd03
Ignore Activities from deleted actors on both ends Fix #6553 (#6554) 2020-07-17 22:47:22 +09:00
MeiMei
fd2573c068
署名検証失敗はリトライしないように (#6437) 2020-06-03 09:12:54 +09:00
MeiMei
c5dd9439d5
Apply blocked instance to LD-Signature host (#6355) 2020-05-15 20:50:28 +09:00
MeiMei
145389768d
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
99e34e9ee2
Fix inbox bug (#6334) 2020-05-09 17:08:54 +09:00
MeiMei
070f1f3c6e
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
67496de411
AP inboxの最小リトライ間隔 1秒→1分 (#5818) 2020-02-03 21:05:38 +09:00
syuilo
96648b651e isMarkedAsClosed --> isSuspended 2020-01-30 05:56:14 +09:00
syuilo
f6154dc0af
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
84178ba38a APの流量制限とリトライ期間の変更 (#5734)
* AP rate limit

* AP Job attempts

* fix
2020-01-20 14:14:09 +09:00
MeiMei
75cb7f8b36 Fix #5728 (#5731) 2020-01-20 01:52:35 +09:00
MeiMei
2a9de356db Fix #5611 (#5612) 2019-12-12 00:46:10 +09:00
MeiMei
873444c3c6 APの統計とログの修正と強化 (#5585)
* Fix #5580

* Improve AP logging
2019-11-07 00:02:18 +09:00
syuilo
77c9b90e6d
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
6a0affcec1 Tune worker/job counts (#5346)
* デフォルトのワーカー数を1に

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

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

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

* こうかな
2019-04-18 00:53:00 +09:00
Acid Chicken (硫酸鶏)
054220db70 リファクタリング (#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
42248a306a
Better error handling 2019-04-14 11:53:47 +09:00
syuilo
9c3613e96d
Improve error handling 2019-04-14 02:19:59 +09:00
syuilo
ae16b45c11
Fix bug 2019-04-13 16:54:21 +09:00
syuilo
987168b863
strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
MeiMei
2a7e3b9c51 Fix: AP actor Service のサポートが不完全 (v11) (#4662) 2019-04-11 03:09:12 +09:00
syuilo
236d72685d
More puny 2019-04-10 00:59:41 +09:00
syuilo
33a9783ae5
ドメインは常にPunycodeで保存するように 2019-04-09 23:59:32 +09:00