154 Commits (342709ecb2da6be94ed5f87389af15d23fbf260f)

Author SHA1 Message Date
ThibG 32ef133fa6 Fix FetchLinkCardServices crashing on a tags without a target (#12159)
5 years ago
ThibG c656cc2191 Fix FetchLinkCardServices crashing on a tags without a target (#12159)
5 years ago
Eugen Rochko 357a2e5564 Add cache for OEmbed endpoints to avoid extra HTTP requests (#12403)
5 years ago
Eugen Rochko d14e74eff5
Add cache for OEmbed endpoints to avoid extra HTTP requests (#12403)
5 years ago
nightpool d4ddfc486a microformat mentions can have an implicit property (#12189)
5 years ago
nightpool 9762fe382c microformat mentions can have an implicit property (#12189)
5 years ago
Eugen Rochko 67713f8b08 Remove HEAD request from fetching link previews (#12028)
5 years ago
Eugen Rochko 9ba40a6bfd
Remove HEAD request from fetching link previews (#12028)
5 years ago
Eugen Rochko 386dc65671 Fix preview card image not being re-fetched even if link is re-posted (#11981)
5 years ago
Eugen Rochko 3ec80c7aec
Fix preview card image not being re-fetched even if link is re-posted (#11981)
5 years ago
Eugen Rochko 6baf5099a6 Refactor fetching of remote resources (#11251)
5 years ago
Eugen Rochko 5d3feed191
Refactor fetching of remote resources (#11251)
5 years ago
Eugen Rochko fbbcbd940d Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247)
5 years ago
Eugen Rochko b851456139
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247)
5 years ago
Daniel Aleksandersen e3dda38c8b Treat meta[property] as a space-separated list (#10604)
5 years ago
Daniel Aleksandersen 10bdd912d6 Treat meta[property] as a space-separated list (#10604)
5 years ago
ThibG f76665a276 Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510)
6 years ago
ThibG e709b8da0d Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510)
6 years ago
ThibG 49889c0b8b Check that twitter:player is valid before using it (#9254)
6 years ago
ThibG 9b89c62d43 Check that twitter:player is valid before using it (#9254)
6 years ago
ThibG cfe92b50bb Fix Pleroma mentions being fetched as preview cards (#9158)
6 years ago
ThibG a03d506626 Fix Pleroma mentions being fetched as preview cards (#9158)
6 years ago
Eugen Rochko cf2ab9c394 Include preview cards in status entity in REST API (#9120)
6 years ago
Eugen Rochko 795f0107d2
Include preview cards in status entity in REST API (#9120)
6 years ago
ThibG 8d76db2714 Do not fetch preview card for mentioned users (#6934)
6 years ago
ThibG 7fee968e9f Do not fetch preview card for mentioned users (#6934)
6 years ago
Eugen Rochko d3105031f8 Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
Eugen Rochko f4d549d300
Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
ThibG 441238b938 Handle relative URLs when fetching OEmbed/OpenGraph cards (#8669)
6 years ago
ThibG bd9e47e9be Handle relative URLs when fetching OEmbed/OpenGraph cards (#8669)
6 years ago
Yamagishi Kazutoshi 1a145c6af1 Skip processing when HEAD method returns 501 (#7730)
6 years ago
Yamagishi Kazutoshi e3fb528d12 Skip processing when HEAD method returns 501 (#7730)
6 years ago
Akihiko Odaki 5dadb6896b Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
6 years ago
Akihiko Odaki 55fd55714a Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
6 years ago
Yamagishi Kazutoshi 6092325a48 Rescue Mastodon::LengthValidationError in FetchLinkCardService (#7424)
6 years ago
Yamagishi Kazutoshi d2ee48977c Rescue Mastodon::LengthValidationError in FetchLinkCardService (#7424)
6 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
6 years ago
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
6 years ago
Akihiko Odaki acece7a2e6 Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki 40e5d2303b Validate HTTP response length while receiving (#6891)
7 years ago
Akihiko Odaki 11c19f6cc9 Close http connection in perform method of Request class (#6889)
7 years ago
Akihiko Odaki 54b273bf99 Close http connection in perform method of Request class (#6889)
7 years ago
Eugen Rochko 0357e93a91 Fix #5173: Click card to embed external content (#6471)
7 years ago
Eugen Rochko f7765acf9d
Fix #5173: Click card to embed external content (#6471)
7 years ago
abcang b209de40f4 Fix saving of oEmbed image (#6409)
7 years ago
abcang 7e5c433dfc Fix saving of oEmbed image (#6409)
7 years ago
Eugen Rochko 8c04f9417f Fix redundant HTTP request in FetchLinkCardService (#6002)
7 years ago
Eugen Rochko a8deb6648b
Fix redundant HTTP request in FetchLinkCardService (#6002)
7 years ago
Akihiko Odaki d67575edea Store preview image for embedded photo in preview cards (#5986)
7 years ago
Akihiko Odaki f9f6918148 Store preview image for embedded photo in preview cards (#5986)
7 years ago
Renato "Lond" Cerqueira 15bc3398f7 Return false if object does not respond to url (#5988)
7 years ago
Renato "Lond" Cerqueira 19257d91bf Return false if object does not respond to url (#5988)
7 years ago
Yamagishi Kazutoshi f54ca825c5 Ignore HEAD method if does not support (#5949)
7 years ago
Yamagishi Kazutoshi e7d55df38d Ignore HEAD method if does not support (#5949)
7 years ago
Akihiko Odaki ce3989fc6a Add embed_url to preview cards (#5775)
7 years ago
Akihiko Odaki c083816c24 Add embed_url to preview cards (#5775)
7 years ago
abcang 4e409e629d Fixed duplicating URL of photo type of oEmbed (#5763)
7 years ago
abcang 3dce6cbbd7 Fixed duplicating URL of photo type of oEmbed (#5763)
7 years ago
unarist 8b2ee20dfa Don't capture scheme-less URLs in the status (#5435)
7 years ago
unarist 3bc8924940 Don't capture scheme-less URLs in the status (#5435)
7 years ago
unarist dead33f113 Fix some failure cases on FetchLinkCardService (#5347)
7 years ago
unarist 35ec1c91e3 Fix some failure cases on FetchLinkCardService (#5347)
7 years ago
unarist 4acb1c73dd Improve error handling on LinkCrawlWorker (#5250)
7 years ago
unarist 5c8ca024ef Improve error handling on LinkCrawlWorker (#5250)
7 years ago
ふぁぼ原 c71727ca55 Enable to recognize most kinds of characters as URL paths (#4941)
7 years ago
ふぁぼ原 3816943e6b Enable to recognize most kinds of characters as URL paths (#4941)
7 years ago
Eugen Rochko 41d6ada41f Support OpenGraph video embeds (#4897)
7 years ago
Eugen Rochko 596dab06e9 Support OpenGraph video embeds (#4897)
7 years ago
Eugen Rochko e9e271878e Make PreviewCard records reuseable between statuses (#4642)
7 years ago
Eugen Rochko 7dc5035031 Make PreviewCard records reuseable between statuses (#4642)
7 years ago
Eugen Rochko c5fa4aba91 HTTP signatures (#4146)
7 years ago
Eugen Rochko 1618b68bfa HTTP signatures (#4146)
7 years ago
nullkal 07024f56df Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)
7 years ago
nullkal 007ab330e6 Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)
7 years ago
abcang 8041c97d52 Fix Nokogiri::HTML at FetchLinkCardService (#4072)
7 years ago
abcang 5e6acf9601 Fix Nokogiri::HTML at FetchLinkCardService (#4072)
7 years ago
abcang 43d97dea48 Rescue exceptions caused by FetchLinkCardService (#4045)
7 years ago
abcang a6d02cff36 Rescue exceptions caused by FetchLinkCardService (#4045)
7 years ago
ThibG 3af5774a71 Fix an error when TagManager.local_url? is called with a bad URI (#3701)
7 years ago
ThibG f8fe394e7a Fix an error when TagManager.local_url? is called with a bad URI (#3701)
7 years ago
Yamagishi Kazutoshi bd1f7d0b9c Fetch remote image using http.rb (#3114)
7 years ago
Yamagishi Kazutoshi 79ef8b3653 Fetch remote image using http.rb (#3114)
7 years ago
Eugen Rochko 93e9f8b3ed Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)
7 years ago
Eugen Rochko 1efda1c453 Fix #2572 - Resolve preview cards for remote statuses as well as local ones (#3088)
7 years ago
Eugen Rochko ee7719d540 Fix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)
7 years ago
Eugen Rochko a231f915a0 Fix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)
7 years ago
Yamagishi Kazutoshi 93ec05f976 Decode IDNA in PreviewCard (#2781)
7 years ago
Yamagishi Kazutoshi e95983f5df Decode IDNA in PreviewCard (#2781)
7 years ago
Eugen Rochko 4a7dc4fadc OEmbed support for PreviewCard (#2337)
8 years ago
Eugen Rochko 88725d6ce8 OEmbed support for PreviewCard (#2337)
8 years ago
Eugen 87f7a3922c Punycode URI normalization (#2370)
8 years ago
Eugen 17c591ffba Punycode URI normalization (#2370)
8 years ago
Yamagishi Kazutoshi 45bee6a000 Show multibyte URI preview card (#2363)
8 years ago
Yamagishi Kazutoshi d670f72830 Show multibyte URI preview card (#2363)
8 years ago
ik-fib 3d7666f63c Add Mastodon version to user agent (#2253)
8 years ago
ik-fib 47a3036ea6 Add Mastodon version to user agent (#2253)
8 years ago
ik-fib 1b8613bc7a Add "Mastodon" to user agent (#2073)
8 years ago
ik-fib 23ecc681c4 Add "Mastodon" to user agent (#2073)
8 years ago
Eugen Rochko 27ad4ce9e8 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
8 years ago
Eugen Rochko 450ad43180 Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
8 years ago