Commit Graph

33 Commits (b92b0e45b2f67c44a7acc7fa49e145def8f66281)

Author SHA1 Message Date
Christian Schmidt 0518613dd7
LinkDetailsExtractor adjustments (#31357) 1 month ago
Christian Schmidt 7385016837
`rel="me"` check should be case-insenstive (#32238) 1 month ago
David Roetzel ab763c493f
Ignore `undefined` as canonical url (#31882) 4 months ago
Mike Dalessio a0ea2fa3b0
Change fetch link card service to parse as HTML5 (#31814) 4 months ago
Claire 8a5b57f668
Revert "Support JSON-LD named graph (#31288)" (#31355) 5 months ago
Christian Schmidt e9e63ed203
Support JSON-LD named graph (#31288) 5 months ago
Adam Niedzielski fbf95216c5
Fix LinkCrawlWorker NoMethodError: undefined method `[]' for nil (#31144) 5 months ago
David Roetzel 2ea9336b68
Do not pass unknown encoding names to nokogiri. (#30987) 6 months ago
David Roetzel fa8e972722
Fix author names as arrays in linked data. (#30957) 6 months ago
David Roetzel 97eddb5906
Fix details extraction when no title exists. (#30933) 6 months ago
David Roetzel 016c1e4e78
Improve handling of encoding problems when creating link previews (#30929) 6 months ago
David Roetzel 2cab1c7b09
Improve encoding detection for link cards (#30780) 6 months ago
Eugen Rochko 128987eded
Add support for `fediverse:creator` OpenGraph tag (#30398) 7 months ago
Tim Rogers 2f73e486b7
Switched HTMLEntities to the expanded flavor which supports a larger … (#30173) 8 months ago
Tim Rogers b128474625
Fixed rendering of excess whitespace in status card titles (#30017) 8 months ago
Claire 7593465c23
Fix error when processing link preview with an array as `inLanguage` (#28252) 1 year ago
Claire 299aa71c8f
Fix handling of `inLanguage` attribute in preview card processing (#27423) 1 year ago
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails (#26184) 1 year ago
Eugen Rochko 7bd8ef355c
Add `published_at` attribute to preview cards (#26153) 1 year ago
Claire 2dfa8f797a
Fix LinkCrawlWorker crashing on `null` `created_at` (#26151) 1 year ago
Eugen Rochko 6b2952d1dd
Change design of link previews in web UI (#26136) 1 year ago
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules (#23690)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 7bb8030cc1
Change OpenGraph-based embeds to allow fullscreen (#25058) 2 years ago
Nick Schonning 21bf326356
Autofix Rubocop Rails/Pluck (#23730) 2 years ago
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin (#23703) 2 years ago
Nick Schonning ed570050c6
Autofix Rails/EagerEvaluationLogMessage (#23429)
* Autofix Rails/EagerEvaluationLogMessage

* Update spec for debug block syntax
2 years ago
Eugen Rochko b58db8f12e
Add workaround for YouTube Shorts links (#17869)
* Add workaround for YouTube Shorts links

* Update link_details_extractor_spec.rb
3 years ago
Eugen Rochko b6d7726ecb
Remove language detection through cld3 (#17478)
* Remove language detection through cld3

* Update app/helpers/languages_helper.rb

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
3 years ago
Eugen Rochko f1f6ddd536
Fix structured data parsing from links choking on bad data (#17403)
* Fix structured data parsing from links choking on bad data

- Fix og:url meta tag being prioritized over canonical link tag
- Fix structured data parsing choking on commented-out CDATA declarations
- Fix HTML entities in title, description, provider_name, author_name
- Change structured data parsing to attempt every JSON-LD script tag

* Remove unnecessary slash escapes from CDATA regex pattern
3 years ago
Eugen Rochko 6e50134a42
Add trending links (#16917)
* Add trending links

* Add overriding specific links trendability

* Add link type to preview cards and only trend articles

Change trends review notifications from being sent every 5 minutes to being sent every 2 hours

Change threshold from 5 unique accounts to 15 unique accounts

* Fix tests
3 years ago
Eugen Rochko 5d7c852283
Fix no link previews being generated for pages with invalid structured data (#16979)
Fix #16955
3 years ago
Claire ef8deb0878
Fix OpenGraph/LinkedData embeds having incorrectly-generated iframes (#16978) 3 years ago
Eugen Rochko 39cdf61ab7
Add support for structured data and more OpenGraph tags to link cards (#16938)
Save preview cards under their canonical URL

Increase max redirects to follow from 2 to 3
3 years ago