summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/DownloadService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* verify URLs in DownloadServiceHazelnoot2025-07-271-0/+4
|
* add more details to StatusErrorsHazelnoot2025-06-061-1/+1
|
* reduce log spam from DownloadServiceHazelnoot2025-06-061-7/+8
|
* suppress large error messages from GotHazelnoot2025-06-061-1/+5
|
* fix backend lint errorsHazelnoot2025-04-021-1/+1
|
* merge upstreamHazelnoot2025-03-251-2/+2
|\
| * fix(backend): ↵おさむのひと2025-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | カスタム絵文字の一括インポートをした時にHTTPプロキシの除外設定が効かないのを修正 (#15431) * pxory * fix * fix CHANGELOG.md * allow localAddress --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * Merge commit from forkrectcoordsystem2024-11-211-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(backend): check target IP before sending HTTP request * fix(backend): allow accessing private IP when testing * Apply suggestions from code review Co-authored-by: anatawa12 <anatawa12@icloud.com> * fix(backend): lint and typecheck * fix(backend): add isLocalAddressAllowed option to getAgentByUrl and send (HttpRequestService) * fix(backend): allow fetchSummaryFromProxy, trueMail to access local addresses --------- Co-authored-by: anatawa12 <anatawa12@icloud.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* | fix(backend): check target IP before sending HTTP requestrectcoordsystem2024-11-201-22/+0
| |
* | Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-1/+1
|\|
| * enhance(frontend): ↵syuilo2024-08-231-1/+1
| | | | | | | | サイズ制限を超過するファイルをアップロードしようとした際にエラーを出すように
* | allow setting separate timeout / max size for imports - fixes #479dakkar2024-06-031-4/+4
|/
* (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
|
* fix: ↵GrapeApple02024-01-141-1/+2
| | | | | | | | | isPrivateIpで検証時にipバージョンが一致するかを確認するように (#12988) * fix: isPrivateIpで検証時にipバージョンが一致するかを確認するように * Update CHANGELOG.md * Update CHANGELOG.md
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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>
* Use promises API (#11351)woxtu2023-07-271-5/+3
|
* refactor(backend): replace private-ip with ipaddr.js (#11041)Kagami Sascha Rosylight2023-06-251-9/+9
| | | | | * refactor(backend): replace private-ip with ipaddr.js * restore ip-cidr
* Fix?(server): ↵tamaina2023-04-151-3/+7
| | | | | | Content-Dispositionのパースでエラーが発生した場合にもダウンロードが完了するように #10626
* enhance(server): ↵tamaina2023-03-041-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | downloadUrlでContent-Dispositionからファイル名を取得 (#10150) * enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 Resolve #10036 Resolve #4750 * untitled * オブジェクトストレージのContent-Dispositionのファイル名の拡張子をContent-Typeに添ったものにする * :v: * tiff * fix filename * add test * /files/でもContent-Disposition * comment * fix test
* Deny UNIX domain socket (#9802)MeiMei2023-02-051-0/+1
| | | | | * Deny UNIX domain socket * got v12ならこれが使える?
* fix(server): node-fetchおよびgotを使う以前の実装に戻すsyuilo2023-01-251-23/+53
| | | | see #9710
* コミット漏れsyuilo2023-01-241-1/+0
|
* refactor(server): ↵syuilo2023-01-241-18/+15
| | | | httpRequestServiceのUndiciFetcher依存をなるべくカプセル化
* perf(backend): Use undici instead of node-fetch and got (#9459)tamaina2023-01-121-58/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement? HttpFetchService * :v: * 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を設定
* enhance: Proxy custom emojis to reduce image size and accelerate the ↵tamaina2022-12-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* refactor: introduce bindThis decorator to bind this automaticalysyuilo2022-12-041-0/+4
|
* fix import typesyuilo2022-09-211-1/+1
|
* testsyuilo2022-09-191-10/+10
|
* refactor(backend): refactor loggersyuilo2022-09-181-2/+4
|
* なんかもうめっちゃ変えたsyuilo2022-09-181-0/+123