syuilo
d4fb201d05
fix(server): node-fetchおよびgotを使う以前の実装に戻す
...
see #9710
2023-01-25 12:00:04 +09:00
syuilo
7e89e70934
enhance(server): separate job queue process ( #9662 )
...
* enhance(server): separate job queue process
* add commands for build with swc
2023-01-21 14:09:01 +09:00
syuilo
76c049522e
enhance: ユーザーリストおよびユーザーリスト内のユーザーの作成可能数を設定可能に
2023-01-14 17:38:16 +09:00
tamaina
303519a1bd
enhance: Judge instance block by endsWith ( #9263 )
...
* TypeScriptでendsWith
* fix
* SQL?
* バ〜カアホ
* Update packages/backend/src/core/UtilityService.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* add comment
* add description
* Update packages/backend/src/core/UtilityService.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Update packages/backend/src/core/chart/charts/federation.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* remove comment
* fix
* fix?
* add changelog
* ILIKE, ARRAY
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-13 18:21:07 +09:00
tamaina
978a9bbb3b
perf(backend): Use undici instead of node-fetch and got ( #9459 )
...
* Implement? HttpFetchService
* ✌️
* remove node-fetch
* fix
* refactor
* fix
* gateway timeout
* UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない)
* fix
* add logger and fix url preview
* fix ip check
* enhance logger and error handling
* fix
* fix
* clean up
* Use custom fetcher for ApRequest / ApResolver
* bypassProxyはproxyBypassHostsに判断を委譲するように
* set maxRedirections (default 3, ApRequest/ApResolver: 0)
* fix comment
* handle error s3 upload
* add debug message
* no return await
* Revert "no return await"
This reverts commit b5b0dc58a342393d260492e3a6f58304372f53b2.
* reduce maxSockets
* apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger
* Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger"
This reverts commit 997243915c8e1f8472da64f607f88c36cb1d5cb4.
* add logger
* fix
* change logger name
* safe
* デフォルトでUser-Agentを設定
2023-01-12 21:03:02 +09:00
syuilo
db1ca28de3
clean up
2023-01-03 14:27:18 +09:00
syuilo
4cc71d2443
✌️
2023-01-03 09:32:36 +09:00
syuilo
4d0859ce7f
drop latestStatus of instance
2023-01-03 09:03:04 +09:00
syuilo
c8bd139713
drop lastCommunicatedAt of instance
2023-01-03 09:00:42 +09:00
syuilo
7093573f0c
drop latestRequestSentAt of instance
2023-01-03 08:48:00 +09:00
syuilo
969e9df889
feat: add per user pv chart
2023-01-01 17:45:49 +09:00
syuilo
e414737179
feat: make possible to export favorited notes
...
#9331
2023-01-01 16:53:10 +09:00
syuilo
3e81913b6a
feat: introduce retention-rate aggregation
2022-12-25 09:09:46 +09:00
syuilo
a9a245b461
enhance(server): delete outdated notes of antenna regularly to improve db performance
2022-12-22 08:32:01 +09:00
syuilo
ad4d8b07d3
enhance(server): delete outdated hard-mutes regularly to improve db performance
2022-12-22 08:29:18 +09:00
syuilo
1fd9ba8dcb
enhance(server): delete outdated notifications regularly to improve db performance
2022-12-22 08:17:13 +09:00
syuilo
bbb49457f9
refactor: introduce bindThis decorator to bind this automaticaly
2022-12-04 15:03:09 +09:00
syuilo
22ccb0fa71
refactor
2022-12-04 10:16:03 +09:00
heka
746fac0dfe
fix typo on CleanRemoteFilesProcessorService ( #9171 )
2022-11-14 06:53:50 +09:00
syuilo
8935eaec3b
Update QueueProcessorService.ts
2022-11-11 16:55:16 +09:00
syuilo
fd5976f378
fix type
2022-09-24 17:07:56 +09:00
syuilo
dabe5bf7e9
fix type errors
2022-09-24 14:45:44 +09:00
syuilo
417f52359d
fixes
2022-09-24 06:45:44 +09:00
syuilo
174a8b1b3e
fixes
2022-09-23 06:21:31 +09:00
syuilo
01d4d55e78
fix import type
2022-09-21 05:33:11 +09:00
syuilo
a2eac9fff6
test
2022-09-19 03:11:50 +09:00
syuilo
6c5a42e745
fix queue bug
2022-09-19 03:00:25 +09:00
syuilo
dd35f2cce6
refactor(backend): refactor logger
2022-09-18 23:07:41 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた
2022-09-18 03:27:08 +09:00
yzhe819
9107de63b4
chore: fix lint errors ( #8981 )
2022-07-10 19:47:29 +09:00
syuilo
eccc90c843
feat: Log user ips ( #8872 )
...
* wip
* store ip and headers
* Update admin-file.vue
* require admin for view ip/headers
* IP (recent) 消した
* admin必須
* opt in
* clean ips periodically
* respect logging setting in drive/files/create
2022-07-02 15:12:11 +09:00
MeiMei
6f8e3fe366
enhance: Redisをioredisに統一してIPv6サポート ( #8869 )
...
* Use ioredis, Supports IPv6 host
https://github.com/misskey-dev/misskey/issues/8862
* Fix import
* order
* a
* i
* fix
* flushdb
* family
* CHANGELOG
* redis_version
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-24 19:22:19 +09:00
Johann150
c56e45ecef
fix: always remove completed tasks ( #8771 )
2022-05-31 17:54:02 +09:00
Johann150
ebc2566130
fix: add missing import
...
fix #8756
2022-05-29 14:33:42 +02:00
Johann150
9c80403072
use http-signature module that supports hs2019 ( #8635 )
2022-05-26 09:12:17 +09:00
Johann150
e27c6abaea
refactor: temporary files ( #8713 )
...
* simplify temporary files for thumbnails
Because only a single file will be written to the directory, creating a
separate directory seems unnecessary. If only a temporary file is created,
the code from `createTemp` can be reused here as well.
* refactor: deduplicate code for temporary files/directories
To follow the DRY principle, the same code should not be duplicated
across different files. Instead an already existing function is used.
Because temporary directories are also create in multiple locations,
a function for this is also newly added to reduce duplication.
* fix: clean up identicon temp files
The temporary files for identicons are not reused and can be deleted
after they are fully read. This condition is met when the stream is closed
and so the file can be cleaned up using the events API of the stream.
* fix: ensure cleanup is called when download fails
* fix: ensure cleanup is called in error conditions
This covers import/export queue jobs and is mostly just wrapping all
code in a try...finally statement where the finally runs the cleanup.
* fix: use correct type instead of `any`
2022-05-25 16:50:22 +09:00
syuilo
ec3be7e4d3
enhance(webhook): add userId to payload
2022-04-03 22:42:01 +09:00
syuilo
f8e6f3cc73
improve webhook
2022-04-03 22:36:30 +09:00
syuilo
8e5f2690f2
feat: Webhook ( #8457 )
...
* feat: introduce webhook
* wip
* wip
* wip
* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
syuilo
1c67c26bd8
refactor: migrate to typeorm 3.0 ( #8443 )
...
* wip
* wip
* wip
* Update following.ts
* wip
* wip
* wip
* Update resolve-user.ts
* maxQueryExecutionTime
* wip
* wip
2022-03-26 15:34:00 +09:00
syuilo
ac8c66f5ab
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
544b5ba838
perf(server): reduce memory usage of redis
2022-03-19 19:34:04 +09:00
syuilo
caadc0978a
feat: introduce bull dashboard
2022-03-19 19:08:55 +09:00
syuilo
2442592ef1
feat: アンケート終了通知
...
Resolve #4664
2022-03-06 16:06:27 +09:00
syuilo
e68278f93e
feat: 時限ミュート
...
#7677
2022-03-04 20:23:53 +09:00
syuilo
c8070fc544
fix esm
2022-03-01 01:36:50 +09:00
syuilo
2e89b21544
fix esm
2022-03-01 01:34:53 +09:00
syuilo
d071d18dd7
refactor: Use ESM ( #8358 )
...
* wip
* wip
* fix
* clean up
* Update tsconfig.json
* Update activitypub.ts
* wip
2022-02-27 11:07:39 +09:00
syuilo
b6db709e02
refacator: fix typw
2022-02-19 14:53:33 +09:00
syuilo
0afebcfd9e
enhance: improve federation chart
2022-02-10 17:45:12 +09:00