summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/web/UrlPreviewService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)stableFreya Murphy24 hours1-1/+1
|
* set X-Robots-Tag to disable indexing API endpointsHazelnoot2025-06-131-0/+4
|
* check that detected AP object is actually a note before recording it in ↵Hazelnoot2025-06-071-2/+3
| | | | UrlPreviewService
* cache alternate URLs in UrlPreviewServiceHazelnoot2025-06-041-1/+17
|
* redirect to exclude hash from preview URLHazelnoot2025-06-041-1/+13
|
* check input URL scheme before continuingHazelnoot2025-06-041-0/+7
|
* check if previews are disabled before anything elseHazelnoot2025-06-041-10/+10
|
* some requested changes to linkAttribution.piuvas2025-05-271-21/+11
|
* requested changes.piuvas2025-05-271-10/+8
|
* add missing semicolons.piuvas2025-05-271-3/+3
|
* small fixes.piuvas2025-05-261-5/+1
|
* initial link attributions work.piuvas2025-05-261-1/+49
|
* factor our cache logic into a separate methodHazelnoot2025-05-191-27/+37
|
* remove preview ActivityPub flag if we encounter a permanent (non-retryable) ↵Hazelnoot2025-05-191-13/+37
| | | | error while fetching the note
* add rate limit for URL previewHazelnoot2025-05-191-11/+61
|
* make sure that the "fetch linked note" button actually remembers that the ↵Hazelnoot2025-05-191-32/+146
| | | | note is fetched
* fix return type of fetchSummary and fetchSummaryFromProxyHazelnoot2025-05-081-2/+2
|
* add same-authority check between fetched note and summary urlHazelnoot2025-05-081-1/+1
|
* avoid fetching notes twice in UrlPreviewServiceHazelnoot2025-05-081-9/+14
|
* check summary.haveNoteLocally after setting summary.activityPub to improve ↵Hazelnoot2025-05-081-14/+11
| | | | support for Akkoma
* softer URL preview validation: remove unsupported URLs instead of rejecting ↵Hazelnoot2025-05-081-4/+8
| | | | the whole preview
* validate more URLs in UrlPreviewService.tsHazelnoot2025-05-081-8/+37
|
* await cache update to avoid hammering redis in UrlPreviewService.tsHazelnoot2025-05-081-1/+2
|
* reduce caching for failed previewsHazelnoot2025-05-081-1/+1
|
* reduce log spam from UrlPreviewService.tsHazelnoot2025-05-081-7/+2
|
* match preview cache duration for HTTP and RedisHazelnoot2025-05-081-4/+4
|
* add version specifier to URL preview cacheHazelnoot2025-05-081-6/+9
|
* don't proxy local URLsHazelnoot2025-05-081-6/+10
|
* allow summaly previews to redirectHazelnoot2025-05-081-3/+15
|
* infer ActivityPub links from signed GETHazelnoot2025-05-081-2/+17
|
* infer ActivityPub links from local DBHazelnoot2025-05-081-0/+39
|
* fix eslint warning in UrlPreviewService.tsHazelnoot2025-05-081-1/+1
|
* extract LocalSummalyResult typeHazelnoot2025-05-081-12/+16
|
* set summary.haveNoteLocally before caching summaryHazelnoot2025-05-081-3/+3
|
* Merge branch 'develop' into merge/2025-03-24dakkar2025-04-281-6/+4
|\
| * Merge branch 'stable' into merge-stable-into-developJulia Johannesen2025-04-271-8/+6
|/|
| * Update summalyJulia Johannesen2025-04-271-2/+2
| |
| * Security fixesJulia Johannesen2025-04-271-6/+4
| | | | | | | | Co-Authored-By: dakkar <dakkar@thenautilus.net>
* | fetch linked notes manually, unless we have them in DB - fixes 1006dakkar2025-03-151-2/+12
|/
* don't generate URL previews for blocked domainsHazelnoot2024-11-201-0/+14
|
* verify that preview URL is validHazelnoot2024-11-201-1/+1
|
* fix lint errors in UrlPreviewServiceHazelnoot2024-11-201-3/+3
|
* fix(backend): allow fetchSummaryFromProxy, trueMail to access local addressesrectcoordsystem2024-11-201-1/+1
|
* Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-9/+8
|\
| * refactor/perf(backend): provide metadata statically (#14601)syuilo2024-09-221-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commit a27d4be764b78c1b5a9eac685e261fee49331d89. * Revert "Update UtilityService.ts" This reverts commit e5fd9e004c482cf099252201c0c1aa888e001430. * vuwa- * Revert "vuwa-" This reverts commit 0c3bd12472b4b9938cdff2d6f131e6800bc3724c. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
* | tune cache lifetimesHazel K2024-08-031-2/+2
| |
* | pass all the options to the cache constructordakkar2024-06-301-0/+1
| |
* | cache URL previews on the serverdakkar2024-06-301-2/+26
|/ | | | | | | | we already tell browsers to cache the preview for 7 days, but each browser will ask the server, and the server will talk to the network, hammering the poor site that got mentioned on fedi let's instead cache the preview on the server!
* fix: URLプレビューの動作改善+動作設定を可能にする (#13579)おさむのひと2024-03-211-15/+52
| | | | | | | | | | | | | | | | | | | | | | | * wip * support new version * URLプレビュー無効化時、フロント側も非表示にしてリクエストをしないようにする * fix lint * fix lint * tweak preview request error handles * fix: CHANGELOG.md * fix * fix --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
* (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | Fix #13290