summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/web/UrlPreviewService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(backend): Fix #10786tamaina2023-05-071-2/+2
|
* fix(backend/URLPreviewService): エラーでHTTP 422を出すように (#10339)Kagami Sascha Rosylight2023-03-191-6/+12
| | | | | * fix(backend/URLPreviewService): エラーでHTTP 402を出すように * fix import
* feat(frontend/MkUrlPreview): oEmbedのサポート (#10306)Kagami Sascha Rosylight2023-03-191-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(frontend/MkUrlPreview): oEmbedのサポート * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md * playerとoEmbedの統合 * Update CHANGELOG.md * loading=lazyはここでは不要 * border: 0 * プレビュー直後にautoplayできる機能の復旧 * add test * refactor test * explain about cache * expandPreviewはもう使わない * summaly v4 * update summaly * scrolling=no to fix pixiv --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* fix: Do not use avif (#10301)tamaina2023-03-121-1/+1
| | | | | | | * fix: Do not use avif * fix * fix
* enhance(server): ↵tamaina2023-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | 画像圧縮周り(主にサムネイルの仕様)の変更 (#10287) * DriveService, is-mime-image * static, previewをavifに, アニメーション画像でもthumbnailを生成 * fallback * animated: true * fix * avatarはwebp * revert ?? file.url --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance(server): ↵tamaina2023-02-141-10/+17
| | | | | | | | | | | | | | | | | | | URLプレビュー(summaly)はプロキシを通すように (#9905) * enhance(server): URLプレビュー(summaly)はプロキシを通すように * update summaly * update summaly * 型エラーバスター * basic.html * Delete basic.html --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix(client): validate urls to improve securitysyuilo2023-02-041-0/+8
|
* perf(server): improvement of external mediaProxy (#9787)tamaina2023-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * perf(server): improvement of external mediaProxy * add a comment * :v: * /filesでsharpの処理を行わずリダイレクトする * fix * thumbnail => static * Fix #9788 * add avatar mode * add url * fix * static.webp * remove encodeURIComponent from media proxy path * remove existance check
* perf(backend): Use undici instead of node-fetch and got (#9459)tamaina2023-01-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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を設定
* Fix import related TypeScript errors (#9321)Kagami Sascha Rosylight2022-12-141-1/+1
| | | | | | | * Add missing @types packages * Fix TS1272 type only imports * Fix TS2821 import assertion
* refactor: introduce bindThis decorator to bind this automaticalysyuilo2022-12-041-0/+3
|
* Fastify (#9106)syuilo2022-12-031-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * fix * Update SignupApiService.ts * wip * wip * Update ClientServerService.ts * wip * wip * wip * Update WellKnownServerService.ts * wip * wip * update des * wip * Update ApiServerService.ts * wip * update deps * Update WellKnownServerService.ts * wip * update deps * Update ApiCallService.ts * Update ApiCallService.ts * Update ApiServerService.ts
* fix import typesyuilo2022-09-211-2/+2
|
* testsyuilo2022-09-191-8/+8
|
* refactor(backend): refactor loggersyuilo2022-09-181-2/+4
|
* なんかもうめっちゃ変えたsyuilo2022-09-181-0/+84