66 Commits (91c4e3fbeaeb3ee2647f2defb32b2a02a22c0b11)

Author SHA1 Message Date
Eugen Rochko f1707c6d50 Refactor how Redis locks are created (#18400)
3 years ago
Eugen Rochko 553889bc7c Fix single Redis connection being used across all threads (#18135)
3 years ago
Eugen Rochko 5a7219e532 Refactor formatter (#17828)
3 years ago
luzpaz b97e7364f3 Fix various typos (#17621)
3 years ago
Eugen Rochko ad73becf3e Add trending links (#16917)
3 years ago
Eugen Rochko 4dc87ffc06 Add support for structured data and more OpenGraph tags to link cards (#16938)
3 years ago
Claire 45903ae80a Fix some RedisLocks auto-releasing too fast (#16276)
4 years ago
Claire 53d99e7426 Fix URL scanning in note length validator and preview card fetching (#15827)
4 years ago
Claire a33f8f787a Update twitter-text from 1.14 to 3.1.0 and fix toot character counting (#15382)
4 years ago
Takeshi Umeda 3830dbc6fc Fix first return value of FetchLinkCardService.html method (#15630)
4 years ago
luigi 944b059f50 Optimize map { ... }.compact calls (#15513)
4 years ago
dependabot[bot] 61b768572e Bump rubocop from 0.86.0 to 0.88.0 (#14412)
4 years ago
Eugen Rochko a0c1bbf583 Change User-Agent of link preview fetching service to include "Bot" (#14248)
4 years ago
ThibG fc94f3bd12 Fix link crawler not specifying accepted content-type (#12646)
5 years ago
ThibG 32ef133fa6 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
nightpool d4ddfc486a 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 386dc65671 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 fbbcbd940d 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)
6 years ago
ThibG f76665a276 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 cfe92b50bb 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
ThibG 8d76db2714 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
ThibG 441238b938 Handle relative URLs when fetching OEmbed/OpenGraph cards (#8669)
6 years ago
Yamagishi Kazutoshi 1a145c6af1 Skip processing when HEAD method returns 501 (#7730)
7 years ago
Akihiko Odaki 5dadb6896b Raise Mastodon::RaceConditionError if Redis lock failed (#7511)
7 years ago
Yamagishi Kazutoshi 6092325a48 Rescue Mastodon::LengthValidationError in FetchLinkCardService (#7424)
7 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
7 years ago
Akihiko Odaki acece7a2e6 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
Eugen Rochko 0357e93a91 Fix #5173: Click card to embed external content (#6471)
7 years ago
abcang b209de40f4 Fix saving of oEmbed image (#6409)
7 years ago
Eugen Rochko 8c04f9417f 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
Renato "Lond" Cerqueira 15bc3398f7 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
Akihiko Odaki ce3989fc6a Add embed_url to preview cards (#5775)
7 years ago
abcang 4e409e629d 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 dead33f113 Fix some failure cases on FetchLinkCardService (#5347)
7 years ago
unarist 4acb1c73dd Improve error handling on LinkCrawlWorker (#5250)
7 years ago
ふぁぼ原 c71727ca55 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 e9e271878e Make PreviewCard records reuseable between statuses (#4642)
7 years ago
Eugen Rochko c5fa4aba91 HTTP signatures (#4146)
7 years ago