Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する ( #11348 )
...
* chore: Add the SPDX information to each file
Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.
* tweak format
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
woxtu
cb0fa9a8ab
Use promises API ( #11351 )
2023-07-27 09:04:19 +09:00
Kagami Sascha Rosylight
a2c0573f84
refactor(backend): replace private-ip with ipaddr.js ( #11041 )
...
* refactor(backend): replace private-ip with ipaddr.js
* restore ip-cidr
2023-06-25 06:35:09 +09:00
tamaina
38fdc73d01
Fix?(server): Content-Dispositionのパースでエラーが発生した場合にもダウンロードが完了するように
...
#10626
2023-04-15 11:19:00 +00:00
tamaina
2d551a8598
enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 ( #10150 )
...
* enhance(server): downloadUrlでContent-Dispositionからファイル名を取得
Resolve #10036
Resolve #4750
* untitled
* オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする
* ✌️
* tiff
* fix filename
* add test
* /files/でもContent-Disposition
* comment
* fix test
2023-03-04 16:51:07 +09:00
MeiMei
505ecf6c1f
Deny UNIX domain socket ( #9802 )
...
* Deny UNIX domain socket
* got v12ならこれが使える?
2023-02-05 13:51:59 +09:00
syuilo
d4fb201d05
fix(server): node-fetchおよびgotを使う以前の実装に戻す
...
see #9710
2023-01-25 12:00:04 +09:00
syuilo
869854eae7
コミット漏れ
2023-01-24 08:32:17 +09:00
syuilo
238f923b41
refactor(server): httpRequestServiceのUndiciFetcher依存をなるべくカプセル化
2023-01-24 08:31:02 +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 b5b0dc58a3
.
* reduce maxSockets
* apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger
* Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger"
This reverts commit 997243915c
.
* add logger
* fix
* change logger name
* safe
* デフォルトでUser-Agentを設定
2023-01-12 21:03:02 +09:00
tamaina
8b46edeccf
enhance: Proxy custom emojis to reduce image size and accelerate the frontend ( #9431 )
...
* fix(server): /emoji to accept `@.` host expression
* fix(client): use MkEmoji for custom emoji in MkEmojiPicker
* change convertToWebp
* nanka iroiro
* remove
* fix
* nearLosslessは労多くして益少なしなのでやめる
* do not cleanup tmp for development
* update sharp.js to 0.31.3
* mixed: true
* fix MkAutocomplete of 912791b3ab
* clean up
* https://github.com/misskey-dev/misskey/pull/9431#discussion_r1059215943
2022-12-30 12:00:50 +09:00
syuilo
bbb49457f9
refactor: introduce bindThis decorator to bind this automaticaly
2022-12-04 15:03:09 +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
dd35f2cce6
refactor(backend): refactor logger
2022-09-18 23:07:41 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた
2022-09-18 03:27:08 +09:00