13 Commits (ff168ef2024626f37fa776fde5739dcd58ecb9f2)

Author SHA1 Message Date
Claire ff168ef202
Fix most rubocop issues (#2165) 1 year ago
Claire 3a6451c867
Add support for incoming rich text (#23913) 1 year ago
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules (#23679) 1 year ago
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin (#23703) 1 year ago
Claire 15b88a83ab
Fix sanitizer parsing link text as HTML when stripping unsupported links (#22558) 1 year ago
Claire f2b2614d0a Fix link sanitization for outgoing text/html and text/markdown toots 2 years ago
Claire 61cefbebf7 Add advanced text formatting back into glitch-soc 2 years ago
Claire a4dcaef53b
Prepare Mastodon for zeitwerk autoloader (#15917) 3 years ago
luigi eb51e43fb4
Optimize some regex matching (#15528) 3 years ago
Josh Leeb-du Toit 0c24f4dce2
Add support for Gemini urls (#15013) 4 years ago
Thibaut Girka 39a0622de7 Add support for li attribute to li element 4 years ago
Thibaut Girka f186e0c91c Add support for “start” and “reversed” attributes to ol element 4 years ago
Ben Lubar ead09f5ddc
Fix exception when trying to serialize posts with <a> tags in them without hrefs (#1334) 4 years ago
Thibaut Girka 02f1c04fab Make sanitizer *not* add no-referrer etc. in local markdown toots if the link is “safe” 4 years ago
Thibaut Girka 2c510ee00a Fix glitch-soc marking every link in toots as a tag 4 years ago
Eugen Rochko b1349342d2
Fix rendering `<a>` without `href` when scheme unsupported (#13040) 4 years ago
ThibG a8e46cf7a1 Add support for magnet: URIs (#12905) 4 years ago
ThibG ea436b355b Add support for linking XMPP URIs in toots (#12709) 4 years ago
BSKY fccf83e1f2 Add noopener and/or noreferrer (#12202) 5 years ago
Haelwenn (lanodan) Monnier 317fa43d9a Add support for <sup> formatting element 5 years ago
ThibG fda437a020 Fix sanitizing lists contents (#11354) 5 years ago
Eugen Rochko 103a9f4466
Fix sanitizer making block level elements unreadable (#10836) 5 years ago
Thibaut Girka 07d4ecfe5e Truncate long URLs while providing alt text for inline images 5 years ago
Thibaut Girka 18b77224d3 Translate incoming remote img tags by a link 5 years ago
Thibaut Girka 7c609bdab9 Allow rel=tag in status text 5 years ago
Thibaut Girka 3e095cab83 Add support for missing formatting tags 5 years ago
Thibaut Girka 27e8354914 Add support for lists in statuses 5 years ago
Thibaut Girka 2e3640ecbb Accept richer text from remote statuses 5 years ago
Eugen Rochko 8f64b17d98 Whitelist dat/ipfs/gopher links in sanitizer (#8034) 6 years ago
puckipedia 545095b3ce [!] Sanitize incoming classlist properly (#6162) 6 years ago
nightpool 94d0e012de Whitelist allowed classes for federated statuses (#3810) 7 years ago
unarist 6bd6dcf6df Allow "class" attribute on the "a" tag in sanitization (#3623) 7 years ago
Eugen Rochko 58bcd50f7f Fix #1426 - Trim long usernames in public follower/following lists (#2993) 7 years ago
Yamagishi Kazutoshi 4a5f73c8ae Add target=_blank to user note (#2622) 7 years ago
Eugen Rochko 88725d6ce8 OEmbed support for PreviewCard (#2337) 7 years ago