Commit Graph

7 Commits (6b9106c97506e614aea5d73fad6840da12d9b36b)

Author SHA1 Message Date
Paul Makles 6b9106c975 fix: correctly match protocols 2022-09-18 12:32:29 +01:00
Paul Makles 47bfaad508 fix: sanitise links passed to react-router
fix: flip protocol sanitisation to use a whitelist
2022-09-18 10:24:15 +01:00
Paul Makles 34bb2bbc13 feat: switch to `remark` from `markdown-it` (big)
* replaces old mentions with avatar and display name
* renders things directly through React
* replaces most of the markdown hacks with custom AST components
* adds a tooltip to codeblock "copy to clipboard"
2022-07-08 14:24:48 +01:00
Paul 81379d6ec4 Explicitly deny bad URLs.
Fixes #252.
Handle embed untrusted links better.
2021-09-25 10:54:32 +01:00
Paul 048267b419 Remove stray console.log and update translations.
Update themes endpoint and filter unmatched commits.
2021-09-09 22:39:17 +01:00
brecert f35ebeab67
Add `shift+click` to channel links 2021-09-07 09:26:12 -04:00
Paul 2ccc0b7b5e Change invite rendering logic.
Handle link warnings on embeds.
Remove "EDIT!!" 🙏🙏🙏
2021-09-03 13:04:37 +01:00