summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/WebfingerService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pcleanup dependencies:Hazelnoot2025-06-121-9/+7
| | | | | | | * Consolidate multiple different HTML/XML/RSS libraries to use the Cheerio stack * Remove unused deps * Move dev dependencies to correct section * Pin versions where missing
* reduce, clarify, and normalize more error messagesHazelnoot2025-06-061-1/+2
|
* We don't need the whole Logger class herecuteBoiButt2024-09-061-1/+1
|
* Use proper logging facilities in WebfingerServicecuteBoiButt2024-09-051-1/+7
|
* fix webfinger for instances without a `/host-meta`dakkar2024-08-061-3/+5
| | | | | we were inconsistent with the colons, thanks to usedbunny for noticing!
* use more concise syntax for env var checkingslonkazoid2024-07-141-1/+1
|
* rename fetchHostMeta to fetchWebFingerTemplateFromHostMetaslonkazoid2024-07-141-2/+2
|
* replace useHttp with defaultProtocolslonkazoid2024-07-121-6/+6
|
* i re-read the code several times but oh wellslonkazoid2024-07-121-2/+2
|
* apply fixes from reviewslonkazoid2024-07-121-6/+8
|
* implement fetching host-meta before the webfinger endpointslonkazoid2024-07-091-6/+57
| | | | code ported from iceshrimp: https://iceshrimp.dev/iceshrimp/iceshrimp/src/commit/c3e685a925a89b4abc19684263e87691dd9f0c6d/packages/backend/src/remote/webfinger.ts
* (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
|
* refactor(backend): Remove unused injections (#11462)woxtu2023-08-051-6/+1
| | | | | * Remove unused injections * Remove unused imports
* 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>
* fix: failed to resolve acct URI which points to local Person (#11024)xtex2023-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | * fix: resolving alias for local users (#9199) Signed-off-by: xtex <xtexchooser@duck.com> * style: return type for RemoteUserResolveService#resolveSelf Signed-off-by: xtex <xtexchooser@duck.com> * docs: update CHANGELOG Signed-off-by: xtex <xtexchooser@duck.com> * style: fix typecheck Signed-off-by: xtex <xtexchooser@duck.com> --------- Signed-off-by: xtex <xtexchooser@duck.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: ↵syuilo2023-05-181-2/+5
| | | | カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように
* enhance(dev): ↵tamaina2023-04-291-1/+2
| | | | | | | | | | | | | | | non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように (#10717) * enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように * refactor (use checkHttps) * MISSKEY_WEBFINGER_USE_HTTP * Environment Variable readme * NEVER USE IN PRODUCTION * fix punyHost
* perf(backend): Use undici instead of node-fetch and got (#9459)tamaina2023-01-121-1/+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を設定
* chore: fix import positionsyuilo2022-12-041-1/+1
|
* refactor: introduce bindThis decorator to bind this automaticalysyuilo2022-12-041-0/+3
|
* refactorsyuilo2022-12-041-0/+48